mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-21 05:20:01 +00:00
add localisable strings for Internal JavaScript Error
This commit is contained in:
parent
d7f1f973a9
commit
2fee131aa4
@ -126,8 +126,8 @@ Display an error and exit
|
|||||||
*/
|
*/
|
||||||
$tw.utils.error = function(err) {
|
$tw.utils.error = function(err) {
|
||||||
// Prepare the error message
|
// Prepare the error message
|
||||||
var errHeading = "Internal JavaScript Error",
|
var errHeading = ( $tw.language == undefined ? "Internal JavaScript Error" : $tw.language.getString("InternalJavaScriptError/Title") ),
|
||||||
promptMsg = "Well, this is embarrassing. It is recommended that you restart TiddlyWiki by refreshing your browser";
|
promptMsg = ( $tw.language == undefined ? "Well, this is embarrassing. It is recommended that you restart TiddlyWiki by refreshing your browser" : $tw.language.getString("InternalJavaScriptError/Hint") );
|
||||||
// Log the error to the console
|
// Log the error to the console
|
||||||
console.error($tw.node ? "\x1b[1;31m" + err + "\x1b[0m" : err);
|
console.error($tw.node ? "\x1b[1;31m" + err + "\x1b[0m" : err);
|
||||||
if($tw.browser && !$tw.node) {
|
if($tw.browser && !$tw.node) {
|
||||||
|
@ -19,6 +19,8 @@ Encryption/Password: Password
|
|||||||
Encryption/RepeatPassword: Repeat password
|
Encryption/RepeatPassword: Repeat password
|
||||||
Encryption/PasswordNoMatch: Passwords do not match
|
Encryption/PasswordNoMatch: Passwords do not match
|
||||||
Encryption/SetPassword: Set password
|
Encryption/SetPassword: Set password
|
||||||
|
InternalJavaScriptError/Title: Internal JavaScript Error
|
||||||
|
InternalJavaScriptError/Hint: Well, this is embarrassing. It is recommended that you restart TiddlyWiki by refreshing your browser
|
||||||
InvalidFieldName: Illegal characters in field name "<$text text=<<fieldName>>/>". Fields can only contain lowercase letters, digits and the characters underscore (`_`), hyphen (`-`) and period (`.`)
|
InvalidFieldName: Illegal characters in field name "<$text text=<<fieldName>>/>". Fields can only contain lowercase letters, digits and the characters underscore (`_`), hyphen (`-`) and period (`.`)
|
||||||
LazyLoadingWarning: <p>Loading external text from ''<$text text={{!!_canonical_uri}}/>''</p><p>If this message doesn't disappear you may be using a browser that doesn't support external text in this configuration. See http://tiddlywiki.com/#ExternalText</p>
|
LazyLoadingWarning: <p>Loading external text from ''<$text text={{!!_canonical_uri}}/>''</p><p>If this message doesn't disappear you may be using a browser that doesn't support external text in this configuration. See http://tiddlywiki.com/#ExternalText</p>
|
||||||
MissingTiddler/Hint: Missing tiddler "<$text text=<<currentTiddler>>/>" - click {{$:/core/images/edit-button}} to create
|
MissingTiddler/Hint: Missing tiddler "<$text text=<<currentTiddler>>/>" - click {{$:/core/images/edit-button}} to create
|
||||||
|
@ -22,6 +22,8 @@ Exporters/CsvFile: CSV 파일
|
|||||||
Exporters/JsonFile: JSON 파일
|
Exporters/JsonFile: JSON 파일
|
||||||
Exporters/StaticRiver: 정적 HTML
|
Exporters/StaticRiver: 정적 HTML
|
||||||
Exporters/TidFile: ".tid" 파일
|
Exporters/TidFile: ".tid" 파일
|
||||||
|
InternalJavaScriptError/Title: 내부 자바스크립트 오류
|
||||||
|
InternalJavaScriptError/Hint: 아이 창피해. 브라우저를 새로 고쳐 TiddlyWiki를 다시 시작할 것을 권장합니다
|
||||||
InvalidFieldName: "<$text text=<<fieldName>>/>" 필드 이름에 잘못된 문자가 있습니다. 필드는 소문자, 숫자 및 밑줄 문자 (`_`), 하이픈 (`-`) 및 마침표 (`.`)만을 포함할 수 있습니다.
|
InvalidFieldName: "<$text text=<<fieldName>>/>" 필드 이름에 잘못된 문자가 있습니다. 필드는 소문자, 숫자 및 밑줄 문자 (`_`), 하이픈 (`-`) 및 마침표 (`.`)만을 포함할 수 있습니다.
|
||||||
MissingTiddler/Hint: "<$text text=<<currentTiddler>>/>" 티들러가 없습니다 - 만드려면 {{$:/core/images/edit-button}}을 클릭하세요
|
MissingTiddler/Hint: "<$text text=<<currentTiddler>>/>" 티들러가 없습니다 - 만드려면 {{$:/core/images/edit-button}}을 클릭하세요
|
||||||
OfficialPluginLibrary: 공식 ~TiddlyWiki 플러그인 라이브러리
|
OfficialPluginLibrary: 공식 ~TiddlyWiki 플러그인 라이브러리
|
||||||
|
Loading…
x
Reference in New Issue
Block a user