[SSE] Add translation
This commit is contained in:
parent
6055d615b5
commit
597b3fd726
|
@ -204,7 +204,7 @@ define([
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.args.length<1) {
|
if (this.args.length<1) {
|
||||||
this.panelArgs.text('This function has no arguments');
|
this.panelArgs.text(this.textNoArgs);
|
||||||
this.lblArgDesc.addClass('hidden');
|
this.lblArgDesc.addClass('hidden');
|
||||||
} else {
|
} else {
|
||||||
if (this.args.length==1 && this.repeatedArg && this.repeatedArg.length<this.maxArgCount) {// add new repeated arguments
|
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),
|
lblName: div.find('#formula-wizard-lbl-name-arg'+argcount),
|
||||||
lblValue: div.find('#formula-wizard-lbl-val-arg'+argcount),
|
lblValue: div.find('#formula-wizard-lbl-val-arg'+argcount),
|
||||||
argInput: txt,
|
argInput: txt,
|
||||||
argName: 'Argument ' + (argcount+1),
|
argName: me.textArgument + ' ' + (argcount+1),
|
||||||
// argDesc: 'some argument description',
|
// argDesc: 'some argument description',
|
||||||
argType: argtype,
|
argType: argtype,
|
||||||
argTypeName: me.getArgType(argtype)
|
argTypeName: me.getArgType(argtype)
|
||||||
|
@ -314,19 +314,19 @@ define([
|
||||||
var str = '';
|
var str = '';
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case Asc.c_oAscFormulaArgumentType.number:
|
case Asc.c_oAscFormulaArgumentType.number:
|
||||||
str = 'number';
|
str = this.textNumber;
|
||||||
break;
|
break;
|
||||||
case Asc.c_oAscFormulaArgumentType.text:
|
case Asc.c_oAscFormulaArgumentType.text:
|
||||||
str = 'text';
|
str = this.textText;
|
||||||
break;
|
break;
|
||||||
case Asc.c_oAscFormulaArgumentType.reference:
|
case Asc.c_oAscFormulaArgumentType.reference:
|
||||||
str = 'reference';
|
str = this.textRef;
|
||||||
break;
|
break;
|
||||||
case Asc.c_oAscFormulaArgumentType.any:
|
case Asc.c_oAscFormulaArgumentType.any:
|
||||||
str = 'any';
|
str = this.textAny;
|
||||||
break;
|
break;
|
||||||
case Asc.c_oAscFormulaArgumentType.logical:
|
case Asc.c_oAscFormulaArgumentType.logical:
|
||||||
str = 'logical';
|
str = this.textLogical;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return str;
|
return str;
|
||||||
|
@ -434,7 +434,14 @@ define([
|
||||||
textValue: 'Formula result',
|
textValue: 'Formula result',
|
||||||
textFunctionRes: 'Function result',
|
textFunctionRes: 'Function result',
|
||||||
textFunction: 'Function',
|
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 || {}))
|
}, SSE.Views.FormulaWizard || {}))
|
||||||
});
|
});
|
|
@ -1808,6 +1808,13 @@
|
||||||
"SSE.Views.FormulaWizard.textHelp": "Help on this function",
|
"SSE.Views.FormulaWizard.textHelp": "Help on this function",
|
||||||
"SSE.Views.FormulaWizard.textTitle": "Function Argumens",
|
"SSE.Views.FormulaWizard.textTitle": "Function Argumens",
|
||||||
"SSE.Views.FormulaWizard.textValue": "Formula result",
|
"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.textColumns": "Columns",
|
||||||
"SSE.Views.GroupDialog.textRows": "Rows",
|
"SSE.Views.GroupDialog.textRows": "Rows",
|
||||||
"SSE.Views.HeaderFooterDialog.textAlign": "Align with page margins",
|
"SSE.Views.HeaderFooterDialog.textAlign": "Align with page margins",
|
||||||
|
|
Loading…
Reference in a new issue