Implement QOL Features #24

Merged
smell-of-curry merged 3 commits from feature/qol-updates into main 2026-10-17 18:51:09 +00:00
Member

Lang for pokebedrock/pokebedrock-beh#780

  • events.claimManager.error.tooSmall is updated in place (%1 side, %2 area, §c kept). The duplicate at the top of each file is gone.
  • Skip-evolution prompt strings.
  • Rare candy slider string.
  • Removed unused models.battleUtils.error.ballMissed and models.player.bag.error.missed.

Non-English files use the English fallback for the changed strings.

Lang for https://git.pokebedrock.com/pokebedrock/pokebedrock-beh/pulls/780 - `events.claimManager.error.tooSmall` is updated in place (`%1` side, `%2` area, `§c` kept). The duplicate at the top of each file is gone. - Skip-evolution prompt strings. - Rare candy slider string. - Removed unused `models.battleUtils.error.ballMissed` and `models.player.bag.error.missed`. Non-English files use the English fallback for the changed strings.
Add evolution skip animation prompt
All checks were successful
Auto Assign / run (pull_request_target) Successful in 2s
CI / build-and-test (20.x) (pull_request) Successful in 39s
Model Preview / model-preview (pull_request) Successful in 1m27s
9e04867fb6
smell-of-curry was assigned by forgejo-actions 2026-10-17 05:53:03 +00:00
bot requested changes 2026-10-17 05:54:34 +00:00
Dismissed
bot left a comment

Review at 9e04867f (res companion to beh feature/qol-updates).

Blocker: events.claimManager.error.tooSmall is now defined twice in every lang file. The new line 3 was added, but the original key further down (around L4095 in en_US/de_DE/es_ES) was never removed or edited. That leaves the file ambiguous, and the old stale "Greater Than or Equal to 10" line comes later, so in practice players will likely keep seeing the old message instead of the new %1x%1 text. Edit the existing key in place in its events.claimManager section and drop the line 3 copies.

Also: the non-English copies just repeat the old "≥ 10" wording, which is wrong now that the beh side enforces a 3x3 minimum and passes with: [size, area]. They need the %1/%2 placeholders too (an English fallback is fine until translators catch up).

The skipAnimation keys look right: placeholder counts match beh langKeys.ts (title 1, body 2, buttons 0), and %1 style matches the newer keys. They're English in all 6 non-en files, which is fine as a fallback, just flagging it for translation follow-up.

Nit: PR body is empty. Please link the companion beh branch/PR so the two get merged together.

Review at 9e04867f (res companion to beh `feature/qol-updates`). Blocker: `events.claimManager.error.tooSmall` is now defined twice in every lang file. The new line 3 was added, but the original key further down (around L4095 in en_US/de_DE/es_ES) was never removed or edited. That leaves the file ambiguous, and the old stale "Greater Than or Equal to 10" line comes later, so in practice players will likely keep seeing the old message instead of the new `%1x%1` text. Edit the existing key in place in its `events.claimManager` section and drop the line 3 copies. Also: the non-English copies just repeat the old "≥ 10" wording, which is wrong now that the beh side enforces a 3x3 minimum and passes `with: [size, area]`. They need the `%1`/`%2` placeholders too (an English fallback is fine until translators catch up). The skipAnimation keys look right: placeholder counts match beh `langKeys.ts` (title 1, body 2, buttons 0), and `%1` style matches the newer keys. They're English in all 6 non-en files, which is fine as a fallback, just flagging it for translation follow-up. Nit: PR body is empty. Please link the companion beh branch/PR so the two get merged together.
@ -1,5 +1,6 @@
pack.name=§lPokeBedrock v3.1.0 RES
pack.description=§aEin High-Level-Pokémon-Addon von Smell of curry erstellt für Minecraft Bedrock
events.claimManager.error.tooSmall=§cUngültige Auswahl, Claimgröße muss größer oder gleich 10 sein!
Member

Same duplicate-key problem here and in cs_CZ, es_ES, pt_BR, ru_RU and zh_CN: line 3 just copies the existing (~L4095) value word for word. It also keeps the stale "≥ 10" wording, which no longer matches the beh rule (3x3 minimum, with %1 = side length and %2 = total area passed in). Fix the existing key in place in each locale with the %1/%2 placeholders (English fallback is OK), and delete these line 3 copies.

