Skip to content

RC3 for 0.21.0#712

Merged
sadespresso merged 7 commits intobetafrom
develop
Apr 21, 2026
Merged

RC3 for 0.21.0#712
sadespresso merged 7 commits intobetafrom
develop

Conversation

@sadespresso
Copy link
Copy Markdown
Collaborator

No description provided.

PawiX25 and others added 7 commits April 20, 2026 02:13
- Track current locale via _currentLocale static field
- Add _pluralCategory() implementing CLDR plural rules for 14 languages
- When getTransalation() receives a num value, resolve CLDR category
  and look for suffixed key (key.one, key.few, key.many) before fallback
- Add plural form keys for transaction counts in 11 language files
- Update l10n integrity test to handle plural suffix keys
The code used `preferences.transactions.listTile.transactionListTileShowExternalSource`
but the localization files use `preferences.transactions.listTile.showExternalSource`.

Fixes #708
Move example transaction generation to `didChangeDependencies()` so
they're created once and reused across rebuilds. Use `Random(42)` with
a fixed seed to produce deterministic dates.

Previously, toggling any setting called `setState()` which regenerated
the preview transactions with new random dates, causing the displayed
times to jump.

Fixes #709
…ates

fix: stabilize preview transaction dates in settings
…nal-source

fix: use correct localization key for external source setting
[FEAT] Add CLDR plural form support to localization system
@sadespresso sadespresso merged commit 877a399 into beta Apr 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants