Add translation
This commit is contained in:
parent
c8fd2a24d2
commit
8ec9fef455
|
@ -77,8 +77,8 @@ define([
|
||||||
'</tr>',
|
'</tr>',
|
||||||
'<tr>',
|
'<tr>',
|
||||||
'<td>',
|
'<td>',
|
||||||
'<label style="width: 117px;">' + this.textReplace + '</label>',
|
'<label style="width: 117px;">' + this.textReplace + ':</label>',
|
||||||
'<label>' + this.textBy + '</label>',
|
'<label>' + this.textBy + ':</label>',
|
||||||
'</td>',
|
'</td>',
|
||||||
'</tr>',
|
'</tr>',
|
||||||
'<tr>',
|
'<tr>',
|
||||||
|
@ -243,7 +243,7 @@ define([
|
||||||
defChanged = rec.get('defaultValue') && (rec.get('defaultValueStr')!==rec.get('by'));
|
defChanged = rec.get('defaultValue') && (rec.get('defaultValueStr')!==rec.get('by'));
|
||||||
this.btnDelete.setCaption(disabled ? this.textRestore : this.textDelete);
|
this.btnDelete.setCaption(disabled ? this.textRestore : this.textDelete);
|
||||||
this.btnEdit.setDisabled(disabled || inputBy === rec.get('by') || !inputBy && !defChanged );
|
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 {
|
} else {
|
||||||
this.btnDelete.setCaption(this.textDelete);
|
this.btnDelete.setCaption(this.textDelete);
|
||||||
this.btnEdit.setDisabled(!inputBy);
|
this.btnEdit.setDisabled(!inputBy);
|
||||||
|
@ -445,11 +445,10 @@ define([
|
||||||
|
|
||||||
textTitle: 'AutoCorrect',
|
textTitle: 'AutoCorrect',
|
||||||
textMathCorrect: 'Math AutoCorrect',
|
textMathCorrect: 'Math AutoCorrect',
|
||||||
textReplace: 'Replace:',
|
textReplace: 'Replace',
|
||||||
textBy: 'By:',
|
textBy: 'By',
|
||||||
textResetAll: 'Reset to default',
|
textResetAll: 'Reset to default',
|
||||||
textAdd: 'Add',
|
textAdd: 'Add',
|
||||||
textEdit: 'Replace',
|
|
||||||
textDelete: 'Delete',
|
textDelete: 'Delete',
|
||||||
textRestore: 'Restore',
|
textRestore: 'Restore',
|
||||||
textReset: 'Reset',
|
textReset: 'Reset',
|
||||||
|
|
|
@ -159,8 +159,17 @@
|
||||||
"Common.Views.About.txtVersion": "Version ",
|
"Common.Views.About.txtVersion": "Version ",
|
||||||
"Common.Views.AutoCorrectDialog.textTitle": "AutoCorrect",
|
"Common.Views.AutoCorrectDialog.textTitle": "AutoCorrect",
|
||||||
"Common.Views.AutoCorrectDialog.textMathCorrect": "Math AutoCorrect",
|
"Common.Views.AutoCorrectDialog.textMathCorrect": "Math AutoCorrect",
|
||||||
"Common.Views.AutoCorrectDialog.textReplace": "Replace:",
|
"Common.Views.AutoCorrectDialog.textReplace": "Replace",
|
||||||
"Common.Views.AutoCorrectDialog.textBy": "By:",
|
"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.Chat.textSend": "Send",
|
||||||
"Common.Views.Comments.textAdd": "Add",
|
"Common.Views.Comments.textAdd": "Add",
|
||||||
"Common.Views.Comments.textAddComment": "Add Comment",
|
"Common.Views.Comments.textAddComment": "Add Comment",
|
||||||
|
|
|
@ -60,8 +60,17 @@
|
||||||
"Common.Views.About.txtVersion": "Version ",
|
"Common.Views.About.txtVersion": "Version ",
|
||||||
"Common.Views.AutoCorrectDialog.textTitle": "AutoCorrect",
|
"Common.Views.AutoCorrectDialog.textTitle": "AutoCorrect",
|
||||||
"Common.Views.AutoCorrectDialog.textMathCorrect": "Math AutoCorrect",
|
"Common.Views.AutoCorrectDialog.textMathCorrect": "Math AutoCorrect",
|
||||||
"Common.Views.AutoCorrectDialog.textReplace": "Replace:",
|
"Common.Views.AutoCorrectDialog.textReplace": "Replace",
|
||||||
"Common.Views.AutoCorrectDialog.textBy": "By:",
|
"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.Chat.textSend": "Send",
|
||||||
"Common.Views.Comments.textAdd": "Add",
|
"Common.Views.Comments.textAdd": "Add",
|
||||||
"Common.Views.Comments.textAddComment": "Add Comment",
|
"Common.Views.Comments.textAddComment": "Add Comment",
|
||||||
|
|
|
@ -61,8 +61,17 @@
|
||||||
"Common.Views.About.txtVersion": "Version ",
|
"Common.Views.About.txtVersion": "Version ",
|
||||||
"Common.Views.AutoCorrectDialog.textTitle": "AutoCorrect",
|
"Common.Views.AutoCorrectDialog.textTitle": "AutoCorrect",
|
||||||
"Common.Views.AutoCorrectDialog.textMathCorrect": "Math AutoCorrect",
|
"Common.Views.AutoCorrectDialog.textMathCorrect": "Math AutoCorrect",
|
||||||
"Common.Views.AutoCorrectDialog.textReplace": "Replace:",
|
"Common.Views.AutoCorrectDialog.textReplace": "Replace",
|
||||||
"Common.Views.AutoCorrectDialog.textBy": "By:",
|
"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.Chat.textSend": "Send",
|
||||||
"Common.Views.Comments.textAdd": "Add",
|
"Common.Views.Comments.textAdd": "Add",
|
||||||
"Common.Views.Comments.textAddComment": "Add Comment",
|
"Common.Views.Comments.textAddComment": "Add Comment",
|
||||||
|
|
Loading…
Reference in a new issue