refactor(strings): optimize string resources for Crowdin quota and streamline documentation guides - #399
Merged
Conversation
- Add an "Apps" section header to the Active and Library pages to visually separate application lists from system content. - Refactor `DesignManagerHelpSheet` into a generic, reusable bottom sheet that displays a brief description and a primary button redirecting to online documentation, replacing the previous multi-card explanation layout. - Expand the Guides section in the Design screen with new documentation links (Customization, Design Hub, Custom Designs, Widgets, System Apps, Permanent Island, Inline Reply, Advanced) and update `DocumentationUrls`. - Drop `ca-rES` and `gl-rES` locales, and update English and Spanish string resources for the new documentation links and help sheets.
…th documentation links - Replace hardcoded tutorial bottom sheets in the Custom Translator editor (`ProgressGuideSheet`, `ActionGuideSheet`, `TranslatorBehaviorGuideSheet`, `TranslatorPillGuideSheet`) with a unified `DesignManagerHelpSheet` that redirects to the official online documentation. - Consolidate duplicate string resources across all translations by reusing generic strings (e.g., "Save", "All", "Done", "Active", "Settings", "Search"). - Drop unused and redundant string resources from all localization files to reduce bloat. - Use AndroidX `createBitmap` extension in `SystemUpdateSettingsScreen`. - Remove unused `LocalContext` in `ThemeInstallerActivity`.
…ories - DesignScreen: reduces the guides list by grouping individual topics (Design Hub, Theme Creator, Custom Translators, Custom Designs, Widgets, System Apps, Smart Actions, Permanent Island, Inline Reply) into two main items: Customization and Features. - DocumentationUrls: adds the new `FEATURES_DOCS` endpoint. - Strings: removes redundant specific guide strings and adds consolidated descriptions for the new categories in English, es-rES, and es-rEM.
📱 Debug APK Ready for TestingThe debug APK for commit
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR addresses Crowdin hosted word quota limits (bringing active hosted words comfortably under the 60,000 free tier limit) by removing duplicate keys, condensing verbose in-app guide copies, marking developer/mockup strings as non-translatable, and consolidating the Design Screen documentation guides into three primary section cards.
Key Changes
1. Crowdin String Quota Optimization
values/strings.xmlfrom 5,440+ words down to 3,893 words (~1,540 words saved in source, translating to over 20,000+ fewer hosted words on Crowdin across 14–15 target locales).save,cancel,close,done,active,search, etc.) across 28+ Kotlin screens and XML layouts with unified, reusable strings.translatable="false"to all template preview mockups (island_template_sample_*), raw technical formats, and developer diagnostics.values-*/strings.xml).2. Streamlined Documentation & Guides
ProgressGuideSheet,ActionGuideSheet,TranslatorBehaviorGuideSheet,TranslatorPillGuideSheet) with compact, reusableDesignManagerHelpSheetredirect dialogs pointing to official documentation.es-ES,es-419): Updated and synchronized missing translations in bothvalues-es-rESandvalues-es-rEM.3. Website Documentation Reference
REMOVED_STRINGS_DOCUMENTATION.mddocumenting:Verification
./gradlew assembleDebug— Build passes cleanly (BUILD SUCCESSFUL).