DRY pass #2, batch 8, F20: drawer titles and tag colour names come from strings.xml (#5372)

Destination carried its English title as a field, and NoteTint its colour
name; every other word on screen is a string resource. Destination.title()
now reads nav_notes/reminders/archive/trash (a tag's destination keeps its
name), and NoteTint.label is a @StringRes. Error fallbacks raised in view
models and the install receiver stay as constants: they are made outside
composition, with no Context to read a resource from.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 15:10:15 -04:00
co-authored by Claude Opus 5.5
parent cba428461c
commit 0d82e26eea
5 changed files with 44 additions and 28 deletions
@@ -7,6 +7,20 @@
<string name="search_clear">Clear search</string>
<string name="nav_open">Open navigation</string>
<string name="nav_labels">Tags</string>
<string name="nav_notes">Notes</string>
<string name="nav_reminders">Reminders</string>
<string name="nav_archive">Archive</string>
<string name="nav_trash">Trash</string>
<string name="tint_default">Default</string>
<string name="tint_red">Red</string>
<string name="tint_orange">Orange</string>
<string name="tint_yellow">Yellow</string>
<string name="tint_green">Green</string>
<string name="tint_teal">Teal</string>
<string name="tint_blue">Blue</string>
<string name="tint_purple">Purple</string>
<string name="tint_pink">Pink</string>
<string name="tint_gray">Gray</string>
<!-- Compose sheet -->
<string name="compose_open">New note</string>