mojira.dev
MC-257563

Translation key "container.isLocked" uses a variable instead of single strings for translation

The Bug:

The translation key container.isLocked ("%s is locked!") uses a variable instead of single strings for translation, which leads to grammatical errors in some translations due to dual use of strings, for example "Chest" in Swedish.

 

Translation Key

Current Output

Expected Output

String URL on Crowdin

container.isLocked

Kista är låst!

Kistan är låst!

https://crowdin.com/translate/minecraft/10038/enus-sv#5336132

subtitles.block.chest.locked

Kistan är låst

Kistan är låst

https://crowdin.com/translate/minecraft/10038/enus-sv#5338976

h3. Observed Behavior:

container.isLocked uses a variable and a single string, which inevitably leads to grammatically incorrect translations.

Expected Behavior:

container.isLocked doesn't use a variable and one string for each lockable container, which leads to no grammatically incorrect translations.

Linked issues

Attachments

Comments 3

I can confirm this behavior.

The Swedish translation for "subtitles.block.chest.locked" that is displayed within this ticket has since been updated to "Låst kista öppnas inte".

With that said, the strings that replace the variable in "container.isLocked" still limits an accurate translation meaning the issue persists.

[Mod] turbo

(Unassigned)

Confirmed

Platform

Low

Internationalisation

1.19.2, 22w45a, 1.19.3 Pre-release 1, 1.19.3 Pre-release 2, 1.19.3 Pre-release 3, , 1.21.1, 24w38a, 1.21.3, 1.21.4, 25w02a

Retrieved