Added 1.11.2 translation values and the missing one for "Nether Wart"

This commit is contained in:
Eric 2017-01-02 19:20:41 +01:00
parent 222b553a8e
commit f1712a6bce
3 changed files with 12 additions and 1 deletions

View File

@ -52,7 +52,7 @@
<dependency> <dependency>
<groupId>org.bukkit</groupId> <groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId> <artifactId>bukkit</artifactId>
<version>1.11-R0.1-SNAPSHOT</version> <version>1.11.2-R0.1-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -247,6 +247,7 @@ public class LanguageUtils {
itemNames.add(new ItemName(Material.COBBLE_WALL, langConfig.getString("tile.cobbleWall.normal.name", "Cobblestone Wall"))); itemNames.add(new ItemName(Material.COBBLE_WALL, langConfig.getString("tile.cobbleWall.normal.name", "Cobblestone Wall")));
itemNames.add(new ItemName(Material.COBBLE_WALL, 1, langConfig.getString("tile.cobbleWall.mossy.name", "Mossy Cobblestone Wall"))); itemNames.add(new ItemName(Material.COBBLE_WALL, 1, langConfig.getString("tile.cobbleWall.mossy.name", "Mossy Cobblestone Wall")));
itemNames.add(new ItemName(Material.WOOD_BUTTON, langConfig.getString("tile.button.name", "Button"))); itemNames.add(new ItemName(Material.WOOD_BUTTON, langConfig.getString("tile.button.name", "Button")));
itemNames.add(new ItemName(Material.NETHER_STALK, langConfig.getString("tile.netherStalk.name", "Nether Wart")));
itemNames.add(new ItemName(Material.ANVIL, langConfig.getString("tile.anvil.intact.name", "Anvil"))); itemNames.add(new ItemName(Material.ANVIL, langConfig.getString("tile.anvil.intact.name", "Anvil")));
itemNames.add(new ItemName(Material.ANVIL, 1, langConfig.getString("tile.anvil.slightlyDamaged.name", "Slightly Damaged Anvil"))); itemNames.add(new ItemName(Material.ANVIL, 1, langConfig.getString("tile.anvil.slightlyDamaged.name", "Slightly Damaged Anvil")));
itemNames.add(new ItemName(Material.ANVIL, 2, langConfig.getString("tile.anvil.veryDamaged.name", "Very Damaged Anvil"))); itemNames.add(new ItemName(Material.ANVIL, 2, langConfig.getString("tile.anvil.veryDamaged.name", "Very Damaged Anvil")));
@ -650,6 +651,10 @@ public class LanguageUtils {
// Add Item Names of 1.11 // Add Item Names of 1.11
itemNames.add(new ItemName(Material.TOTEM, langConfig.getString("item.totem.name", "Totem of Undying"))); itemNames.add(new ItemName(Material.TOTEM, langConfig.getString("item.totem.name", "Totem of Undying")));
itemNames.add(new ItemName(Material.SHULKER_SHELL, langConfig.getString("item.shulkerShell.name", "Shulker Shell"))); itemNames.add(new ItemName(Material.SHULKER_SHELL, langConfig.getString("item.shulkerShell.name", "Shulker Shell")));
if (Utils.getRevision() >= 2 || Utils.getMajorVersion() > 11) {
itemNames.add(new ItemName(Material.IRON_NUGGET, langConfig.getString("item.ironNugget.name", "Iron Nugget")));
}
} }
// Add Enchantment Names // Add Enchantment Names
@ -689,6 +694,10 @@ public class LanguageUtils {
// Add Enchantment Names of 1.11 // Add Enchantment Names of 1.11
enchantmentNames.add(new EnchantmentName(Enchantment.BINDING_CURSE, langConfig.getString("enchantment.binding_curse", "Curse of Binding"))); enchantmentNames.add(new EnchantmentName(Enchantment.BINDING_CURSE, langConfig.getString("enchantment.binding_curse", "Curse of Binding")));
enchantmentNames.add(new EnchantmentName(Enchantment.VANISHING_CURSE, langConfig.getString("enchantment.vanishing_curse", "Curse of Vanishing"))); enchantmentNames.add(new EnchantmentName(Enchantment.VANISHING_CURSE, langConfig.getString("enchantment.vanishing_curse", "Curse of Vanishing")));
if (Utils.getRevision() >= 2 || Utils.getMajorVersion() > 11) {
enchantmentNames.add(new EnchantmentName(Enchantment.SWEEPING_EDGE, langConfig.getString("enchantment.sweeping", "Sweeping Edge")));
}
} }
// Add Enchantment Level Names // Add Enchantment Level Names

View File

@ -432,6 +432,7 @@ enchantment.thorns=Thorns
enchantment.mending=Mending enchantment.mending=Mending
enchantment.binding_curse=Curse of Binding enchantment.binding_curse=Curse of Binding
enchantment.vanishing_curse=Curse of Vanishing enchantment.vanishing_curse=Curse of Vanishing
enchantment.sweeping=Sweeping Edge
enchantment.level.1=I enchantment.level.1=I
enchantment.level.2=II enchantment.level.2=II
enchantment.level.3=III enchantment.level.3=III
@ -783,6 +784,7 @@ item.banner.orange.name=Orange Banner
item.banner.white.name=White Banner item.banner.white.name=White Banner
item.totem.name=Totem of Undying item.totem.name=Totem of Undying
item.shulkerShell.name=Shulker Shell item.shulkerShell.name=Shulker Shell
item.ironNugget.name=Iron Nugget
# Block names that will be displayed in the hologram # Block names that will be displayed in the hologram
tile.barrier.name=Barrier tile.barrier.name=Barrier