@innovastudio/contentbox 1.5.24 → 1.5.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -451,15 +451,15 @@ const prepareSvgIcons$1 = builder => {
|
|
|
451
451
|
dom$o.appendHtml(builderStuff, html);
|
|
452
452
|
};
|
|
453
453
|
|
|
454
|
-
|
|
454
|
+
function out(s) {
|
|
455
|
+
let langFile = false;
|
|
455
456
|
|
|
456
|
-
if (typeof window !== 'undefined') {
|
|
457
|
-
|
|
458
|
-
|
|
457
|
+
if (typeof window !== 'undefined') {
|
|
458
|
+
if (typeof window._txt !== 'undefined') {
|
|
459
|
+
langFile = true;
|
|
460
|
+
}
|
|
459
461
|
}
|
|
460
|
-
}
|
|
461
462
|
|
|
462
|
-
function out(s) {
|
|
463
463
|
if (langFile) {
|
|
464
464
|
var result = window._txt[s];
|
|
465
465
|
if (result) return result;else return s;
|