Moved world dimensions names to 'general.worlds' in en-US

This commit is contained in:
Florian CUNY 2020-01-18 11:21:11 +01:00
parent 0559a86e8d
commit 44354175e4
2 changed files with 13 additions and 6 deletions

View File

@ -61,9 +61,15 @@ public class BlueprintManagementPanel {
this.plugin = plugin; this.plugin = plugin;
this.user = user; this.user = user;
this.addon = addon; this.addon = addon;
normalBlueprint = new Blueprint().setIcon(Material.GREEN_STAINED_GLASS_PANE).setName(t("normal")).setDescription(t(INSTRUCTION)); normalBlueprint = new Blueprint().setIcon(Material.GREEN_STAINED_GLASS_PANE)
netherBlueprint = new Blueprint().setIcon(Material.RED_STAINED_GLASS_PANE).setName(t("nether")).setDescription(t(INSTRUCTION)); .setName(user.getTranslation("general.worlds.overworld"))
endBlueprint = new Blueprint().setIcon(Material.YELLOW_STAINED_GLASS_PANE).setName(t("end")).setDescription(t(INSTRUCTION)); .setDescription(t(INSTRUCTION));
netherBlueprint = new Blueprint().setIcon(Material.RED_STAINED_GLASS_PANE)
.setName(user.getTranslation("general.worlds.nether"))
.setDescription(t(INSTRUCTION));
endBlueprint = new Blueprint().setIcon(Material.YELLOW_STAINED_GLASS_PANE)
.setName(user.getTranslation("general.worlds.the-end"))
.setDescription(t(INSTRUCTION));
slotToEnvironment = ImmutableMap.of(3, World.Environment.NORMAL, 5, World.Environment.NETHER, 7, World.Environment.THE_END); slotToEnvironment = ImmutableMap.of(3, World.Environment.NORMAL, 5, World.Environment.NETHER, 7, World.Environment.THE_END);
environmentToBlueprint = ImmutableMap.of(World.Environment.NORMAL, normalBlueprint, World.Environment.NETHER, netherBlueprint, World.Environment.THE_END, endBlueprint); environmentToBlueprint = ImmutableMap.of(World.Environment.NORMAL, normalBlueprint, World.Environment.NETHER, netherBlueprint, World.Environment.THE_END, endBlueprint);
} }

View File

@ -36,6 +36,10 @@ general:
must-be-positive-number: "&c [number] is not a valid positive number." must-be-positive-number: "&c [number] is not a valid positive number."
tips: tips:
changing-obsidian-to-lava: "Changing obsidian back into lava. Be careful!" changing-obsidian-to-lava: "Changing obsidian back into lava. Be careful!"
worlds:
overworld: "Overworld"
nether: "Nether"
the-end: "The End"
commands: commands:
# Parameters in <> are required, parameters in [] are optional # Parameters in <> are required, parameters in [] are optional
@ -298,9 +302,6 @@ commands:
management: management:
back: "Back" back: "Back"
instruction: "Click on blueprint then click here" instruction: "Click on blueprint then click here"
normal: "Normal"
nether: "Nether"
end: "The End"
title: "Blueprint Bundle Manager" title: "Blueprint Bundle Manager"
edit: "Click to edit" edit: "Click to edit"
rename: "Right-click to rename" rename: "Right-click to rename"