From af214063c5d148879fae714bcbde34e2a7e6cf97 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 8 Oct 2024 00:59:40 +0300 Subject: [PATCH 1/2] [SSE] Show trendline option --- .../main/app/template/ChartSettingsDlg.template | 17 +++++++++++++++-- .../main/app/view/ChartSettingsDlg.js | 16 ++++++++++++++-- apps/spreadsheeteditor/main/locale/ar.json | 4 +++- apps/spreadsheeteditor/main/locale/az.json | 4 +++- apps/spreadsheeteditor/main/locale/be.json | 4 +++- apps/spreadsheeteditor/main/locale/bg.json | 4 +++- apps/spreadsheeteditor/main/locale/ca.json | 4 +++- apps/spreadsheeteditor/main/locale/cs.json | 4 +++- apps/spreadsheeteditor/main/locale/da.json | 4 +++- apps/spreadsheeteditor/main/locale/de.json | 4 +++- apps/spreadsheeteditor/main/locale/el.json | 4 +++- apps/spreadsheeteditor/main/locale/en.json | 2 ++ apps/spreadsheeteditor/main/locale/es.json | 4 +++- apps/spreadsheeteditor/main/locale/eu.json | 4 +++- apps/spreadsheeteditor/main/locale/fi.json | 4 +++- apps/spreadsheeteditor/main/locale/fr.json | 4 +++- apps/spreadsheeteditor/main/locale/gl.json | 4 +++- apps/spreadsheeteditor/main/locale/he.json | 4 +++- apps/spreadsheeteditor/main/locale/hu.json | 4 +++- apps/spreadsheeteditor/main/locale/hy.json | 4 +++- apps/spreadsheeteditor/main/locale/id.json | 4 +++- apps/spreadsheeteditor/main/locale/it.json | 4 +++- apps/spreadsheeteditor/main/locale/ja.json | 4 +++- apps/spreadsheeteditor/main/locale/ko.json | 4 +++- apps/spreadsheeteditor/main/locale/lo.json | 4 +++- apps/spreadsheeteditor/main/locale/lv.json | 4 +++- apps/spreadsheeteditor/main/locale/ms.json | 4 +++- apps/spreadsheeteditor/main/locale/nl.json | 4 +++- apps/spreadsheeteditor/main/locale/pl.json | 4 +++- apps/spreadsheeteditor/main/locale/pt-pt.json | 4 +++- apps/spreadsheeteditor/main/locale/pt.json | 4 +++- apps/spreadsheeteditor/main/locale/ro.json | 4 +++- apps/spreadsheeteditor/main/locale/ru.json | 4 +++- apps/spreadsheeteditor/main/locale/si.json | 4 +++- apps/spreadsheeteditor/main/locale/sk.json | 4 +++- apps/spreadsheeteditor/main/locale/sl.json | 4 +++- apps/spreadsheeteditor/main/locale/sr-cyrl.json | 4 +++- apps/spreadsheeteditor/main/locale/sr.json | 4 +++- apps/spreadsheeteditor/main/locale/sv.json | 4 +++- apps/spreadsheeteditor/main/locale/tr.json | 4 +++- apps/spreadsheeteditor/main/locale/uk.json | 4 +++- apps/spreadsheeteditor/main/locale/vi.json | 4 +++- apps/spreadsheeteditor/main/locale/zh-tw.json | 4 +++- apps/spreadsheeteditor/main/locale/zh.json | 4 +++- 44 files changed, 154 insertions(+), 45 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/template/ChartSettingsDlg.template b/apps/spreadsheeteditor/main/app/template/ChartSettingsDlg.template index c11f01b623..b3d1929a31 100644 --- a/apps/spreadsheeteditor/main/app/template/ChartSettingsDlg.template +++ b/apps/spreadsheeteditor/main/app/template/ChartSettingsDlg.template @@ -41,14 +41,27 @@ - +
- +
+ + + + + + + + + + +
+ + diff --git a/apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js b/apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js index b59eb8346b..433de714c9 100644 --- a/apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js +++ b/apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js @@ -241,6 +241,11 @@ define([ this.lblLines = $('#chart-dlg-label-lines'); + this.chShowEquation = new Common.UI.CheckBox({ + el: $('#chart-dlg-chk-show-equation'), + labelText: this.textShowEquation + }); + // Vertical Axis this.cmbMinType = []; this.spnMinValue = []; @@ -1193,6 +1198,7 @@ define([ this.chMarkers.setVisible(value); this.cmbLines.setVisible(value); this.lblLines.toggleClass('hidden', !value); + this.lblLines.closest('tr').toggleClass('hidden', !value); if (value) { this.chMarkers.setValue(this.chartSettings.getShowMarker(), true); @@ -1507,10 +1513,12 @@ define([ this.chCategoryName.setValue(this.chartSettings.getShowCatName(), true); this.chValue.setValue(this.chartSettings.getShowVal(), true); + this.chShowEquation.setValue(this.chartSettings.getDisplayTrendlinesEquation(), true); + var value = props.getSeparator(); this.txtSeparator.setValue((value) ? value : ''); - Common.UI.FocusManager.add(this, [this.cmbChartTitle, this.cmbLegendPos, this.cmbDataLabels, this.chSeriesName, this.chCategoryName, this.chValue, this.txtSeparator, this.cmbLines, this.chMarkers]); + Common.UI.FocusManager.add(this, [this.cmbChartTitle, this.cmbLegendPos, this.cmbDataLabels, this.chSeriesName, this.chCategoryName, this.chValue, this.txtSeparator, this.cmbLines, this.chMarkers, this.chShowEquation]); // Vertical Axis this.vertAxisProps = props.getVertAxesProps(); @@ -1649,6 +1657,8 @@ define([ this.chartSettings.putShowCatName(this.chCategoryName.getValue()=='checked'); this.chartSettings.putShowVal(this.chValue.getValue()=='checked'); + this.chartSettings.putDisplayTrendlinesEquation(this.chShowEquation.getValue()=='checked'); + this.chartSettings.putSeparator(_.isEmpty(this.txtSeparator.getValue()) ? ' ' : this.txtSeparator.getValue()); this.chMarkers.isVisible() && this.chartSettings.putShowMarker(this.chMarkers.getValue()=='checked'); @@ -1987,7 +1997,9 @@ define([ textHideAxis: 'Hide axis', textFormat: 'Label format', textBase: 'Base', - textLogScale: 'Logarithmic Scale' + textLogScale: 'Logarithmic Scale', + textTrendlineOptions: 'Trendline options', + textShowEquation: 'Display equation on chart' }, SSE.Views.ChartSettingsDlg || {})); }); diff --git a/apps/spreadsheeteditor/main/locale/ar.json b/apps/spreadsheeteditor/main/locale/ar.json index 2d3f1f1de1..590c685cf8 100644 --- a/apps/spreadsheeteditor/main/locale/ar.json +++ b/apps/spreadsheeteditor/main/locale/ar.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "أدخل كلمة السر لفك تشفير الصفحة", "SSE.Views.WBProtection.txtSheetUnlockTitle": "فك حماية الورقة", "SSE.Views.WBProtection.txtWBUnlockDescription": "أدخل كلمة سر لفك تشفير المصنف", - "SSE.Views.WBProtection.txtWBUnlockTitle": "فك حماية المصنف" + "SSE.Views.WBProtection.txtWBUnlockTitle": "فك حماية المصنف", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/az.json b/apps/spreadsheeteditor/main/locale/az.json index 5788b7c52a..ddbc81b1b6 100644 --- a/apps/spreadsheeteditor/main/locale/az.json +++ b/apps/spreadsheeteditor/main/locale/az.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Vərəqin mühafizəsini ləğv etmək üçün parol daxil edin", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Vərəqin qorumasını ləğv et", "SSE.Views.WBProtection.txtWBUnlockDescription": "İş kitabının mühafizəsini ləğv etmək üçün parol daxil edin", - "SSE.Views.WBProtection.txtWBUnlockTitle": "İş kitabının qorumasını ləğv et" + "SSE.Views.WBProtection.txtWBUnlockTitle": "İş kitabının qorumasını ləğv et", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/be.json b/apps/spreadsheeteditor/main/locale/be.json index 98b364a392..fb881fe4c3 100644 --- a/apps/spreadsheeteditor/main/locale/be.json +++ b/apps/spreadsheeteditor/main/locale/be.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Каб зняць абарону аркуша, увядзіце пароль", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Зняць абарону аркуша", "SSE.Views.WBProtection.txtWBUnlockDescription": "Каб зняць абарону кнігі, увядзіце пароль", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Зняць абарону працоўнай кнігі" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Зняць абарону працоўнай кнігі", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/bg.json b/apps/spreadsheeteditor/main/locale/bg.json index e345d80c1c..2677f64a5f 100644 --- a/apps/spreadsheeteditor/main/locale/bg.json +++ b/apps/spreadsheeteditor/main/locale/bg.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Enter a password to unprotect sheet", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Unprotect sheet", "SSE.Views.WBProtection.txtWBUnlockDescription": "Enter a password to unprotect workbook", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Unprotect workbook" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Unprotect workbook", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/ca.json b/apps/spreadsheeteditor/main/locale/ca.json index afeb67d71e..c71588e53b 100644 --- a/apps/spreadsheeteditor/main/locale/ca.json +++ b/apps/spreadsheeteditor/main/locale/ca.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Introdueix una contrasenya per desprotegir el full", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Desprotegeix el full", "SSE.Views.WBProtection.txtWBUnlockDescription": "Introdueix una contrasenya per desprotegir el llibre", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Desprotegeix el llibre de treball" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Desprotegeix el llibre de treball", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/cs.json b/apps/spreadsheeteditor/main/locale/cs.json index 4fe68402a5..031b05c3b0 100644 --- a/apps/spreadsheeteditor/main/locale/cs.json +++ b/apps/spreadsheeteditor/main/locale/cs.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Zadejte heslo pro deaktivaci zabezpečení listu", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Zrušit zabezpečení listu", "SSE.Views.WBProtection.txtWBUnlockDescription": "Vložte heslo pro přístup k sešitu", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Zrušit zabezpečení sešitu" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Zrušit zabezpečení sešitu", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/da.json b/apps/spreadsheeteditor/main/locale/da.json index 81e7066090..a7b677beb4 100644 --- a/apps/spreadsheeteditor/main/locale/da.json +++ b/apps/spreadsheeteditor/main/locale/da.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Indtast en adgangskode for at fjerne beskyttelsen af ​​arket", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Fjern beskyttelse af ark", "SSE.Views.WBProtection.txtWBUnlockDescription": "Indtast en adgangskode for at fjerne beskyttelsen af ​​projektmappen", - "SSE.Views.WBProtection.txtWBUnlockTitle": "ubeskyt projektmappe" + "SSE.Views.WBProtection.txtWBUnlockTitle": "ubeskyt projektmappe", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/de.json b/apps/spreadsheeteditor/main/locale/de.json index d174f91656..796921865e 100644 --- a/apps/spreadsheeteditor/main/locale/de.json +++ b/apps/spreadsheeteditor/main/locale/de.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Zum Entschützen der Tabellenkalkulation bitte Kennwort eingeben", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Liste entschützen", "SSE.Views.WBProtection.txtWBUnlockDescription": "Zum Entschützen der Arbeitsmappe bitte Kennwort eingeben", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Arbeitsmappe entschützen" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Arbeitsmappe entschützen", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/el.json b/apps/spreadsheeteditor/main/locale/el.json index 466bdc6203..1ba59ed9e8 100644 --- a/apps/spreadsheeteditor/main/locale/el.json +++ b/apps/spreadsheeteditor/main/locale/el.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Εισάγετε συνθηματικό για άρση προστασίας φύλλου", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Άρση προστασίας φύλλου", "SSE.Views.WBProtection.txtWBUnlockDescription": "Εισάγετε συνθηματικό για άρση προστασίας βιβλίου εργασίας", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Άρση προστασίας βιβλίου εργασίας" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Άρση προστασίας βιβλίου εργασίας", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/en.json b/apps/spreadsheeteditor/main/locale/en.json index 9dfc76adbf..b9f2ce4b65 100644 --- a/apps/spreadsheeteditor/main/locale/en.json +++ b/apps/spreadsheeteditor/main/locale/en.json @@ -2204,6 +2204,8 @@ "SSE.Views.ChartSettingsDlg.textYAxisTitle": "Y axis title", "SSE.Views.ChartSettingsDlg.textZero": "Zero", "SSE.Views.ChartSettingsDlg.txtEmpty": "This field is required", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", "SSE.Views.ChartTypeDialog.errorComboSeries": "To create a combination chart, select at least two series of data.", "SSE.Views.ChartTypeDialog.errorSecondaryAxis": "The selected chart type requires the secondary axis that an existing chart is using. Select another chart type.", "SSE.Views.ChartTypeDialog.textSecondary": "Secondary axis", diff --git a/apps/spreadsheeteditor/main/locale/es.json b/apps/spreadsheeteditor/main/locale/es.json index 6dd578229b..30636db45a 100644 --- a/apps/spreadsheeteditor/main/locale/es.json +++ b/apps/spreadsheeteditor/main/locale/es.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Introduzca una contraseña para quitarle la protección a la hoja", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Desproteger hoja", "SSE.Views.WBProtection.txtWBUnlockDescription": "Introduzca una contraseña para quitarle la protección al libro", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Desproteger libro" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Desproteger libro", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/eu.json b/apps/spreadsheeteditor/main/locale/eu.json index 9631525b95..b419ecc10f 100644 --- a/apps/spreadsheeteditor/main/locale/eu.json +++ b/apps/spreadsheeteditor/main/locale/eu.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Idatzi pasahitza orriari babesa kentzeko", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Kendu babesa orriari", "SSE.Views.WBProtection.txtWBUnlockDescription": "Idatzi pasahitza laneko liburuari babesa kentzeko", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Kendu babesa laneko liburuari" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Kendu babesa laneko liburuari", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/fi.json b/apps/spreadsheeteditor/main/locale/fi.json index f098434816..6cf4808f62 100644 --- a/apps/spreadsheeteditor/main/locale/fi.json +++ b/apps/spreadsheeteditor/main/locale/fi.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Enter a password to unprotect sheet", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Unprotect sheet", "SSE.Views.WBProtection.txtWBUnlockDescription": "Enter a password to unprotect workbook", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Unprotect workbook" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Unprotect workbook", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/fr.json b/apps/spreadsheeteditor/main/locale/fr.json index 7d4b4811c4..537c5588ce 100644 --- a/apps/spreadsheeteditor/main/locale/fr.json +++ b/apps/spreadsheeteditor/main/locale/fr.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Entrez un mot de passe pour déprotéger la feuille de calcul", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Déprotéger la feuille de calcul", "SSE.Views.WBProtection.txtWBUnlockDescription": "Entrez un mot de passe pour déprotéger le classeur", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Déprotéger le classeur" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Déprotéger le classeur", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/gl.json b/apps/spreadsheeteditor/main/locale/gl.json index 94b72d886e..03db922b84 100644 --- a/apps/spreadsheeteditor/main/locale/gl.json +++ b/apps/spreadsheeteditor/main/locale/gl.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Introduza un contrasinal para quitarlle a protección á folla", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Desprotexer folla", "SSE.Views.WBProtection.txtWBUnlockDescription": "Introduza un contrasinal para quitarlle a protección ao libro", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Desprotexer libro" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Desprotexer libro", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/he.json b/apps/spreadsheeteditor/main/locale/he.json index a6672a7acf..6f747f7df4 100644 --- a/apps/spreadsheeteditor/main/locale/he.json +++ b/apps/spreadsheeteditor/main/locale/he.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "הזנת סיסמה כדי להסיר הגנה גיליון", "SSE.Views.WBProtection.txtSheetUnlockTitle": "הסרת הגנה על גליון", "SSE.Views.WBProtection.txtWBUnlockDescription": "הזנת סיסמה כדי לבטל את ההגנה חוברת עבודה", - "SSE.Views.WBProtection.txtWBUnlockTitle": "חוברת עבודה לא מוגנת" + "SSE.Views.WBProtection.txtWBUnlockTitle": "חוברת עבודה לא מוגנת", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/hu.json b/apps/spreadsheeteditor/main/locale/hu.json index a79e80fbad..ac6988764c 100644 --- a/apps/spreadsheeteditor/main/locale/hu.json +++ b/apps/spreadsheeteditor/main/locale/hu.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Írjon be egy jelszót a munkalap védelmének megszüntetéséhez", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Munkalap védelmének megszüntetése", "SSE.Views.WBProtection.txtWBUnlockDescription": "Írjon be egy jelszót a munkafüzet védelmének megszüntetéséhez", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Munkafüzet védelmének megszüntetése" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Munkafüzet védelmének megszüntetése", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/hy.json b/apps/spreadsheeteditor/main/locale/hy.json index 26fc3819f2..5f485f94fc 100644 --- a/apps/spreadsheeteditor/main/locale/hy.json +++ b/apps/spreadsheeteditor/main/locale/hy.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Մուտքագրեք գաղտնաբառ՝ թերթը չպաշտպանելու համար", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Չպաշտպանել թերթիկը", "SSE.Views.WBProtection.txtWBUnlockDescription": "Մուտքագրեք գաղտնաբառ՝ աշխատանքային գրքույկը պաշտպանելու համար", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Չպաշտպանել աշխատանքային գրքույկը" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Չպաշտպանել աշխատանքային գրքույկը", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/id.json b/apps/spreadsheeteditor/main/locale/id.json index 4bcb9853ea..0baf42a661 100644 --- a/apps/spreadsheeteditor/main/locale/id.json +++ b/apps/spreadsheeteditor/main/locale/id.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Masukkan password untuk membuka proteksi sheet", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Buka Proteksi Sheet", "SSE.Views.WBProtection.txtWBUnlockDescription": "Masukkan password untuk membuka proteksi workbook", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Buka Proteksi Workbook" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Buka Proteksi Workbook", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/it.json b/apps/spreadsheeteditor/main/locale/it.json index 480bb3127c..25092871cd 100644 --- a/apps/spreadsheeteditor/main/locale/it.json +++ b/apps/spreadsheeteditor/main/locale/it.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Inserisci una password per rimuovere la protezione del foglio", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Rimuovi la protezione del foglio", "SSE.Views.WBProtection.txtWBUnlockDescription": "Inserisci una password per rimuovere la protezione del libro di lavoro", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Rimuovi la protezione del libro di lavoro" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Rimuovi la protezione del libro di lavoro", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/ja.json b/apps/spreadsheeteditor/main/locale/ja.json index 67636beff9..e6e40ca0aa 100644 --- a/apps/spreadsheeteditor/main/locale/ja.json +++ b/apps/spreadsheeteditor/main/locale/ja.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "シートを保護解除するようにパスワードを入力してください", "SSE.Views.WBProtection.txtSheetUnlockTitle": "シートを保護を解除する", "SSE.Views.WBProtection.txtWBUnlockDescription": "ブックを保護解除するようにパスワードを入力してください", - "SSE.Views.WBProtection.txtWBUnlockTitle": "ブックを保護を解除する" + "SSE.Views.WBProtection.txtWBUnlockTitle": "ブックを保護を解除する", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/ko.json b/apps/spreadsheeteditor/main/locale/ko.json index b95186380e..4017fe2275 100644 --- a/apps/spreadsheeteditor/main/locale/ko.json +++ b/apps/spreadsheeteditor/main/locale/ko.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "양식 보호를 해제하려면 비밀번호를 입력하세요.", "SSE.Views.WBProtection.txtSheetUnlockTitle": "시트 보호해제", "SSE.Views.WBProtection.txtWBUnlockDescription": "통합 문서 보호를 해제하려면 비밀번호를 입력하세요.", - "SSE.Views.WBProtection.txtWBUnlockTitle": "통합 문서 보호 잠금 해제" + "SSE.Views.WBProtection.txtWBUnlockTitle": "통합 문서 보호 잠금 해제", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/lo.json b/apps/spreadsheeteditor/main/locale/lo.json index d3dc3cc46b..3357cfcfc4 100644 --- a/apps/spreadsheeteditor/main/locale/lo.json +++ b/apps/spreadsheeteditor/main/locale/lo.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "ໃສ່ລະຫັດຜ່ານເພື່ອຍົກເລີກການປ້ອງກັນແຜ່ນ", "SSE.Views.WBProtection.txtSheetUnlockTitle": "ບໍ່ປ້ອງກັນແຜ່ນຊີດ", "SSE.Views.WBProtection.txtWBUnlockDescription": "ປ້ອນລະຫັດຜ່ານເພື່ອບໍ່ປົກປ້ອງປື້ມບັນທືກ", - "SSE.Views.WBProtection.txtWBUnlockTitle": "ບໍ່ປ້ອງ ປື້ມບັນທືກ" + "SSE.Views.WBProtection.txtWBUnlockTitle": "ບໍ່ປ້ອງ ປື້ມບັນທືກ", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/lv.json b/apps/spreadsheeteditor/main/locale/lv.json index a426156885..285dcbb2cb 100644 --- a/apps/spreadsheeteditor/main/locale/lv.json +++ b/apps/spreadsheeteditor/main/locale/lv.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Ievadiet paroli, lai noņemtu lapas aizsardzību", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Noņemt aizsargāto lapu", "SSE.Views.WBProtection.txtWBUnlockDescription": "Ievadiet paroli, lai noņemtu darbgrāmatas aizsardzību", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Noņemt darbgrāmatas aizsardzību" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Noņemt darbgrāmatas aizsardzību", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/ms.json b/apps/spreadsheeteditor/main/locale/ms.json index 275a2e3d71..c2ac1c59a5 100644 --- a/apps/spreadsheeteditor/main/locale/ms.json +++ b/apps/spreadsheeteditor/main/locale/ms.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Masukkan kata laluan untuk melindungi helaian", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Helaian Nyahlindung", "SSE.Views.WBProtection.txtWBUnlockDescription": "Masukkan kata laluan untuk melindungi buku kerja", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Buku Kerja Nyahlindung" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Buku Kerja Nyahlindung", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/nl.json b/apps/spreadsheeteditor/main/locale/nl.json index 0114fb8813..efe57f62d8 100644 --- a/apps/spreadsheeteditor/main/locale/nl.json +++ b/apps/spreadsheeteditor/main/locale/nl.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Voer een wachtwoord in om de beveiliging voor het blad op te heffen", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Beveiliging van blad opheffen", "SSE.Views.WBProtection.txtWBUnlockDescription": "Voer een wachtwoord in om de beveiliging voor het werkboek op te heffen", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Beveiliging van werkboek opheffen" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Beveiliging van werkboek opheffen", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/pl.json b/apps/spreadsheeteditor/main/locale/pl.json index 00d053b07d..e80d8f716b 100644 --- a/apps/spreadsheeteditor/main/locale/pl.json +++ b/apps/spreadsheeteditor/main/locale/pl.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Wprowadź hasło, aby odblokować arkusz", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Usuń ochronę arkusza", "SSE.Views.WBProtection.txtWBUnlockDescription": "Wprowadź hasło, aby wyłączyć ochronę skoroszytu", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Usuń ochronę skoroszytu" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Usuń ochronę skoroszytu", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/pt-pt.json b/apps/spreadsheeteditor/main/locale/pt-pt.json index 0ab5d1115d..d0490f0b9d 100644 --- a/apps/spreadsheeteditor/main/locale/pt-pt.json +++ b/apps/spreadsheeteditor/main/locale/pt-pt.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Introduza uma palavra-passe para desbloquear a folha", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Desproteger folha", "SSE.Views.WBProtection.txtWBUnlockDescription": "Introduza uma palavra-passe para desbloquear o livro", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Desproteger Livro" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Desproteger Livro", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/pt.json b/apps/spreadsheeteditor/main/locale/pt.json index 0733db303a..903eae2ba6 100644 --- a/apps/spreadsheeteditor/main/locale/pt.json +++ b/apps/spreadsheeteditor/main/locale/pt.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Digite uma senha para desproteger a folha", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Desproteger a folha", "SSE.Views.WBProtection.txtWBUnlockDescription": "Digite uma senha para desproteger a pasta de trabalho", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Desproteger pasta de trabalho" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Desproteger pasta de trabalho", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/ro.json b/apps/spreadsheeteditor/main/locale/ro.json index 029e14b913..7de4cb2ef5 100644 --- a/apps/spreadsheeteditor/main/locale/ro.json +++ b/apps/spreadsheeteditor/main/locale/ro.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Introduceți parola pentru dezactivarea protejării a foii de calcul", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Anularea protecției foii de calcul", "SSE.Views.WBProtection.txtWBUnlockDescription": "Introduceți parola pentru dezactivarea protejării a registrului de calcul", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Dezactivarea protejării registrului de calcul" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Dezactivarea protejării registrului de calcul", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/ru.json b/apps/spreadsheeteditor/main/locale/ru.json index 765b6a29c4..3f74b5d586 100644 --- a/apps/spreadsheeteditor/main/locale/ru.json +++ b/apps/spreadsheeteditor/main/locale/ru.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Введите пароль для отключения защиты листа", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Снять защиту листа", "SSE.Views.WBProtection.txtWBUnlockDescription": "Введите пароль для отключения защиты книги", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Снять защиту книги" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Снять защиту книги", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/si.json b/apps/spreadsheeteditor/main/locale/si.json index 57d753a49c..878b5f9bc9 100644 --- a/apps/spreadsheeteditor/main/locale/si.json +++ b/apps/spreadsheeteditor/main/locale/si.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "පත්‍රය අනාරක්‍ෂණයට මුරපදයක් යොදන්න", "SSE.Views.WBProtection.txtSheetUnlockTitle": "කොළය අනාරක්‍ෂණය", "SSE.Views.WBProtection.txtWBUnlockDescription": "වැඩපොත අනාරක්‍ෂණයට මුරපදයක් ඇතුල් කරන්න", - "SSE.Views.WBProtection.txtWBUnlockTitle": "වැඩපොත අනාරක්‍ෂණය" + "SSE.Views.WBProtection.txtWBUnlockTitle": "වැඩපොත අනාරක්‍ෂණය", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/sk.json b/apps/spreadsheeteditor/main/locale/sk.json index 9f51d28802..aca879321d 100644 --- a/apps/spreadsheeteditor/main/locale/sk.json +++ b/apps/spreadsheeteditor/main/locale/sk.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Zadajte heslo pre deaktiváciu zabezpečenia listu", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Zrušte ochranu listu", "SSE.Views.WBProtection.txtWBUnlockDescription": "Vložte heslo pre vstup k zošitu", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Zrušte ochranu zošita" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Zrušte ochranu zošita", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/sl.json b/apps/spreadsheeteditor/main/locale/sl.json index 33959fef63..655bc6a181 100644 --- a/apps/spreadsheeteditor/main/locale/sl.json +++ b/apps/spreadsheeteditor/main/locale/sl.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Enter a password to unprotect sheet", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Unprotect sheet", "SSE.Views.WBProtection.txtWBUnlockDescription": "Enter a password to unprotect workbook", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Unprotect workbook" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Unprotect workbook", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/sr-cyrl.json b/apps/spreadsheeteditor/main/locale/sr-cyrl.json index d3ca3e2846..792beddde4 100644 --- a/apps/spreadsheeteditor/main/locale/sr-cyrl.json +++ b/apps/spreadsheeteditor/main/locale/sr-cyrl.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Унесите лозинку да незаштитите лист", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Незаштити лист", "SSE.Views.WBProtection.txtWBUnlockDescription": "Унесите лозинку да незаштитите радну књигу", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Незаштити радну књигу" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Незаштити радну књигу", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/sr.json b/apps/spreadsheeteditor/main/locale/sr.json index ea4a0c1590..05ca14c9f6 100644 --- a/apps/spreadsheeteditor/main/locale/sr.json +++ b/apps/spreadsheeteditor/main/locale/sr.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Unesite lozinku da nezaštitite list", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Nezaštiti list", "SSE.Views.WBProtection.txtWBUnlockDescription": "Unesite lozinku da nezaštitite radnu knjigu", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Nezaštiti radnu knjigu" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Nezaštiti radnu knjigu", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/sv.json b/apps/spreadsheeteditor/main/locale/sv.json index e34cf4b206..ed6a336ac4 100644 --- a/apps/spreadsheeteditor/main/locale/sv.json +++ b/apps/spreadsheeteditor/main/locale/sv.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Ange ett lösenord för att låsa upp kalkylarkets skydd", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Lås upp kalkylbladet", "SSE.Views.WBProtection.txtWBUnlockDescription": "Ange ett lösenord för att låsa upp arbetsbokens skydd", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Lås upp arbetsboken" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Lås upp arbetsboken", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/tr.json b/apps/spreadsheeteditor/main/locale/tr.json index 8b13150926..3f85699d16 100644 --- a/apps/spreadsheeteditor/main/locale/tr.json +++ b/apps/spreadsheeteditor/main/locale/tr.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Sayfanın korumasını kaldırmak için bir şifre girin", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Korumasız Sayfa", "SSE.Views.WBProtection.txtWBUnlockDescription": "Çalışma kitabının korumasını kaldırmak için bir parola girin", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Korumasız Çalışma Sayfası" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Korumasız Çalışma Sayfası", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/uk.json b/apps/spreadsheeteditor/main/locale/uk.json index 80cb020bca..d264ed388a 100644 --- a/apps/spreadsheeteditor/main/locale/uk.json +++ b/apps/spreadsheeteditor/main/locale/uk.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Введіть пароль для вимкнення захисту аркуша", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Зняти захист аркуша", "SSE.Views.WBProtection.txtWBUnlockDescription": "Введіть пароль для вимкнення захисту книги", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Зняти захист книги" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Зняти захист книги", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/vi.json b/apps/spreadsheeteditor/main/locale/vi.json index 02dcfa1107..eaedb89ad0 100644 --- a/apps/spreadsheeteditor/main/locale/vi.json +++ b/apps/spreadsheeteditor/main/locale/vi.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "Enter a password to unprotect sheet", "SSE.Views.WBProtection.txtSheetUnlockTitle": "Unprotect sheet", "SSE.Views.WBProtection.txtWBUnlockDescription": "Enter a password to unprotect workbook", - "SSE.Views.WBProtection.txtWBUnlockTitle": "Unprotect workbook" + "SSE.Views.WBProtection.txtWBUnlockTitle": "Unprotect workbook", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/zh-tw.json b/apps/spreadsheeteditor/main/locale/zh-tw.json index 50a52621b2..b11f2aff6f 100644 --- a/apps/spreadsheeteditor/main/locale/zh-tw.json +++ b/apps/spreadsheeteditor/main/locale/zh-tw.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "輸入密碼以解除工作表的保護", "SSE.Views.WBProtection.txtSheetUnlockTitle": "解除工作表保護", "SSE.Views.WBProtection.txtWBUnlockDescription": "輸入密碼以解除工作簿的保護", - "SSE.Views.WBProtection.txtWBUnlockTitle": "解除工作簿保護" + "SSE.Views.WBProtection.txtWBUnlockTitle": "解除工作簿保護", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/locale/zh.json b/apps/spreadsheeteditor/main/locale/zh.json index e863ddaea2..69299ebdf2 100644 --- a/apps/spreadsheeteditor/main/locale/zh.json +++ b/apps/spreadsheeteditor/main/locale/zh.json @@ -4489,5 +4489,7 @@ "SSE.Views.WBProtection.txtSheetUnlockDescription": "输入密码以取消工作表保护", "SSE.Views.WBProtection.txtSheetUnlockTitle": "撤消工作表保护", "SSE.Views.WBProtection.txtWBUnlockDescription": "输入密码以取消工作簿保护", - "SSE.Views.WBProtection.txtWBUnlockTitle": "撤消工作簿保护" + "SSE.Views.WBProtection.txtWBUnlockTitle": "撤消工作簿保护", + "SSE.Views.ChartSettingsDlg.textShowEquation": "Display equation on chart", + "SSE.Views.ChartSettingsDlg.textTrendlineOptions": "Trendline options" } \ No newline at end of file From 274ef0b3f6dd1a1c80783383a8f2b115971c5851 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 8 Oct 2024 12:05:00 +0300 Subject: [PATCH 2/2] [SSE] Fix trendline option --- .../main/app/view/ChartSettingsDlg.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js b/apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js index 433de714c9..a686924721 100644 --- a/apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js +++ b/apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js @@ -244,7 +244,10 @@ define([ this.chShowEquation = new Common.UI.CheckBox({ el: $('#chart-dlg-chk-show-equation'), labelText: this.textShowEquation - }); + }).on('change', _.bind(function (checkbox, state) { + if (this.chartSettings) + this.chartSettings.putDisplayTrendlinesEquation(state==='checked'); + }, this)); // Vertical Axis this.cmbMinType = []; @@ -1513,11 +1516,13 @@ define([ this.chCategoryName.setValue(this.chartSettings.getShowCatName(), true); this.chValue.setValue(this.chartSettings.getShowVal(), true); - this.chShowEquation.setValue(this.chartSettings.getDisplayTrendlinesEquation(), true); - var value = props.getSeparator(); this.txtSeparator.setValue((value) ? value : ''); + value = this.chartSettings.getDisplayTrendlinesEquation(); + this.chShowEquation.setValue(value !== undefined ? !!value : 'indeterminate', true); + this.chShowEquation.setDisabled(value===null, true); + Common.UI.FocusManager.add(this, [this.cmbChartTitle, this.cmbLegendPos, this.cmbDataLabels, this.chSeriesName, this.chCategoryName, this.chValue, this.txtSeparator, this.cmbLines, this.chMarkers, this.chShowEquation]); // Vertical Axis @@ -1657,8 +1662,6 @@ define([ this.chartSettings.putShowCatName(this.chCategoryName.getValue()=='checked'); this.chartSettings.putShowVal(this.chValue.getValue()=='checked'); - this.chartSettings.putDisplayTrendlinesEquation(this.chShowEquation.getValue()=='checked'); - this.chartSettings.putSeparator(_.isEmpty(this.txtSeparator.getValue()) ? ' ' : this.txtSeparator.getValue()); this.chMarkers.isVisible() && this.chartSettings.putShowMarker(this.chMarkers.getValue()=='checked');