From 78a9a8b7bc6853231120e2dea5b8844a7f64f80f Mon Sep 17 00:00:00 2001 From: ix0rai Date: Wed, 9 Oct 2024 20:25:18 -0500 Subject: [PATCH] change incorrect "superclass" label to "outer class" in identifier panel --- .../main/java/org/quiltmc/enigma/gui/panel/IdentifierPanel.java | 2 +- enigma/src/main/resources/lang/en_us.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/enigma-swing/src/main/java/org/quiltmc/enigma/gui/panel/IdentifierPanel.java b/enigma-swing/src/main/java/org/quiltmc/enigma/gui/panel/IdentifierPanel.java index 6315e7b29..305dd13ac 100644 --- a/enigma-swing/src/main/java/org/quiltmc/enigma/gui/panel/IdentifierPanel.java +++ b/enigma-swing/src/main/java/org/quiltmc/enigma/gui/panel/IdentifierPanel.java @@ -123,7 +123,7 @@ public void refreshReference() { th.addCopiableStringRow(I18n.translate("info_panel.identifier.obfuscated"), this.entry.getName()); if (ce.getParent() != null) { - th.addCopiableStringRow(I18n.translate("info_panel.identifier.superclass"), ce.getParent().getFullName()); + th.addCopiableStringRow(I18n.translate("info_panel.identifier.outer_class"), ce.getParent().getFullName()); } } else if (this.deobfEntry instanceof FieldEntry fe) { this.nameField = th.addRenameTextField(EditableType.FIELD, fe.getName()); diff --git a/enigma/src/main/resources/lang/en_us.json b/enigma/src/main/resources/lang/en_us.json index 2d3e1f2c9..f92790864 100644 --- a/enigma/src/main/resources/lang/en_us.json +++ b/enigma/src/main/resources/lang/en_us.json @@ -144,7 +144,7 @@ "info_panel.identifier.method": "Method", "info_panel.identifier.constructor": "Constructor", "info_panel.identifier.class": "Class", - "info_panel.identifier.superclass": "Superclass", + "info_panel.identifier.outer_class": "Outer class", "info_panel.identifier.obfuscated": "Obfuscated Name", "info_panel.identifier.type": "Type", "info_panel.identifier.method_descriptor": "Method Descriptor",