🌏 i18n: Improve clarity of English translation (#3154)

* 🌏 i18n: Improve clarity of English translation

* 🔧 fix(useCategories): replace i18n string to `com_ui_select_a_category`

* 🔨 refactor: avoid using placeholder strings where possible

This commit simplifies the internationalization approach for English language strings by removing the placeholder ones where they are used only once. This makes proper localization possible for Russian language, and possibly others.

Also renamed `com_ui_text_prompt` to `com_ui_prompt_text` to match the alphabetical order.

* 🎨 style(CreatePromptForm): add missing margin-top to the submit button
This commit is contained in:
KiGamji 2024-06-24 22:47:20 +05:00 committed by GitHub
parent e2867eecc9
commit eef894e608
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 22 additions and 20 deletions

View file

@ -34,7 +34,7 @@ export default function List({
className="mx-2 w-full px-3"
onClick={() => navigate('/d/prompts/new')}
>
+ {localize('com_ui_create_var', localize('com_ui_prompt'))}
+ {localize('com_ui_create_prompt')}
</Button>
</div>
)}