mojira.dev
MC-203095

/xp command feedback is always pluralized regardless of value input

The Bug
When doing /xp add @s for 1 point/level of experience the text says "experience points" or "experience levels" despite only being one point/level

Replicate

  • Do /xp add @s 1 or /xp add @s 1 levels
    ❌ Notice that it says points or levels instead of point or level

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.experience.add.points.success.single

Gave %s experience points to %s

Gave %s experience point(s) to %s

https://crowdin.com/translate/minecraft/9885/enus-engb#5269809 

commands.experience.add.points.success.multiple

Gave %s experience points to %s players

Gave %s experience point(s) to %s players

https://crowdin.com/translate/minecraft/9885/enus-engb#5269811 

commands.experience.add.levels.success.single

Gave %s experience levels to %s

Gave %s experience level(s) to %s

https://crowdin.com/translate/minecraft/9885/enus-engb#5269813 

commands.experience.add.levels.success.multiple

Gave %s experience levels to %s players

Gave %s experience level(s) to %s players

https://crowdin.com/translate/minecraft/9885/enus-engb#5269815 

commands.experience.set.points.success.single

Set %s experience points on %s

Set %s experience point(s) on %s

https://crowdin.com/translate/minecraft/9885/enus-engb#5269817 

commands.experience.set.points.success.multiple

Set %s experience points on %s players

Set %s experience point(s) on %s players

https://crowdin.com/translate/minecraft/9885/enus-engb#5269819 

commands.experience.set.levels.success.single

Set %s experience levels on %s

Set %s experience level(s) on %s

https://crowdin.com/translate/minecraft/9885/enus-engb#5269821 

commands.experience.set.levels.success.multiple

Set %s experience levels on %s players

Set %s experience level(s) on %s players

https://crowdin.com/translate/minecraft/9885/enus-engb#5269823 

commands.experience.query.points

%s has %s experience points

%s has %s experience point(s)

https://crowdin.com/translate/minecraft/9885/enus-engb#5269825 

commands.experience.query.levels

%s has %s experience levels

%s has %s experience level(s)

https://crowdin.com/translate/minecraft/9885/enus-engb#5269827 

Attachments

Comments 15

Hello! I can confirm in 1.16.4-rc1.

Can confirm in 21w03a.

Can confirm in 21w05b.

Can confirm in 21w06a.

Can confirm in 21w07a.

5 more comments

Can confirm in 1.18.2 and 22w11a.

Can confirm in 1.19.

Can confirm in 1.19.2. This ticket relates to MC-255060.

It's important to note that this issue doesn't only affect "commands.experience.add.points.success.single" ("Gave %s experience points to %s") and "commands.experience.add.levels.success.single" ("Gave %s experience levels to %s"); this can also be seen with eight other strings. I've listed all occurrences of this issue throughout the game's strings below.

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.experience.add.points.success.single

Gave %s experience points to %s

Gave %s experience point(s) to %s

https://crowdin.com/translate/minecraft/9885/enus-engb#5269809 

commands.experience.add.points.success.multiple

Gave %s experience points to %s players

Gave %s experience point(s) to %s players

https://crowdin.com/translate/minecraft/9885/enus-engb#5269811 

commands.experience.add.levels.success.single

Gave %s experience levels to %s

Gave %s experience level(s) to %s

https://crowdin.com/translate/minecraft/9885/enus-engb#5269813 

commands.experience.add.levels.success.multiple

Gave %s experience levels to %s players

Gave %s experience level(s) to %s players

https://crowdin.com/translate/minecraft/9885/enus-engb#5269815 

commands.experience.set.points.success.single

Set %s experience points on %s

Set %s experience point(s) on %s

https://crowdin.com/translate/minecraft/9885/enus-engb#5269817 

commands.experience.set.points.success.multiple

Set %s experience points on %s players

Set %s experience point(s) on %s players

https://crowdin.com/translate/minecraft/9885/enus-engb#5269819 

commands.experience.set.levels.success.single

Set %s experience levels on %s

Set %s experience level(s) on %s

https://crowdin.com/translate/minecraft/9885/enus-engb#5269821 

commands.experience.set.levels.success.multiple

Set %s experience levels on %s players

Set %s experience level(s) on %s players

https://crowdin.com/translate/minecraft/9885/enus-engb#5269823 

commands.experience.query.points

%s has %s experience points

%s has %s experience point(s)

https://crowdin.com/translate/minecraft/9885/enus-engb#5269825 

commands.experience.query.levels

%s has %s experience levels

%s has %s experience level(s)

https://crowdin.com/translate/minecraft/9885/enus-engb#5269827 

anthony cicinelli

(Unassigned)

Confirmed

Text

text

1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, ..., 1.20, 1.20.1, 1.20.4, 1.21.4, 25w03a

Retrieved