Skip to content

Commit

Permalink
Fix some small bugs in LANG
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed May 20, 2019
1 parent 3db3e45 commit 4857f46
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public BiomesSetCommand(Addon addon, CompositeCommand command)
public void setup()
{
this.setPermission("biomes.set");
this.setParametersHelp("biomes.commands.set.parameters");
this.setDescription("biomes.commands.set.description");
this.setParametersHelp("biomes.commands.user.set.parameters");
this.setDescription("biomes.commands.user.set.description");

this.setOnlyPlayer(true);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public BiomesObject(Biome biome, String world)
{
this.biome = biome;
this.world = world;
this.friendlyName = biome.name();
this.setUniqueId(world + "-" + this.biome.toString().toLowerCase());
}

Expand Down
15 changes: 9 additions & 6 deletions src/main/resources/locales/en-US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ biomes:
cancel: "Cancel"
input: "Input"

set-mode: "Set Mode"
increase-mode: "Increase Mode"
reduce-mode: "Reduce Mode"
multiply-mode: "Multiply Mode"
set-mode: "="
increase-mode: "+"
reduce-mode: "-"
multiply-mode: "*"
number: "[number]"

add-string: "Add String"
Expand Down Expand Up @@ -106,7 +106,7 @@ biomes:

save: "Allows to save current value and return to previous Menu."
cancel: "Allows to return to previous Menu without changes."
input: "Allows to open Anvil GUI that accepts only numbers as input."
input: "Allows to write number in AnvilGUI"

set-mode: "Allows to switch to set mode that will set current value to clicked number."
increase-mode: "Allows to switch to increase mode that will increase current value by clicked number."
Expand Down Expand Up @@ -174,6 +174,9 @@ biomes:
info:
description: "INFO command displays information about given biome."
parameters: "<biome>"
set:
description: "SET command allows to change biome <biome> on island. <type> and <size> is not required."
parameters: "<biome> [<type>] [<size>]"

errors:
unique-id: "&cUnique id &d[id]&c is not valid!"
Expand All @@ -191,7 +194,7 @@ biomes:
incorrect-object: "&cCannot find biome with given ID &d'[biome]'."

no-biomes: '&cBiomes are not implemented in current world!'
no-biomes-admin: '&cBiomes are not implemented in current world! You should use &5/[label] biomes &cto adding them!'
no-biomes-admin: '&cBiomes are not implemented in current world! You should use &5/[command] &cto adding them!'
missing-user: "&cUser is not defined."
missing-biome: "&cBiome is not defined."
wrong-icon: "&cGiven material &6[value]&c cannot be parsed to ItemStack."
Expand Down

0 comments on commit 4857f46

Please sign in to comment.