diff --git a/apps/common/locale.js b/apps/common/locale.js index 0c55b3ba9..63e31c5b6 100644 --- a/apps/common/locale.js +++ b/apps/common/locale.js @@ -171,10 +171,15 @@ Common.Locale = new(function() { } else require(polyfills, _requireLang); } else _requireLang(); + const _isCurrentRtl = function () { + return false; + }; + return { apply: _applyLocalization, get: _get, getCurrentLanguage: _getCurrentLanguage, + isCurrentLanguageRtl: _isCurrentRtl, getDefaultLanguage: _getDefaultLanguage }; diff --git a/apps/common/main/lib/component/ColorButton.js b/apps/common/main/lib/component/ColorButton.js index 8e2a2280b..90c428b8c 100644 --- a/apps/common/main/lib/component/ColorButton.js +++ b/apps/common/main/lib/component/ColorButton.js @@ -91,7 +91,7 @@ define([ auto.push({ id: id + '-color-auto', caption: (typeof options.auto == 'object') ? options.auto.caption || this.textAutoColor : this.textAutoColor, - template: _.template('<%= caption %>') + template: _.template('<%= caption %>') }); auto.push({caption: '--'}); } diff --git a/apps/common/main/lib/component/ComboBorderSize.js b/apps/common/main/lib/component/ComboBorderSize.js index 6401e6867..fd2b89f5f 100644 --- a/apps/common/main/lib/component/ComboBorderSize.js +++ b/apps/common/main/lib/component/ComboBorderSize.js @@ -190,10 +190,17 @@ define([ '', @@ -234,7 +241,7 @@ define([ Common.UI.ComboBorderType = Common.UI.ComboBorderSize.extend(_.extend({ template: _.template([ - '
', + '
', '
', '', '
', @@ -244,10 +251,10 @@ define([ '', '