From c0f144adfc3fb8b30a5d08b9fbc98546521a5b4c Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Mon, 20 Mar 2017 14:28:14 +0300 Subject: [PATCH] =?UTF-8?q?[SSE=20mobile]=20=D0=B2=D1=80=D0=B5=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D0=BD=D0=BE=20=D1=81=D0=BA=D1=80=D1=8B=D1=82=D0=B0=20?= =?UTF-8?q?=D0=BE=D0=BF=D1=86=D0=B8=D1=8F=20=D0=B4=D0=BB=D1=8F=20=D1=83?= =?UTF-8?q?=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BA=D0=B8=20=D1=84=D0=B8?= =?UTF-8?q?=D0=BB=D1=8C=D1=82=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/spreadsheeteditor/mobile/app/view/add/AddOther.js | 5 +++++ apps/spreadsheeteditor/mobile/locale/de.json | 3 ++- apps/spreadsheeteditor/mobile/locale/en.json | 3 ++- apps/spreadsheeteditor/mobile/locale/fr.json | 1 + apps/spreadsheeteditor/mobile/locale/ru.json | 3 ++- 5 files changed, 12 insertions(+), 3 deletions(-) diff --git a/apps/spreadsheeteditor/mobile/app/view/add/AddOther.js b/apps/spreadsheeteditor/mobile/app/view/add/AddOther.js index ccbafb3cf..efed7228c 100644 --- a/apps/spreadsheeteditor/mobile/app/view/add/AddOther.js +++ b/apps/spreadsheeteditor/mobile/app/view/add/AddOther.js @@ -188,6 +188,11 @@ define([ var me = this; $('.settings .sortdown').single('click', function (e) {me.fireEvent('insert:sort',['down']);}); $('.settings .sortup').single('click', function (e) {me.fireEvent('insert:sort',['up']);}); + + // temporary hidden + // TODO: make filter's options menu + $('.settings #other-chb-insfilter').parents('.list-block').hide(); + $('.settings #other-chb-insfilter input:checkbox').single('change', function (e) { var $checkbox = $(e.currentTarget); me.fireEvent('insert:filter', [$checkbox.is(':checked')]); diff --git a/apps/spreadsheeteditor/mobile/locale/de.json b/apps/spreadsheeteditor/mobile/locale/de.json index a7812a711..8c6679d7f 100644 --- a/apps/spreadsheeteditor/mobile/locale/de.json +++ b/apps/spreadsheeteditor/mobile/locale/de.json @@ -283,7 +283,8 @@ "SSE.Views.AddOther.textInsert": "Einfügen", "SSE.Views.AddOther.textInsertImage": "Bild einfügen", "SSE.Views.AddOther.textLink": "Link", - "SSE.Views.AddOther.textSort": "Sortieren und Filtern", + "SSE.Views.AddOther.textSortOrig": "Sortieren und Filtern", + "SSE.Views.AddOther.textSort": "Sortieren", "SSE.Views.EditCell.textAccounting": "Rechnungswesen", "SSE.Views.EditCell.textAlignBottom": "Unten ausrichten", "SSE.Views.EditCell.textAlignCenter": "Zentriert ausrichten", diff --git a/apps/spreadsheeteditor/mobile/locale/en.json b/apps/spreadsheeteditor/mobile/locale/en.json index 8878a3f2e..d4b8535f9 100644 --- a/apps/spreadsheeteditor/mobile/locale/en.json +++ b/apps/spreadsheeteditor/mobile/locale/en.json @@ -285,7 +285,8 @@ "SSE.Views.AddOther.textInsert": "Insert", "SSE.Views.AddOther.textInsertImage": "Insert Image", "SSE.Views.AddOther.textLink": "Link", - "SSE.Views.AddOther.textSort": "Sort and Filter", + "SSE.Views.AddOther.textSortOrig": "Sort and Filter", + "SSE.Views.AddOther.textSort": "Sort", "SSE.Views.EditCell.textAccounting": "Accounting", "SSE.Views.EditCell.textAlignBottom": "Align Bottom", "SSE.Views.EditCell.textAlignCenter": "Align Center", diff --git a/apps/spreadsheeteditor/mobile/locale/fr.json b/apps/spreadsheeteditor/mobile/locale/fr.json index ad694fa30..a6670ed90 100644 --- a/apps/spreadsheeteditor/mobile/locale/fr.json +++ b/apps/spreadsheeteditor/mobile/locale/fr.json @@ -283,6 +283,7 @@ "SSE.Views.AddOther.textInsert": "Insérer", "SSE.Views.AddOther.textInsertImage": "Insérer une image", "SSE.Views.AddOther.textLink": "Lien", + "SSE.Views.AddOther.textSortOrig": "Trier", "SSE.Views.AddOther.textSort": "Trier et filtrer", "SSE.Views.EditCell.textAccounting": "Comptabilité", "SSE.Views.EditCell.textAlignBottom": "Aligner en bas", diff --git a/apps/spreadsheeteditor/mobile/locale/ru.json b/apps/spreadsheeteditor/mobile/locale/ru.json index 20dca65f0..df36a82a8 100644 --- a/apps/spreadsheeteditor/mobile/locale/ru.json +++ b/apps/spreadsheeteditor/mobile/locale/ru.json @@ -283,7 +283,8 @@ "SSE.Views.AddOther.textInsert": "Вставить", "SSE.Views.AddOther.textInsertImage": "Вставить изображение", "SSE.Views.AddOther.textLink": "Ссылка", - "SSE.Views.AddOther.textSort": "Сортировка и фильтрация", + "SSE.Views.AddOther.textSortOrig": "Сортировка и фильтрация", + "SSE.Views.AddOther.textSort": "Сортировка", "SSE.Views.EditCell.textAccounting": "Финансовый", "SSE.Views.EditCell.textAlignBottom": "По нижнему краю", "SSE.Views.EditCell.textAlignCenter": "По центру",