Commit Graph

5 Commits

Author SHA1 Message Date
tomasklaen
e23eea6e43 feat: add-intl-directory APi for scripts to extend localization 2023-04-25 10:51:39 +02:00
tomasklaen
ec4e51e954 feat: dynamic localization strings and caching
`t()` now works as `string.format()` → `t('Foo %d %s', 42, 'bar')`
2023-04-25 10:01:57 +02:00
natural-harmonia-gropius
cbbb40611e fix: en locale not working (#526) 2023-04-25 09:39:00 +02:00
natural-harmonia-gropius
55087ca3fa fix: language priority (#525) 2023-04-25 09:36:21 +02:00
natural-harmonia-gropius
3c70ffd927 feat: internationalization (#518)
Adds `languages` option to specify localization language priority.
Built in languages can be found in `scripts/uosc_shared/intl`.
2023-04-24 11:37:58 +02:00