#228

i18n: restore the Portuguese language option strings

Opencharleslanawants to merge intofrom

What changed

Restored the two rows dmCustomLangPtOpt and dmCustomLangHintPt in dm/i18n/ui_text.tsv and regenerated dm/host/dm_i18n_tab.h.

Why

The Custom page layout already references both keys (touch_layout.py), but the rows are missing from the table. In the Android build the sixth language option therefore renders as the game's placeholder "String" and the hint below it as "ausente", instead of "Português" and "Toque em Aplicar e feche e reabra o app".

Both rows were part of #224 but are not in main, so the rebase that merged #224 dropped them. Comparing the full key sets, these are the only two missing.

Checks run

  • python3 dm/ios/tools/dm_i18n.py --check -> dm_i18n OK 488 条
  • python3 dm/ios/tests/test_touch_layout_language.py -> PASS

Activity

2
yyan16010d ago

Sorry, we missed that this PR already existed: #270 (merged on 11-16 for #235) added the same two rows, dmCustomLangPtOpt and dmCustomLangHintPt, to ui_text.tsv and the generated table, plus a test that every key on the Custom page exists in the table. So this one is now covered by main and will conflict. Thanks for catching it first.