[SSE] Add translation

This commit is contained in:
Julia Radzhabova 2020-08-24 18:42:02 +03:00
parent 6055d615b5
commit 597b3fd726
2 changed files with 22 additions and 8 deletions

View file

@ -204,7 +204,7 @@ define([
}
}
if (this.args.length<1) {
this.panelArgs.text('This function has no arguments');
this.panelArgs.text(this.textNoArgs);
this.lblArgDesc.addClass('hidden');
} else {
if (this.args.length==1 && this.repeatedArg && this.repeatedArg.length<this.maxArgCount) {// add new repeated arguments
@ -271,7 +271,7 @@ define([
lblName: div.find('#formula-wizard-lbl-name-arg'+argcount),
lblValue: div.find('#formula-wizard-lbl-val-arg'+argcount),
argInput: txt,
argName: 'Argument ' + (argcount+1),
argName: me.textArgument + ' ' + (argcount+1),
// argDesc: 'some argument description',
argType: argtype,
argTypeName: me.getArgType(argtype)
@ -314,19 +314,19 @@ define([
var str = '';
switch (type) {
case Asc.c_oAscFormulaArgumentType.number:
str = 'number';
str = this.textNumber;
break;
case Asc.c_oAscFormulaArgumentType.text:
str = 'text';
str = this.textText;
break;
case Asc.c_oAscFormulaArgumentType.reference:
str = 'reference';
str = this.textRef;
break;
case Asc.c_oAscFormulaArgumentType.any:
str = 'any';
str = this.textAny;
break;
case Asc.c_oAscFormulaArgumentType.logical:
str = 'logical';
str = this.textLogical;
break;
}
return str;
@ -434,7 +434,14 @@ define([
textValue: 'Formula result',
textFunctionRes: 'Function result',
textFunction: 'Function',
textHelp: 'Help on this function'
textHelp: 'Help on this function',
textNoArgs: 'This function has no arguments',
textArgument: 'Argument',
textNumber: 'number',
textText: 'text',
textRef: 'reference',
textAny: 'any',
textLogical: 'logical'
}, SSE.Views.FormulaWizard || {}))
});

View file

@ -1808,6 +1808,13 @@
"SSE.Views.FormulaWizard.textHelp": "Help on this function",
"SSE.Views.FormulaWizard.textTitle": "Function Argumens",
"SSE.Views.FormulaWizard.textValue": "Formula result",
"SSE.Views.FormulaWizard.textNoArgs": "This function has no arguments",
"SSE.Views.FormulaWizard.textArgument": "Argument",
"SSE.Views.FormulaWizard.textNumber": "number",
"SSE.Views.FormulaWizard.textText": "text",
"SSE.Views.FormulaWizard.textRef": "reference",
"SSE.Views.FormulaWizard.textAny": "any",
"SSE.Views.FormulaWizard.textLogical": "logical",
"SSE.Views.GroupDialog.textColumns": "Columns",
"SSE.Views.GroupDialog.textRows": "Rows",
"SSE.Views.HeaderFooterDialog.textAlign": "Align with page margins",