[SSE] Fix translation for formulas.

This commit is contained in:
Julia Radzhabova 2018-04-02 12:08:23 +03:00
parent cc92c7435b
commit 5ad2f12ffd
2 changed files with 67 additions and 40 deletions

View file

@ -115,7 +115,9 @@ define([
this.translationTable[name] = {
en: this[translate],
de: this[translate+'_de'],
ru: this[translate+'_ru']
ru: this[translate+'_ru'],
pl: this[translate+'_pl'],
es: this[translate+'_es']
};
}
@ -237,7 +239,7 @@ define([
if (this.formulasGroups.at(i).get('functions').length) {
groupsListItems.push({
value : this.formulasGroups.at(i).get('index'),
displayValue : this.translationTable[this.formulasGroups.at(i).get('name')][lang]
displayValue : this.translationTable[this.formulasGroups.at(i).get('name')][lang] || this.translationTable[this.formulasGroups.at(i).get('name')]['en']
});
}
}
@ -245,7 +247,7 @@ define([
if (!this.cmbFuncGroup) {
this.cmbFuncGroup = new Common.UI.ComboBox({
el : $('#formula-dlg-combo-group'),
menuStyle : 'min-width: 268px;',
menuStyle : 'min-width: 278px;',
cls : 'input-group-nr',
data : groupsListItems,
editable : false
@ -437,6 +439,31 @@ define([
sCategoryMathematic_ru: 'Математические',
sCategoryStatistical_ru: 'Статистические',
sCategoryTextAndData_ru: 'Текст и данные',
txtTitle: 'Insert Function'
txtTitle: 'Insert Function',
sCategoryAll_es: 'Todo',
sCategoryLogical_es: 'Lógico',
sCategoryCube_es: 'Cubo',
sCategoryDatabase_es: 'Base de Datos',
sCategoryDateAndTime_es: 'Fecha y hora',
sCategoryEngineering_es: 'Ingenería',
sCategoryFinancial_es: 'Financial',
sCategoryInformation_es: 'Información',
sCategoryLookupAndReference_es: 'Búsqueda y Referencia',
sCategoryMathematic_es: 'Matemáticas y trigonometría',
sCategoryStatistical_es: 'Estadístico',
sCategoryTextAndData_es: 'Texto y datos',
sCategoryAll_pl: 'Wszystko',
sCategoryLogical_pl: 'Logiczny',
sCategoryCube_pl: 'Sześcian',
sCategoryDatabase_pl: 'Baza danych',
sCategoryDateAndTime_pl: 'Data i czas',
sCategoryEngineering_pl: 'Inżyniera',
sCategoryFinancial_pl: 'Finansowe',
sCategoryInformation_pl: 'Informacja',
sCategoryLookupAndReference_pl: 'Wyszukiwanie i odniesienie',
sCategoryMathematic_pl: 'Matematyczne i trygonometryczne',
sCategoryStatistical_pl: 'Statystyczny',
sCategoryTextAndData_pl: 'Tekst i data'
}, SSE.Views.FormulaDialog || {}));
});

View file

@ -1270,42 +1270,42 @@
"SSE.Views.FormatSettingsDialog.txtUpto3": "Up to three digits (131/135)",
"SSE.Views.FormulaDialog.cancelButtonText": "Cancel",
"SSE.Views.FormulaDialog.okButtonText": "OK",
"SSE.Views.FormulaDialog.sCategoryAll": "All",
"SSE.Views.FormulaDialog.sCategoryAll_de": "Alle",
"SSE.Views.FormulaDialog.sCategoryAll_ru": "Все",
"SSE.Views.FormulaDialog.sCategoryCube": "Cube",
"SSE.Views.FormulaDialog.sCategoryCube_de": "Cube",
"SSE.Views.FormulaDialog.sCategoryCube_ru": "Кубические",
"SSE.Views.FormulaDialog.sCategoryDatabase": "Database",
"SSE.Views.FormulaDialog.sCategoryDatabase_de": "Datenbank",
"SSE.Views.FormulaDialog.sCategoryDatabase_ru": "Базы данных",
"SSE.Views.FormulaDialog.sCategoryDateAndTime": "Date and time",
"SSE.Views.FormulaDialog.sCategoryDateAndTime_de": "Datum und Uhrzeit",
"SSE.Views.FormulaDialog.sCategoryDateAndTime_ru": "Дата и время",
"SSE.Views.FormulaDialog.sCategoryEngineering": "Engineering",
"SSE.Views.FormulaDialog.sCategoryEngineering_de": "Konstruktion",
"SSE.Views.FormulaDialog.sCategoryEngineering_ru": "Инженерные",
"SSE.Views.FormulaDialog.sCategoryFinancial": "Financial",
"SSE.Views.FormulaDialog.sCategoryFinancial_de": "Finanzmathematik",
"SSE.Views.FormulaDialog.sCategoryFinancial_ru": "Финансовые",
"SSE.Views.FormulaDialog.sCategoryInformation": "Information",
"SSE.Views.FormulaDialog.sCategoryInformation_de": "Information",
"SSE.Views.FormulaDialog.sCategoryInformation_ru": "Информационные",
"SSE.Views.FormulaDialog.sCategoryLogical": "Logical",
"SSE.Views.FormulaDialog.sCategoryLogical_de": "Logisch",
"SSE.Views.FormulaDialog.sCategoryLogical_ru": "Логические",
"SSE.Views.FormulaDialog.sCategoryLookupAndReference": "Lookup and Reference",
"SSE.Views.FormulaDialog.sCategoryLookupAndReference_de": "Suchen und Bezüge",
"SSE.Views.FormulaDialog.sCategoryLookupAndReference_ru": "Поиск и ссылки",
"SSE.Views.FormulaDialog.sCategoryMathematic": "Math and trigonometry",
"SSE.Views.FormulaDialog.sCategoryMathematic_de": "Mathematik und Trigonometrie",
"SSE.Views.FormulaDialog.sCategoryMathematic_ru": "Математические",
"SSE.Views.FormulaDialog.sCategoryStatistical": "Statistical",
"SSE.Views.FormulaDialog.sCategoryStatistical_de": "Statistik",
"SSE.Views.FormulaDialog.sCategoryStatistical_ru": "Статистические",
"SSE.Views.FormulaDialog.sCategoryTextAndData": "Text and data",
"SSE.Views.FormulaDialog.sCategoryTextAndData_de": "Text und Daten",
"SSE.Views.FormulaDialog.sCategoryTextAndData_ru": "Текст и данные",
"del_SSE.Views.FormulaDialog.sCategoryAll": "All",
"del_SSE.Views.FormulaDialog.sCategoryAll_de": "Alle",
"del_SSE.Views.FormulaDialog.sCategoryAll_ru": "Все",
"del_SSE.Views.FormulaDialog.sCategoryCube": "Cube",
"del_SSE.Views.FormulaDialog.sCategoryCube_de": "Cube",
"del_SSE.Views.FormulaDialog.sCategoryCube_ru": "Кубические",
"del_SSE.Views.FormulaDialog.sCategoryDatabase": "Database",
"del_SSE.Views.FormulaDialog.sCategoryDatabase_de": "Datenbank",
"del_SSE.Views.FormulaDialog.sCategoryDatabase_ru": "Базы данных",
"del_SSE.Views.FormulaDialog.sCategoryDateAndTime": "Date and time",
"del_SSE.Views.FormulaDialog.sCategoryDateAndTime_de": "Datum und Uhrzeit",
"del_SSE.Views.FormulaDialog.sCategoryDateAndTime_ru": "Дата и время",
"del_SSE.Views.FormulaDialog.sCategoryEngineering": "Engineering",
"del_SSE.Views.FormulaDialog.sCategoryEngineering_de": "Konstruktion",
"del_SSE.Views.FormulaDialog.sCategoryEngineering_ru": "Инженерные",
"del_SSE.Views.FormulaDialog.sCategoryFinancial": "Financial",
"del_SSE.Views.FormulaDialog.sCategoryFinancial_de": "Finanzmathematik",
"del_SSE.Views.FormulaDialog.sCategoryFinancial_ru": "Финансовые",
"del_SSE.Views.FormulaDialog.sCategoryInformation": "Information",
"del_SSE.Views.FormulaDialog.sCategoryInformation_de": "Information",
"del_SSE.Views.FormulaDialog.sCategoryInformation_ru": "Информационные",
"del_SSE.Views.FormulaDialog.sCategoryLogical": "Logical",
"del_SSE.Views.FormulaDialog.sCategoryLogical_de": "Logisch",
"del_SSE.Views.FormulaDialog.sCategoryLogical_ru": "Логические",
"del_SSE.Views.FormulaDialog.sCategoryLookupAndReference": "Lookup and Reference",
"del_SSE.Views.FormulaDialog.sCategoryLookupAndReference_de": "Suchen und Bezüge",
"del_SSE.Views.FormulaDialog.sCategoryLookupAndReference_ru": "Поиск и ссылки",
"del_SSE.Views.FormulaDialog.sCategoryMathematic": "Math and trigonometry",
"del_SSE.Views.FormulaDialog.sCategoryMathematic_de": "Mathematik und Trigonometrie",
"del_SSE.Views.FormulaDialog.sCategoryMathematic_ru": "Математические",
"del_SSE.Views.FormulaDialog.sCategoryStatistical": "Statistical",
"del_SSE.Views.FormulaDialog.sCategoryStatistical_de": "Statistik",
"del_SSE.Views.FormulaDialog.sCategoryStatistical_ru": "Статистические",
"del_SSE.Views.FormulaDialog.sCategoryTextAndData": "Text and data",
"del_SSE.Views.FormulaDialog.sCategoryTextAndData_de": "Text und Daten",
"del_SSE.Views.FormulaDialog.sCategoryTextAndData_ru": "Текст и данные",
"SSE.Views.FormulaDialog.sDescription": "Description",
"SSE.Views.FormulaDialog.textGroupDescription": "Select Function Group",
"SSE.Views.FormulaDialog.textListDescription": "Select Function",