mojira.dev
MC-312252

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

The Bug:

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

Other error strings surround the invalid value with single quotes, for example commands.data.modify.invalid_index and argument.nbt.array.invalid, therefore introducing an inconsistency. The same problem was fixed for other error strings in MC-311978 and 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

commands.data.modify.invalid_substring

Invalid substring indices: %s to %s

Invalid substring indices '%s' to '%s'

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

snbt.parser.invalid_codepoint

Invalid Unicode character value: %s

Invalid Unicode character value '%s'

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

snbt.parser.no_such_operation

No such operation: %s

No such operation '%s'

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

test.error.wrong_block_entity

Wrong block entity type: %s

Wrong block entity type '%s'

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

command.trailing_data

Trailing data found: %s

Trailing data found '%s'

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

test.error.invalid_block_type

Unexpected block type found: %s

Unexpected block type found '%s'

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

snbt.parser.number_parse_failure

Failed to parse number: %s

Failed to parse number '%s'

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

argument.block.id.invalid

Unknown block type '%s'

Unknown block type '%s'

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

commands.data.modify.invalid_index

Invalid list index '%s'

Invalid list index '%s'

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

argument.nbt.array.invalid

Invalid array type '%s'

Invalid array type '%s'

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

parsing.int.invalid

Invalid integer '%s'

Invalid integer '%s'

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

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

bl4ckscor3

Confirmed

Platform

Low

Text

26.3, 26.4 Snapshot 2

26.4 Snapshot 9

Retrieved