@barcidev/ngx-autogen 0.1.59 → 0.1.60
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 +1 -1
- package/src/transloco/index.js +1 -1
package/package.json
CHANGED
package/src/transloco/index.js
CHANGED
|
@@ -112,7 +112,7 @@ function updateAppI18nTypeRule(options) {
|
|
|
112
112
|
const match = content.match(regex);
|
|
113
113
|
if (match) {
|
|
114
114
|
const oldObjectStr = match[1];
|
|
115
|
-
const propertyKey =
|
|
115
|
+
const propertyKey = `[${i18nConstantName}.scope]`;
|
|
116
116
|
const propertyValue = `${i18nConstantName}.translations['en-US']`;
|
|
117
117
|
// Placeholder para evitar comillas de JSON
|
|
118
118
|
const placeholder = `__REF__${i18nConstantName}`;
|