Skip to content

refactor: replace dynamic string composition with explicit string resources#845

Open
krvstek wants to merge 1 commit intocrimera:devfrom
krvstek:refactor
Open

refactor: replace dynamic string composition with explicit string resources#845
krvstek wants to merge 1 commit intocrimera:devfrom
krvstek:refactor

Conversation

@krvstek
Copy link
Contributor

@krvstek krvstek commented Mar 18, 2026

This PR refactors SettingsAboutFragment by replacing the strEnableRes and strRemoveRes methods with direct strRes calls.

Previously, the code dynamically composed strings (e.g., adding Enable... or Remove... prefixes to feature names). This approach caused significant localization issues due to varying grammar rules, genders, and word orders across different languages. By using explicit string resources, the translation process becomes much easier and the UI will look cleaner across all supported languages.

@krvstek krvstek marked this pull request as ready for review March 20, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant