Skip to content

Commit

Permalink
Fix backup screen translation keys
Browse files Browse the repository at this point in the history
  • Loading branch information
NotRyken committed Nov 26, 2024
1 parent 4489183 commit 9011952
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static Screen getConfigScreen(Screen parent) {
try {
return ClothScreenProvider.getConfigScreen(parent);
} catch (NoClassDefFoundError ignored) {
return new BackupScreen(parent, "installCloth", "https://modrinth.com/mod/9s6osm5g");
return new BackupScreen(parent, "install_cloth", "https://modrinth.com/mod/9s6osm5g");
}
}

Expand All @@ -68,7 +68,7 @@ public void init() {
messageWidget.setCentered(true);
addRenderableWidget(messageWidget);

Button openLinkButton = Button.builder(localized("message", "viewModrinth"),
Button openLinkButton = Button.builder(localized("message", "go_modrinth"),
(button) -> minecraft.setScreen(new ConfirmLinkScreen(
(open) -> {
if (open) Util.getPlatform().openUri(modUrl);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,5 +123,3 @@ private void renderBackgroundRow(GuiGraphics graphics, int i, int vOffset, int y
graphics.blitSprite(BACKGROUND_SPRITE, 160, 32, 160 - n, vOffset, i - n, y, n, vHeight);
}
}


0 comments on commit 9011952

Please sign in to comment.