From a0259ab68d70fae046a267683f87cd972217dd82 Mon Sep 17 00:00:00 2001 From: Jacob Hagstedt Date: Sun, 18 Oct 2026 22:33:00 +0200 Subject: [PATCH] =?UTF-8?q?M12f:=20remove=20the=2019=20string=20keys=20R8?= =?UTF-8?q?=20found=20unused=20(20=20CSV=20rows);=20=C2=A79.11=20tie-break?= =?UTF-8?q?=20comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Claude-Session: https://claude.ai/code/session_01TQd3pEP9UeN2uifbHknQ7B --- .../design/src/main/res/values-sv/strings.xml | 5 ----- .../design/src/main/res/values/strings.xml | 5 ----- .../kvitt/domain/CategorySuggestion.kt | 2 +- .../src/main/res/values-sv/strings.xml | 3 --- .../analytics/src/main/res/values/strings.xml | 3 --- .../src/main/res/values-sv/strings.xml | 2 -- .../expense/src/main/res/values/strings.xml | 2 -- .../home/src/main/res/values-sv/strings.xml | 6 ------ .../home/src/main/res/values/strings.xml | 6 ------ .../src/main/res/values-sv/strings.xml | 5 ----- .../settings/src/main/res/values/strings.xml | 5 ----- docs/ux/strings.csv | 20 ------------------- 12 files changed, 1 insertion(+), 63 deletions(-) diff --git a/android/core/design/src/main/res/values-sv/strings.xml b/android/core/design/src/main/res/values-sv/strings.xml index 02e8c65..fd3ce32 100644 --- a/android/core/design/src/main/res/values-sv/strings.xml +++ b/android/core/design/src/main/res/values-sv/strings.xml @@ -36,7 +36,6 @@ Arkiverat - arkiverad Slänga ändringarna? Släng Fortsätt redigera @@ -142,7 +141,6 @@ % Belopp - 0,00 Beskrivning Konto @@ -170,7 +168,6 @@ %1$s %2$s av %3$s - Hälften var Fäll ihop delning @@ -178,7 +175,6 @@ %1$ss andel - Den här utgiften: %1$s Anteckningar Lägg till anteckning @@ -190,7 +186,6 @@ Rensa - Nästa Välj konto Välj kategori diff --git a/android/core/design/src/main/res/values/strings.xml b/android/core/design/src/main/res/values/strings.xml index 3d1b6e3..8a47177 100644 --- a/android/core/design/src/main/res/values/strings.xml +++ b/android/core/design/src/main/res/values/strings.xml @@ -36,7 +36,6 @@ Archived - archived Discard changes? Discard Keep editing @@ -144,7 +143,6 @@ % Amount - 0,00 Description Account @@ -172,7 +170,6 @@ %1$s %2$s of %3$s - Half each Collapse split @@ -180,7 +177,6 @@ %1$s\'s share - This expense: %1$s Notes Add note @@ -192,7 +188,6 @@ Clear - Next Choose account Choose category diff --git a/android/domain/src/main/kotlin/se/hagstedt/kvitt/domain/CategorySuggestion.kt b/android/domain/src/main/kotlin/se/hagstedt/kvitt/domain/CategorySuggestion.kt index 588466c..06a853e 100644 --- a/android/domain/src/main/kotlin/se/hagstedt/kvitt/domain/CategorySuggestion.kt +++ b/android/domain/src/main/kotlin/se/hagstedt/kvitt/domain/CategorySuggestion.kt @@ -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, diff --git a/android/feature/analytics/src/main/res/values-sv/strings.xml b/android/feature/analytics/src/main/res/values-sv/strings.xml index 3f16448..bca5a92 100644 --- a/android/feature/analytics/src/main/res/values-sv/strings.xml +++ b/android/feature/analytics/src/main/res/values-sv/strings.xml @@ -12,7 +12,6 @@ All tid Anpassad… Anpassad · %1$s - %1$s – %2$s Månad Vecka Hushållet @@ -25,11 +24,9 @@ %d veckor Utgifter över tid - %1$s per %2$s och %3$s Per kategori Per konto vecka %1$d - %1$s tkr Inga utgifter i den här perioden Välj en annan period, eller lägg till en utgift med ett datum i perioden. Byt period diff --git a/android/feature/analytics/src/main/res/values/strings.xml b/android/feature/analytics/src/main/res/values/strings.xml index d0028af..fbcb492 100644 --- a/android/feature/analytics/src/main/res/values/strings.xml +++ b/android/feature/analytics/src/main/res/values/strings.xml @@ -12,7 +12,6 @@ All time Custom… Custom · %1$s - %1$s – %2$s Month Week Household @@ -25,11 +24,9 @@ %d weeks Spending over time - %1$s per %2$s and %3$s By category By account week %1$d - %1$sk No expenses in this period Choose another period, or add an expense dated within it. Change period diff --git a/android/feature/expense/src/main/res/values-sv/strings.xml b/android/feature/expense/src/main/res/values-sv/strings.xml index 458602e..c9e7dbd 100644 --- a/android/feature/expense/src/main/res/values-sv/strings.xml +++ b/android/feature/expense/src/main/res/values-sv/strings.xml @@ -6,8 +6,6 @@ Datum Ta bort utgift Slänga utgiften? - Utgift - Konto Datum Betalt av Delning diff --git a/android/feature/expense/src/main/res/values/strings.xml b/android/feature/expense/src/main/res/values/strings.xml index bd06ac3..aa190af 100644 --- a/android/feature/expense/src/main/res/values/strings.xml +++ b/android/feature/expense/src/main/res/values/strings.xml @@ -6,8 +6,6 @@ Date Delete expense Discard the expense? - Expense - Account Date Paid by Split diff --git a/android/feature/home/src/main/res/values-sv/strings.xml b/android/feature/home/src/main/res/values-sv/strings.xml index 2cbb748..3983438 100644 --- a/android/feature/home/src/main/res/values-sv/strings.xml +++ b/android/feature/home/src/main/res/values-sv/strings.xml @@ -2,7 +2,6 @@ - Kvitt säger till när %1$s lägger till eller ändrar något. Konton Nytt konto Arkiverade (%d) @@ -26,16 +25,11 @@ Synkstatus Allt är synkat - Alla ändringar finns på servern. Senast lyckade synk %1$s Väntande ändringar (%d) - Ny - Ändrad - Borttagen - %1$s · väntar på synk Ändringar som inte synkades Ta bort från listan diff --git a/android/feature/home/src/main/res/values/strings.xml b/android/feature/home/src/main/res/values/strings.xml index 517a337..e088ee5 100644 --- a/android/feature/home/src/main/res/values/strings.xml +++ b/android/feature/home/src/main/res/values/strings.xml @@ -2,7 +2,6 @@ - Kvitt tells you when %1$s adds or changes something. Accounts New account Archived (%d) @@ -26,16 +25,11 @@ Sync status Everything is synced - All changes are on the server. Last successful sync %1$s Pending changes (%d) - New - Changed - Deleted - %1$s · waiting to sync Changes that were not synced Remove from list diff --git a/android/feature/settings/src/main/res/values-sv/strings.xml b/android/feature/settings/src/main/res/values-sv/strings.xml index e070738..3171464 100644 --- a/android/feature/settings/src/main/res/values-sv/strings.xml +++ b/android/feature/settings/src/main/res/values-sv/strings.xml @@ -34,16 +34,11 @@ Enheter - - %d enhet - %d enheter - Para ihop en enhet Synkstatus Om Kvitt Version %1$s - %d väntar Uppdatering finns Kategorier Ny kategori diff --git a/android/feature/settings/src/main/res/values/strings.xml b/android/feature/settings/src/main/res/values/strings.xml index 7c15c16..d4f7cf8 100644 --- a/android/feature/settings/src/main/res/values/strings.xml +++ b/android/feature/settings/src/main/res/values/strings.xml @@ -34,16 +34,11 @@ Devices - - %d device - %d devices - Pair a device Sync status About Kvitt Version %1$s - %d waiting Update available Categories New category diff --git a/docs/ux/strings.csv b/docs/ux/strings.csv index 12ebbb4..a3dc3c0 100644 --- a/docs/ux/strings.csv +++ b/docs/ux/strings.csv @@ -22,7 +22,6 @@ common_could_not_reach_server,Could not reach the server,Kunde inte nå servern, common_offline,Offline,Offline,module=core:design common_pending_sync,Waiting to sync,Väntar på synk,module=core:design; TalkBack label of the pending marker common_archived,Archived,Arkiverat,module=core:design; badge on an archived account -common_archived_category,archived,arkiverad,module=core:design; suffix on an archived category chip common_discard_title,Discard changes?,Slänga ändringarna?,module=core:design common_discard,Discard,Släng,module=core:design common_keep_editing,Keep editing,Fortsätt redigera,module=core:design @@ -89,7 +88,6 @@ ledger_month_total,%1$s · %2$s,%1$s · %2$s,"module=core:design; LedgerMonthHea editor_percent_of,%1$s %%,%1$s %%,"module=core:design; label of a percent field: ""Jacob %""; RatioEditor in S-6 and S-7" editor_percent_suffix,%,%,module=core:design; formatted=false; suffix of a percent field editor_amount,Amount,Belopp,module=core:design -editor_amount_hint,"0,00","0,00","module=core:design; hint; en shows 0.00 (built from the formatter, not this string)" editor_description,Description,Beskrivning,module=core:design editor_account,Account,Konto,module=core:design editor_account_spoken,Account: %1$s,Konto: %1$s,module=core:design; TalkBack of the account chip @@ -108,18 +106,15 @@ editor_split_full_on_you,All on you,Allt på dig,"module=core:design; full split editor_split_full_question,Who pays the whole amount?,Vem står för hela beloppet?,module=core:design; full mode prompt editor_split_exact_computed,calculated,räknas ut,module=core:design; trailing text of the other person's read-only field in exact mode editor_split_exact_of,%1$s %2$s of %3$s,%1$s %2$s av %3$s,"module=core:design; exact-mode error box: name, share, amount" -editor_split_half_each,Half each,Hälften var,module=core:design; TalkBack of the share bar at 50/50 editor_split_collapse,Collapse split,Fäll ihop delning,module=core:design; TalkBack of the control that collapses the split section (design-spec) editor_ratio_spoken,"%1$s %2$s percent, %3$s %4$s percent","%1$s %2$s procent, %3$s %4$s procent","module=core:design; TalkBack value of the share bar and the ratio slider: name, percent, name, percent" editor_ratio_slider,%1$s's share,%1$ss andel,"module=core:design; TalkBack label of the ratio slider (S-6, S-7); sv genitive as onboarding_profile_joining" -editor_split_preview_effect,This expense: %1$s,Den här utgiften: %1$s,module=core:design; %1$s an effect line editor_notes,Notes,Anteckningar,module=core:design editor_add_note,Add note,Lägg till anteckning,module=core:design editor_keypad_delete,Delete,Radera,module=core:design; TalkBack of the keypad backspace editor_keypad_decimal,Decimal separator,Decimaltecken,module=core:design; TalkBack editor_keypad,Number keys,Sifferknappar,module=core:design; TalkBack of the in-app keypad group editor_keypad_clear,Clear,Rensa,module=core:design; TalkBack custom action on the keypad backspace: clears the amount (design-spec) -editor_next,Next,Nästa,module=core:design; IME action on the amount editor_pick_account,Choose account,Välj konto,module=core:design editor_pick_category,Choose category,Välj kategori,module=core:design error_amount_required,Enter an amount,Skriv ett belopp,module=core:design; required on amount @@ -286,7 +281,6 @@ onboarding_removed_title,This phone has been removed,Den här telefonen har tagi onboarding_removed_body,Access was removed and all Kvitt data on the phone has been deleted.,Åtkomsten togs bort och allt Kvitt-data på telefonen har raderats.,module=onboarding; AC-3.3 onboarding_removed_new_code,To use Kvitt again you need a new invite code.,Vill du använda Kvitt igen behöver du en ny inbjudningskod.,module=onboarding onboarding_removed_pair_again,Pair again,Para ihop igen,module=onboarding -home_notification_rationale,Kvitt tells you when %1$s adds or changes something.,Kvitt säger till när %1$s lägger till eller ändrar något.,"module=home; shown on Home before the system permission prompt, after the first full sync (AC-2.9, ia.md §3)" home_accounts,Accounts,Konton,module=home home_new_account,New account,Nytt konto,module=home home_archived_section,Archived (%d),Arkiverade (%d),module=home @@ -303,13 +297,8 @@ home_empty_body,"An account collects expenses that you share the same way, for e home_sync_status_sync_now,Sync now,Synka nu,module=home home_sync_status_title,Sync status,Synkstatus,module=home home_sync_status_all_synced,Everything is synced,Allt är synkat,module=home -home_sync_status_all_synced_body,All changes are on the server.,Alla ändringar finns på servern.,module=home; followed by the sync line home_sync_status_last_success,Last successful sync %1$s,Senast lyckade synk %1$s,module=home; %1$s time or list date and time home_sync_status_pending_title,Pending changes (%d),Väntande ändringar (%d),module=home -home_sync_status_tag_new,New,Ny,module=home; pending row: home_sync_status_row_pending(tag) -home_sync_status_tag_changed,Changed,Ändrad,module=home -home_sync_status_tag_deleted,Deleted,Borttagen,module=home -home_sync_status_row_pending,%1$s · waiting to sync,%1$s · väntar på synk,module=home; %1$s a home_sync_status_tag_* home_sync_status_rejected_title,Changes that were not synced,Ändringar som inte synkades,module=home home_sync_status_dismiss,Remove from list,Ta bort från listan,module=home home_sync_status_open,Open,Öppna,module=home; opens the rejected change read-only @@ -357,8 +346,6 @@ expense_editor_edit,Edit expense,Ändra utgift,module=expense expense_editor_date,Date,Datum,module=expense expense_editor_delete,Delete expense,Ta bort utgift,module=expense expense_editor_discard_title,Discard the expense?,Slänga utgiften?,module=expense -expense_detail_title,Expense,Utgift,module=expense -expense_detail_account,Account,Konto,module=expense expense_detail_date,Date,Datum,module=expense expense_detail_paid_by,Paid by,Betalt av,module=expense expense_detail_split,Split,Delning,module=expense @@ -379,7 +366,6 @@ settle_partner_pays,%1$s pays you,%1$s betalar dig,module=settle settle_swap,Swap direction,Byt riktning,module=settle; TalkBack and tooltip settle_direction,Direction,Riktning,module=settle; label above settle_you_pay / settle_partner_pays settle_amount,Amount,Belopp,module=settle -settle_empty_settled,You are all settled up right now.,Ni är kvitt just nu.,module=settle; S-9 when nothing is owed settle_empty_hint,Enter an amount and Kvitt suggests an allocation.,Skriv ett belopp så föreslår Kvitt en fördelning.,module=settle; S-9 when nothing is owed settle_allocation,Allocation,Fördelning,module=settle settle_row_debt,Debt %1$s,Skuld %1$s,module=settle; allocation row when the account's debt runs in the payment's direction; otherwise balance_*_amount or balance_account_settled @@ -426,7 +412,6 @@ analytics_range_this_year,This year,I år,module=analytics analytics_range_all_time,All time,All tid,module=analytics analytics_range_custom,Custom…,Anpassad…,module=analytics analytics_range_custom_dates,Custom · %1$s,Anpassad · %1$s,module=analytics; period chip with a custom range; %1$s short date range -analytics_range_dates,%1$s – %2$s,%1$s – %2$s,module=analytics analytics_granularity_month,Month,Månad,module=analytics analytics_granularity_week,Week,Vecka,module=analytics analytics_measure_household,Household,Hushållet,module=analytics @@ -437,11 +422,9 @@ analytics_total,Total,Totalt,module=analytics; total card label; subtitle range analytics_weeks:one,%d week,%d vecka,module=analytics; plural one; total card subtitle in week granularity analytics_weeks:other,%d weeks,%d veckor,module=analytics; plural other analytics_over_time,Spending over time,Utgifter över tid,module=analytics -analytics_chart_spoken,%1$s per %2$s and %3$s,%1$s per %2$s och %3$s,"module=analytics; TalkBack label of chart 1: measure, granularity, group-by (toggle labels in lower case)" analytics_by_category,By category,Per kategori,module=analytics analytics_by_account,By account,Per konto,module=analytics analytics_week_label,week %1$d,vecka %1$d,module=analytics; ISO week in TalkBack sentences and the S-12 title; the x-axis shows the bare number -analytics_axis_thousands,%1$sk,%1$s tkr,"module=analytics; compact y-axis label, only when whole kronor do not fit" analytics_empty,No expenses in this period,Inga utgifter i den här perioden,module=analytics analytics_empty_body,"Choose another period, or add an expense dated within it.","Välj en annan period, eller lägg till en utgift med ett datum i perioden.",module=analytics analytics_change_period,Change period,Byt period,module=analytics @@ -473,13 +456,10 @@ settings_recurring_summary_active:other,%d active,%d aktiva,module=settings; plu settings_recurring_summary_paused:one,%d paused,%d pausad,module=settings; plural one; shown when > 0 settings_recurring_summary_paused:other,%d paused,%d pausade,module=settings; plural other settings_devices,Devices,Enheter,module=settings -settings_devices_summary:one,%d device,%d enhet,module=settings; plural one; S-13 row subtitle -settings_devices_summary:other,%d devices,%d enheter,module=settings; plural other settings_pair_device,Pair a device,Para ihop en enhet,module=settings settings_sync_status,Sync status,Synkstatus,module=settings settings_about,About Kvitt,Om Kvitt,module=settings settings_about_summary,Version %1$s,Version %1$s,module=settings; S-13 row subtitle; version name -settings_pending_badge,%d waiting,%d väntar,module=settings settings_update_badge,Update available,Uppdatering finns,module=settings settings_categories_title,Categories,Kategorier,module=settings settings_categories_new,New category,Ny kategori,module=settings