For test numbering

This commit is contained in:
Julia Radzhabova 2022-07-26 20:58:53 +03:00
parent 6a399a49a3
commit ca6e904630
3 changed files with 7 additions and 4 deletions

View file

@ -569,7 +569,8 @@ define([
idx = 7; idx = 7;
break; break;
} }
if ('{{DEFAULT_LANG}}' === 'ru') { // if ('{{DEFAULT_LANG}}' === 'ru') {
if ('ru' === 'ru') {
if (this._state.bullets.subtype>7 && this._state.bullets.subtype<=11) { if (this._state.bullets.subtype>7 && this._state.bullets.subtype<=11) {
idx = this._state.bullets.subtype; idx = this._state.bullets.subtype;
} }
@ -1372,7 +1373,7 @@ define([
arr.push(item.get('id')); arr.push(item.get('id'));
}); });
if (this.api) { if (this.api) {
this.api.SetDrawImagePreviewBulletForMenu(arr, type); // this.api.SetDrawImagePreviewBulletForMenu(arr, type);
} }
}, },

View file

@ -210,7 +210,8 @@ define([
{ displayValue: 'i, ii, iii,...', value: Asc.c_oAscNumberingFormat.LowerRoman }, { displayValue: 'i, ii, iii,...', value: Asc.c_oAscNumberingFormat.LowerRoman },
{ displayValue: 'I, II, III,...', value: Asc.c_oAscNumberingFormat.UpperRoman } { displayValue: 'I, II, III,...', value: Asc.c_oAscNumberingFormat.UpperRoman }
]; ];
if ('{{DEFAULT_LANG}}' === 'ru') { // if ('{{DEFAULT_LANG}}' === 'ru') {
if ('ru' === 'ru') {
items = items.concat([ items = items.concat([
{ displayValue: 'а, б, в,...', value: Asc.c_oAscNumberingFormat.RussianLower }, { displayValue: 'а, б, в,...', value: Asc.c_oAscNumberingFormat.RussianLower },
{ displayValue: 'А, Б, В,...', value: Asc.c_oAscNumberingFormat.RussianUpper } { displayValue: 'А, Б, В,...', value: Asc.c_oAscNumberingFormat.RussianUpper }

View file

@ -2256,7 +2256,8 @@ 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: 3}, skipRenderOnChange: true, tip: this.tipNumRoman},
{id: 'id-numbers-' + Common.UI.getId(), data: {type: 1, subtype: 7}, skipRenderOnChange: true, tip: this.tipNumRomanSmall} {id: 'id-numbers-' + Common.UI.getId(), data: {type: 1, subtype: 7}, skipRenderOnChange: true, tip: this.tipNumRomanSmall}
]; ];
if ('{{DEFAULT_LANG}}' === 'ru') { // if ('{{DEFAULT_LANG}}' === 'ru') {
if ('ru' === 'ru') {
items = items.concat([ 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: 8}, skipRenderOnChange: true, tip: this.tipRusUpperPoints},
{id: 'id-numbers-' + Common.UI.getId(), data: {type: 1, subtype: 9}, skipRenderOnChange: true, tip: this.tipRusUpperParentheses}, {id: 'id-numbers-' + Common.UI.getId(), data: {type: 1, subtype: 9}, skipRenderOnChange: true, tip: this.tipRusUpperParentheses},