diff options
| author | syfyra <258908070+syfyra@users.noreply.github.com> | 2026-11-26 15:05:05 +0100 |
|---|---|---|
| committer | syfyra <258908070+syfyra@users.noreply.github.com> | 2026-11-26 15:05:05 +0100 |
| commit | 3c9a09f12a556ef29316132e2d47749cb2f845ad (patch) | |
| tree | c6eb05804edfd9bd1acbdc0ee5270335ace1867c /runtime/test/tiny_game_exit_code_test.cpp | |
| parent | 73516a2902a9872e4d21d1bdbbde4e26059497c5 (diff) | |
studio: show the EU strings the page already defines (STUDIO-EU-STRINGS)
viewer/studio.html has an RU/EU switch and an I18N table, but several
of its entries were never applied, so the EU page kept Russian text: the
five stats labels (Модель, Категория, Полигонов, Вершин, Размер файла),
the reset-camera button, the texture gallery heading, the "Все" category
chip, the texture count, and the empty-list messages for models and
textures. The "show all" button and the texture load error had no
entries at all.
Apply them: applyTranslations sets the labels (each is the text node in
front of its value, so the markup stays as it is), the button, the
heading, the chip and the count; the lists, which re-render on a switch,
read their messages from I18N. Two entries are added for the "show all"
button and the load error. The category names and the model download
alert are left for later.
Tested: new test in tests/test_viewer_studio.cjs (fails before the
change, passes after); the existing studio tests pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions