Skip to content

Fix failing language and Loop look JS tests - #357

Merged
Seagey merged 1 commit into
Seagey:mainfrom
ekagra-codes:fix/lang-and-look-js-tests
Nov 28, 2026
Merged

Seagey merged 1 commit into
Seagey:mainfrom
ekagra-codes:fix/lang-and-look-js-tests

Conversation

@ekagra-codes

Copy link
Copy Markdown
Contributor

Fixes the failing language and Loop look JavaScript unit tests on main:

  • tv-home/web/i18n.js:
    • Added the 12 missing Korean (S.ko) keys (tw_sec_phone, tw_sec_picture, tw_sec_remote, tw_sec_about, tw_textures, sec_phone, sec_picture, sec_remote, sec_thistv, sec_more, sec_help, set_more_hint).
    • Removed extra tw_acin_cant and tw_acin_item keys from S.ko that are not in S.en.
    • Set S.ko.look_loop to "Loop" to match all other languages.
    • Removed unused tw_sec_phone, tw_sec_picture, tw_sec_remote, and tw_sec_about keys across all 17 language blocks (replaced in app.js by sec_*).
  • tests/test_shelf_follows_app.js & tests/test_wording_leftovers.mjs: updated hardcoded language count from 16 to 17.
  • tests/test_loop_look.js: normalized \r\n line endings on css, html, i18n, and mock; bounded the Loop CSS slice before the Shabbat look section; updated language count from 16 to 17.

Testing

All 12 language and look JS tests pass (test_settings_words_i18n.js, test_ko_i18n.js, test_arabic_i18n.js, test_polish_i18n.js, test_romanian_i18n.js, test_zh_i18n.js, test_shelf_follows_app.js, test_wording_leftovers.mjs, test_tv_words_cover.mjs, test_tv_words_spelling.js, test_loop_look.js, test_p3_looks.js).

@Seagey
Seagey merged commit a94a6e0 into Seagey:main Nov 28, 2026
2 checks passed
@Seagey

Seagey commented Nov 28, 2026

Copy link
Copy Markdown
Owner

Thanks ekagra, this is merged into main (0358a84).

I read the diff, ran the JS and Python tests (the only failure is the known Samsung wake one) and the privacy scan, all good. It's good to have those language tests passing again. I haven't tried it on a TV, and I haven't had a Korean speaker check the new lines.

Seagey added a commit that referenced this pull request Nov 28, 2026
# Conflicts:
#	tests/test_loop_look.js
#	tests/test_wording_leftovers.mjs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants