Add translation
This commit is contained in:
parent
c8fd2a24d2
commit
8ec9fef455
|
@ -77,8 +77,8 @@ define([
|
|||
'</tr>',
|
||||
'<tr>',
|
||||
'<td>',
|
||||
'<label style="width: 117px;">' + this.textReplace + '</label>',
|
||||
'<label>' + this.textBy + '</label>',
|
||||
'<label style="width: 117px;">' + this.textReplace + ':</label>',
|
||||
'<label>' + this.textBy + ':</label>',
|
||||
'</td>',
|
||||
'</tr>',
|
||||
'<tr>',
|
||||
|
@ -243,7 +243,7 @@ define([
|
|||
defChanged = rec.get('defaultValue') && (rec.get('defaultValueStr')!==rec.get('by'));
|
||||
this.btnDelete.setCaption(disabled ? this.textRestore : this.textDelete);
|
||||
this.btnEdit.setDisabled(disabled || inputBy === rec.get('by') || !inputBy && !defChanged );
|
||||
this.btnEdit.setCaption(!inputBy && defChanged ? this.textReset : this.textEdit);
|
||||
this.btnEdit.setCaption(!inputBy && defChanged ? this.textReset : this.textReplace);
|
||||
} else {
|
||||
this.btnDelete.setCaption(this.textDelete);
|
||||
this.btnEdit.setDisabled(!inputBy);
|
||||
|
@ -445,11 +445,10 @@ define([
|
|||
|
||||
textTitle: 'AutoCorrect',
|
||||
textMathCorrect: 'Math AutoCorrect',
|
||||
textReplace: 'Replace:',
|
||||
textBy: 'By:',
|
||||
textReplace: 'Replace',
|
||||
textBy: 'By',
|
||||
textResetAll: 'Reset to default',
|
||||
textAdd: 'Add',
|
||||
textEdit: 'Replace',
|
||||
textDelete: 'Delete',
|
||||
textRestore: 'Restore',
|
||||
textReset: 'Reset',
|
||||
|
|
|
@ -159,8 +159,17 @@
|
|||
"Common.Views.About.txtVersion": "Version ",
|
||||
"Common.Views.AutoCorrectDialog.textTitle": "AutoCorrect",
|
||||
"Common.Views.AutoCorrectDialog.textMathCorrect": "Math AutoCorrect",
|
||||
"Common.Views.AutoCorrectDialog.textReplace": "Replace:",
|
||||
"Common.Views.AutoCorrectDialog.textBy": "By:",
|
||||
"Common.Views.AutoCorrectDialog.textReplace": "Replace",
|
||||
"Common.Views.AutoCorrectDialog.textBy": "By",
|
||||
"Common.Views.AutoCorrectDialog.textResetAll": "Reset to default",
|
||||
"Common.Views.AutoCorrectDialog.textAdd": "Add",
|
||||
"Common.Views.AutoCorrectDialog.textDelete": "Delete",
|
||||
"Common.Views.AutoCorrectDialog.textRestore": "Restore",
|
||||
"Common.Views.AutoCorrectDialog.textReset": "Reset",
|
||||
"Common.Views.AutoCorrectDialog.textReplaceType": "Replace text as you type",
|
||||
"Common.Views.AutoCorrectDialog.warnReset": "Any autocorrect you added will be removed and the changed ones will be restored to their original values. Do you want to continue?",
|
||||
"Common.Views.AutoCorrectDialog.warnReplace": "The autocorrect entry for %1 already exists. Do you want to replace it?",
|
||||
"Common.Views.AutoCorrectDialog.warnRestore": "The autocorrect entry for %1 will be reset to its original value. Do you want to continue?",
|
||||
"Common.Views.Chat.textSend": "Send",
|
||||
"Common.Views.Comments.textAdd": "Add",
|
||||
"Common.Views.Comments.textAddComment": "Add Comment",
|
||||
|
|
|
@ -60,8 +60,17 @@
|
|||
"Common.Views.About.txtVersion": "Version ",
|
||||
"Common.Views.AutoCorrectDialog.textTitle": "AutoCorrect",
|
||||
"Common.Views.AutoCorrectDialog.textMathCorrect": "Math AutoCorrect",
|
||||
"Common.Views.AutoCorrectDialog.textReplace": "Replace:",
|
||||
"Common.Views.AutoCorrectDialog.textBy": "By:",
|
||||
"Common.Views.AutoCorrectDialog.textReplace": "Replace",
|
||||
"Common.Views.AutoCorrectDialog.textBy": "By",
|
||||
"Common.Views.AutoCorrectDialog.textResetAll": "Reset to default",
|
||||
"Common.Views.AutoCorrectDialog.textAdd": "Add",
|
||||
"Common.Views.AutoCorrectDialog.textDelete": "Delete",
|
||||
"Common.Views.AutoCorrectDialog.textRestore": "Restore",
|
||||
"Common.Views.AutoCorrectDialog.textReset": "Reset",
|
||||
"Common.Views.AutoCorrectDialog.textReplaceType": "Replace text as you type",
|
||||
"Common.Views.AutoCorrectDialog.warnReset": "Any autocorrect you added will be removed and the changed ones will be restored to their original values. Do you want to continue?",
|
||||
"Common.Views.AutoCorrectDialog.warnReplace": "The autocorrect entry for %1 already exists. Do you want to replace it?",
|
||||
"Common.Views.AutoCorrectDialog.warnRestore": "The autocorrect entry for %1 will be reset to its original value. Do you want to continue?",
|
||||
"Common.Views.Chat.textSend": "Send",
|
||||
"Common.Views.Comments.textAdd": "Add",
|
||||
"Common.Views.Comments.textAddComment": "Add Comment",
|
||||
|
|
|
@ -61,8 +61,17 @@
|
|||
"Common.Views.About.txtVersion": "Version ",
|
||||
"Common.Views.AutoCorrectDialog.textTitle": "AutoCorrect",
|
||||
"Common.Views.AutoCorrectDialog.textMathCorrect": "Math AutoCorrect",
|
||||
"Common.Views.AutoCorrectDialog.textReplace": "Replace:",
|
||||
"Common.Views.AutoCorrectDialog.textBy": "By:",
|
||||
"Common.Views.AutoCorrectDialog.textReplace": "Replace",
|
||||
"Common.Views.AutoCorrectDialog.textBy": "By",
|
||||
"Common.Views.AutoCorrectDialog.textResetAll": "Reset to default",
|
||||
"Common.Views.AutoCorrectDialog.textAdd": "Add",
|
||||
"Common.Views.AutoCorrectDialog.textDelete": "Delete",
|
||||
"Common.Views.AutoCorrectDialog.textRestore": "Restore",
|
||||
"Common.Views.AutoCorrectDialog.textReset": "Reset",
|
||||
"Common.Views.AutoCorrectDialog.textReplaceType": "Replace text as you type",
|
||||
"Common.Views.AutoCorrectDialog.warnReset": "Any autocorrect you added will be removed and the changed ones will be restored to their original values. Do you want to continue?",
|
||||
"Common.Views.AutoCorrectDialog.warnReplace": "The autocorrect entry for %1 already exists. Do you want to replace it?",
|
||||
"Common.Views.AutoCorrectDialog.warnRestore": "The autocorrect entry for %1 will be reset to its original value. Do you want to continue?",
|
||||
"Common.Views.Chat.textSend": "Send",
|
||||
"Common.Views.Comments.textAdd": "Add",
|
||||
"Common.Views.Comments.textAddComment": "Add Comment",
|
||||
|
|
Loading…
Reference in a new issue