11 Commits

Author SHA1 Message Date
JPilson
027016921f feat: update naming convention functionality
Updated naming convention features by simplifying key case formatter construction and expanding the naming convention enum. Also performed a refactor to layout and formatting across various files for improved readability. Added new test cases to validate the update to naming convention.
2024-04-20 18:44:18 +02:00
JPilson
b7b3563080 feat: Add case format to ProjectSettingsState and fromSelector method to NamingConvention
This commit adds a new attribute, `caseFormat`, to the `ProjectSettingsState` class. It also introduces a static method `fromSelector` in the `NamingConvention` class to transform a string into a NamingConvention enum. The transformation in `ProjectSettingsComponentState` has been updated  to use this new method.
2024-04-18 20:48:40 +02:00
JPilson
667b748614 feat: Add key naming convention selection for extracted translations
This update enables the user to specify a key naming convention (Camel Case or Snake Case) for extracted translations. This option is made available in the settings panel, and has been included in the project-specific configuration and state management for the project settings component.
2024-04-16 20:34:12 +02:00
marhali
71e1106423 small refactoring 2024-04-10 00:25:31 +02:00
JPilson
5b420a7bcc Add flavorTemplate for i18n string replacement and refactor LocalizeItAction
The `flavorTemplate` has been introduced in `ProjectSettingsState` to allow developers to customize the i18n string replacement format. In addition, the `LocalizeItAction` class has been simplified by refactoring commented details into JavaDocs and adding methods to replace selected text and build replacement strings. A new utility class, `DocumentUtil`, checks the document type during string replacement.
2023-12-16 17:58:01 +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
38f5bcb900 fix loosing settings on IDE restart
Resolves #186
Resolves #164
2022-10-14 16:02:20 +02: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
06f03ea1e1 move FolderStrategyType to right package 2022-04-11 19:27:36 +02:00
marhali
d7f34a35db rework plugin configuration 2022-04-09 12:39:40 +02:00