mojira.dev
MC-312102

The `disconnect.loginFailedInfo.invalidSession` string is improperly capitalized, unlike similar strings

The Bug:

The disconnect.loginFailedInfo.invalidSession string is improperly capitalized, unlike similar strings.

This string is shown when logging in to a server fails because the session is invalid, as "Failed to log in: Invalid session (Try restarting your game and the launcher)". The text in parentheses is part of the sentence, so its first word would not be capitalized. Other strings where the text in parentheses is part of a sentence start it in lowercase, even when it is an instruction or a complete sentence, for example "(restore with %1$s + %2$s)" and "(is there enough disk space?)", therefore introducing an inconsistency.

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

disconnect.loginFailedInfo.invalidSession

Invalid session (Try restarting your game and the launcher)

Invalid session (try restarting your game and the launcher)

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

commands.perf.started

Started a 10-second performance profiling run (use '/perf stop' to stop early)

Started a 10-second performance profiling run (use '/perf stop' to stop early)

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

inventory.hotbarSaved

Item hotbar saved (restore with %1$s + %2$s)

Item hotbar saved (restore with %1$s + %2$s)

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

commands.save.failed

Unable to save the game (is there enough disk space?)

Unable to save the game (is there enough disk space?)

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

Steps to Reproduce:

  1. Display the affected string as listed above by using the command provided below.

    /tellraw @s {"translate":"disconnect.loginFailedInfo.invalidSession"}
  2. Observe the string's capitalization.

Observed Behavior:

The said word is capitalized.

Expected Behavior:

The said word would not be capitalized.

Comments 0

No comments.

Avoma

(Unassigned)

Confirmed

Text

26.3, 26.4 Snapshot 1

Retrieved