From c7acd0fdcd3b9013f02ca5805af7a078a7eb7ffc Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Sat, 23 Nov 2019 19:26:20 +0100 Subject: [PATCH 1/2] Add missing translation string --- worldedit-core/src/main/resources/lang/strings.json | 1 + 1 file changed, 1 insertion(+) diff --git a/worldedit-core/src/main/resources/lang/strings.json b/worldedit-core/src/main/resources/lang/strings.json index 6eb93906b..932b77566 100644 --- a/worldedit-core/src/main/resources/lang/strings.json +++ b/worldedit-core/src/main/resources/lang/strings.json @@ -406,6 +406,7 @@ "worldedit.undo.none": "Nothing left to undo.", "worldedit.redo.undone": "Redid {0} available edits.", "worldedit.redo.none": "Nothing left to redo.", + "worldedit.redo.redid": "Redid {0} available edits.", "worldedit.clearhistory.cleared": "History cleared.", "worldedit.raytrace.noblock": "No block in sight!", From b4a3155ee72000a326baff088e84f3e3b73d8b1b Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Sat, 23 Nov 2019 19:34:03 +0100 Subject: [PATCH 2/2] Update translation string matching upstream --- .../main/java/com/sk89q/worldedit/command/HistoryCommands.java | 2 +- worldedit-core/src/main/resources/lang/strings.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/HistoryCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/HistoryCommands.java index 17ae7c346..8333aa83c 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/HistoryCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/HistoryCommands.java @@ -128,7 +128,7 @@ public class HistoryCommands { } } if (timesRedone > 0) { - player.printInfo(TranslatableComponent.of("worldedit.redo.redid", TextComponent.of(timesRedone))); + player.printInfo(TranslatableComponent.of("worldedit.redo.undone", TextComponent.of(timesRedone))); } else { player.printError(TranslatableComponent.of("worldedit.redo.none")); } diff --git a/worldedit-core/src/main/resources/lang/strings.json b/worldedit-core/src/main/resources/lang/strings.json index 932b77566..6eb93906b 100644 --- a/worldedit-core/src/main/resources/lang/strings.json +++ b/worldedit-core/src/main/resources/lang/strings.json @@ -406,7 +406,6 @@ "worldedit.undo.none": "Nothing left to undo.", "worldedit.redo.undone": "Redid {0} available edits.", "worldedit.redo.none": "Nothing left to redo.", - "worldedit.redo.redid": "Redid {0} available edits.", "worldedit.clearhistory.cleared": "History cleared.", "worldedit.raytrace.noblock": "No block in sight!",