16 Commits
Author SHA1 Message Date
Linden cc6aed591f chore: adjust links 2025-03-29 21:46:58 +11:00
Linden fb2225e373 chore: add copyright notices to each file
Some people accidentally, mistakenly, and without any malicious intent forget to attribute code from this resource to its source. This change will hopefully assist people, so that they do not make that mistake again.
2025-03-18 18:46:09 +11:00
Linden 01770187bc refactor(locale): set default locale in settings 2024-04-16 05:33:35 +10:00
Linden 468a4d820f feat(settings): notification position 2024-04-12 09:45:49 +10:00
Linden 44b41973b8 fix(locale): trigger setLocale in locale module 2024-04-02 17:00:59 +11:00
Linden 1e3b2cb567 feat(locale): locale hotloading 2024-04-01 19:16:53 +11:00
Linden ec18bbf34a fix(locale): setLocale 2022-10-19 04:14:36 +11:00
Linden 671be5e7a2 refactor(locale): simplify
BREAKING CHANGE (kind of)
Remove user-selection for locales. Adds mostly unnecessary complexity,
and most people don't want to bother with it anyway.

Locale is always based on the convar "ox:locale" instead.
2022-10-18 21:17:26 +11:00
Linden 91f52d12c1 refactor(client/locale): send GlobalState.locales to ui 2022-05-06 16:38:36 +10:00
Linden d4b5e0402c refactor(server/locale): get array of valid locales 2022-05-06 16:37:36 +10:00
Linden f6b2df0e75 refactor(locale): default locale 2022-05-06 16:00:40 +10:00
Luke fdb330a38f fix(client): Move loadLocale function out of init
Setting a locale causes the whole application to be rerendered, meaning that the fetch for init would also run every time when locale is set
2022-05-01 11:07:44 +02:00
Luke 4db4c79d8a feat(web): Settings modal, locale state provider 2022-04-30 14:49:49 +02:00
Linden 48728f0241 feat(locales): include some locales
Partial, and google translated just for the sake of setting an example.
Also renamed many of the language codes where the extra characters are
redundant (i.e. fr-FR, de-DE).
2022-04-30 05:04:15 +10:00
Linden 031cccd886 fix(locale): server hotload and "external" kvp
External kvp's don't exist for the server, so we have to export the proper language.
2022-04-29 16:53:24 +10:00
Linden 8af19bae42 feat: locale system 2022-04-29 05:56:41 +10:00