[SSE] Description of function arguments depends on regional settings
This commit is contained in:
parent
48e074804d
commit
f2da44b2b7
|
@ -134,7 +134,8 @@ define([
|
||||||
funcInd = 0,
|
funcInd = 0,
|
||||||
info = null,
|
info = null,
|
||||||
allFunctions = [],
|
allFunctions = [],
|
||||||
allFunctionsGroup = null;
|
allFunctionsGroup = null,
|
||||||
|
separator = this.api.asc_getFunctionArgumentSeparator();
|
||||||
|
|
||||||
if (store) {
|
if (store) {
|
||||||
var value = SSE.Views.FormulaLang.getDescription(Common.Utils.InternalSettings.get("sse-settings-func-locale"));
|
var value = SSE.Views.FormulaLang.getDescription(Common.Utils.InternalSettings.get("sse-settings-func-locale"));
|
||||||
|
@ -172,7 +173,7 @@ define([
|
||||||
index : funcInd,
|
index : funcInd,
|
||||||
group : ascGroupName,
|
group : ascGroupName,
|
||||||
name : ascFunctions[j].asc_getLocaleName(),
|
name : ascFunctions[j].asc_getLocaleName(),
|
||||||
args : (value && value[funcname]) ? value[funcname].a : '',
|
args : ((value && value[funcname]) ? value[funcname].a : '').replace(/[,;]/g, separator),
|
||||||
desc : (value && value[funcname]) ? value[funcname].d : ''
|
desc : (value && value[funcname]) ? value[funcname].d : ''
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue