nuke/web/js
Laurent Laffont ad5430612f
feat: implement localization system (#716)
* lib/localization: implement localization system

Locale files are placed in lib/localization/locales/. If you add a
locale, update manifest.json with available locales.

* Exclude locales from check spelling

* tests(lib/localization): add comprehensive translations test

Signed-off-by: Xe Iaso <me@xeiaso.net>

* fix(challenge/metarefresh): enable localization

Signed-off-by: Xe Iaso <me@xeiaso.net>

* fix: use simple syntax for localization in templ

Also localize CELPHASE into French according to the wishes of the
artist.

Signed-off-by: Xe Iaso <me@xeiaso.net>

* chore: spelling

Signed-off-by: Xe Iaso <me@xeiaso.net>

* chore:(js): fix forbidden patterns

Signed-off-by: Xe Iaso <me@xeiaso.net>

* chore: add goi18n to tools

Signed-off-by: Xe Iaso <me@xeiaso.net>

* test(lib/localization): dynamically determine the list of supported languages

Signed-off-by: Xe Iaso <me@xeiaso.net>

---------

Signed-off-by: Xe Iaso <me@xeiaso.net>
Co-authored-by: Xe Iaso <me@xeiaso.net>
2025-06-27 17:49:15 +00:00
..
bench.mjs style(bench): small cleanup (#546) 2025-05-30 17:57:56 +00:00
main.mjs feat: implement localization system (#716) 2025-06-27 17:49:15 +00:00
proof-of-work-slow.mjs fix(web/js): broken progress bar with slow algo (#673) 2025-06-22 20:05:37 -04:00
proof-of-work.mjs style(bench): small cleanup (#546) 2025-05-30 17:57:56 +00:00
video.mjs style(bench): small cleanup (#546) 2025-05-30 17:57:56 +00:00