[SSE] Add translation for custom page size
This commit is contained in:
parent
63195f269b
commit
a10f12fb49
|
@ -136,7 +136,7 @@ define([
|
||||||
if (item)
|
if (item)
|
||||||
panel.cmbPaperSize.setValue(item.get('value'));
|
panel.cmbPaperSize.setValue(item.get('value'));
|
||||||
else
|
else
|
||||||
panel.cmbPaperSize.setValue('Custom (' + w +' x ' + h + ')');
|
panel.cmbPaperSize.setValue(this.txtCustom + ' (' + w +' x ' + h + ')');
|
||||||
|
|
||||||
var fitwidth = opt.asc_getFitToWidth(),
|
var fitwidth = opt.asc_getFitToWidth(),
|
||||||
fitheight = opt.asc_getFitToHeight();
|
fitheight = opt.asc_getFitToHeight();
|
||||||
|
@ -346,6 +346,7 @@ define([
|
||||||
|
|
||||||
warnCheckMargings: 'Margins are incorrect',
|
warnCheckMargings: 'Margins are incorrect',
|
||||||
strAllSheets: 'All Sheets',
|
strAllSheets: 'All Sheets',
|
||||||
textWarning: 'Warning'
|
textWarning: 'Warning',
|
||||||
|
txtCustom: 'Custom'
|
||||||
}, SSE.Controllers.Print || {}));
|
}, SSE.Controllers.Print || {}));
|
||||||
});
|
});
|
|
@ -546,6 +546,7 @@
|
||||||
"SSE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
|
"SSE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
|
||||||
"SSE.Controllers.Print.strAllSheets": "All Sheets",
|
"SSE.Controllers.Print.strAllSheets": "All Sheets",
|
||||||
"SSE.Controllers.Print.textWarning": "Warning",
|
"SSE.Controllers.Print.textWarning": "Warning",
|
||||||
|
"SSE.Controllers.Print.txtCustom": "Custom",
|
||||||
"SSE.Controllers.Print.warnCheckMargings": "Margins are incorrect",
|
"SSE.Controllers.Print.warnCheckMargings": "Margins are incorrect",
|
||||||
"SSE.Controllers.Statusbar.errorLastSheet": "Workbook must have at least one visible worksheet.",
|
"SSE.Controllers.Statusbar.errorLastSheet": "Workbook must have at least one visible worksheet.",
|
||||||
"SSE.Controllers.Statusbar.errorRemoveSheet": "Cannot delete the worksheet.",
|
"SSE.Controllers.Statusbar.errorRemoveSheet": "Cannot delete the worksheet.",
|
||||||
|
|
Loading…
Reference in a new issue