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
|
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| i18n.toml | ||
| README.md | ||