From 7089d63f344aa38cac6bc77f6870f112837fcef9 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 12 Apr 2018 14:11:00 +0300 Subject: [PATCH] [SSE] Change delimiter description in csv-file options --- apps/common/main/lib/view/OpenDialog.js | 11 +++++++---- apps/spreadsheeteditor/main/locale/en.json | 3 +++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/apps/common/main/lib/view/OpenDialog.js b/apps/common/main/lib/view/OpenDialog.js index 9a7b0899b..a2330e10a 100644 --- a/apps/common/main/lib/view/OpenDialog.js +++ b/apps/common/main/lib/view/OpenDialog.js @@ -393,9 +393,9 @@ define([ menuStyle: 'min-width: 100px;', cls: 'input-group-nr', data: [ - {value: 4, displayValue: ','}, - {value: 2, displayValue: ';'}, - {value: 3, displayValue: ':'}, + {value: 4, displayValue: this.txtComma}, + {value: 2, displayValue: this.txtSemicolon}, + {value: 3, displayValue: this.txtColon}, {value: 1, displayValue: this.txtTab}, {value: 5, displayValue: this.txtSpace}, {value: -1, displayValue: this.txtOther}], @@ -524,7 +524,10 @@ define([ txtOther: 'Other', txtIncorrectPwd: 'Password is incorrect.', closeButtonText: 'Close File', - txtPreview: 'Preview' + txtPreview: 'Preview', + txtComma: 'Comma', + txtColon: 'Colon', + txtSemicolon: 'Semicolon' }, Common.Views.OpenDialog || {})); }); \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json index 5ffb3a807..df79a28cc 100644 --- a/apps/spreadsheeteditor/main/locale/en.json +++ b/apps/spreadsheeteditor/main/locale/en.json @@ -110,6 +110,9 @@ "Common.Views.OpenDialog.txtTab": "Tab", "Common.Views.OpenDialog.txtTitle": "Choose %1 options", "Common.Views.OpenDialog.txtTitleProtected": "Protected File", + "Common.Views.OpenDialog.txtComma": "Comma", + "Common.Views.OpenDialog.txtColon": "Colon", + "Common.Views.OpenDialog.txtSemicolon": "Semicolon", "Common.Views.PasswordDialog.cancelButtonText": "Cancel", "Common.Views.PasswordDialog.okButtonText": "OK", "Common.Views.PasswordDialog.txtDescription": "Set a password to protect this document",