For Bug 39134
This commit is contained in:
parent
b58e53f3fa
commit
2736cfed1b
|
@ -88,6 +88,10 @@ Common.Locale = new(function() {
|
|||
return currentLang;
|
||||
};
|
||||
|
||||
var _getDefaultLanguage = function() {
|
||||
return defLang;
|
||||
};
|
||||
|
||||
var _getLoadedLanguage = function() {
|
||||
return loadedLang;
|
||||
};
|
||||
|
@ -170,7 +174,8 @@ Common.Locale = new(function() {
|
|||
return {
|
||||
apply: _applyLocalization,
|
||||
get: _get,
|
||||
getCurrentLanguage: _getCurrentLanguage
|
||||
getCurrentLanguage: _getCurrentLanguage,
|
||||
getDefaultLanguage: _getDefaultLanguage
|
||||
};
|
||||
|
||||
})();
|
||||
|
|
|
@ -569,7 +569,7 @@ define([
|
|||
idx = 7;
|
||||
break;
|
||||
}
|
||||
if ('{{DEFAULT_LANG}}' === 'ru') {
|
||||
if (Common.Locale.getDefaultLanguage() === 'ru') {
|
||||
if (this._state.bullets.subtype>7 && this._state.bullets.subtype<=11) {
|
||||
idx = this._state.bullets.subtype;
|
||||
}
|
||||
|
|
|
@ -210,7 +210,7 @@ define([
|
|||
{ displayValue: 'i, ii, iii,...', value: Asc.c_oAscNumberingFormat.LowerRoman },
|
||||
{ displayValue: 'I, II, III,...', value: Asc.c_oAscNumberingFormat.UpperRoman }
|
||||
];
|
||||
if ('{{DEFAULT_LANG}}' === 'ru') {
|
||||
if (Common.Locale.getDefaultLanguage() === 'ru') {
|
||||
items = items.concat([
|
||||
{ displayValue: 'а, б, в,...', value: Asc.c_oAscNumberingFormat.RussianLower },
|
||||
{ displayValue: 'А, Б, В,...', value: Asc.c_oAscNumberingFormat.RussianUpper }
|
||||
|
|
|
@ -2256,7 +2256,7 @@ define([
|
|||
{id: 'id-numbers-' + Common.UI.getId(), data: {type: 1, subtype: 3}, skipRenderOnChange: true, tip: this.tipNumRoman},
|
||||
{id: 'id-numbers-' + Common.UI.getId(), data: {type: 1, subtype: 7}, skipRenderOnChange: true, tip: this.tipNumRomanSmall}
|
||||
];
|
||||
if ('{{DEFAULT_LANG}}' === 'ru') {
|
||||
if (Common.Locale.getDefaultLanguage() === 'ru') {
|
||||
items = items.concat([
|
||||
{id: 'id-numbers-' + Common.UI.getId(), data: {type: 1, subtype: 8}, skipRenderOnChange: true, tip: this.tipRusUpperPoints},
|
||||
{id: 'id-numbers-' + Common.UI.getId(), data: {type: 1, subtype: 9}, skipRenderOnChange: true, tip: this.tipRusUpperParentheses},
|
||||
|
|
Loading…
Reference in a new issue