localingos 0.1.26 → 0.1.28

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "localingos",
3
- "version": "0.1.26",
3
+ "version": "0.1.28",
4
4
  "description": "CLI tool to sync translations with Localingos",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -406,7 +406,7 @@ ${i18nSetupInstructions}`;
406
406
  ${i18nSetupInstructions}
407
407
  ${i18nLib ? `3` : `2`}. Replace **every** hardcoded user-facing string in the source code with the appropriate i18n translation function call (e.g., \`t('key')\`, \`$t('key')\`, \`intl.formatMessage()\`, \`AppLocalizations.of(context).key\`, or whatever is idiomatic for the framework)
408
408
  ${i18nLib ? `4` : `3`}. Make sure the i18n import/hook/injection is added to every file that uses translation calls
409
- ${i18nLib ? `5` : `4`}. Preserve any dynamic values using interpolation: \`t('greeting', { name: userName })\` with \`{{name}}\` in the translation string\`;
409
+ ${i18nLib ? `5` : `4`}. Preserve any dynamic values using interpolation: \`t('greeting', { name: userName })\` with \`{{name}}\` in the translation string`;
410
410
  }
411
411
 
412
412
  // ─── Assemble the full prompt ────────────────────────────────────────