8 Commits

Author SHA1 Message Date
JPilson
0c1710029f feat: Add naming convention setting for presets
Implemented a new setting, `getCaseFormat`, in the `ProjectSettings` interface, returning the naming convention used. Also extended corresponding implementations (`DefaultPreset`, `VueI18nPreset`, `ReactI18NextPreset`, `SettingsTestPreset`) to return `NamingConvention.CAMEL_CASE`. A new enum `NamingConvention` was created for this, with options `SNAKE_CASE` and `CAMEL_CASE`.
2024-04-16 20:33:57 +02:00
JPilson
c56812c888 Implement selectable text replacement with i18n keys
A new feature is introduced to replace the selected text in editor with Internationalization (i18n) keys, improving the coding workflow for developers handling string localization. The i18n keys are generated based on the customized settings or default flavor template. Further, a function to retrieve the key field from the `TranslationDialog` is added and a new utility class `DocumentUtil` for checking document file types has been added.
2023-12-16 17:51:29 +01:00
JPilson
a709db810e Add i18n flavor template setting
A new setting, `flavorTemplate` is introduced to specify how strings are replaced with i18n representation. This includes code modifications for handling this new feature and also updates in the messages.properties file for the associated UI text. The feature is especially useful for customizing how localization strings are generated in different project setups.
2023-12-16 17:50:29 +01:00
marhali
8dc66e1250 add new option to consider sub-dirs for folder parser strategy 2022-05-28 23:08:57 +02:00
marhali
433ce8e844 add option to force key folding 2022-04-21 22:17:16 +02:00
marhali
b89bae1dae provide presets 2022-04-11 22:16:45 +02:00
marhali
06f03ea1e1 move FolderStrategyType to right package 2022-04-11 19:27:36 +02:00
marhali
289f168e88 introduce configuration presets 2022-04-09 13:00:43 +02:00