From 27e2b952186f07fe9f02176a3adfdbb41ebf924c Mon Sep 17 00:00:00 2001 From: MattBDev <4009945+MattBDev@users.noreply.github.com> Date: Wed, 5 Feb 2020 17:35:56 -0500 Subject: [PATCH] Rename translation --- .../main/java/com/boydti/fawe/object/brush/SplineBrush.java | 4 ++-- .../main/java/com/boydti/fawe/object/brush/SurfaceSpline.java | 4 ++-- .../java/com/boydti/fawe/object/brush/sweep/SweepBrush.java | 4 ++-- worldedit-core/src/main/resources/lang/strings.json | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/worldedit-core/src/main/java/com/boydti/fawe/object/brush/SplineBrush.java b/worldedit-core/src/main/java/com/boydti/fawe/object/brush/SplineBrush.java index 938344f27..a49d65248 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/object/brush/SplineBrush.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/object/brush/SplineBrush.java @@ -94,7 +94,7 @@ public class SplineBrush implements Brush, ResettableTool { points.add(position); } this.positionSets.add(points); - player.print(TranslatableComponent.of("fawe.worldedit.brush.brush.spline.primary.2")); + player.print(TranslatableComponent.of("fawe.worldedit.brush.spline.primary.2")); if (!visualization) { return; } @@ -132,7 +132,7 @@ public class SplineBrush implements Brush, ResettableTool { } editSession.drawSpline(pattern, currentSpline, 0, 0, 0, 10, 0, true); } - player.print(TranslatableComponent.of("fawe.worldedit.brush.brush.spline.secondary")); + player.print(TranslatableComponent.of("fawe.worldedit.brush.spline.secondary")); if (visualization) { numSplines = originalSize; positionSets.remove(positionSets.size() - 1); diff --git a/worldedit-core/src/main/java/com/boydti/fawe/object/brush/SurfaceSpline.java b/worldedit-core/src/main/java/com/boydti/fawe/object/brush/SurfaceSpline.java index 1c1e4ba86..da76ee5e1 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/object/brush/SurfaceSpline.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/object/brush/SurfaceSpline.java @@ -39,7 +39,7 @@ public class SurfaceSpline implements Brush { if (max == -1) return; // pos.mutY(max); path.add(BlockVector3.at(pos.getBlockX(), max, pos.getBlockZ())); - editSession.getPlayer().print(TranslatableComponent.of("fawe.worldedit.brush.brush.spline.primary.2")); + editSession.getPlayer().print(TranslatableComponent.of("fawe.worldedit.brush.spline.primary.2")); if (!vis) return; } LocalBlockVectorSet vset = new LocalBlockVectorSet(); @@ -93,6 +93,6 @@ public class SurfaceSpline implements Brush { editSession.setBlocks(newSet, pattern); if (!vis) path.clear(); } - editSession.getPlayer().print(TranslatableComponent.of("fawe.worldedit.brush.brush.spline.secondary")); + editSession.getPlayer().print(TranslatableComponent.of("fawe.worldedit.brush.spline.secondary")); } } diff --git a/worldedit-core/src/main/java/com/boydti/fawe/object/brush/sweep/SweepBrush.java b/worldedit-core/src/main/java/com/boydti/fawe/object/brush/sweep/SweepBrush.java index 429078026..3ee21a6f5 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/object/brush/sweep/SweepBrush.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/object/brush/sweep/SweepBrush.java @@ -53,7 +53,7 @@ public class SweepBrush implements Brush, ResettableTool { return; } if (newPos) { - player.print(TranslatableComponent.of("fawe.worldedit.brush.brush.spline.primary.2")); + player.print(TranslatableComponent.of("fawe.worldedit.brush.spline.primary.2")); positions.add(position); return; } @@ -122,7 +122,7 @@ public class SweepBrush implements Brush, ResettableTool { break; } } - player.print(TranslatableComponent.of("fawe.worldedit.brush.brush.spline.secondary")); + player.print(TranslatableComponent.of("fawe.worldedit.brush.spline.secondary")); reset(); } diff --git a/worldedit-core/src/main/resources/lang/strings.json b/worldedit-core/src/main/resources/lang/strings.json index 81a6baeea..eb6b7b576 100644 --- a/worldedit-core/src/main/resources/lang/strings.json +++ b/worldedit-core/src/main/resources/lang/strings.json @@ -116,9 +116,9 @@ "fawe.worldedit.brush.brush.line.primary": "Added point {0}, click another position to create the line", "fawe.worldedit.brush.brush.catenary.direction": "Added point {0}, click the direction you want to create the spline", "fawe.worldedit.brush.brush.line.secondary": "Created spline", - "fawe.worldedit.brush.brush.spline.primary.2": "Added position, Click the same spot to join!", + "fawe.worldedit.brush.spline.primary.2": "Added position, Click the same spot to join!", "fawe.worldedit.brush.brush.spline.secondary.error": "Not enough positions set!", - "fawe.worldedit.brush.brush.spline.secondary": "Created spline", + "fawe.worldedit.brush.spline.secondary": "Created spline", "fawe.worldedit.brush.brush.size": "Brush size set", "fawe.worldedit.brush.brush.range": "Brush size set", "fawe.worldedit.brush.brush.mask.disabled": "Brush mask disabled",