[DE] Add translation for formula errors

This commit is contained in:
Julia Radzhabova 2019-03-06 11:16:21 +03:00
parent a957cfcaca
commit 6eaab69d3c
2 changed files with 55 additions and 22 deletions

View file

@ -149,7 +149,18 @@ define([
"Same as Previous": this.txtSameAsPrev,
"Current Document": this.txtCurrentDocument,
"No table of contents entries found.": this.txtNoTableOfContents,
"Table of Contents": this.txtTableOfContents
"Table of Contents": this.txtTableOfContents,
"Syntax Error": this.txtSyntaxError,
"Missing Operator": this.txtMissOperator,
"Missing Argument": this.txtMissArg,
"Number Too Large To Format": this.txtTooLarge,
"Zero Divide": this.txtZeroDivide,
"Is Not In Table": this.txtNotInTable,
"Index Too Large": this.txtIndTooLarge,
"The Formula Not In Table": this.txtFormulaNotInTable,
"Table Index Cannot be Zero": this.txtTableInd,
"Undefined Bookmark": this.txtUndefBookmark,
"Unexpected End of Formula": this.txtEndOfFormula
};
styleNames.forEach(function(item){
translate[item] = me.translationTable[item] = me['txtStyle_' + item.replace(/ /g, '_')] || item;
@ -2525,7 +2536,18 @@ define([
txtShape_curvedConnector3WithTwoArrows: 'Curved Double-Arrow Connector',
txtShape_spline: 'Curve',
txtShape_polyline1: 'Scribble',
txtShape_polyline2: 'Freeform'
txtShape_polyline2: 'Freeform',
txtSyntaxError: 'Syntax Error',
txtMissOperator: 'Missing Operator',
txtMissArg: 'Missing Argument',
txtTooLarge: 'Number Too Large To Format',
txtZeroDivide: 'Zero Divide',
txtNotInTable: 'Is Not In Table',
txtIndTooLarge: 'Index Too Large',
txtFormulaNotInTable: 'The Formula Not In Table',
txtTableInd: 'Table Index Cannot be Zero',
txtUndefBookmark: 'Undefined Bookmark',
txtEndOfFormula: 'Unexpected End of Formula'
}
})(), DE.Controllers.Main || {}))
});

View file

@ -643,6 +643,17 @@
"DE.Controllers.Main.warnNoLicense": "This version of ONLYOFFICE Editors has certain limitations for concurrent connections to the document server.<br>If you need more please consider purchasing a commercial license.",
"DE.Controllers.Main.warnNoLicenseUsers": "This version of ONLYOFFICE Editors has certain limitations for concurrent users.<br>If you need more please consider purchasing a commercial license.",
"DE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
"DE.Controllers.Main.txtSyntaxError": "Syntax Error",
"DE.Controllers.Main.txtMissOperator": "Missing Operator",
"DE.Controllers.Main.txtMissArg": "Missing Argument",
"DE.Controllers.Main.txtTooLarge": "Number Too Large To Format",
"DE.Controllers.Main.txtZeroDivide": "Zero Divide",
"DE.Controllers.Main.txtNotInTable": "Is Not In Table",
"DE.Controllers.Main.txtIndTooLarge": "Index Too Large",
"DE.Controllers.Main.txtFormulaNotInTable": "The Formula Not In Table",
"DE.Controllers.Main.txtTableInd": "Table Index Cannot be Zero",
"DE.Controllers.Main.txtUndefBookmark": "Undefined Bookmark",
"DE.Controllers.Main.txtEndOfFormula": "Unexpected End of Formula",
"DE.Controllers.Navigation.txtBeginning": "Beginning of document",
"DE.Controllers.Navigation.txtGotoBeginning": "Go to the beginning of the document",
"DE.Controllers.Statusbar.textHasChanges": "New changes have been tracked",