From b4a34cb54624f488baac40907fc8c9a30a8fde6d Mon Sep 17 00:00:00 2001 From: Alexander Yuzhin Date: Thu, 6 Apr 2017 12:58:44 +0300 Subject: [PATCH] [SE mobile] Fix load formula names --- apps/spreadsheeteditor/mobile/app/controller/add/AddFunction.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/spreadsheeteditor/mobile/app/controller/add/AddFunction.js b/apps/spreadsheeteditor/mobile/app/controller/add/AddFunction.js index e44925767..97dccd5a6 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/add/AddFunction.js +++ b/apps/spreadsheeteditor/mobile/app/controller/add/AddFunction.js @@ -87,6 +87,7 @@ define([ _.defer(function () { var editorLang = SSE.getController("Main").editorConfig.lang; + editorLang = (editorLang ? editorLang : 'en').split("-")[0].toLowerCase(); var localizationFunctions = function(data) { fc = data;