Rename translation

This commit is contained in:
MattBDev 2020-02-05 17:35:56 -05:00
parent f9e7b7300e
commit 27e2b95218
4 changed files with 8 additions and 8 deletions

View File

@ -94,7 +94,7 @@ public class SplineBrush implements Brush, ResettableTool {
points.add(position); points.add(position);
} }
this.positionSets.add(points); 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) { if (!visualization) {
return; return;
} }
@ -132,7 +132,7 @@ public class SplineBrush implements Brush, ResettableTool {
} }
editSession.drawSpline(pattern, currentSpline, 0, 0, 0, 10, 0, true); 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) { if (visualization) {
numSplines = originalSize; numSplines = originalSize;
positionSets.remove(positionSets.size() - 1); positionSets.remove(positionSets.size() - 1);

View File

@ -39,7 +39,7 @@ public class SurfaceSpline implements Brush {
if (max == -1) return; if (max == -1) return;
// pos.mutY(max); // pos.mutY(max);
path.add(BlockVector3.at(pos.getBlockX(), max, pos.getBlockZ())); 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; if (!vis) return;
} }
LocalBlockVectorSet vset = new LocalBlockVectorSet(); LocalBlockVectorSet vset = new LocalBlockVectorSet();
@ -93,6 +93,6 @@ public class SurfaceSpline implements Brush {
editSession.setBlocks(newSet, pattern); editSession.setBlocks(newSet, pattern);
if (!vis) path.clear(); 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"));
} }
} }

View File

@ -53,7 +53,7 @@ public class SweepBrush implements Brush, ResettableTool {
return; return;
} }
if (newPos) { 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); positions.add(position);
return; return;
} }
@ -122,7 +122,7 @@ public class SweepBrush implements Brush, ResettableTool {
break; break;
} }
} }
player.print(TranslatableComponent.of("fawe.worldedit.brush.brush.spline.secondary")); player.print(TranslatableComponent.of("fawe.worldedit.brush.spline.secondary"));
reset(); reset();
} }

View File

@ -116,9 +116,9 @@
"fawe.worldedit.brush.brush.line.primary": "Added point {0}, click another position to create the line", "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.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.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.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.size": "Brush size set",
"fawe.worldedit.brush.brush.range": "Brush size set", "fawe.worldedit.brush.brush.range": "Brush size set",
"fawe.worldedit.brush.brush.mask.disabled": "Brush mask disabled", "fawe.worldedit.brush.brush.mask.disabled": "Brush mask disabled",