mojira.dev
MC-260711

Some words within "/datapack list" command feedback messages are always pluralized

The Bug:

Some words within "/datapack list" command feedback messages are 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.datapack.list.available.success

There are %s data packs available: %s

There is/are %s data pack(s) available: %s

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

commands.datapack.list.enabled.success

There are %s data packs enabled: %s

There is/are %s data pack(s) enabled: %s

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

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

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

Observed Behavior:

Some words are always pluralized.

Expected Behavior:

The said words would be correctly singularized or pluralized where appropriate.

Comments 1

I can confirm this; however, to ensure full translatability, it would be better to support more than just a plural and non-plural variant, but to also support dual or paucal for other languages via ICU message syntax on Crowdin.

Avoma

elvendorke

Confirmed

Platform

Low

Text

grammar, pluralization, spelling

1.19.3, 1.19.4 Pre-release 3, 1.19.4, 23w12a, 23w13a, 23w16a

1.20 Pre-release 2

Retrieved