From eb5cc65702ada82dd7f7fb6ea36b8b443405d3e9 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 28 Feb 2022 16:14:31 +0300 Subject: [PATCH 1/2] [Mobile] Update translation --- apps/presentationeditor/mobile/locale/ca.json | 1 - apps/presentationeditor/mobile/locale/cs.json | 1 - apps/presentationeditor/mobile/locale/de.json | 1 - apps/presentationeditor/mobile/locale/el.json | 1 - apps/presentationeditor/mobile/locale/en.json | 1 - apps/presentationeditor/mobile/locale/es.json | 1 - apps/presentationeditor/mobile/locale/fr.json | 1 - apps/presentationeditor/mobile/locale/gl.json | 1 - apps/presentationeditor/mobile/locale/hu.json | 1 - apps/presentationeditor/mobile/locale/it.json | 1 - apps/presentationeditor/mobile/locale/ja.json | 3 +-- apps/presentationeditor/mobile/locale/ko.json | 1 - apps/presentationeditor/mobile/locale/nl.json | 1 - apps/presentationeditor/mobile/locale/pt.json | 1 - apps/presentationeditor/mobile/locale/ro.json | 1 - apps/presentationeditor/mobile/locale/ru.json | 1 - apps/presentationeditor/mobile/locale/tr.json | 1 - apps/presentationeditor/mobile/locale/zh.json | 1 - 18 files changed, 1 insertion(+), 19 deletions(-) diff --git a/apps/presentationeditor/mobile/locale/ca.json b/apps/presentationeditor/mobile/locale/ca.json index 31f17d156..09e00fbab 100644 --- a/apps/presentationeditor/mobile/locale/ca.json +++ b/apps/presentationeditor/mobile/locale/ca.json @@ -382,7 +382,6 @@ "textTopLeft": "Superior-esquerra", "textTopRight": "Superior-dreta", "textTotalRow": "Fila de total", - "textTransition": "Transició", "textTransitions": "Transicions", "textType": "Tipus", "textUnCover": "Descobreix", diff --git a/apps/presentationeditor/mobile/locale/cs.json b/apps/presentationeditor/mobile/locale/cs.json index adbaed10b..2ff86dc22 100644 --- a/apps/presentationeditor/mobile/locale/cs.json +++ b/apps/presentationeditor/mobile/locale/cs.json @@ -382,7 +382,6 @@ "textTopLeft": "Vlevo nahoře", "textTopRight": "Vpravo nahoře", "textTotalRow": "Součtový řádek", - "textTransition": "Přechod", "textTransitions": "Přechody", "textType": "Typ", "textUnCover": "Odkrýt", diff --git a/apps/presentationeditor/mobile/locale/de.json b/apps/presentationeditor/mobile/locale/de.json index c87eebb48..58bcf073f 100644 --- a/apps/presentationeditor/mobile/locale/de.json +++ b/apps/presentationeditor/mobile/locale/de.json @@ -382,7 +382,6 @@ "textTopLeft": "Oben links", "textTopRight": "Oben rechts", "textTotalRow": "Ergebniszeile", - "textTransition": "Übergang", "textTransitions": "Übergänge", "textType": "Typ", "textUnCover": "Aufdecken", diff --git a/apps/presentationeditor/mobile/locale/el.json b/apps/presentationeditor/mobile/locale/el.json index 9cb5c9620..664da091a 100644 --- a/apps/presentationeditor/mobile/locale/el.json +++ b/apps/presentationeditor/mobile/locale/el.json @@ -382,7 +382,6 @@ "textTopLeft": "Πάνω-Αριστερά", "textTopRight": "Πάνω-Δεξιά", "textTotalRow": "Συνολική Γραμμή", - "textTransition": "Μετάβαση", "textTransitions": "Μεταβάσεις", "textType": "Τύπος", "textUnCover": "Αποκάλυψη", diff --git a/apps/presentationeditor/mobile/locale/en.json b/apps/presentationeditor/mobile/locale/en.json index 9de378630..90941fd52 100644 --- a/apps/presentationeditor/mobile/locale/en.json +++ b/apps/presentationeditor/mobile/locale/en.json @@ -382,7 +382,6 @@ "textTopLeft": "Top-Left", "textTopRight": "Top-Right", "textTotalRow": "Total Row", - "del_textTransition": "Transition", "textTransitions": "Transitions", "textType": "Type", "textUnCover": "UnCover", diff --git a/apps/presentationeditor/mobile/locale/es.json b/apps/presentationeditor/mobile/locale/es.json index 3a83c0c19..b8cfbba7c 100644 --- a/apps/presentationeditor/mobile/locale/es.json +++ b/apps/presentationeditor/mobile/locale/es.json @@ -382,7 +382,6 @@ "textTopLeft": "Arriba a la izquierda", "textTopRight": "Arriba a la derecha", "textTotalRow": "Fila de totales", - "textTransition": "Transición", "textTransitions": "Transiciones", "textType": "Tipo", "textUnCover": "Revelar", diff --git a/apps/presentationeditor/mobile/locale/fr.json b/apps/presentationeditor/mobile/locale/fr.json index aff78b2f0..7ba089451 100644 --- a/apps/presentationeditor/mobile/locale/fr.json +++ b/apps/presentationeditor/mobile/locale/fr.json @@ -382,7 +382,6 @@ "textTopLeft": "Haut à gauche", "textTopRight": "Haut à droite", "textTotalRow": "Ligne de total", - "textTransition": "Transition", "textTransitions": "Transitions", "textType": "Type", "textUnCover": "Découvrir", diff --git a/apps/presentationeditor/mobile/locale/gl.json b/apps/presentationeditor/mobile/locale/gl.json index 742ba734d..c86417a12 100644 --- a/apps/presentationeditor/mobile/locale/gl.json +++ b/apps/presentationeditor/mobile/locale/gl.json @@ -382,7 +382,6 @@ "textTopLeft": "Parte superior esquerda", "textTopRight": "Parte superior dereita", "textTotalRow": "Fila total", - "textTransition": "Transición", "textTransitions": "Transicións", "textType": "Tipo", "textUnCover": "Rebelar", diff --git a/apps/presentationeditor/mobile/locale/hu.json b/apps/presentationeditor/mobile/locale/hu.json index 412274beb..c74497ae9 100644 --- a/apps/presentationeditor/mobile/locale/hu.json +++ b/apps/presentationeditor/mobile/locale/hu.json @@ -382,7 +382,6 @@ "textTopLeft": "Bal felső", "textTopRight": "Jobb felső", "textTotalRow": "Összes sor", - "textTransition": "Átmenet", "textTransitions": "Átmenetek", "textType": "Típus", "textUnCover": "Felfed", diff --git a/apps/presentationeditor/mobile/locale/it.json b/apps/presentationeditor/mobile/locale/it.json index afee10aa8..b14c904fa 100644 --- a/apps/presentationeditor/mobile/locale/it.json +++ b/apps/presentationeditor/mobile/locale/it.json @@ -382,7 +382,6 @@ "textTopLeft": "In alto a sinistra", "textTopRight": "In alto a destra", "textTotalRow": "Riga del totale", - "textTransition": "Transizione", "textTransitions": "Transizioni", "textType": "Tipo", "textUnCover": "Scoprire", diff --git a/apps/presentationeditor/mobile/locale/ja.json b/apps/presentationeditor/mobile/locale/ja.json index a6a0bd6f2..66fac9361 100644 --- a/apps/presentationeditor/mobile/locale/ja.json +++ b/apps/presentationeditor/mobile/locale/ja.json @@ -294,7 +294,7 @@ "textDone": "完了", "textDoubleStrikethrough": "二重取り消し線", "textDuplicateSlide": "スライドの複製", - "textDuration": "期間", + "textDuration": "継続時間", "textEditLink": "リンクを編集する", "textEffect": "効果", "textEffects": "効果", @@ -382,7 +382,6 @@ "textTopLeft": "左上", "textTopRight": "右上", "textTotalRow": "合計行", - "textTransition": "切り替え​​", "textTransitions": "切り替え効果", "textType": "タイプ", "textUnCover": "アンカバー", diff --git a/apps/presentationeditor/mobile/locale/ko.json b/apps/presentationeditor/mobile/locale/ko.json index 1152fc5ff..39106ae89 100644 --- a/apps/presentationeditor/mobile/locale/ko.json +++ b/apps/presentationeditor/mobile/locale/ko.json @@ -379,7 +379,6 @@ "textTopLeft": "왼쪽 위", "textTopRight": "오른쪽 위", "textTotalRow": "합계", - "textTransition": "전환", "textTransitions": "전환", "textType": "유형", "textUnCover": "당기기", diff --git a/apps/presentationeditor/mobile/locale/nl.json b/apps/presentationeditor/mobile/locale/nl.json index 991b0f073..def1863c0 100644 --- a/apps/presentationeditor/mobile/locale/nl.json +++ b/apps/presentationeditor/mobile/locale/nl.json @@ -382,7 +382,6 @@ "textTopLeft": "Linksboven", "textTopRight": "Rechtsboven", "textTotalRow": "Totaalrij", - "textTransition": "Overgang", "textTransitions": "Overgangen", "textType": "Type", "textUnCover": "Onthullen", diff --git a/apps/presentationeditor/mobile/locale/pt.json b/apps/presentationeditor/mobile/locale/pt.json index c3ea981dc..cc53baea0 100644 --- a/apps/presentationeditor/mobile/locale/pt.json +++ b/apps/presentationeditor/mobile/locale/pt.json @@ -382,7 +382,6 @@ "textTopLeft": "Parte superior esquerda", "textTopRight": "Parte superior direita", "textTotalRow": "Linha total", - "textTransition": "Transição", "textTransitions": "Transições", "textType": "Tipo", "textUnCover": "Descobrir", diff --git a/apps/presentationeditor/mobile/locale/ro.json b/apps/presentationeditor/mobile/locale/ro.json index 30dc47e3f..d5978feb3 100644 --- a/apps/presentationeditor/mobile/locale/ro.json +++ b/apps/presentationeditor/mobile/locale/ro.json @@ -382,7 +382,6 @@ "textTopLeft": "Stânga sus", "textTopRight": "Dreapta sus", "textTotalRow": "Rând total", - "textTransition": "Tranziții", "textTransitions": "Tranziții", "textType": "Tip", "textUnCover": "Descoperire", diff --git a/apps/presentationeditor/mobile/locale/ru.json b/apps/presentationeditor/mobile/locale/ru.json index c42b05784..6d4bcda58 100644 --- a/apps/presentationeditor/mobile/locale/ru.json +++ b/apps/presentationeditor/mobile/locale/ru.json @@ -382,7 +382,6 @@ "textTopLeft": "Сверху слева", "textTopRight": "Сверху справа", "textTotalRow": "Строка итогов", - "textTransition": "Переход", "textTransitions": "Переходы", "textType": "Тип", "textUnCover": "Открывание", diff --git a/apps/presentationeditor/mobile/locale/tr.json b/apps/presentationeditor/mobile/locale/tr.json index ad192a2b1..d6a30341c 100644 --- a/apps/presentationeditor/mobile/locale/tr.json +++ b/apps/presentationeditor/mobile/locale/tr.json @@ -379,7 +379,6 @@ "textTopLeft": "Üst-Sol", "textTopRight": "Üst-Sağ", "textTotalRow": "Toplam Satır", - "textTransition": "Geçiş", "textTransitions": "geçişler", "textType": "Tip", "textUnCover": "Meydana çıkar", diff --git a/apps/presentationeditor/mobile/locale/zh.json b/apps/presentationeditor/mobile/locale/zh.json index 533bc87fc..daa677149 100644 --- a/apps/presentationeditor/mobile/locale/zh.json +++ b/apps/presentationeditor/mobile/locale/zh.json @@ -382,7 +382,6 @@ "textTopLeft": "左上", "textTopRight": "右上", "textTotalRow": "总行", - "textTransition": "过渡", "textTransitions": "切换", "textType": "类型", "textUnCover": "揭露", From de669790d194dd78913807950a5289498c922a7c Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 28 Feb 2022 16:21:11 +0300 Subject: [PATCH 2/2] [SSE] Refactoring spellcheck panel --- apps/spreadsheeteditor/main/app.js | 4 ++-- apps/spreadsheeteditor/main/app/controller/Spellcheck.js | 3 +++ apps/spreadsheeteditor/main/app_dev.js | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/spreadsheeteditor/main/app.js b/apps/spreadsheeteditor/main/app.js index 74d763024..a9cf9cc1b 100644 --- a/apps/spreadsheeteditor/main/app.js +++ b/apps/spreadsheeteditor/main/app.js @@ -152,9 +152,9 @@ require([ 'Print', 'Toolbar', 'Statusbar', - 'Spellcheck', 'RightMenu', 'LeftMenu', + 'Spellcheck', 'Main', 'PivotTable', 'DataTab', @@ -177,9 +177,9 @@ require([ 'spreadsheeteditor/main/app/controller/CellEditor', 'spreadsheeteditor/main/app/controller/Toolbar', 'spreadsheeteditor/main/app/controller/Statusbar', - 'spreadsheeteditor/main/app/controller/Spellcheck', 'spreadsheeteditor/main/app/controller/RightMenu', 'spreadsheeteditor/main/app/controller/LeftMenu', + 'spreadsheeteditor/main/app/controller/Spellcheck', 'spreadsheeteditor/main/app/controller/Main', 'spreadsheeteditor/main/app/controller/Print', 'spreadsheeteditor/main/app/controller/PivotTable', diff --git a/apps/spreadsheeteditor/main/app/controller/Spellcheck.js b/apps/spreadsheeteditor/main/app/controller/Spellcheck.js index 7a166723e..54e982183 100644 --- a/apps/spreadsheeteditor/main/app/controller/Spellcheck.js +++ b/apps/spreadsheeteditor/main/app/controller/Spellcheck.js @@ -254,6 +254,9 @@ define([ }, onSpellCheckVariantsFound: function (property) { + if (property===null && this._currentSpellObj === property && !(this.panelSpellcheck && this.panelSpellcheck.isVisible())) + return; + this._currentSpellObj = property; var arr = [], diff --git a/apps/spreadsheeteditor/main/app_dev.js b/apps/spreadsheeteditor/main/app_dev.js index c3253a8fe..746539606 100644 --- a/apps/spreadsheeteditor/main/app_dev.js +++ b/apps/spreadsheeteditor/main/app_dev.js @@ -142,9 +142,9 @@ require([ 'Print', 'Toolbar', 'Statusbar', - 'Spellcheck', 'RightMenu', 'LeftMenu', + 'Spellcheck', 'Main', 'PivotTable', 'DataTab', @@ -167,9 +167,9 @@ require([ 'spreadsheeteditor/main/app/controller/CellEditor', 'spreadsheeteditor/main/app/controller/Toolbar', 'spreadsheeteditor/main/app/controller/Statusbar', - 'spreadsheeteditor/main/app/controller/Spellcheck', 'spreadsheeteditor/main/app/controller/RightMenu', 'spreadsheeteditor/main/app/controller/LeftMenu', + 'spreadsheeteditor/main/app/controller/Spellcheck', 'spreadsheeteditor/main/app/controller/Main', 'spreadsheeteditor/main/app/controller/Print', 'spreadsheeteditor/main/app/controller/PivotTable',