Skip to content

Conversation

@d4rken
Copy link
Member

@d4rken d4rken commented Aug 21, 2025

This commit updates various parts of the application to use plural string resources (getQuantityString) for messages that display item counts. This ensures grammatically correct messages whether one or multiple items are involved.

d4rken added 2 commits August 21, 2025 13:53
This commit updates various parts of the application to use plural string resources (`getQuantityString`) for messages that display item counts. This ensures grammatically correct messages whether one or multiple items are involved.

Key changes:
- Modified `strings.xml` in both `app` and `app-common` modules to define plural resources for:
    - `general_delete_confirmation_message_selected_x_items`
    - `debug_debuglog_screen_log_files_ready`
- Updated the following fragments and activities to use `resources.getQuantityString` instead of `getString` for the above messages:
    - `AppJunkFragment.kt`
    - `RecorderActivity.kt`
    - `ContentFragment.kt`
    - `CorpseFragment.kt`
    - `AppControlListFragment.kt`
    - `PreviewDeletionDialog.kt`
    - `CorpseFinderListFragment.kt`
    - `FilterContentFragment.kt`
    - `SystemCleanerListFragment.kt`
@d4rken d4rken added enhancement New feature, request, improvement or optimization Translation labels Aug 21, 2025
@d4rken d4rken merged commit e7190da into main Aug 21, 2025
16 checks passed
@d4rken d4rken deleted the translations branch August 21, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature, request, improvement or optimization Translation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants