Skip to content

Commit

Permalink
[SSE] Add locale for pivot calculated items
Browse files Browse the repository at this point in the history
  • Loading branch information
Basher0303 committed Dec 18, 2024
1 parent 63e3f88 commit 92b750d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
8 changes: 4 additions & 4 deletions apps/spreadsheeteditor/main/app/view/PivotTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ define([
this.btnCalculatedItems = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
iconCls: 'toolbar__icon btn-calculated',
caption: this.txtCalculated,
caption: this.txtCalculatedItems,
lock : [_set.lostConnect, _set.coAuth, _set.noPivot, _set.selRangeEdit, _set.pivotLock, _set.pivotCalcItemsLock, _set['FormatCells'], _set['PivotTables']],
dataHint: '1',
dataHintDirection: 'bottom',
Expand Down Expand Up @@ -403,7 +403,7 @@ define([
btn.updateHint(me.tipCreatePivot);
});
me.btnSelectPivot.updateHint(me.tipSelect);
me.btnCalculatedItems.updateHint(me.tipCalculated);
me.btnCalculatedItems.updateHint(me.tipCalculatedItems);
me.btnPivotLayout.updateHint(me.capLayout);
me.btnPivotLayout.setMenu(new Common.UI.Menu({
items: [
Expand Down Expand Up @@ -529,8 +529,8 @@ define([
tipGrandTotals: 'Show or hide grand totals',
tipSubtotals: 'Show or hide subtotals',
txtSelect: 'Select',
txtCalculated: 'Calculated Items',
tipCalculated: 'Calculated Items',
txtCalculatedItems: 'Calculated Items',
tipCalculatedItems: 'Calculated items',
txtExpandEntire: 'Expand Entire Field',
txtCollapseEntire: 'Collapse Entire Field',
tipSelect: 'Select entire pivot table',
Expand Down
19 changes: 18 additions & 1 deletion apps/spreadsheeteditor/main/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3412,6 +3412,8 @@
"SSE.Views.PivotTable.tipRefresh": "Update the information from data source",
"SSE.Views.PivotTable.tipRefreshCurrent": "Update the information from data source for the current table",
"SSE.Views.PivotTable.tipSelect": "Select entire pivot table",
"SSE.Views.PivotTable.txtCalculatedItems": "Calculated Items",
"SSE.Views.PivotTable.tipCalculatedItems": "Calculated items",
"SSE.Views.PivotTable.tipSubtotals": "Show or hide subtotals",
"SSE.Views.PivotTable.txtCollapseEntire": "Collapse Entire Field",
"SSE.Views.PivotTable.txtCreate": "Insert Table",
Expand Down Expand Up @@ -4507,5 +4509,20 @@
"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.PivotCalculatedItemsDialog.txtTitle": "Calculated Items in",
"SSE.Views.PivotCalculatedItemsDialog.txtNew": "New",
"SSE.Views.PivotCalculatedItemsDialog.txtDuplicate": "Duplicate",
"SSE.Views.PivotCalculatedItemsDialog.txtEdit": "Edit",
"SSE.Views.PivotCalculatedItemsDialog.txtDelete": "Delete",
"SSE.Views.PivotCalculatedItemsDialog.txtItemsName": "Items Name",
"SSE.Views.PivotCalculatedItemsDialog.txtFormula": "Formula",
"SSE.Views.PivotInsertCalculatedItemDialog.txtTitle": "Insert Calculated Item in",
"SSE.Views.PivotInsertCalculatedItemDialog.txtItemName": "Item name",
"SSE.Views.PivotInsertCalculatedItemDialog.txtItem": "Item",
"SSE.Views.PivotInsertCalculatedItemDialog.txtFormula": "Formula",
"SSE.Views.PivotInsertCalculatedItemDialog.txtItems": "Items",
"SSE.Views.PivotInsertCalculatedItemDialog.txtDescription": "You can use Calculated Items for basic calculations between different items within a single field",
"SSE.Views.PivotInsertCalculatedItemDialog.txtReadMore": "Read more",
"SSE.Views.PivotInsertCalculatedItemDialog.txtInsertIntoFormula": "Insert into formula"

}

0 comments on commit 92b750d

Please sign in to comment.