0e1d99df93
:feature:home: Home with balance hero, sync pill, accounts, archived section, empty and first-sync states, update banner and "Tillåt installation" dialog; sync status with pending rows, rejections of every §14.4.6 reason and the clock-skew banner. :feature:account: account detail with header, ledger by month, overflow menu, archive/unarchive/delete and their errors; account editor with name, percent fields (two decimals), slider, presets, preview, name_taken/validation errors and offline state. Fake scenarios in fakes/home and fakes/account; full-screen Roborazzi goldens for every state in sv/en × light/dark (200 % for long states); ViewModel unit tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TQd3pEP9UeN2uifbHknQ7B
65 lines
4.4 KiB
XML
65 lines
4.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- 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>
|
|
<string name="home_settle_up">Settle up</string>
|
|
<!-- plural one; %2$s month name (lowercase in sv) -->
|
|
<plurals name="home_account_expenses_month">
|
|
<item quantity="one">%1$d expense in %2$s</item>
|
|
<item quantity="other">%1$d expenses in %2$s</item>
|
|
</plurals>
|
|
<string name="home_account_no_expenses_month">No expenses in %1$s</string>
|
|
<!-- first sync only -->
|
|
<string name="home_loading">Getting your expenses…</string>
|
|
<!-- first sync only -->
|
|
<string name="home_loading_body">The first sync fetches everything on the server. It only takes a moment.</string>
|
|
<!-- %1$s partner name; S-4 empty state card -->
|
|
<string name="home_empty_welcome">You and %1$s are in</string>
|
|
<string name="home_empty_subtitle">The household is ready. Now you need an account.</string>
|
|
<string name="home_empty_title">Create your first account</string>
|
|
<string name="home_empty_body">An account collects expenses that you share the same way, for example Everyday, The house or a trip. You can have as many as you like.</string>
|
|
<string name="home_sync_status_sync_now">Sync now</string>
|
|
<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 -->
|
|
<string name="home_sync_status_open">Open</string>
|
|
<!-- §14.4.6 -->
|
|
<string name="home_sync_reject_stale">Your change was replaced by a newer change from %1$s</string>
|
|
<!-- sv genitive as onboarding_profile_joining -->
|
|
<string name="home_sync_reject_stale_help">%1$s\'s version applies. Open the expense if you want to make your change again.</string>
|
|
<!-- as home_sync_reject_stale_help -->
|
|
<string name="home_sync_reject_stale_help_payment">%1$s\'s version applies. Open the payment if you want to make your change again.</string>
|
|
<string name="home_sync_reject_deleted">This was deleted before your change arrived</string>
|
|
<string name="home_sync_reject_validation">This change was not valid and was not saved</string>
|
|
<string name="home_sync_reject_reference">Its account or category no longer exists</string>
|
|
<string name="home_sync_reject_clock_skew">Your phone\'s clock is wrong. Fix it and sync again</string>
|
|
<!-- §9.10 -->
|
|
<string name="home_sync_status_clock_warning">Your phone\'s clock is wrong. Fix it and sync again.</string>
|
|
<!-- §14.4.6 clock_skew -->
|
|
<string name="home_sync_status_clock_body">The clock is more than 10 minutes ahead of the server. Your changes stay on the phone until it is fixed.</string>
|
|
<!-- opens the system date settings -->
|
|
<string name="home_sync_status_open_date_settings">Date & time</string>
|
|
<string name="home_sync_status_last_attempt_clock">Last attempt refused: the clock</string>
|
|
<!-- PROPOSED (not in strings.csv): TalkBack state of the "Archived (n)" row -->
|
|
<string name="home_archived_expanded">expanded</string>
|
|
<!-- PROPOSED (not in strings.csv): TalkBack state of the "Archived (n)" row -->
|
|
<string name="home_archived_collapsed">collapsed</string>
|
|
</resources>
|