[DE] Fix translation
This commit is contained in:
parent
24830cb70b
commit
53298b4aab
|
@ -114,7 +114,6 @@ define([
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (res.length>0) {
|
if (res.length>0) {
|
||||||
// me.adjPrintParams.asc_setPages(res);
|
|
||||||
me._state.firstPrintPage = res[0];
|
me._state.firstPrintPage = res[0];
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -492,14 +491,13 @@ define([
|
||||||
else if (this.printSettings.cmbRange.getValue()==='current')
|
else if (this.printSettings.cmbRange.getValue()==='current')
|
||||||
this._state.firstPrintPage = this._navigationPreview.currentPage;
|
this._state.firstPrintPage = this._navigationPreview.currentPage;
|
||||||
|
|
||||||
this._isPrint = print;
|
|
||||||
|
|
||||||
this.adjPrintParams.asc_setNativeOptions({
|
this.adjPrintParams.asc_setNativeOptions({
|
||||||
pages: this.printSettings.cmbRange.getValue()===-1 ? this.printSettings.inputPages.getValue() : this.printSettings.cmbRange.getValue(),
|
pages: this.printSettings.cmbRange.getValue()===-1 ? this.printSettings.inputPages.getValue() : this.printSettings.cmbRange.getValue(),
|
||||||
paperSize: this._state.pgsize, //this.api.asc_getPageSize(this._state.firstPrintPage),
|
paperSize: this._state.pgsize, //this.api.asc_getPageSize(this._state.firstPrintPage),
|
||||||
paperOrientation: this._state.pgorient ? 'portrait' : 'landscape' // this.api.asc_getPageOrient(this._state.firstPrintPage) ? 'portrait' : 'landscape'
|
paperOrientation: this._state.pgorient ? 'portrait' : 'landscape' // this.api.asc_getPageOrient(this._state.firstPrintPage) ? 'portrait' : 'landscape'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this._isPrint = print;
|
||||||
if ( print ) {
|
if ( print ) {
|
||||||
var opts = new Asc.asc_CDownloadOptions(null, Common.Utils.isChrome || Common.Utils.isOpera || Common.Utils.isGecko && Common.Utils.firefoxVersion>86);
|
var opts = new Asc.asc_CDownloadOptions(null, Common.Utils.isChrome || Common.Utils.isOpera || Common.Utils.isGecko && Common.Utils.firefoxVersion>86);
|
||||||
opts.asc_setAdvancedOptions(this.adjPrintParams);
|
opts.asc_setAdvancedOptions(this.adjPrintParams);
|
||||||
|
|
|
@ -2485,10 +2485,10 @@ define([
|
||||||
'<li id="<%= item.id %>" data-value="<%- item.value %>"><a tabindex="-1" type="menuitem">',
|
'<li id="<%= item.id %>" data-value="<%- item.value %>"><a tabindex="-1" type="menuitem">',
|
||||||
'<div><b><%= scope.getDisplayValue(item) %></b></div>',
|
'<div><b><%= scope.getDisplayValue(item) %></b></div>',
|
||||||
'<% if (item.size !== null) { %><div style="display: inline-block;margin-right: 20px;min-width: 80px;">' +
|
'<% if (item.size !== null) { %><div style="display: inline-block;margin-right: 20px;min-width: 80px;">' +
|
||||||
'<label style="display: block;">' + this.txtTop + ' <%= parseFloat(Common.Utils.Metric.fnRecalcFromMM(item.size[0]).toFixed(2)) %> <%= Common.Utils.Metric.getCurrentMetricName() %></label>' +
|
'<label style="display: block;">' + this.txtTop + ': <%= parseFloat(Common.Utils.Metric.fnRecalcFromMM(item.size[0]).toFixed(2)) %> <%= Common.Utils.Metric.getCurrentMetricName() %></label>' +
|
||||||
'<label style="display: block;">' + this.txtLeft + ' <%= parseFloat(Common.Utils.Metric.fnRecalcFromMM(item.size[1]).toFixed(2)) %> <%= Common.Utils.Metric.getCurrentMetricName() %></label></div><div style="display: inline-block;">' +
|
'<label style="display: block;">' + this.txtLeft + ': <%= parseFloat(Common.Utils.Metric.fnRecalcFromMM(item.size[1]).toFixed(2)) %> <%= Common.Utils.Metric.getCurrentMetricName() %></label></div><div style="display: inline-block;">' +
|
||||||
'<label style="display: block;">' + this.txtBottom + ' <%= parseFloat(Common.Utils.Metric.fnRecalcFromMM(item.size[2]).toFixed(2)) %> <%= Common.Utils.Metric.getCurrentMetricName() %></label>' +
|
'<label style="display: block;">' + this.txtBottom + ': <%= parseFloat(Common.Utils.Metric.fnRecalcFromMM(item.size[2]).toFixed(2)) %> <%= Common.Utils.Metric.getCurrentMetricName() %></label>' +
|
||||||
'<label style="display: block;">' + this.txtRight + ' <%= parseFloat(Common.Utils.Metric.fnRecalcFromMM(item.size[3]).toFixed(2)) %> <%= Common.Utils.Metric.getCurrentMetricName() %></label></div>' +
|
'<label style="display: block;">' + this.txtRight + ': <%= parseFloat(Common.Utils.Metric.fnRecalcFromMM(item.size[3]).toFixed(2)) %> <%= Common.Utils.Metric.getCurrentMetricName() %></label></div>' +
|
||||||
'<% } %>',
|
'<% } %>',
|
||||||
'<% }); %>'
|
'<% }); %>'
|
||||||
].join('')),
|
].join('')),
|
||||||
|
@ -2648,10 +2648,10 @@ define([
|
||||||
txtLandscape: 'Landscape',
|
txtLandscape: 'Landscape',
|
||||||
txtCustom: 'Custom',
|
txtCustom: 'Custom',
|
||||||
txtMargins: 'Margins',
|
txtMargins: 'Margins',
|
||||||
txtTop: 'Top:',
|
txtTop: 'Top',
|
||||||
txtBottom: 'Bottom:',
|
txtBottom: 'Bottom',
|
||||||
txtLeft: 'Left:',
|
txtLeft: 'Left',
|
||||||
txtRight: 'Right:',
|
txtRight: 'Right',
|
||||||
txtPage: 'Page',
|
txtPage: 'Page',
|
||||||
txtOf: 'of {0}',
|
txtOf: 'of {0}',
|
||||||
txtPageNumInvalid: 'Page number invalid',
|
txtPageNumInvalid: 'Page number invalid',
|
||||||
|
|
|
@ -951,6 +951,9 @@
|
||||||
"DE.Controllers.Statusbar.textTrackChanges": "The document is opened with the Track Changes mode enabled",
|
"DE.Controllers.Statusbar.textTrackChanges": "The document is opened with the Track Changes mode enabled",
|
||||||
"DE.Controllers.Statusbar.tipReview": "Track changes",
|
"DE.Controllers.Statusbar.tipReview": "Track changes",
|
||||||
"DE.Controllers.Statusbar.zoomText": "Zoom {0}%",
|
"DE.Controllers.Statusbar.zoomText": "Zoom {0}%",
|
||||||
|
"DE.Controllers.Print.txtCustom": "Custom",
|
||||||
|
"DE.Controllers.Print.txtPrintRangeInvalid": "Invalid print range",
|
||||||
|
"DE.Controllers.Print.textMarginsLast": "Last Custom",
|
||||||
"DE.Controllers.Toolbar.confirmAddFontName": "The font you are going to save is not available on the current device.<br>The text style will be displayed using one of the system fonts, the saved font will be used when it is available.<br>Do you want to continue?",
|
"DE.Controllers.Toolbar.confirmAddFontName": "The font you are going to save is not available on the current device.<br>The text style will be displayed using one of the system fonts, the saved font will be used when it is available.<br>Do you want to continue?",
|
||||||
"DE.Controllers.Toolbar.dataUrl": "Paste a data URL",
|
"DE.Controllers.Toolbar.dataUrl": "Paste a data URL",
|
||||||
"DE.Controllers.Toolbar.notcriticalErrorTitle": "Warning",
|
"DE.Controllers.Toolbar.notcriticalErrorTitle": "Warning",
|
||||||
|
@ -2384,6 +2387,33 @@
|
||||||
"DE.Views.ParagraphSettingsAdvanced.tipTop": "Set top border only",
|
"DE.Views.ParagraphSettingsAdvanced.tipTop": "Set top border only",
|
||||||
"DE.Views.ParagraphSettingsAdvanced.txtAutoText": "Auto",
|
"DE.Views.ParagraphSettingsAdvanced.txtAutoText": "Auto",
|
||||||
"DE.Views.ParagraphSettingsAdvanced.txtNoBorders": "No borders",
|
"DE.Views.ParagraphSettingsAdvanced.txtNoBorders": "No borders",
|
||||||
|
"DE.Views.PrintWithPreview.txtPrint": "Print",
|
||||||
|
"DE.Views.PrintWithPreview.txtPrintPdf": "Print to PDF",
|
||||||
|
"DE.Views.PrintWithPreview.txtPrintRange": "Print range",
|
||||||
|
"DE.Views.PrintWithPreview.txtCurrentPage": "Current page",
|
||||||
|
"DE.Views.PrintWithPreview.txtAllPages": "All pages",
|
||||||
|
"DE.Views.PrintWithPreview.txtSelection": "Selection",
|
||||||
|
"DE.Views.PrintWithPreview.txtCustomPages": "Custom print",
|
||||||
|
"DE.Views.PrintWithPreview.txtPageSize": "Page size",
|
||||||
|
"DE.Views.PrintWithPreview.txtPageOrientation": "Page orientation",
|
||||||
|
"DE.Views.PrintWithPreview.txtPortrait": "Portrait",
|
||||||
|
"DE.Views.PrintWithPreview.txtLandscape": "Landscape",
|
||||||
|
"DE.Views.PrintWithPreview.txtCustom": "Custom",
|
||||||
|
"DE.Views.PrintWithPreview.txtMargins": "Margins",
|
||||||
|
"DE.Views.PrintWithPreview.txtTop": "Top",
|
||||||
|
"DE.Views.PrintWithPreview.txtBottom": "Bottom",
|
||||||
|
"DE.Views.PrintWithPreview.txtLeft": "Left",
|
||||||
|
"DE.Views.PrintWithPreview.txtRight": "Right",
|
||||||
|
"DE.Views.PrintWithPreview.txtPage": "Page",
|
||||||
|
"DE.Views.PrintWithPreview.txtOf": "of {0}",
|
||||||
|
"DE.Views.PrintWithPreview.txtPageNumInvalid": "Page number invalid",
|
||||||
|
"DE.Views.PrintWithPreview.txtPages": "Pages",
|
||||||
|
"DE.Views.PrintWithPreview.textMarginsLast": "Last Custom",
|
||||||
|
"DE.Views.PrintWithPreview.textMarginsNormal": "Normal",
|
||||||
|
"DE.Views.PrintWithPreview.textMarginsUsNormal": "US Normal",
|
||||||
|
"DE.Views.PrintWithPreview.textMarginsNarrow": "Narrow",
|
||||||
|
"DE.Views.PrintWithPreview.textMarginsModerate": "Moderate",
|
||||||
|
"DE.Views.PrintWithPreview.textMarginsWide": "Wide",
|
||||||
"DE.Views.RightMenu.txtChartSettings": "Chart settings",
|
"DE.Views.RightMenu.txtChartSettings": "Chart settings",
|
||||||
"DE.Views.RightMenu.txtFormSettings": "Form Settings",
|
"DE.Views.RightMenu.txtFormSettings": "Form Settings",
|
||||||
"DE.Views.RightMenu.txtHeaderFooterSettings": "Header and footer settings",
|
"DE.Views.RightMenu.txtHeaderFooterSettings": "Header and footer settings",
|
||||||
|
|
Loading…
Reference in a new issue