[SSE] Add translation for custom page size

This commit is contained in:
Julia Radzhabova 2019-01-18 17:25:13 +03:00
parent 63195f269b
commit a10f12fb49
2 changed files with 4 additions and 2 deletions

View file

@ -136,7 +136,7 @@ define([
if (item)
panel.cmbPaperSize.setValue(item.get('value'));
else
panel.cmbPaperSize.setValue('Custom (' + w +' x ' + h + ')');
panel.cmbPaperSize.setValue(this.txtCustom + ' (' + w +' x ' + h + ')');
var fitwidth = opt.asc_getFitToWidth(),
fitheight = opt.asc_getFitToHeight();
@ -346,6 +346,7 @@ define([
warnCheckMargings: 'Margins are incorrect',
strAllSheets: 'All Sheets',
textWarning: 'Warning'
textWarning: 'Warning',
txtCustom: 'Custom'
}, SSE.Controllers.Print || {}));
});

View file

@ -546,6 +546,7 @@
"SSE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
"SSE.Controllers.Print.strAllSheets": "All Sheets",
"SSE.Controllers.Print.textWarning": "Warning",
"SSE.Controllers.Print.txtCustom": "Custom",
"SSE.Controllers.Print.warnCheckMargings": "Margins are incorrect",
"SSE.Controllers.Statusbar.errorLastSheet": "Workbook must have at least one visible worksheet.",
"SSE.Controllers.Statusbar.errorRemoveSheet": "Cannot delete the worksheet.",