mojira.dev
MC-311978

Some argument error strings introduce the invalid value with a colon instead of surrounding it with single quotes, unlike similar strings

The Bug:

Some argument error strings introduce the invalid value with a colon instead of surrounding it with single quotes, unlike similar strings.

Other argument error strings surround the invalid value with single quotes, for example argument.block.id.invalid, therefore introducing an inconsistency. The argument.enum.invalid string was changed to use single quotes in MC-309924.

Affected String(s):

Before reading the table, please note the following:

  • Characters colored in GREEN are correct.

  • Characters colored in RED are incorrect.

Translation Key

Current String

Expected String

String URL on Crowdin

argument.swing_animation.invalid

Unknown swing animation type: %s

Unknown swing animation type '%s'

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5440480

argument.gamemode.invalid

Unknown game mode: %s

Unknown game mode '%s'

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5344405

particle.notFound

Unknown particle: %s

Unknown particle '%s'

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5341828

recipe.notFound

Unknown recipe: %s

Unknown recipe '%s'

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5341834

advancement.advancementNotFound

Unknown advancement: %s

Unknown advancement '%s'

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5341832

argument.block.id.invalid

Unknown block type '%s'

Unknown block type '%s'

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5341850

argument.entity.options.mode.invalid

Invalid or unknown game mode '%s'

Invalid or unknown game mode '%s'

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5341880

argument.dimension.invalid

Unknown dimension '%s'

Unknown dimension '%s'

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5341810

argument.enum.invalid

Invalid value '%s'

Invalid value '%s'

https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5341610

Steps to Reproduce:

  1. Display any of the affected strings as listed above by using the command provided below and replacing "XYZ" with the string's translation key.

    /tellraw @s {"translate":"XYZ"}
  2. Look closely at how the value is presented within the string.

Observed Behavior:

The strings introduce the value with a colon.

Expected Behavior:

The strings would surround the value with single quotes.

Comments 0

No comments.

Avoma

(Unassigned)

Unconfirmed

Text

26.3

Retrieved