[SSE] For Bug 50956

This commit is contained in:
Julia Radzhabova 2021-07-14 23:31:40 +03:00
parent c86e2c4402
commit 54a3676902
3 changed files with 10 additions and 3 deletions

View file

@ -121,7 +121,10 @@ define([
if (this.formulasGroups && this.api) {
Common.Utils.InternalSettings.set("sse-settings-func-last", Common.localStorage.getItem("sse-settings-func-last"));
this.reloadTranslations(Common.localStorage.getItem("sse-settings-func-locale") || this.appOptions.lang, true);
var deflang = (this.appOptions.lang || 'en').toLowerCase();
if (deflang=='pt-br' || deflang=='pt_br')
deflang = 'br';
this.reloadTranslations(Common.localStorage.getItem("sse-settings-func-locale") || deflang, true);
var me = this;

View file

@ -897,6 +897,7 @@ define([
{ value: 'lo', displayValue: this.txtLo, exampleValue: this.txtExampleEn },
{ value: 'nb', displayValue: this.txtNb, exampleValue: this.txtExampleNb },
{ value: 'pl', displayValue: this.txtPl, exampleValue: this.txtExamplePl },
{ value: 'br', displayValue: this.txtBrlang, exampleValue: this.txtExampleBr },
{ value: 'pt', displayValue: this.txtPtlang, exampleValue: this.txtExamplePt },
{ value: 'ro', displayValue: this.txtRo, exampleValue: this.txtExampleEn },
{ value: 'ru', displayValue: this.txtRu, exampleValue: this.txtExampleRu },
@ -1387,7 +1388,8 @@ define([
txtLv: 'Latvian',
txtLo: 'Lao',
txtNb: 'Norwegian',
txtPtlang: 'Portuguese',
txtPtlang: 'Portuguese (Portugal)',
txtBrlang: 'Portuguese (Brazil)',
txtRo: 'Romanian',
txtSk: 'Slovak',
txtSl: 'Slovenian',
@ -1404,6 +1406,7 @@ define([
txtExampleHu: 'SZUM; MIN; MAX; DARAB',
txtExampleNb: 'SUMMER; MIN; STØRST; ANTALL',
txtExamplePt: 'SOMA; MÍNIMO; MÁXIMO; CONTAR',
txtExampleBr: 'SOMA; MÍNIMO; MÁXIMO; CONT.NÚM',
txtExampleSv: 'SUMMA; MIN; MAX; ANTAL',
txtExampleTr: 'TOPLA; MİN; MAK; BAĞ_DEĞ_SAY'

View file

@ -2062,7 +2062,8 @@
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtNl": "Dutch",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtPl": "Polish",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtPt": "Point",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtPtlang": "Portuguese",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtBrlang": "Portuguese (Brazil)",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtPtlang": "Portuguese (Portugal)",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtRo": "Romanian",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtRu": "Russian",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.txtRunMacros": "Enable All",