@fkui/i18next-translate 6.34.0 → 6.34.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/dist/cjs/index.js +3 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/package.json +3 -3
package/dist/cjs/index.js
CHANGED
|
@@ -3817,6 +3817,9 @@ class I18n extends EventEmitter {
|
|
|
3817
3817
|
if (typeof this.options.overloadTranslationOptionHandler !== 'function') {
|
|
3818
3818
|
this.options.overloadTranslationOptionHandler = defOpts.overloadTranslationOptionHandler;
|
|
3819
3819
|
}
|
|
3820
|
+
if (this.options.debug === true) {
|
|
3821
|
+
if (typeof console !== 'undefined') console.warn('i18next is maintained with support from locize.com — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com');
|
|
3822
|
+
}
|
|
3820
3823
|
const createClassOnDemand = ClassOrObject => {
|
|
3821
3824
|
if (!ClassOrObject) return null;
|
|
3822
3825
|
if (typeof ClassOrObject === 'function') return new ClassOrObject();
|