Same duplicate-key problem here and in cs_CZ, es_ES, pt_BR, ru_RU and zh_CN: line 3 just copies the existing (~L4095) value word for word. It also keeps the stale "≥ 10" wording, which no longer matches the beh rule (3x3 minimum, with `%1` = side length and `%2` = total area passed in). Fix the existing key in place in each locale with the `%1`/`%2` placeholders (English fallback is OK), and delete these line 3 copies.
@ -1,5 +1,6 @@
pack.name=§lPokeBedrock v3.1.0 RES
pack.description=§aA High Level Pokemon Addon Created by Smell of curry for Minecraft Bedrock
events.claimManager.error.tooSmall=Claims must be at least %1x%1 blocks (%2 blocks total).
Member

Duplicate key. events.claimManager.error.tooSmall already exists in the events.claimManager block (~L4095) with the old "≥ 10" text, and that later line is the one most likely to win. Update that line in place instead of adding a second definition here. Keep the §c prefix too, since every sibling events.claimManager.error.* string is red and this one dropped it:

events.claimManager.error.tooSmall=§cClaims must be at least %1x%1 blocks (%2 blocks total).

Duplicate key. `events.claimManager.error.tooSmall` already exists in the `events.claimManager` block (~L4095) with the old "≥ 10" text, and that later line is the one most likely to win. Update that line in place instead of adding a second definition here. Keep the `§c` prefix too, since every sibling `events.claimManager.error.*` string is red and this one dropped it: `events.claimManager.error.tooSmall=§cClaims must be at least %1x%1 blocks (%2 blocks total).`
bot force-pushed feature/qol-updates from 9e04867fb6
All checks were successful
Auto Assign / run (pull_request_target) Successful in 2s
CI / build-and-test (20.x) (pull_request) Successful in 39s
Model Preview / model-preview (pull_request) Successful in 1m27s
to ae97fee9e7
All checks were successful
CI / build-and-test (20.x) (pull_request) Successful in 41s
Model Preview / model-preview (pull_request) Successful in 1m33s
2026-10-17 17:28:40 +00:00
Compare
bot approved these changes 2026-10-17 17:29:48 +00:00
Dismissed
bot left a comment

Re-review at ae97fee9.

Both blockers from my last review are fixed. events.claimManager.error.tooSmall is now edited in place in its events.claimManager block in all 7 locales, so there's no duplicate key, it keeps the §c prefix, and it uses %1/%2, which matches beh #780 (langKeys count 2, with: [size, area]).

Checked against beh #780 at fe5e60c1:

  • skipAnimation title/body/buttons placeholder counts match (1/2/0/0).
  • events.onInteract.slider.giveRareCandy (0 args) matches the addSlider call.
  • Dropping models.battleUtils.error.ballMissed and models.player.bag.error.missed matches beh removing both keys and their call sites.

Non-blocking:

  • Every file now ends with an extra blank line (inline on en_US). Please drop it so the EOF stays the way it was.
  • tooSmall, the skipAnimation keys and giveRareCandy are English in cs_CZ/de_DE/es_ES/pt_BR/ru_RU/zh_CN. That's fine as a fallback, but they need a translation pass later.
  • The PR body is still empty. Please link pokebedrock/pokebedrock-beh#780 so the two get merged together; this res PR has to land with or before beh #780, or players will see raw keys.

CI (build-and-test, model-preview) was still pending when I reviewed, so this approval covers the lang content only. Merge once CI is green and it's paired with beh #780.

