mojira.dev
MC-312065

Some test coordinate strings are displayed with two sets of square brackets, unlike similar strings

The Bug:

Some test coordinate strings are displayed with two sets of square brackets, unlike similar strings.

The game already displays these strings within square brackets, so the coordinates display, for example, as "[Test coordinates: [12, 71, -30] in overworld]" instead of "[Test coordinates: 12, 71, -30 in overworld]". Other strings that the game displays within square brackets don't have square brackets of their own, for example chat.coordinates, which the "/locate" command displays as "[12, 71, -30]", therefore introducing an inconsistency.

Strings that display a position together with a rotation, such as commands.spawnpoint.success.single.new, also leave the position outside the square brackets, which only hold the rotation.

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

test.player.coordinates

Player coordinates: [%s, %s, %s] in %s

Player coordinates: %s, %s, %s in %s

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

test.run.coordinates

Test coordinates: [%s, %s, %s] in %s

Test coordinates: %s, %s, %s in %s

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

chat.coordinates

%s, %s, %s

%s, %s, %s

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

commands.test.coordinates

%s, %s, %s

%s, %s, %s

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

Steps to Reproduce:

  1. Go to the nether.

  2. Run the command provided below.

    /test run minecraft:always_pass
  3. Look at the coordinates messages displayed in chat once the test has finished.

Observed Behavior:

The coordinates are displayed within two sets of square brackets.

Expected Behavior:

The coordinates would be displayed within one set of square brackets.

Comments 0

No comments.

Avoma

(Unassigned)

Unconfirmed

Text

26.3, 26.4 Snapshot 1

Retrieved