mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-15 10:46:12 -04:00
Drops stale app-common/Wear OS references, renames migrated classes (ReactionSettingsFragment/PopUpPodViewFactory/PodMonitor), documents the BLE/AAP split in monitor/core, the layered AAP stack, Widget (Glance) and Upgrade subsystems, Navigation3 + legacy helpers. Fixes localization examples and screenshot pipeline counts.
1.1 KiB
1.1 KiB
description, globs
| description | globs | |
|---|---|---|
| Guidelines for adding and naming Android string resources |
|
Localization Guidelines
When adding new user-facing strings:
- Always use string resources: Never hardcode user-facing text in layouts or code
- Follow naming conventions: Use descriptive, hierarchical naming (e.g.,
profiles_name_default,settings_monitor_mode_label) - Provide context: String names should indicate usage and location
- Consider pluralization: Use Android plural resources (
<plurals>) when quantities vary
Naming Examples
profiles_create_title(screen title)profiles_name_label(form field label)profiles_name_default(default value)troubleshooter_ble_result_failure_title(status/error title)
Common prefixes currently in use: device_, settings_, support_, profiles_, press_, general_, pods_, upgrade_, widget_, debug_, permission_, troubleshooter_, overview_, anc_, onboarding_. There is no error_* prefix — error labels live under the relevant feature (e.g. general_error_label, troubleshooter_*_failure_*).