mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-18 19:39:37 +00:00
Added and fix some localization
Some refactoring extratrees machines
This commit is contained in:
1 parent
99998bcfbd
commit
32028dc85e
40 files changed
+632
-601
No files matched your search
@@ -15,6 +15,6 @@ public class ItemPollen extends ItemBotany {
|
||||
|
||||
@Override
|
||||
public String getTag() {
|
||||
return I18N.localise("botany.tube.item.pollen.tag.name");
|
||||
return I18N.localise("botany.item.pollen.tag.name");
|
||||
}
|
||||
}
|
||||
@@ -15,6 +15,6 @@ public class ItemSeed extends ItemBotany {
|
||||
|
||||
@Override
|
||||
public String getTag() {
|
||||
return I18N.localise("botany.tube.item.germling.tag.name");
|
||||
return I18N.localise("botany.item.germling.tag.name");
|
||||
}
|
||||
}
|
||||
@@ -150,7 +150,7 @@ public class BlockPlant extends BlockBush {
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return I18N.localise("botany.tube.plant." + name);
|
||||
return I18N.localise("botany.plant." + name);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -37,12 +37,12 @@ public class ItemSoil extends ItemBlock {
|
||||
|
||||
if (moisture == EnumMoisture.DRY) {
|
||||
info += EnumChatFormatting.YELLOW
|
||||
+ I18N.localise("botany.tube.moisture.dry")
|
||||
+ I18N.localise("botany.moisture.dry")
|
||||
+ EnumChatFormatting.RESET;
|
||||
}
|
||||
if (moisture == EnumMoisture.DAMP) {
|
||||
info += EnumChatFormatting.YELLOW
|
||||
+ I18N.localise("botany.tube.moisture.damp")
|
||||
+ I18N.localise("botany.moisture.damp")
|
||||
+ EnumChatFormatting.RESET;
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ public class ItemSoil extends ItemBlock {
|
||||
info += ", ";
|
||||
}
|
||||
info += EnumChatFormatting.YELLOW
|
||||
+ I18N.localise("botany.tube.ph.acid")
|
||||
+ I18N.localise("botany.ph.acid")
|
||||
+ EnumChatFormatting.RESET;
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ public class ItemSoil extends ItemBlock {
|
||||
info += ", ";
|
||||
}
|
||||
info += EnumChatFormatting.YELLOW
|
||||
+ I18N.localise("botany.tube.ph.alkaline")
|
||||
+ I18N.localise("botany.ph.alkaline")
|
||||
+ EnumChatFormatting.RESET;
|
||||
}
|
||||
|
||||
@@ -69,14 +69,14 @@ public class ItemSoil extends ItemBlock {
|
||||
}
|
||||
|
||||
if (noWeed) {
|
||||
tooltip.add(I18N.localise("botany.tube.soil.weedkiller"));
|
||||
tooltip.add(I18N.localise("botany.soil.weedkiller"));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getItemStackDisplayName(ItemStack stack) {
|
||||
String soilName = type.name().toLowerCase(Locale.ENGLISH);
|
||||
return I18N.localise("botany.tube.soil." + soilName);
|
||||
return I18N.localise("botany.soil." + soilName);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -79,6 +79,6 @@ public class ItemSoilMeter extends Item {
|
||||
|
||||
@Override
|
||||
public String getItemStackDisplayName(ItemStack stack) {
|
||||
return I18N.localise("botany.tube.item.soilMeter.name");
|
||||
return I18N.localise("botany.item.soilMeter.name");
|
||||
}
|
||||
}
|
||||
@@ -29,7 +29,7 @@ public class AlleleEffectNone implements IAlleleFlowerEffect {
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return I18N.localise("botany.tube.allele.none");
|
||||
return I18N.localise("botany.allele.none");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -520,7 +520,7 @@ public enum FlowerSpecies implements IAlleleFlowerSpecies {
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return I18N.localise("botany.tube.flower." + name);
|
||||
return I18N.localise("botany.flower." + name);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -61,7 +61,7 @@ public class ItemDictionary extends Item {
|
||||
@Override
|
||||
public String getItemStackDisplayName(ItemStack stack) {
|
||||
return (stack.getItemDamage() == 0)
|
||||
? I18N.localise("botany.tube.item.botanistDatabase.0.name")
|
||||
: I18N.localise("botany.tube.item.botanistDatabase.1.name");
|
||||
? I18N.localise("botany.item.botanistDatabase.0.name")
|
||||
: I18N.localise("botany.item.botanistDatabase.1.name");
|
||||
}
|
||||
}
|
||||
@@ -45,7 +45,7 @@ public enum BotanyItems implements IItemMisc {
|
||||
|
||||
@Override
|
||||
public String getName(ItemStack itemStack) {
|
||||
return I18N.localise("botany.tube.item." + name + ".name");
|
||||
return I18N.localise("botany.item." + name + ".name");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -37,7 +37,7 @@ public class ItemClay extends Item {
|
||||
|
||||
@Override
|
||||
public String getItemStackDisplayName(ItemStack stack) {
|
||||
return I18N.localise("botany.tube.item.clay.name");
|
||||
return I18N.localise("botany.item.clay.name");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -37,7 +37,7 @@ public class ItemPigment extends Item {
|
||||
|
||||
@Override
|
||||
public String getItemStackDisplayName(ItemStack stack) {
|
||||
return I18N.localise("botany.tube.item.pigment.name");
|
||||
return I18N.localise("botany.item.pigment.name");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user