cosmic-settings/cosmic-settings
Michael Aaron Murphy 6274a66ae9 fix(time): icu locale requires hyphenated lang codes
The recent icu 2.0.0 update broke `icu::locale::Locale` parsing. Lang codes
containing underscores are no longer valid, so we need to hyphenate the lang
code before parsing it. I've added `replacen('_', "-", 1)` everywhere that an
`icu::locale::Locale` is parsed from a string.

To prevent the need to re-parse the locale on every view update, I've also
added `icu::locale::Locale`s for `LC_TIME` and `LC_NUMERIC` directly to
`region::Page` the moment the page is refreshed.

Closes #1384
2025-09-24 14:26:17 +02:00
..
src fix(time): icu locale requires hyphenated lang codes 2025-09-24 14:26:17 +02:00
Cargo.toml chore: cleanup deps 2025-09-19 09:22:59 -04:00
i18n.toml feat: add desktop entries for each settings page 2024-03-22 18:13:15 +01:00
README.md feat: add desktop entries for each settings page 2024-03-22 18:13:15 +01:00