Re-review at ae97fee9. Both blockers from my last review are fixed. `events.claimManager.error.tooSmall` is now edited in place in its `events.claimManager` block in all 7 locales, so there's no duplicate key, it keeps the `§c` prefix, and it uses `%1`/`%2`, which matches beh #780 (`langKeys` count 2, `with: [size, area]`). Checked against beh #780 at fe5e60c1: - `skipAnimation` title/body/buttons placeholder counts match (1/2/0/0). - `events.onInteract.slider.giveRareCandy` (0 args) matches the `addSlider` call. - Dropping `models.battleUtils.error.ballMissed` and `models.player.bag.error.missed` matches beh removing both keys and their call sites. Non-blocking: - Every file now ends with an extra blank line (inline on en_US). Please drop it so the EOF stays the way it was. - `tooSmall`, the skipAnimation keys and `giveRareCandy` are English in cs_CZ/de_DE/es_ES/pt_BR/ru_RU/zh_CN. That's fine as a fallback, but they need a translation pass later. - The PR body is still empty. Please link https://git.pokebedrock.com/pokebedrock/pokebedrock-beh/pulls/780 so the two get merged together; this res PR has to land with or before beh #780, or players will see raw keys. CI (build-and-test, model-preview) was still pending when I reviewed, so this approval covers the lang content only. Merge once CI is green and it's paired with beh #780.
@ -11919,3 +11922,4 @@ commands.spawnrate.success=Spawn rate settings updated.
phud.playerPing.label=Current Ping:
message.rewards.grantError=§cFailed to give reward %s, please report this in the discord.\nError: %s
Member

Nit: this adds an extra trailing blank line at EOF. The same happens in all 7 locale files, so please drop it in each one.

Nit: this adds an extra trailing blank line at EOF. The same happens in all 7 locale files, so please drop it in each one.
bot approved these changes 2026-10-17 17:30:05 +00:00
bot left a comment

Re-review at ae97fee9 (fixes from 9e04867f REQUEST_CHANGES).

Prior blockers are cleared: events.claimManager.error.tooSmall is edited in place in the claimManager section (no duplicate), keeps §c, and uses %1/%2 to match beh t(..., MIN_CLAIM_SIZE, MIN_CLAIM_BLOCK_AREA) / langKeys arity 2. Skip-animation keys still match PokemonEntity (title 1, body 2, buttons 0). Rare-candy slider key matches on_interact / langKeys arity 0. Unused ball-miss keys are gone. PR body now links beh #780.

English fallbacks in the non-en locales for the changed strings are fine until translators catch up. Merge with beh #780.

Re-review at ae97fee9 (fixes from 9e04867f REQUEST_CHANGES). Prior blockers are cleared: `events.claimManager.error.tooSmall` is edited in place in the claimManager section (no duplicate), keeps `§c`, and uses `%1`/`%2` to match beh `t(..., MIN_CLAIM_SIZE, MIN_CLAIM_BLOCK_AREA)` / langKeys arity 2. Skip-animation keys still match PokemonEntity (`title` 1, `body` 2, buttons 0). Rare-candy slider key matches `on_interact` / langKeys arity 0. Unused ball-miss keys are gone. PR body now links beh #780. English fallbacks in the non-en locales for the changed strings are fine until translators catch up. Merge with beh #780.
bot left a comment

Addressed on ae97fee9e. This Forgejo build returns 405 for review-comment replies and resolve, so the answers are here.

  • 12993 Dropped the line-3 copy. The existing events.claimManager.error.tooSmall line is updated in place and keeps the §c prefix: Claims must be at least %1x%1 blocks (%2 blocks total).
  • 12994 Same for de_DE, cs_CZ, es_ES, pt_BR, ru_RU, and zh_CN. The old ">= 10" text is gone. Non-English files use that English fallback so %1 and %2 still substitute.

Also added events.onInteract.slider.giveRareCandy and removed models.battleUtils.error.ballMissed and models.player.bag.error.missed. Companion: pokebedrock/pokebedrock-beh#780

Addressed on `ae97fee9e`. This Forgejo build returns 405 for review-comment replies and resolve, so the answers are here. - **12993** Dropped the line-3 copy. The existing `events.claimManager.error.tooSmall` line is updated in place and keeps the `§c` prefix: `Claims must be at least %1x%1 blocks (%2 blocks total).` - **12994** Same for de_DE, cs_CZ, es_ES, pt_BR, ru_RU, and zh_CN. The old ">= 10" text is gone. Non-English files use that English fallback so `%1` and `%2` still substitute. Also added `events.onInteract.slider.giveRareCandy` and removed `models.battleUtils.error.ballMissed` and `models.player.bag.error.missed`. Companion: https://git.pokebedrock.com/pokebedrock/pokebedrock-beh/pulls/780
smell-of-curry referenced this pull request from a commit 2026-10-17 18:50:46 +00:00
smell-of-curry referenced this pull request from a commit 2026-10-17 18:51:12 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pokebedrock/pokebedrock-res!24
No description provided.