mojira.dev
MC-188265

The word "blocks" within some "/locate" command feedback messages is always pluralized

The Bug:

The word "blocks" within some "/locate" command feedback messages is always pluralized.

This is an issue because when the value before the given noun is "1", the noun's plural form is used instead of its singular one, therefore making the string grammatically incorrect in some cases.

Affected Strings:

Before reading the table, please note the following:

  • Words colored in GREEN are correct.

  • Words colored in RED are incorrect.

 

Translation Key

Current String

Expected String

String URL on Crowdin

commands.locate.biome.success

The nearest %s is at %s (%s blocks away)

The nearest %s is at %s (%s block(s) away)

https://crowdin.com/translate/minecraft/10038/enus-engb#5341660 

commands.locate.poi.success

The nearest %s is at %s (%s blocks away)

The nearest %s is at %s (%s block(s) away)

https://crowdin.com/translate/minecraft/10038/enus-engb#5341666 

commands.locate.structure.success

The nearest %s is at %s (%s blocks away)

The nearest %s is at %s (%s block(s) away)

https://crowdin.com/translate/minecraft/10038/enus-engb#5341654 

Alternatively, instead of having one string cover both the plural and non-plural variants of the word, two separate translation strings could be created, one of which covers the plural variant and the other that covers the non-plural variant.

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 the affected word within the string.

  3. Take note as to whether or not some words within "/clear" command feedback messages are always pluralized.

Observed Behavior:

The word "blocks" is always pluralized.

Expected Behavior:

The word "blocks" would be correctly singularized or pluralized where appropriate.

Linked issues

Attachments

Comments 5

Why isn't this going to be fixed?

Mojang moves in mysterious ways...

Confirmed in 1.20.1, 1.20.2 and 23w46a.

I have been unable to reproduce this bug in an actual in-game scenario. The translation string hasn’t changed, but the behaviour of {{/locate}} seems to have changed, because it now reports biomes as being at least 32 blocks away if you are not already in the biome. For example, in the screenshot below, I walked one block in between running the locate commands:

[media]

I did some testing to attempt to find a point that will report as 1 block away from a beach biome, but didn’t find any. The results are shown in the image below, with emerald blocks placed where the biome was reported as 32 blocks away, melon blocks where it was 45 blocks away, and chiseled stone bricks where it was 0 blocks away.

[media]

This means that it is now impossible for the command to report “1 blocks away”, meaning this issue is now impossible to observe.

Alternatively, it’s possible that the new behaviour of /locate is itself a bug - do let me know if there’s a report I am unaware of.

“1 blocks away” can still show up when using /locate structure and /locate poi in 1.21.6 pre1.

[media]

[media]

mattp12

(Unassigned)

Confirmed

Platform

Low

Commands, Text

grammar, pluralization, spelling

1.16 Pre-release 2, 1.19.4 Pre-release 3, 1.19.4 Pre-release 4, 1.19.4 Release Candidate 1, 1.19.4 Release Candidate 2, ..., 25w02a, 25w03a, 25w04a, 25w05a, 25w06a

Retrieved