Modern Apps git

← Modern-Apps.git

games-wordmaker: integrate pending Weblate translations (#954)

Commit
cc0382a070b50ced2cf6155afd9c33805e5b55b5
Author
Vayun Mathur <[email protected]>
When
2026-12-04 20:44 UTC (1 day ago)
Parents
e45bcbe bfd332f
Issue #954 reports that new strings have been added but
translations on Weblate are locked. Live Weblate state confirms
the mechanism documented in docs/i18n-weblate.md: 38 components
report locked=true, and the Calendar repository-holding
component's hourly push to the translate branch is still
rejected as non-fast-forward (seen again on 2026-12-04). The
remote translate tip was never an ancestor of main: the pending
commits were previously cherry-picked into main by content, so
Weblate's rebase onto main keeps producing commits the remote
translate branch cannot fast-forward to, pending commits pile
up, and the linked components stay locked.

This commit is a real merge of origin/translate, not another
cherry-pick, so the translate tip becomes an ancestor of this
branch and the next rebase/push can fast-forward once it lands
on main (it must be merged into main, not cherry-picked, to
preserve that ancestry). Conflicts were resolved per the
documented per-key rules: web keeps main's shields_blocked_count
plurals and drops the orphaned go_forward translation (deleted
from the English source), and games-unblockjam drops the
orphaned Swedish completed/moves/daily_challenge/daily_streak
translations, all deleted from the English source. Every other
file merged to exactly the content main already carries.

The merge also integrates the only exporter-only pending
Weblate commits (Czech, games-wordmaker, Petr Kadlec,
2026-12-04), which had not reached the translate branch: Czech
now covers the newly added bonus_words_title, letter_tile and
letter_selected strings (i18n_audit for wordmaker/cs goes from
90.3% with 3 missing to 100%), plus corrected one/few plurals
for competitive_time_limit, competitive_solved and
competitive_timed_out and the translated level_number. All
added keys were verified present in the English source, so no
ExtraTranslation orphans are introduced. This integration is
step 1 of the documented lock recovery; the Weblate-side
Reset + Unlock in the Calendar component and the
git_force_push setting still need the owner's Weblate login
after this lands on main.

Verified in this worktree with JDK 21:
./gradlew :games:wordmaker:lint :games:wordmaker:lintVitalRelease
:games:wordmaker:testDevUnitTest --max-workers=128
lint passes (lintVitalRelease is SKIPPED by the build). The
full unit run has one failure,
GameLoaderPageDeepTest.wordGamePageTapSubmissionCreditsSolutionAndBonusThroughDelegate
(NullPointerException), which is pre-existing/flaky: the same
test class fails on a clean base worktree at the same HEAD, and
the failing test passes in isolation on both clean base and
this branch. i18n_audit runs clean with no malformed XML, no
duplicate keys and no orphan translations.

Diff

diff --cc games/wordmaker/src/main/res/values-cs/strings.xmlindex 25aeac63e5,58757a5594..d2af090de4--- a/games/wordmaker/src/main/res/values-cs/strings.xml+++ b/games/wordmaker/src/main/res/values-cs/strings.xml@@@ -3,26 -3,15 +3,26 @@@      <string name="competitive_score">Skóre: <xliff:g id="score" example="150">%1$d</xliff:g></string>      <string name="competitive_start">Začít</string>      <string name="competitive_difficulty">Obtížnost</string> -    <string name="competitive_time_limit"><xliff:g id="seconds" example="45">%1$d</xliff:g> vteřin na úroveň</string> -    <string name="competitive_solved">Vyřešeno! +<xliff:g id="points" example="50">%1$d</xliff:g> bodů</string> -    <string name="competitive_timed_out">Čas vypršel! <xliff:g id="points" example="-15">%1$d</xliff:g> bodů</string> +    <plurals name="competitive_time_limit">-         <item quantity="one"><xliff:g id="seconds" example="45">%1$d</xliff:g> vteřin na úroveň</item>-         <item quantity="few"><xliff:g id="seconds" example="45">%1$d</xliff:g> vteřin na úroveň</item>++        <item quantity="one"><xliff:g id="seconds" example="1">%1$d</xliff:g> sekunda na úroveň</item>++        <item quantity="few"><xliff:g id="seconds" example="2">%1$d</xliff:g> sekundy na úroveň</item> +        <item quantity="many"><xliff:g id="seconds" example="45">%1$d</xliff:g> vteřin na úroveň</item>-         <item quantity="other"><xliff:g id="seconds" example="45">%1$d</xliff:g> vteřin na úroveň</item>++        <item quantity="other"><xliff:g id="seconds" example="45">%1$d</xliff:g> sekund na úroveň</item> +    </plurals> +    <plurals name="competitive_solved">-         <item quantity="one">Vyřešeno! +<xliff:g id="points" example="50">%1$d</xliff:g> bodů</item>-         <item quantity="few">Vyřešeno! +<xliff:g id="points" example="50">%1$d</xliff:g> bodů</item>++        <item quantity="one">Vyřešeno! +<xliff:g id="points" example="1">%1$d</xliff:g> bod</item>++        <item quantity="few">Vyřešeno! +<xliff:g id="points" example="2">%1$d</xliff:g> body</item> +        <item quantity="many">Vyřešeno! +<xliff:g id="points" example="50">%1$d</xliff:g> bodů</item> +        <item quantity="other">Vyřešeno! +<xliff:g id="points" example="50">%1$d</xliff:g> bodů</item> +    </plurals> +    <plurals name="competitive_timed_out">-         <item quantity="one">Čas vypršel! <xliff:g id="points" example="-15">%1$d</xliff:g> bodů</item>-         <item quantity="few">Čas vypršel! <xliff:g id="points" example="-15">%1$d</xliff:g> bodů</item>++        <item quantity="one">Čas vypršel! <xliff:g id="points" example="-1">%1$d</xliff:g> bod</item>++        <item quantity="few">Čas vypršel! <xliff:g id="points" example="-2">%1$d</xliff:g> body</item> +        <item quantity="many">Čas vypršel! <xliff:g id="points" example="-15">%1$d</xliff:g> bodů</item> +        <item quantity="other">Čas vypršel! <xliff:g id="points" example="-15">%1$d</xliff:g> bodů</item> +    </plurals>      <string name="error_parse_level">Nepovedlo se zpracovat data úrovně.</string>--    <string name="level_number">Level <xliff:g id="level" example="12">%1$d</xliff:g></string> -    <string name="next_level">Další úroveň</string>++    <string name="level_number">Úroveň <xliff:g id="level" example="12">%1$d</xliff:g></string>      <string name="bonus_words">Bonusová slova</string>      <string name="tap_to_spell">Hláskovat klepnutím</string>      <string name="tap_to_spell_description">Pro stavbu slov na písmena klepejte namísto tažení</string>@@@ -43,4 -34,4 +43,12 @@@      <string name="wheel_spacing_wider">Širší</string>      <string name="wheel_spacing_widest">Nejširší</string>      <string name="no_definition_available">Pro toto slovo není definice dostupná.</string>++    <plurals name="bonus_words_title">++        <item quantity="one">Bonusové slovo (<xliff:g id="count" example="1">%1$d</xliff:g>)</item>++        <item quantity="few">Bonusová slova (<xliff:g id="count" example="3">%1$d</xliff:g>)</item>++        <item quantity="many">Bonusová slova (<xliff:g id="count" example="5">%1$d</xliff:g>)</item>++        <item quantity="other">Bonusová slova (<xliff:g id="count" example="5">%1$d</xliff:g>)</item>++    </plurals>++    <string name="letter_tile">Písmeno %1$s</string>++    <string name="letter_selected">Vybrané</string>  </resources>