mojira.dev
MC-311992

The code used to join a Realm is inconsistently referred to as both an "Invite Code" and a "Join Code"

The Bug:

The code used to join a realm is inconsistently referred to as both an "Invite Code" and a "Join Code".

Realms invite codes are new in 26.3. The Realm owner creates one on a screen titled "Invite Codes", using "Create Invite Code", and is told to "share them so people can join your Realm". The player who receives that code is asked for a "Join Code" on a screen titled "Enter Join Code". It is the same code, since the join screen passes what is typed to the game's own invite code redemption, which sends it back to the invite codes the owner created, and the 26.3 Snapshot 8 changelog calls it an invite code on this screen as well. The two names read as two different codes when only one exists, therefore introducing an inconsistency. The same problem was fixed for name tags and name plates in MC-307706.

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

mco.selectServer.joinCode

Join Code

Invite Code

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

mco.selectServer.joinCode.hint

Enter join code

Enter invite code

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

mco.selectServer.joinCode.title

Enter Join Code

Enter Invite Code

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

mco.configure.world.buttons.invite_codes

Invite Codes

Invite Codes

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

mco.configure.world.invite_codes.create

Create Invite Code

Create Invite Code

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

mco.configure.world.invite_codes.edit.title

Edit Invite Code

Edit Invite Code

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

mco.configure.world.invite_codes.subtitle

You can add up to %s invite codes and share them so people can join your Realm

You can add up to %s invite codes and share them so people can join your Realm

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

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 what the code is called within the string.

Observed Behavior:

The strings call the code a "join code".

Expected Behavior:

The strings would call the code an "invite code", as the screens that create it do.

The mco.selectServer.joinCode keys would then no longer match the text they hold. Mojang has renamed keys through the renamed section of deprecated.json before, for example attribute.name.nameplate_distance to attribute.name.name_tag_distance in MC-307706, so the same could be done here. The displayed strings are the issue being reported.

Comments 0

No comments.

Avoma

(Unassigned)

Confirmed

Realms

Normal

Text

26.3

Retrieved