M12f: remove the 19 string keys R8 found unused (20 CSV rows); §9.11 tie-break comment

Removed from the sv/en resources and docs/ux/strings.csv (562 rows, header included): common_archived_category,
editor_amount_hint, editor_split_half_each, editor_split_preview_effect, editor_next, analytics_range_dates,
analytics_chart_spoken, analytics_axis_thousands, expense_detail_title, expense_detail_account,
home_notification_rationale, home_sync_status_all_synced_body, home_sync_status_tag_new, home_sync_status_tag_changed,
home_sync_status_tag_deleted, home_sync_status_row_pending, settings_devices_summary (one, other),
settings_pending_badge, settle_empty_settled. CategorySuggestion cites §9.11 instead of a stale TODO(spec).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TQd3pEP9UeN2uifbHknQ7B
This commit is contained in:
2026-10-18 22:33:00 +02:00
parent c366fbd9a3
commit a0259ab68d
12 changed files with 1 additions and 63 deletions
@@ -36,7 +36,6 @@
<!-- badge on an archived account -->
<string name="common_archived">Arkiverat</string>
<!-- suffix on an archived category chip -->
<string name="common_archived_category">arkiverad</string>
<string name="common_discard_title">Slänga ändringarna?</string>
<string name="common_discard">Släng</string>
<string name="common_keep_editing">Fortsätt redigera</string>
@@ -142,7 +141,6 @@
<string name="editor_percent_suffix" formatted="false">%</string>
<string name="editor_amount">Belopp</string>
<!-- hint; en shows 0.00 (built from the formatter, not this string) -->
<string name="editor_amount_hint">0,00</string>
<string name="editor_description">Beskrivning</string>
<string name="editor_account">Konto</string>
<!-- TalkBack of the account chip -->
@@ -170,7 +168,6 @@
<!-- exact-mode error box: name, share, amount -->
<string name="editor_split_exact_of">%1$s %2$s av %3$s</string>
<!-- TalkBack of the share bar at 50/50 -->
<string name="editor_split_half_each">Hälften var</string>
<!-- TalkBack of the control that collapses the split section (design-spec) -->
<string name="editor_split_collapse">Fäll ihop delning</string>
<!-- TalkBack value of the share bar and the ratio slider: name, percent, name, percent -->
@@ -178,7 +175,6 @@
<!-- TalkBack label of the ratio slider (S-6, S-7); sv genitive as onboarding_profile_joining -->
<string name="editor_ratio_slider">%1$ss andel</string>
<!-- %1$s an effect line -->
<string name="editor_split_preview_effect">Den här utgiften: %1$s</string>
<string name="editor_notes">Anteckningar</string>
<string name="editor_add_note">Lägg till anteckning</string>
<!-- TalkBack of the keypad backspace -->
@@ -190,7 +186,6 @@
<!-- TalkBack custom action on the keypad backspace: clears the amount (design-spec) -->
<string name="editor_keypad_clear">Rensa</string>
<!-- IME action on the amount -->
<string name="editor_next">Nästa</string>
<string name="editor_pick_account">Välj konto</string>
<string name="editor_pick_category">Välj kategori</string>
<!-- required on amount -->
@@ -36,7 +36,6 @@
<!-- badge on an archived account -->
<string name="common_archived">Archived</string>
<!-- suffix on an archived category chip -->
<string name="common_archived_category">archived</string>
<string name="common_discard_title">Discard changes?</string>
<string name="common_discard">Discard</string>
<string name="common_keep_editing">Keep editing</string>
@@ -144,7 +143,6 @@
<string name="editor_percent_suffix" formatted="false">%</string>
<string name="editor_amount">Amount</string>
<!-- hint; en shows 0.00 (built from the formatter, not this string) -->
<string name="editor_amount_hint">0,00</string>
<string name="editor_description">Description</string>
<string name="editor_account">Account</string>
<!-- TalkBack of the account chip -->
@@ -172,7 +170,6 @@
<!-- exact-mode error box: name, share, amount -->
<string name="editor_split_exact_of">%1$s %2$s of %3$s</string>
<!-- TalkBack of the share bar at 50/50 -->
<string name="editor_split_half_each">Half each</string>
<!-- TalkBack of the control that collapses the split section (design-spec) -->
<string name="editor_split_collapse">Collapse split</string>
<!-- TalkBack value of the share bar and the ratio slider: name, percent, name, percent -->
@@ -180,7 +177,6 @@
<!-- TalkBack label of the ratio slider (S-6, S-7); sv genitive as onboarding_profile_joining -->
<string name="editor_ratio_slider">%1$s\'s share</string>
<!-- %1$s an effect line -->
<string name="editor_split_preview_effect">This expense: %1$s</string>
<string name="editor_notes">Notes</string>
<string name="editor_add_note">Add note</string>
<!-- TalkBack of the keypad backspace -->
@@ -192,7 +188,6 @@
<!-- TalkBack custom action on the keypad backspace: clears the amount (design-spec) -->
<string name="editor_keypad_clear">Clear</string>
<!-- IME action on the amount -->
<string name="editor_next">Next</string>
<string name="editor_pick_account">Choose account</string>
<string name="editor_pick_category">Choose category</string>
<!-- required on amount -->
@@ -69,7 +69,7 @@ fun normalizeDescription(text: String, unicode: UnicodeText): String {
* CS-5: history exact, then history first token, then the keyword table (CS-6), then [fallback] (the AC-8.6 default).
* An empty normalised description gives [fallback]. History counts only categories in [activeCategories]; the most
* often used wins, a tie goes to the category whose latest expense is latest (`expenseDate`, then `createdAt`), and a
* remaining tie to the lower category id (TODO(spec): not stated in category-suggestion.md).
* remaining tie to the lower category id in string order (SPEC §9.11, "Most recently").
*/
fun suggestCategory(
description: String,
@@ -12,7 +12,6 @@
<string name="analytics_range_all_time">All tid</string>
<string name="analytics_range_custom">Anpassad…</string>
<string name="analytics_range_custom_dates">Anpassad · %1$s</string>
<string name="analytics_range_dates">%1$s – %2$s</string>
<string name="analytics_granularity_month">Månad</string>
<string name="analytics_granularity_week">Vecka</string>
<string name="analytics_measure_household">Hushållet</string>
@@ -25,11 +24,9 @@
<item quantity="other">%d veckor</item>
</plurals>
<string name="analytics_over_time">Utgifter över tid</string>
<string name="analytics_chart_spoken">%1$s per %2$s och %3$s</string>
<string name="analytics_by_category">Per kategori</string>
<string name="analytics_by_account">Per konto</string>
<string name="analytics_week_label">vecka %1$d</string>
<string name="analytics_axis_thousands">%1$s tkr</string>
<string name="analytics_empty">Inga utgifter i den här perioden</string>
<string name="analytics_empty_body">Välj en annan period, eller lägg till en utgift med ett datum i perioden.</string>
<string name="analytics_change_period">Byt period</string>
@@ -12,7 +12,6 @@
<string name="analytics_range_all_time">All time</string>
<string name="analytics_range_custom">Custom…</string>
<string name="analytics_range_custom_dates">Custom · %1$s</string>
<string name="analytics_range_dates">%1$s – %2$s</string>
<string name="analytics_granularity_month">Month</string>
<string name="analytics_granularity_week">Week</string>
<string name="analytics_measure_household">Household</string>
@@ -25,11 +24,9 @@
<item quantity="other">%d weeks</item>
</plurals>
<string name="analytics_over_time">Spending over time</string>
<string name="analytics_chart_spoken">%1$s per %2$s and %3$s</string>
<string name="analytics_by_category">By category</string>
<string name="analytics_by_account">By account</string>
<string name="analytics_week_label">week %1$d</string>
<string name="analytics_axis_thousands">%1$sk</string>
<string name="analytics_empty">No expenses in this period</string>
<string name="analytics_empty_body">Choose another period, or add an expense dated within it.</string>
<string name="analytics_change_period">Change period</string>
@@ -6,8 +6,6 @@
<string name="expense_editor_date">Datum</string>
<string name="expense_editor_delete">Ta bort utgift</string>
<string name="expense_editor_discard_title">Slänga utgiften?</string>
<string name="expense_detail_title">Utgift</string>
<string name="expense_detail_account">Konto</string>
<string name="expense_detail_date">Datum</string>
<string name="expense_detail_paid_by">Betalt av</string>
<string name="expense_detail_split">Delning</string>
@@ -6,8 +6,6 @@
<string name="expense_editor_date">Date</string>
<string name="expense_editor_delete">Delete expense</string>
<string name="expense_editor_discard_title">Discard the expense?</string>
<string name="expense_detail_title">Expense</string>
<string name="expense_detail_account">Account</string>
<string name="expense_detail_date">Date</string>
<string name="expense_detail_paid_by">Paid by</string>
<string name="expense_detail_split">Split</string>
@@ -2,7 +2,6 @@
<!-- Strings of :feature:home, from docs/ux/strings.csv (module=home). -->
<resources>
<!-- shown on Home before the system permission prompt, after the first full sync (AC-2.9, ia.md §3) -->
<string name="home_notification_rationale">Kvitt säger till när %1$s lägger till eller ändrar något.</string>
<string name="home_accounts">Konton</string>
<string name="home_new_account">Nytt konto</string>
<string name="home_archived_section">Arkiverade (%d)</string>
@@ -26,16 +25,11 @@
<string name="home_sync_status_title">Synkstatus</string>
<string name="home_sync_status_all_synced">Allt är synkat</string>
<!-- followed by the sync line -->
<string name="home_sync_status_all_synced_body">Alla ändringar finns på servern.</string>
<!-- %1$s time or list date and time -->
<string name="home_sync_status_last_success">Senast lyckade synk %1$s</string>
<string name="home_sync_status_pending_title">Väntande ändringar (%d)</string>
<!-- pending row: home_sync_status_row_pending(tag) -->
<string name="home_sync_status_tag_new">Ny</string>
<string name="home_sync_status_tag_changed">Ändrad</string>
<string name="home_sync_status_tag_deleted">Borttagen</string>
<!-- %1$s a home_sync_status_tag_* -->
<string name="home_sync_status_row_pending">%1$s · väntar på synk</string>
<string name="home_sync_status_rejected_title">Ändringar som inte synkades</string>
<string name="home_sync_status_dismiss">Ta bort från listan</string>
<!-- opens the rejected change read-only -->
@@ -2,7 +2,6 @@
<!-- Strings of :feature:home, from docs/ux/strings.csv (module=home). -->
<resources>
<!-- shown on Home before the system permission prompt, after the first full sync (AC-2.9, ia.md §3) -->
<string name="home_notification_rationale">Kvitt tells you when %1$s adds or changes something.</string>
<string name="home_accounts">Accounts</string>
<string name="home_new_account">New account</string>
<string name="home_archived_section">Archived (%d)</string>
@@ -26,16 +25,11 @@
<string name="home_sync_status_title">Sync status</string>
<string name="home_sync_status_all_synced">Everything is synced</string>
<!-- followed by the sync line -->
<string name="home_sync_status_all_synced_body">All changes are on the server.</string>
<!-- %1$s time or list date and time -->
<string name="home_sync_status_last_success">Last successful sync %1$s</string>
<string name="home_sync_status_pending_title">Pending changes (%d)</string>
<!-- pending row: home_sync_status_row_pending(tag) -->
<string name="home_sync_status_tag_new">New</string>
<string name="home_sync_status_tag_changed">Changed</string>
<string name="home_sync_status_tag_deleted">Deleted</string>
<!-- %1$s a home_sync_status_tag_* -->
<string name="home_sync_status_row_pending">%1$s · waiting to sync</string>
<string name="home_sync_status_rejected_title">Changes that were not synced</string>
<string name="home_sync_status_dismiss">Remove from list</string>
<!-- opens the rejected change read-only -->
@@ -34,16 +34,11 @@
</plurals>
<string name="settings_devices">Enheter</string>
<!-- plural one; S-13 row subtitle -->
<plurals name="settings_devices_summary">
<item quantity="one">%d enhet</item>
<item quantity="other">%d enheter</item>
</plurals>
<string name="settings_pair_device">Para ihop en enhet</string>
<string name="settings_sync_status">Synkstatus</string>
<string name="settings_about">Om Kvitt</string>
<!-- S-13 row subtitle; version name -->
<string name="settings_about_summary">Version %1$s</string>
<string name="settings_pending_badge">%d väntar</string>
<string name="settings_update_badge">Uppdatering finns</string>
<string name="settings_categories_title">Kategorier</string>
<string name="settings_categories_new">Ny kategori</string>
@@ -34,16 +34,11 @@
</plurals>
<string name="settings_devices">Devices</string>
<!-- plural one; S-13 row subtitle -->
<plurals name="settings_devices_summary">
<item quantity="one">%d device</item>
<item quantity="other">%d devices</item>
</plurals>
<string name="settings_pair_device">Pair a device</string>
<string name="settings_sync_status">Sync status</string>
<string name="settings_about">About Kvitt</string>
<!-- S-13 row subtitle; version name -->
<string name="settings_about_summary">Version %1$s</string>
<string name="settings_pending_badge">%d waiting</string>
<string name="settings_update_badge">Update available</string>
<string name="settings_categories_title">Categories</string>
<string name="settings_categories_new">New category</string>