ztechno_core 0.0.48 → 0.0.49
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/lib/translate_service.js +0 -4
- package/package.json +1 -1
package/lib/translate_service.js
CHANGED
|
@@ -161,10 +161,6 @@ class ZTranslateService {
|
|
|
161
161
|
return hasLocal ? false : this.localCache[lang][key];
|
|
162
162
|
}
|
|
163
163
|
insertLocalCache(key, lang, data) {
|
|
164
|
-
if (this.localCache[lang].hasOwnProperty(key)) {
|
|
165
|
-
// console.warn(`Translations already cached!`, { key, lang, data})
|
|
166
|
-
return;
|
|
167
|
-
}
|
|
168
164
|
this.localCache[lang][key] = data;
|
|
169
165
|
}
|
|
170
166
|
clearLocalCache() {
|