mojira.dev
MC-119873

The text used for the credits button within the title screen is untranslatable

The Bug:

The "Copyright Mojang AB. Do not distribute!" text used for the credits button within the title screen is untranslatable and is missing a translation key.

Steps to Reproduce:

  1. Attempt to search for the existence of this string by using this search filter on the official Minecraft crowdin project.

  2. Take note as to whether or not the text used for the credits button within the title screen is untranslatable.

Observed Behavior:

The text used for the credits button within the title screen is untranslatable.

Expected Behavior:

The text used for the credits button within the title screen would be translatable.

Code Analysis:

Code analysis by @unknown can be found below.

The following is based on a decompiled version of Minecraft 1.18.1 using MCP-Reborn.

net.minecraft.client.gui.screens.TitleScreen.java

public class TitleScreen extends Screen {
   ...
   public void render(PoseStack $ps, int $i0, int $i1, float $f) {
      ...
      int l = Mth.ceil(f1 * 255.0F) << 24;
      if ((l & -67108864) != 0) {
         ...
         drawString($ps, this.font, "Copyright Mojang AB. Do not distribute!", this.copyrightX, this.height - 10, 16777215 | l);
         ...

If we look at the above class, we can see that the text used for the credits button within the title screen is hardcoded, and as a result, is untranslatable. This is evident through the following piece of code:

drawString($ps, this.font, "Copyright Mojang AB. Do not distribute!", ...

Linked issues

Attachments

Comments

bemoty

Can confirm for MC 1.12.1.

Oval

Confirmed for 1.13.1, however this does not have a translation for Crowdin so its most likely intended to not be translateable since copy right.

Mateus Pereira Milbradt

Affects 1.16.3

user-f2760

I feel like this should not be translatable for the reason that wording might change based on the translation, potentially inverting the meaning. For legal liability, it would be best if it wasn't translated.

NBG-bootmgr

1.13.1

John Chen

Avoma

slicedlime

Confirmed

Low

Text

translatability

Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, ..., 1.19.2, 22w43a, 1.19.3, 1.19.4, 1.20.1

1.20.2 Pre-release 1

Retrieved