mojira.dev
MC-312294

Some command and game rule strings don't capitalize the game mode names "Creative Mode" and "Spectator Mode", unlike similar strings

The Bug:

Some command and game rule strings don't capitalize the game mode names "Creative Mode" and "Spectator Mode", unlike similar strings.

These strings write the names of the Creative and Spectator game modes in lowercase, while the names of the game modes are "Creative Mode" and "Spectator Mode", as shown by gameMode.creative and gameMode.spectator. Other strings capitalize the names, for example "Survival Mode" within selectWorld.gameMode.adventure.info, and the game displays the names capitalized when it inserts them into messages, such as "Your game mode has been updated to Creative Mode", therefore introducing an inconsistency. The same problem was fixed for "Survival Mode" in MC-259603. MC-277396 capitalized "Nether Portal" within the game rule strings, but not the names of the game modes.

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

advMode.notAllowed

Must be an opped player in creative mode

Must be an opped player in Creative Mode

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

commands.spectate.not_spectator

%s is not in spectator mode

%s is not in Spectator Mode

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

gamerule.playersNetherPortalCreativeDelay

Player's Nether Portal delay in creative mode

Player's Nether Portal delay in Creative Mode

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

gamerule.playersNetherPortalCreativeDelay.description

Time (in ticks) that a creative mode player needs to stand in a Nether Portal before changing dimensions.

Time (in ticks) that a Creative Mode player needs to stand in a Nether Portal before changing dimensions.

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

gamerule.playersNetherPortalDefaultDelay

Player's Nether Portal delay in non-creative mode

Player's Nether Portal delay in non-Creative Mode

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

gamerule.playersNetherPortalDefaultDelay.description

Time (in ticks) that a non-creative mode player needs to stand in a Nether Portal before changing dimensions.

Time (in ticks) that a non-Creative Mode player needs to stand in a Nether Portal before changing dimensions.

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

gameMode.creative

Creative Mode

Creative Mode

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

gameMode.spectator

Spectator Mode

Spectator Mode

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

selectWorld.gameMode.adventure.info

Same as Survival Mode, but blocks can't be added or removed.

Same as Survival Mode, but blocks can't be added or removed.

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

selectWorld.gameMode.hardcore.info

Survival Mode locked to 'Hard' difficulty. You can't respawn if you die.

Survival Mode locked to 'Hard' difficulty. You can't respawn if you die.

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

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"}

    In game, the game rule strings use the keys gamerule.minecraft.players_nether_portal_creative_delay, gamerule.minecraft.players_nether_portal_creative_delay.description, gamerule.minecraft.players_nether_portal_default_delay and gamerule.minecraft.players_nether_portal_default_delay.description, so use these keys for them instead.

  2. Observe the capitalization of the said words.

Observed Behavior:

The said words are not capitalized.

Expected Behavior:

The said words would be capitalized.

Comments 0

No comments.

Avoma

(Unassigned)

Confirmed

Text

26.3, 26.4 Snapshot 2

Retrieved