mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-01 02:46:41 +00:00
Remove support for pluralisation to match Minecraft and alleviate issues with over-complexity
This commit is contained in:
@ -345,11 +345,11 @@ public class ForwardExtentCopy implements Operation {
|
||||
@Override
|
||||
public Iterable<Component> getStatusMessages() {
|
||||
List<Component> messages = new ArrayList<>();
|
||||
messages.add(TranslatableComponent.of(pluraliseI18n("worldedit.operation.affected.block", affectedBlocks),
|
||||
messages.add(TranslatableComponent.of("worldedit.operation.affected.block",
|
||||
TextComponent.of(affectedBlocks)).color(TextColor.LIGHT_PURPLE));
|
||||
messages.add(TranslatableComponent.of(pluraliseI18n("worldedit.operation.affected.biome", affectedBiomeCols),
|
||||
messages.add(TranslatableComponent.of("worldedit.operation.affected.biome",
|
||||
TextComponent.of(affectedBiomeCols)).color(TextColor.LIGHT_PURPLE));
|
||||
messages.add(TranslatableComponent.of(pluraliseI18n("worldedit.operation.affected.entity", affectedEntities),
|
||||
messages.add(TranslatableComponent.of("worldedit.operation.affected.entity",
|
||||
TextComponent.of(affectedEntities)).color(TextColor.LIGHT_PURPLE));
|
||||
|
||||
return messages;
|
||||
|
@ -189,7 +189,7 @@ public abstract class BreadthFirstSearch implements Operation {
|
||||
@Override
|
||||
public Iterable<Component> getStatusMessages() {
|
||||
return Lists.newArrayList(TranslatableComponent.of(
|
||||
pluraliseI18n("worldedit.operation.affected.block", getAffected()),
|
||||
"worldedit.operation.affected.block",
|
||||
TextComponent.of(getAffected())
|
||||
).color(TextColor.LIGHT_PURPLE));
|
||||
}
|
||||
|
@ -86,7 +86,7 @@ public class EntityVisitor implements Operation {
|
||||
@Override
|
||||
public Iterable<Component> getStatusMessages() {
|
||||
return Lists.newArrayList(TranslatableComponent.of(
|
||||
pluraliseI18n("worldedit.operation.affected.entity", getAffected()),
|
||||
"worldedit.operation.affected.entity",
|
||||
TextComponent.of(getAffected())
|
||||
).color(TextColor.LIGHT_PURPLE));
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ public class FlatRegionVisitor implements Operation {
|
||||
@Override
|
||||
public Iterable<Component> getStatusMessages() {
|
||||
return Lists.newArrayList(TranslatableComponent.of(
|
||||
pluraliseI18n("worldedit.operation.affected.column", getAffected()),
|
||||
"worldedit.operation.affected.column",
|
||||
TextComponent.of(getAffected())
|
||||
).color(TextColor.LIGHT_PURPLE));
|
||||
}
|
||||
|
@ -74,7 +74,7 @@ public class RegionVisitor implements Operation {
|
||||
@Override
|
||||
public Iterable<Component> getStatusMessages() {
|
||||
return Lists.newArrayList(TranslatableComponent.of(
|
||||
pluraliseI18n("worldedit.operation.affected.block", getAffected()),
|
||||
"worldedit.operation.affected.block",
|
||||
TextComponent.of(getAffected())
|
||||
).color(TextColor.LIGHT_PURPLE));
|
||||
}
|
||||
|
Reference in New Issue
Block a user