- Fix: Extension locales with hyphens
- npm: Bump to 4.1.0
This commit is contained in:
2
dist/index-es.js
vendored
2
dist/index-es.js
vendored
@@ -28897,7 +28897,7 @@ function getImportLocale(_ref) {
|
||||
importLocale = function _ref3(language) {
|
||||
var url = "".concat(curConfig.extPath, "ext-locale/").concat(name, "/").concat(language, ".js");
|
||||
return importSetGlobalDefault(url, {
|
||||
global: "svgEditorExtensionLocale_".concat(name, "_").concat(language)
|
||||
global: "svgEditorExtensionLocale_".concat(name, "_").concat(language.replace(/-/g, '_'))
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
2
dist/index-es.min.js
vendored
2
dist/index-es.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index-es.min.js.map
vendored
2
dist/index-es.min.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/index-umd.js
vendored
2
dist/index-umd.js
vendored
@@ -28903,7 +28903,7 @@
|
||||
importLocale = function _ref3(language) {
|
||||
var url = "".concat(curConfig.extPath, "ext-locale/").concat(name, "/").concat(language, ".js");
|
||||
return importSetGlobalDefault(url, {
|
||||
global: "svgEditorExtensionLocale_".concat(name, "_").concat(language)
|
||||
global: "svgEditorExtensionLocale_".concat(name, "_").concat(language.replace(/-/g, '_'))
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
2
dist/index-umd.min.js
vendored
2
dist/index-umd.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index-umd.min.js.map
vendored
2
dist/index-umd.min.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user