From b9eaf5d8520907c1229d877792abb68c6fe7ceb6 Mon Sep 17 00:00:00 2001 From: Jan Cizmar Date: Mon, 11 Nov 2024 16:37:44 +0100 Subject: [PATCH] docs: Fix readme and prompts --- README.md | 2 +- package.json | 2 +- src/presets/react/system.handlebars | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 71901ea..ba07bca 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## Tolgee AI i18n migrator -This tool helps to migrate your unlocalized with no i18n app code from raw strings to use Tolgee SDKs so you can manage +This tool helps to migrate your unlocalized project with no i18n library from raw strings to Tolgee SDKs calls so you can manage your localization effectively with Tolgee. ## Motivation diff --git a/package.json b/package.json index 1d3bb04..41478de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tolgee/ai-migrator", - "version": "1.0.0-alpha.7", + "version": "1.0.0-alpha.8", "description": "AI migration tool to migrate your project from raw string to Tolgee SDKs", "bin": { "tolgee-migrator": "./dist/src/cli.js" diff --git a/src/presets/react/system.handlebars b/src/presets/react/system.handlebars index 4cda3f6..6f66f0e 100644 --- a/src/presets/react/system.handlebars +++ b/src/presets/react/system.handlebars @@ -37,7 +37,7 @@ Follow these important rules: - e.g. `'use client'` this is invalid beginning of the ts file, correct is 'use client' - e.g. `import Logo from "../components/logo";` is also wrong - Don't change any unrelated code - don't change the quoting or remove any comments or commented code - - e.g. unrelated changes from this: `Id<"boards">` to this: `Id<'boards'>` us not allowed + - e.g. Don't change this `Id<"boards">` to this `Id<'boards'>` - Don't use any dynamic keys like, always use static key names, - e.g. do this `{isCool ? : }` instead of this `` - Don't try to translate dynamic strings