locizify 6.0.0 → 6.0.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 6.0.1
2
+
3
+ - update locize plugin
4
+
1
5
  ### 6.0.0
2
6
 
3
7
  - major update of locize plugin
@@ -12888,7 +12888,14 @@
12888
12888
  return 'dev';
12889
12889
  },
12890
12890
  getLocizeDetails: function getLocizeDetails() {
12891
- var backendName = i18n.services.backendConnector.backend ? i18n.services.backendConnector.backend.constructor.name : 'options.resources';
12891
+ var backendName;
12892
+
12893
+ if (i18n.services.backendConnector.backend && i18n.services.backendConnector.backend.options && i18n.services.backendConnector.backend.options.loadPath && i18n.services.backendConnector.backend.options.loadPath.indexOf('.locize.') > 0) {
12894
+ backendName = 'I18NextLocizeBackend';
12895
+ } else {
12896
+ backendName = i18n.services.backendConnector.backend ? i18n.services.backendConnector.backend.constructor.name : 'options.resources';
12897
+ }
12898
+
12892
12899
  var opts = {
12893
12900
  backendName: backendName,
12894
12901
  sourceLng: impl.getSourceLng(),