1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 15:35:22 +02:00

Allow users to set preferred locale in settings and provide basic date and time localization support (#1226)

* Add basic date and time localization

* Normalize translations

* Localize transaction dates

* Removed unsupported Rails locales
This commit is contained in:
Zach Gollwitzer 2024-10-02 14:02:17 -04:00 committed by GitHub
parent 7fabca4679
commit ab40289eb4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
130 changed files with 25190 additions and 10 deletions

View file

@ -1,4 +1,6 @@
base_locale: en
fallbacks:
- default
data:
read:
- config/locales/**/*%{locale}.yml
@ -26,9 +28,16 @@ search:
ignore_unused:
- 'activerecord.attributes.*' # i18n-tasks does not detect these on forms, forms validations (https://github.com/glebm/i18n-tasks/blob/0b4b483c82664f26c5696fb0f6aa1297356e4683/templates/config/i18n-tasks.yml#L146)
- 'activerecord.models.*' # i18n-tasks does not detect use in dynamic model names (e.g. object.model_name.human)
- 'activerecord.errors.models*'
- 'activerecord.errors*'
- 'activemodel.errors.models.*'
- 'helpers.submit.*' # i18n-tasks does not detect used at forms
- 'helpers.label.*' # i18n-tasks does not detect used at forms
- 'accounts.show.sync_message_*' # messages generated in the sync ActiveJob
- 'address.attributes.*'
- 'date.*'
- 'time.*'
- 'datetime.*'
- 'number.*'
- 'errors.*'
- 'helpers.*'
- 'support.*'