Revamp Party GUI Form To Use New DDUI CustomForm's #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/ddui-testing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resource-pack review of head
487555b5df1e(companion to beh#716). mergeable=false vs current main — rebase before merge. No prior reviews.This PR is lang only (7 locale files). There is no party UI JSON / DDUI screen in res — title oversells "Revamp Party GUI Form". That is fine if the form lives in beh#716; just do not expect a UI review here.
Needs work, not a hard asset break:
forms.party.label.*keys are English in every locale (cs/de/es/pt/ru/zh).models.battleUtils.move.{currentPP,maxPP,accuracy}added (also English-only), anddatabase.pokemon.summary.separatorshortened in en_US only. Split those out.forms.party.label.confirmMoveChangehas- >(spaces around the arrow).Party button/title rewords (
Return Pokemon,§e%1'stitles, dropped leading\n\non useCount) look intentional for the DDUI layout.@ -10661,6 +10664,18 @@ forms.party.title.editSkin=Upravit skin %1forms.party.title.move=Útok: %1forms.party.title.pokemon=Pokémon: %1forms.party.title.summary=Souhrn: %1forms.party.label.editMoves=Click on the move icon to edit the move in that slot.These new party labels (and the battleUtils PP/accuracy keys) are pasted in English. Same on de/es/pt/ru/zh. Either translate or keep the keys en_US-only until localization is ready — do not ship English UI copy as Czech.
@ -10664,0 +10667,4 @@forms.party.label.editMoves=Click on the move icon to edit the move in that slot.forms.party.label.moveSlot=§lSlot %1: §r%2forms.party.label.moveDescription=§lDescription:\n§r%sforms.party.label.confirmMoveChange=§lConfirm Change: %1\n§r%2 - > %3%2 - > %3reads like a typo. Use→or->without the extra spaces so the confirm line does not look broken in the form.Request changes. The localized companion is not merge-ready: the new party/battle labels remain English across non-en_US locales, confirmMoveChange contains the malformed "- >" separator, and the PR conflicts with current main. Please translate or keep non-English keys out until localized, fix the separator, remove unrelated churn, rebase, and rerun CI. Existing inline comments identify the affected lines.
487555b5df2afc862e0628910d0e3ee0eb6b154ce0eb6b154c6ac88eb9d7Re-review of head
a6ca7815after main merge (prior bot reviews on487555b5are stale). Companion to beh#716. mergeable=true vs main5a2ff211— conflict cleared. Still lang-only (7 locale files); no party UI JSON/DDUI screen in res.Still blocking (same class as before):
forms.party.label.*/ category strings are English in every non-en_US locale (cs/de/es/pt/ru/zh).forms.party.label.confirmMoveChangestill has malformed- >(spaces around the arrow) in all locales.models.battleUtils.move.{currentPP,maxPP,accuracy}(also English-only outside en_US),common.default=Defaultuntranslated, anddatabase.pokemon.summary.separatorshortened in en_US only. Split those out or localize them with the party keys.Progress / nits:
common.errornow takes%s(watch callers that expected the bareErrorstring).pt_BRcatchFaileddouble-E typo fix is fine to keep.runickname errors got real Russian — keep that pattern for the new labels.Translate (or omit non-en keys until localized), fix the arrow, drop/split unrelated keys, then this can clear. Not merge-ready until those land + CI green.
@ -4444,7 +4444,10 @@ models.battle.log.entry=§c[BITVA]: §r%smodels.battle.log.request=§a[ŽÁDOST O BITVU]: §r%smodels.battleUtils.error.ballMissed=Míč chyběl!models.battleUtils.error.catchFailed=§cChyba při chytání Pokémona: %smodels.battleUtils.move.currentPP=Current PP: %sBattle-utils PP/accuracy keys are English here and in the other non-en files — out of scope for a Party GUI lang PR, and untranslated. Split to a separate change or localize with the party strings.
@ -10815,6 +10821,22 @@ forms.party.title.editSkin=Upravit skin %1forms.party.title.move=Útok: %1forms.party.title.pokemon=Pokémon: %1forms.party.title.summary=Souhrn: %1forms.party.label.editMoves=Click on the move icon to edit the move in that slot.English left in cs_CZ (and the same block is English in de/es/pt/ru/zh). Translate these
forms.party.label.*/ category keys, or keep them out of non-en locales until a localization pass.@ -10818,0 +10824,4 @@forms.party.label.editMoves=Click on the move icon to edit the move in that slot.forms.party.label.moveSlot=§lSlot %1: §r%2forms.party.label.moveDescription=§lDescription:\n§r%sforms.party.label.confirmMoveChange=§lConfirm Change: %1\n§r%2 - > %3Malformed separator:
- >should be something like→or->without the spaces around the hyphen. This string is copied into every locale as-is.Request changes on head
a6ca7815(main merged in; mergeable=true). Companion to beh#716. Still lang-only — no party UI JSON in res.Prior REQUEST_CHANGES on
487555b5is not addressed:forms.party.label.*/ category keys remain English in every non-en_US locale.forms.party.label.confirmMoveChangestill has the malformed- >separator (all locales).models.battleUtils.move.{currentPP,maxPP,accuracy}English-only across locales,common.default=DefaultEnglish-only,database.pokemon.summary.separatorshortened in en_US only.Translate or keep non-English keys out until localized, fix the separator, split unrelated churn, then re-request review. Nickname §cError: stripping and intentional DDUI title rewords look fine.
@ -4444,7 +4444,10 @@ models.battle.log.entry=§c[BITVA]: §r%smodels.battle.log.request=§a[ŽÁDOST O BITVU]: §r%smodels.battleUtils.error.ballMissed=Míč chyběl!models.battleUtils.error.catchFailed=§cChyba při chytání Pokémona: %smodels.battleUtils.move.currentPP=Current PP: %sUnrelated to Party DDUI and English-only here. Split
models.battleUtils.move.{currentPP,maxPP,accuracy}(and the similarcommon.default) out of this PR.@ -10815,6 +10821,22 @@ forms.party.title.editSkin=Upravit skin %1forms.party.title.move=Útok: %1forms.party.title.pokemon=Pokémon: %1forms.party.title.summary=Souhrn: %1forms.party.label.editMoves=Click on the move icon to edit the move in that slot.Still English in cs_CZ (and the other non-en_US files). Same for the rest of the new
forms.party.label.*/forms.party.category.*block below — translate or omit until localized.@ -10818,0 +10824,4 @@forms.party.label.editMoves=Click on the move icon to edit the move in that slot.forms.party.label.moveSlot=§lSlot %1: §r%2forms.party.label.moveDescription=§lDescription:\n§r%sforms.party.label.confirmMoveChange=§lConfirm Change: %1\n§r%2 - > %3Malformed separator:
- >should be→or->(no spaces around a broken split). Same string is copied into every locale.Re-review of head
a73bbaff(prior tipa6ca7815+ CI workflow retarget). Companion to beh#716. mergeable=true vs maind9b4c7e6(merge_base5a2ff211). Still primarily lang (+ one workflow file); no party UI JSON/DDUI screen in res.Tip commit:
Point model preview at the Forgejo copy of the action.—model-preview.ymlnowuses: https://git.pokebedrock.com/pokebedrock/mc-model-preview@b10a8ffc…instead ofsmell-of-curry/mc-model-preview@latest. Sound Forgejo pin; does not clear lang blockers.Prior REQUEST_CHANGES (#2938/#2936) still stand — unchanged lang content:
forms.party.label.*/forms.party.category.*strings remain English in every non-en_US locale (cs/de/es/pt/ru/zh).forms.party.label.confirmMoveChangestill has malformed- >(spaces around the arrow) in all locales including en_US.models.battleUtils.move.{currentPP,maxPP,accuracy}English-only outside en_US,common.default=DefaultEnglish-only,database.pokemon.summary.separatorshortened in en_US only.Translate (or omit non-en keys until localized), fix the arrow, split unrelated keys, then re-request. Nickname §cError: stripping and intentional DDUI title rewords still look fine. Not merge-ready until those land + CI green.
Do not merge res alone (beh companion).
@ -4445,2 +4445,4 @@models.battleUtils.error.ballMissed=Ball wurde verfehlt!models.battleUtils.error.catchFailed=§cFehler beim Fangen von Pokémon: %smodels.battleUtils.move.currentPP=Current PP: %smodels.battleUtils.move.maxPP=Max PP: %sStill blocking / out of scope:
models.battleUtils.move.{currentPP,maxPP,accuracy}added as English-only here (same in other non-en locales), pluscommon.default=DefaultEnglish-only later in this file. Split unrelated battle/common keys out of this party-DDUI lang PR, or localize them with the party keys.@ -10816,2 +10822,4 @@forms.party.title.pokemon=Pokémon: %1forms.party.title.summary=Zusammenfassung: %1forms.party.label.editMoves=Click on the move icon to edit the move in that slot.forms.party.label.moveSlot=§lSlot %1: §r%2Still blocking (same class as #2938): new
forms.party.label.*/forms.party.category.*block is English in de_DE (and the same English blob in cs/es/pt/ru/zh). Translate these, or keep the keys out of non-en_US until localized.@ -10817,1 +10823,4 @@forms.party.title.summary=Summary: %1forms.party.label.editMoves=Click on the move icon to edit the move in that slot.forms.party.label.moveSlot=§lSlot %1: §r%2forms.party.label.moveDescription=§lDescription:\n§r%sStill blocking:
forms.party.label.confirmMoveChangehas malformed- >(spaces around the arrow). Use->or a clear separator (e.g.→/→text) consistently across all locales — this string is copied English-only into cs/de/es/pt/ru/zh as well.Re-review of head
a73bbaff(prior REQUEST_CHANGES#2936/#2938 ona6ca7815are stale vs this tip). Companion to beh#716. tip maind9b4c7e6= PR base; mergeable=true. CI statuses pending on this SHA (build-and-test + model-preview waiting).Still lang-only for the Party/DDUI work — 7 locale files (+ workflow pin of
mc-model-previewto Forgejo). No party UI JSON/DDUI screen in res. Do not merge res alone; gameplay depends on beh#716.Prior blockers still open (unchanged in this tip — only delta vs
a6ca7815is model-preview.yml):forms.party.label.*/ category strings remain English in every non-en_US locale (cs/de/es/pt/ru/zh).forms.party.label.confirmMoveChangestill has malformed- >(spaces around the arrow) in all locales — use->or a real localized separator.models.battleUtils.move.{currentPP,maxPP,accuracy}English-only outside en_US;common.default=Defaultuntranslated in non-en;database.pokemon.summary.separatorshortened in en_US only. Split those out or localize with the party keys.Translate (or omit non-en keys until localized), fix the arrow, drop/split unrelated keys. Nickname §cError: strip + DDUI title rewords still look intentional. Not merge-ready.
Still English in cs (same for de/es/pt/ru/zh). Translate these
forms.party.label.*/ category keys or keep them out of non-en locales until localized.Malformed separator
- >(spaces around arrow) — same string in every locale including en_US. Use->or a proper localized connector.Unrelated churn: separator shortened en_US-only. Split out of this Party DDUI lang PR unless intentional + mirrored.
Out-of-scope + English-only in non-en locales (
currentPP/maxPP/accuracy). Split or localize with the party keys.Follow-up on RC 2956/2965 (head
a73bbaffhasn't changed). This isn't a new review. The earlier findings still stand.New conflict: res main
b4a8343a(v3.1.1) now conflicts with this branch intexts/pt_BR.lang(L4547). It was mergeable when it was reviewed. The cause: #24 "Implement QOL Features" deletedmodels.battleUtils.error.ballMissedfrom every lang, and this branch fixes the§cEErrotypo on the adjacentcatchFailedline. Resolution: dropballMissed(BEH main no longer references it) and keep this branch's§cErro ao capturar Pokémon: %s. It's a one-line, mechanical fix. No other paths conflict.a73bbaff1da3c9172d0eReview at
a3c9172d(rebased onto maind529f65c).Blocker: the rebase reverted every lang file to an old snapshot. The PR diff is now only
texts/*.lang(7 files, +416 / -2117), and most of that is deleting keys that are live on main:pack.namegoes fromv3.1.3back tov2.21.1.en_US.langalone loses 283 lines, including all offorms.safariGuide.*,forms.igor.*,events.bike.*and the bike/wrap items and item groups, the Halloween items, bossbars, clown/pumpkin-killer armor,events.halloweenSpirit.*, the Safari Guide / Enzo / Igor / Frankenstein / Gravekeeper spawn eggs, most offorms.tradeMachine.*,commands.worldbosses.*,forms.questNpc.*,forms.quests.*,commands.titles.*,forms.lootScreen.*, and more. The other six locales do the same.tradeMachineerrors,battleUtils,starterPokemon.*,common.*,item.pokeb:candy_bag).Merging this would blank out names and text in-game for everything shipped since 2.21.1. It looks like the conflicts in
texts/were resolved by taking the branch side wholesale.Fix: start from main's
texts/*.langand add only the new party-form keys (forms.party.button.*,forms.party.title.edit*,forms.party.label.*,forms.party.category.*,forms.party.error.nickname*,forms.party.info.useCount,events.onInteract.confirm.setMoveSlot, plus any newtradeMachinekeys beh #716 actually uses). After that,git diff main -- texts/should be additions only. Also check that the 9forms.party.*keys this deletes aren't still used by beh #716 before you drop them.The earlier asset commits (
Add Present Assets,Fix Model Issue) no longer show up in the diff, so they're already on main. Fine to keep or squash them out.a3c9172d0e331d0c9ce6Still blocked at
331d0c9c. Squashed onto maind529f65cas "sync DDUI language files with main", but the diff is unchanged froma3c9172d(+416/-2117 across all 7 texts/.lang): it still deletes live main keys. In en_US alone that is 272 removed lines, including forms.tradeMachine (53), item.pokeb (41), events.bike (30), forms.safariGuide (14), commands.worldbosses (14), forms.trainer, forms.questNpc, forms.skins, forms.quests, commands.titles, forms.igor, boss., events.halloweenSpirit, forms.lootScreen. Same for the other 6 locales.Fix: start each lang file from current main and add only the new forms.party / DDUI keys (plus the few intentional edits) on top. The PR diff should be roughly additions-only; anything removed that is not forms.party should not be in it. See review 3381.
331d0c9ce6cac4ce7792Re-reviewed at
cac4ce77. The blocker from 3381/3382 is gone: the diff against maind529f65is now additions only (+147 across 7 lang files, 21 keys each), so no live keys get deleted anymore.Checked against beh #716 (
13ccb6d4):forms.party.*,common.*andmodels.battleUtils.move.*key #716 references now exists in res, and the arg counts in its generated langKeys all match the placeholders here (e.g.confirmMoveChange3,moveSlot2).Nits (non-blocking):
forms.party.label.confirmMoveChange:%2 - > %3has a stray space; should be->(or→).%1/%2, butmoveDescriptionand the threebattleUtils.move.*keys use%s. Pick one style per file section so translators aren't guessing.common.errorOccurredin a couple of them. Fine as a fallback, just flagging for translators.Select A New Move and Then Confirm...,Must Have 1 Non Empty Move); sentence case would read cleaner.Merge with or before beh #716; merging is Curry's call.
Re-review at
0d7d0d70("Refresh locale keys for party and changelog UI"). The lang refresh itself is clean: no live keys are deleted this time, it's 28 locales with +31/-5 each, and every new party/battleUtils key is referenced by beh #716 (304ceb7a). Two blockers, though.Blockers
models/blocks/trade_machine/trade_machine.geo.jsonis a stray duplicate.models/blocks/trade_machine.geo.json(from res #38/main) already definesgeometry.trade_machine, and this new file uses the same identifier at format 1.12.0, so which one wins depends on load order and you'll get a duplicate-geometry content-log error. It isn't part of the party/changelog work, so please drop it.forms.changeLog.label.discordLinknow ends in\n%s, butchangeLog.ts(both main and #716 304ceb7a) still callst('forms.changeLog.label.discordLink')with no arg andrawJoinsDISCORD_LINKafter it, so players see a literal%sbefore the link. Also,forms.changeLog.label.body1andbody2aren't referenced anywhere in beh, so the "Welcome back to PokeBedrock!!" line disappears: the title is now10/24/2026 - Changelog. Either land the matchingchangeLog.tschange in #716 or keep the old changelog strings here.Merge order (must)
common.error(nowError: %s),editNickName(now: %s) and the changelog keys change semantics for current beh main. Main still callst('common.error')with no arg in ModalFormCallback, ChestGuiCallback, ActionFormCallback, PlayerActor and tutorialConfig, andeditNickNamewith no arg in party.ts. So if this merges before beh #716, every error form title on prod readsError: %s. Merge only together with #716, which is still a conflicted WIP.Nits (carried from 3383)
%2 - > %3should be%2 -> %3.%1and%sare mixed within the same form set.errorOccurred).forms.changeLog.titlehardcodes a date that will go stale. Consider passing it as an arg.No open res issues to link.
Desk review @
2f30b037("Shorten party action labels").This push only touches 5 values in all 28 locales: forms.party.button.checkSummary, editHeldItem, editMoves, editSkin and setNickName. No keys were added or removed and no format args changed, so it is safe for beh #716.
Blocker (still open from 3390):
geometry.trade_machineis still defined twice: in the newmodels/blocks/trade_machine/trade_machine.geo.jsonand in the existingmodels/blocks/trade_machine.geo.jsonon main. Drop the new file, or rename its identifier and point the beh/res attachables at the new name.Should-fix: the shortened labels went back to English in many non-English locales that were translated before. "Summary", "Battle Moves" and "Pokemon Skin" are English in bg_BG, el_GR, fr_CA, fr_FR, hu_HU, ja_JP, ko_KR, ru_RU, sk_SK, tr_TR, uk_UA, zh_CN and zh_TW, and partly English in cs_CZ, da_DK, sv_SE and others. For example, fr_FR now reads "Summary / Objet tenu / Battle Moves / Pokemon Skin / Surnom". Either translate the new labels or keep the old translated values in those files.
Nits: use "Pokémon" with the accent to match the rest of the pack (en_US "Pokemon Skin", de_DE "Pokemon Skin"). In de_DE, "Gehaltenes Item" doesn't match the "Getragenes Item" wording used elsewhere.
The changelog key mismatch from 3390 looks resolved by beh #716 4225a8c1 (body1/body2 are used and discordLink takes the URL). This still has to merge together with beh #716.
Desk review @
81b972bd("Update party UI strings and add icon assets").Blocker (still open from 3390/3401)
geometry.trade_machineis still defined twice:models/blocks/trade_machine.geo.json(main) andmodels/blocks/trade_machine/trade_machine.geo.json(this branch). Drop the new one.Should-fix
forms.party.button.editSkin,checkSummary,setNickName) with only a\radded. en_US is clean. Please normalize to LF so the diff is only the real changes.forms.party.info.useCountregressed to English in all 27 non-en locales (de_DEVerwendungen: %1->Use Count: %1, etc.). Keep the existing translations and only drop the\n\nprefix.forms.party.label.editMoveswas renamed toeditMovein en_US only; the 27 other locales still carry the oldeditMoveskey next to the new one. Remove the dead key everywhere.Should-check
useCountlost its leading\n\n; confirm the beh #716 caller now adds its own spacing, or the line glues onto the previous text.forms.party.header(3 args),label.health/label.experience(2 args each) use%s; confirm the beh #716 call sites pass exactly those counts. The trailing literal%after%sshould render, but check it in-game.Nits
Merge only together with beh #716. Merge is Curry's call.
Desk review @
416877d6("Update party UI locale strings").Good progress against 3422:
\rleft in any of the 28 lang files.forms.party.label.editMovesis removed everywhere;editMoveexists in all 28 locales.forms.party.header,label.healthandlabel.experiencenow sit in the party block in every locale (no more EOF appends), and there are no duplicate keys in any file.Blocker (still open from 3390/3401/3422)
geometry.trade_machineis still defined twice:models/blocks/trade_machine.geo.json(main) andmodels/blocks/trade_machine/trade_machine.geo.json(this branch), both with the same identifier. Drop the new file.Should-fix
forms.party.info.useCountis still English (Use Count: %1) in all 28 locales. cs_CZ, de_DE, es_ES, ru_RU and zh_CN had real translations on the base (e.g. de_DEVerwendungen: %1); keep those and only drop the\n\nprefix.Should-check (carried from 3422)
useCountlost its leading\n\n; confirm the beh #716 caller adds its own spacing.header(3 args) andhealth/experience(2 args each) use%s; confirm the #716 call sites pass exactly those counts, and that the trailing literal%renders in-game.Nit
Still has to merge together with beh #716; merging is Curry's call.
Desk review @
446cfc67(Add move selector label to locale files)This push adds
forms.party.label.moveSelector=Move Selectorto all 28 locales, LF only, one line each, no dup keys. It matches beh #716 @7109107:party.ts:1244callst('forms.party.label.moveSelector')andlangKeys.tsdeclares it with 0 args. Good.Blocker (carried from 3390/3401/3422/3423): the duplicate
geometry.trade_machine(models/blocks/trade_machine/trade_machine.geo.jsonvs main'smodels/blocks/trade_machine.geo.json) is still in the PR. This commit only touches texts/.Should-fix (carried from 3423):
useCountis still English in cs_CZ/de_DE/es_ES/ru_RU/zh_CN, where base had translations.Nit:
moveSelectoris English in all 27 non-en locales. That's fine as a placeholder, but it's one more string for translators.Merge only together with beh #716.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.