[SSE] Sort formula languages
This commit is contained in:
parent
7c3f617af6
commit
4f2abc2edf
|
@ -874,13 +874,7 @@ define([
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
this.cmbFuncLocale = new Common.UI.ComboBox({
|
var formula_arr = [
|
||||||
el : $markup.findById('#fms-cmb-func-locale'),
|
|
||||||
style : 'width: 160px;',
|
|
||||||
menuStyle: 'max-height: 185px;',
|
|
||||||
editable : false,
|
|
||||||
cls : 'input-group-nr',
|
|
||||||
data : [
|
|
||||||
{ value: 'en', displayValue: this.txtEn, exampleValue: this.txtExampleEn },
|
{ value: 'en', displayValue: this.txtEn, exampleValue: this.txtExampleEn },
|
||||||
{ value: 'be', displayValue: this.txtBe, exampleValue: this.txtExampleBe },
|
{ value: 'be', displayValue: this.txtBe, exampleValue: this.txtExampleBe },
|
||||||
{ value: 'bg', displayValue: this.txtBg, exampleValue: this.txtExampleEn },
|
{ value: 'bg', displayValue: this.txtBg, exampleValue: this.txtExampleEn },
|
||||||
|
@ -912,7 +906,20 @@ define([
|
||||||
{ value: 'tr', displayValue: this.txtTr, exampleValue: this.txtExampleTr },
|
{ value: 'tr', displayValue: this.txtTr, exampleValue: this.txtExampleTr },
|
||||||
{ value: 'uk', displayValue: this.txtUk, exampleValue: this.txtExampleEn },
|
{ value: 'uk', displayValue: this.txtUk, exampleValue: this.txtExampleEn },
|
||||||
{ value: 'vi', displayValue: this.txtVi, exampleValue: this.txtExampleEn }
|
{ value: 'vi', displayValue: this.txtVi, exampleValue: this.txtExampleEn }
|
||||||
]
|
];
|
||||||
|
formula_arr.sort(function(a, b){
|
||||||
|
if (a.displayValue < b.displayValue) return -1;
|
||||||
|
if (a.displayValue > b.displayValue) return 1;
|
||||||
|
return 0;
|
||||||
|
});
|
||||||
|
|
||||||
|
this.cmbFuncLocale = new Common.UI.ComboBox({
|
||||||
|
el : $markup.findById('#fms-cmb-func-locale'),
|
||||||
|
style : 'width: 160px;',
|
||||||
|
menuStyle: 'max-height: 185px;',
|
||||||
|
editable : false,
|
||||||
|
cls : 'input-group-nr',
|
||||||
|
data : formula_arr
|
||||||
}).on('selected', function(combo, record) {
|
}).on('selected', function(combo, record) {
|
||||||
me.updateFuncExample(record.exampleValue);
|
me.updateFuncExample(record.exampleValue);
|
||||||
});
|
});
|
||||||
|
|
|
@ -1947,6 +1947,30 @@
|
||||||
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtWarnMacros": "Показывать уведомление",
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtWarnMacros": "Показывать уведомление",
|
||||||
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtWarnMacrosDesc": "Отключить все макросы с уведомлением",
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtWarnMacrosDesc": "Отключить все макросы с уведомлением",
|
||||||
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtWin": "как Windows",
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtWin": "как Windows",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtBe": "Белорусский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtBg": "Болгарский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtCa": "Каталонский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtZh": "Китайский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtCs": "Чешский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtDa": "Датский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtNl": "Голландский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtFi": "Финский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtEl": "Греческий",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtHu": "Венгерский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtId": "Индонезийский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtJa": "Японский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtKo": "Корейский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtLv": "Латышский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtLo": "Лаосский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtNb": "Норвежский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtPtlang": "Португальский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtRo": "Румынский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtSk": "Словацкий",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtSl": "Словенский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtSv": "Шведский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtTr": "Турецкий",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtUk": "Украинский",
|
||||||
|
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtVi": "Вьетнамский",
|
||||||
"SSE.Views.FileMenuPanels.MainSpellCheckSettings.okButtonText": "Применить",
|
"SSE.Views.FileMenuPanels.MainSpellCheckSettings.okButtonText": "Применить",
|
||||||
"SSE.Views.FileMenuPanels.MainSpellCheckSettings.strDictionaryLanguage": "Язык словаря",
|
"SSE.Views.FileMenuPanels.MainSpellCheckSettings.strDictionaryLanguage": "Язык словаря",
|
||||||
"SSE.Views.FileMenuPanels.MainSpellCheckSettings.strIgnoreWordsInUPPERCASE": "Пропускать слова из ПРОПИСНЫХ БУКВ",
|
"SSE.Views.FileMenuPanels.MainSpellCheckSettings.strIgnoreWordsInUPPERCASE": "Пропускать слова из ПРОПИСНЫХ БУКВ",
|
||||||
|
|
Loading…
Reference in a new issue