From eab09635e9460ce2efb6fd6ce13433b66b99d895 Mon Sep 17 00:00:00 2001 From: kordum Date: Tue, 27 Jun 2017 11:34:07 +0300 Subject: [PATCH] Added missed localization --- .../genetics/gui/AnalystPageBiology.java | 194 +++++++++++++----- .../genetics/gui/ControlAnalystPage.java | 2 +- .../resources/assets/genetics/lang/en_US.lang | 27 +++ .../resources/assets/genetics/lang/ru_RU.lang | 113 ++++++++++ 4 files changed, 279 insertions(+), 57 deletions(-) diff --git a/src/main/java/binnie/genetics/gui/AnalystPageBiology.java b/src/main/java/binnie/genetics/gui/AnalystPageBiology.java index ec447d84..c0de253d 100644 --- a/src/main/java/binnie/genetics/gui/AnalystPageBiology.java +++ b/src/main/java/binnie/genetics/gui/AnalystPageBiology.java @@ -7,6 +7,7 @@ import binnie.core.craftgui.controls.ControlTextCentered; import binnie.core.craftgui.geometry.IArea; import binnie.core.craftgui.geometry.IPoint; import binnie.core.craftgui.minecraft.control.ControlIconDisplay; +import binnie.core.util.I18N; import binnie.genetics.item.ModuleItem; import forestry.api.apiculture.IBee; import forestry.api.arboriculture.EnumTreeChromosome; @@ -14,137 +15,218 @@ import forestry.api.arboriculture.ITree; import forestry.api.genetics.IIndividual; import forestry.api.lepidopterology.IButterfly; import forestry.plugins.PluginApiculture; +import net.minecraft.util.EnumChatFormatting; import net.minecraftforge.common.EnumPlantType; import java.text.DecimalFormat; public class AnalystPageBiology extends ControlAnalystPage { + private static final float SPAWN_KOEF = 1365.3999f; + public AnalystPageBiology(IWidget parent, IArea area, IIndividual ind) { super(parent, area); - setColor(26214); + setColor(0x006666); int y = 4; - new ControlTextCentered(this, y, "§nBiology").setColor(getColor()); + new ControlTextCentered(this, y, EnumChatFormatting.UNDERLINE + getTitle()) + .setColor(getColor()); y += 12; + if (ind instanceof IBee) { IBee bee = (IBee) ind; if (bee.getGenome().getNocturnal()) { - new ControlIconDisplay(this, (w() - 64.0f) / 2.0f, y, ModuleItem.iconAllDay.getIcon()).addTooltip("Active all day and night"); + new ControlIconDisplay(this, (w() - 64.0f) / 2.0f, y, ModuleItem.iconAllDay.getIcon()) + .addTooltip(I18N.localise("genetics.gui.analyst.biology.allDay")); } else if (bee.getGenome().getPrimary().isNocturnal()) { - new ControlIconDisplay(this, (w() - 64.0f) / 2.0f, y, ModuleItem.iconNight.getIcon()).addTooltip("Active at night"); + new ControlIconDisplay(this, (w() - 64.0f) / 2.0f, y, ModuleItem.iconNight.getIcon()) + .addTooltip(I18N.localise("genetics.gui.analyst.biology.night")); } else { - new ControlIconDisplay(this, (w() - 64.0f) / 2.0f, y, ModuleItem.iconDaytime.getIcon()).addTooltip("Active during the day"); + new ControlIconDisplay(this, (w() - 64.0f) / 2.0f, y, ModuleItem.iconDaytime.getIcon()) + .addTooltip(I18N.localise("genetics.gui.analyst.biology.day")); } + if (!bee.getGenome().getTolerantFlyer()) { - new ControlIconDisplay(this, (w() - 64.0f) / 2.0f + 24.0f, y, ModuleItem.iconNoRain.getIcon()).addTooltip("Cannot work during rain"); + new ControlIconDisplay(this, (w() - 64.0f) / 2.0f + 24.0f, y, ModuleItem.iconNoRain.getIcon()) + .addTooltip(I18N.localise("genetics.gui.analyst.biology.notRain")); } else { - new ControlIconDisplay(this, (w() - 64.0f) / 2.0f + 24.0f, y, ModuleItem.iconRain.getIcon()).addTooltip("Can work during rain"); + new ControlIconDisplay(this, (w() - 64.0f) / 2.0f + 24.0f, y, ModuleItem.iconRain.getIcon()) + .addTooltip(I18N.localise("genetics.gui.analyst.biology.rain")); } + if (bee.getGenome().getCaveDwelling()) { - new ControlIconDisplay(this, (w() - 64.0f) / 2.0f + 48.0f, y, ModuleItem.iconNoSky.getIcon()).addTooltip("Can work underground"); + new ControlIconDisplay(this, (w() - 64.0f) / 2.0f + 48.0f, y, ModuleItem.iconNoSky.getIcon()) + .addTooltip(I18N.localise("genetics.gui.analyst.biology.underground")); } else { - new ControlIconDisplay(this, (w() - 64.0f) / 2.0f + 48.0f, y, ModuleItem.iconSky.getIcon()).addTooltip("Cannot work underground"); + new ControlIconDisplay(this, (w() - 64.0f) / 2.0f + 48.0f, y, ModuleItem.iconSky.getIcon()) + .addTooltip(I18N.localise("genetics.gui.analyst.biology.notUnderground")); } y += 30; } else if (ind instanceof IButterfly) { IButterfly moth = (IButterfly) ind; if (moth.getGenome().getNocturnal()) { - new ControlIconDisplay(this, (w() - 64.0f) / 2.0f, y, ModuleItem.iconAllDay.getIcon()).addTooltip("Active all day and night"); + new ControlIconDisplay(this, (w() - 64.0f) / 2.0f, y, ModuleItem.iconAllDay.getIcon()) + .addTooltip(I18N.localise("genetics.gui.analyst.biology.allDay")); } else if (moth.getGenome().getPrimary().isNocturnal()) { - new ControlIconDisplay(this, (w() - 64.0f) / 2.0f, y, ModuleItem.iconNight.getIcon()).addTooltip("Active at night"); + new ControlIconDisplay(this, (w() - 64.0f) / 2.0f, y, ModuleItem.iconNight.getIcon()) + .addTooltip(I18N.localise("genetics.gui.analyst.biology.night")); } else { - new ControlIconDisplay(this, (w() - 64.0f) / 2.0f, y, ModuleItem.iconDaytime.getIcon()).addTooltip("Active during the day"); + new ControlIconDisplay(this, (w() - 64.0f) / 2.0f, y, ModuleItem.iconDaytime.getIcon()) + .addTooltip(I18N.localise("genetics.gui.analyst.biology.day")); } + if (!moth.getGenome().getTolerantFlyer()) { - new ControlIconDisplay(this, (w() - 64.0f) / 2.0f + 24.0f, y, ModuleItem.iconNoRain.getIcon()).addTooltip("Cannot work during rain"); + new ControlIconDisplay(this, (w() - 64.0f) / 2.0f + 24.0f, y, ModuleItem.iconNoRain.getIcon()) + .addTooltip(I18N.localise("genetics.gui.analyst.biology.notRain")); } else { - new ControlIconDisplay(this, (w() - 64.0f) / 2.0f + 24.0f, y, ModuleItem.iconRain.getIcon()).addTooltip("Can work during rain"); + new ControlIconDisplay(this, (w() - 64.0f) / 2.0f + 24.0f, y, ModuleItem.iconRain.getIcon()) + .addTooltip(I18N.localise("genetics.gui.analyst.biology.rain")); } + if (moth.getGenome().getFireResist()) { - new ControlIconDisplay(this, (w() - 64.0f) / 2.0f + 48.0f, y, ModuleItem.iconNoFire.getIcon()).addTooltip("Nonflammable"); + new ControlIconDisplay(this, (w() - 64.0f) / 2.0f + 48.0f, y, ModuleItem.iconNoFire.getIcon()) + .addTooltip(I18N.localise("genetics.gui.analyst.biology.nonflammable")); } else { - new ControlIconDisplay(this, (w() - 64.0f) / 2.0f + 48.0f, y, ModuleItem.iconFire.getIcon()).addTooltip("Flammable"); + new ControlIconDisplay(this, (w() - 64.0f) / 2.0f + 48.0f, y, ModuleItem.iconFire.getIcon()) + .addTooltip(I18N.localise("genetics.gui.analyst.biology.flammable")); } y += 30; } else if (ind instanceof ITree) { - new ControlTextCentered(this, y, "§oSappiness: " + Binnie.Genetics.treeBreedingSystem.getAlleleName(EnumTreeChromosome.SAPPINESS, ind.getGenome().getActiveAllele(EnumTreeChromosome.SAPPINESS))).setColor(getColor()); + String alleleName = Binnie.Genetics.treeBreedingSystem.getAlleleName(EnumTreeChromosome.SAPPINESS, ind.getGenome().getActiveAllele(EnumTreeChromosome.SAPPINESS)); + new ControlTextCentered(this, y, EnumChatFormatting.ITALIC + I18N.localise("genetics.gui.analyst.biology.sappiness", alleleName)) + .setColor(getColor()); y += 20; } else { y += 10; } + if (ind instanceof IBee) { IBee bee = (IBee) ind; int fertility = bee.getGenome().getFertility(); - new ControlTextCentered(this, y, "§l" + fertility + "§r drone" + ((fertility > 1) ? "s" : "") + " per hive").setColor(getColor()); + if (fertility > 1) { + new ControlTextCentered(this, y, EnumChatFormatting.BOLD + I18N.localise("genetics.gui.analyst.biology.fertility.drones", fertility)) + .setColor(getColor()); + } else { + new ControlTextCentered(this, y, EnumChatFormatting.BOLD + I18N.localise("genetics.gui.analyst.biology.fertility.drone")) + .setColor(getColor()); + } + y += 22; - int lifespan = bee.getGenome().getLifespan() * PluginApiculture.ticksPerBeeWorkCycle; - new ControlTextCentered(this, y, "Average Lifespan").setColor(getColor()); + new ControlTextCentered(this, y, I18N.localise("genetics.gui.analyst.biology.averageLifespan")) + .setColor(getColor()); + y += 12; - new ControlTextCentered(this, y, "§l" + getMCDayString(lifespan * (bee.getGenome().getNocturnal() ? 1.0f : 2.0f))).setColor(getColor()); + int lifespan = bee.getGenome().getLifespan() * PluginApiculture.ticksPerBeeWorkCycle; + new ControlTextCentered(this, y, EnumChatFormatting.BOLD + getMCDayString(lifespan * (bee.getGenome().getNocturnal() ? 1.0f : 2.0f))) + .setColor(getColor()); y += 22; } + if (ind instanceof IButterfly) { IButterfly bee2 = (IButterfly) ind; int fertility = bee2.getGenome().getFertility(); - new ControlTextCentered(this, y, "Lays §l" + fertility + "§r caterpillar" + ((fertility > 1) ? "s" : "") + " before dying").setColor(getColor()); + if (fertility > 1) { + new ControlTextCentered(this, y, I18N.localise("genetics.gui.analyst.biology.fertility.moths", fertility)) + .setColor(getColor()); + } else { + new ControlTextCentered(this, y, I18N.localise("genetics.gui.analyst.biology.fertility.moth")) + .setColor(getColor()); + } + y += 32; - float caterpillarMatureTime = 1365.3999f * Math.round(bee2.getGenome().getLifespan() / (bee2.getGenome().getFertility() * 2)); - new ControlTextCentered(this, y, "Caterpillar Gestation").setColor(getColor()); + float caterpillarMatureTime = SPAWN_KOEF * Math.round(bee2.getGenome().getLifespan() / (bee2.getGenome().getFertility() * 2)); + new ControlTextCentered(this, y, I18N.localise("genetics.gui.analyst.biology.caterpillarGestation")) + .setColor(getColor()); + y += 12; - new ControlTextCentered(this, y, "§l" + getMCDayString(caterpillarMatureTime)).setColor(getColor()); + new ControlTextCentered(this, y, EnumChatFormatting.BOLD + getMCDayString(caterpillarMatureTime)) + .setColor(getColor()); + y += 22; int speed = (int) (20.0f * bee2.getGenome().getSpeed()); - new ControlTextCentered(this, y, "Flight Speed").setColor(getColor()); + new ControlTextCentered(this, y, I18N.localise("genetics.gui.analyst.biology.flightSpeed")) + .setColor(getColor()); + y += 12; - new ControlTextCentered(this, y, "§l" + speed + "§r blocks per second").setColor(getColor()); + new ControlTextCentered(this, y, EnumChatFormatting.BOLD + I18N.localise("genetics.gui.analyst.biology.blocksPerSec", speed)) + .setColor(getColor()); y += 22; } + if (ind instanceof ITree) { ITree tree = (ITree) ind; int fertility = (int) (1.0f / tree.getGenome().getFertility()); - new ControlTextCentered(this, y, "1 Sapling per §l" + fertility + "§r leave" + ((fertility > 1) ? "s" : "")).setColor(getColor()); + if (fertility > 1) { + new ControlTextCentered(this, y, I18N.localise("genetics.gui.analyst.biology.fertility.leaves", fertility)) + .setColor(getColor()); + } else { + new ControlTextCentered(this, y, I18N.localise("genetics.gui.analyst.biology.fertility.leaf")) + .setColor(getColor()); + } + y += 22; - float butterflySpawn = 1365.3999f / (tree.getGenome().getSappiness() * tree.getGenome().getYield() * 0.5f); - new ControlTextCentered(this, y, "Butterfies spawn every\n" + getTimeString(butterflySpawn) + " per leaf").setColor(getColor()); + float butterflySpawn = SPAWN_KOEF / (tree.getGenome().getSappiness() * tree.getGenome().getYield() * 0.5f); + new ControlTextCentered(this, y, I18N.localise("genetics.gui.analyst.biology.mothSpawn.perLeaf", getTimeString(butterflySpawn))) + .setColor(getColor()); + y += 34; - new ControlTextCentered(this, y, "Plant Types").setColor(getColor()); + new ControlTextCentered(this, y, I18N.localise("genetics.gui.analyst.biology.planTypes")) + .setColor(getColor()); + y += 12; for (EnumPlantType type : tree.getGenome().getPlantTypes()) { - new ControlTextCentered(this, y, "§o" + type.name()).setColor(getColor()); + new ControlTextCentered(this, y, EnumChatFormatting.ITALIC + type.name()) + .setColor(getColor()); y += 12; } } if (ind instanceof IFlower) { IFlower flower = (IFlower) ind; - float butterflySpawn2 = 1365.3999f / (flower.getGenome().getSappiness() * 0.2f); - new ControlTextCentered(this, y, "Butterfies spawn every\n" + getTimeString(butterflySpawn2)).setColor(getColor()); + float butterflySpawn2 = SPAWN_KOEF / (flower.getGenome().getSappiness() * 0.2f); + new ControlTextCentered(this, y, I18N.localise("genetics.gui.analyst.biology.mothSpawn", getTimeString(butterflySpawn2))) + .setColor(getColor()); y += 30; - float CHANCE_DISPERSAL = 0.8f; - CHANCE_DISPERSAL += 0.2f * flower.getGenome().getFertility(); - float CHANCE_POLLINATE = 0.6f; - CHANCE_POLLINATE += 0.25f * flower.getGenome().getFertility(); - float CHANCE_SELFPOLLINATE = 0.2f * CHANCE_POLLINATE; - if (CHANCE_DISPERSAL > 1.0f) { - CHANCE_DISPERSAL = 1.0f; + + int fertility = flower.getGenome().getFertility(); + float chanceDispersal = 0.8f; + chanceDispersal += 0.2f * fertility; + if (chanceDispersal > 1.0f) { + chanceDispersal = 1.0f; } - if (CHANCE_POLLINATE > 1.0f) { - CHANCE_POLLINATE = 1.0f; + + float chancePollinate = 0.6f; + chancePollinate += 0.25f * fertility; + if (chancePollinate > 1.0f) { + chancePollinate = 1.0f; } - float dispersalTime = 1365.3999f / CHANCE_DISPERSAL; - float pollinateTime = 1365.3999f / CHANCE_POLLINATE; - float lifespan2 = flower.getMaxAge() * 20.0f * 68.27f / flower.getGenome().getAgeChance(); - float floweringLifespan = (flower.getMaxAge() - 1) * 20.0f * 68.27f / flower.getGenome().getAgeChance(); - floweringLifespan -= 1365.3999f; - new ControlTextCentered(this, y, "Average Lifespan").setColor(getColor()); + + float maxAge = flower.getMaxAge(); + float ageChance = flower.getGenome().getAgeChance(); + float dispersalTime = SPAWN_KOEF / chanceDispersal; + float pollinateTime = SPAWN_KOEF / chancePollinate; + float lifespan2 = maxAge * 20.0f * 68.27f / ageChance; + float floweringLifespan = (maxAge - 1) * 20.0f * 68.27f / ageChance - SPAWN_KOEF; + + new ControlTextCentered(this, y, I18N.localise("genetics.gui.analyst.biology.averageLifespan")) + .setColor(getColor()); y += 12; - new ControlTextCentered(this, y, "§l" + getMCDayString(lifespan2)).setColor(getColor()); + + new ControlTextCentered(this, y, EnumChatFormatting.BOLD + getMCDayString(lifespan2)) + .setColor(getColor()); y += 22; - new ControlTextCentered(this, y, "Seed Dispersal").setColor(getColor()); + + new ControlTextCentered(this, y, I18N.localise("genetics.gui.analyst.biology.seedDispersal")) + .setColor(getColor()); y += 12; - new ControlTextCentered(this, y, "§o" + (int) (floweringLifespan / dispersalTime) + " per lifetime").setColor(getColor()); + + new ControlTextCentered(this, y, EnumChatFormatting.ITALIC + I18N.localise("genetics.gui.analyst.biology.perLifetime", (int) (floweringLifespan / dispersalTime))) + .setColor(getColor()); y += 22; - new ControlTextCentered(this, y, "Pollination").setColor(getColor()); + + new ControlTextCentered(this, y, I18N.localise("genetics.gui.analyst.biology.pollination")) + .setColor(getColor()); y += 12; - new ControlTextCentered(this, y, "§o" + (int) (floweringLifespan / pollinateTime) + " per lifetime").setColor(getColor()); + + new ControlTextCentered(this, y, EnumChatFormatting.ITALIC + I18N.localise("genetics.gui.analyst.biology.perLifetime", (int) (floweringLifespan / pollinateTime))) + .setColor(getColor()); y += 22; } setSize(new IPoint(w(), y)); @@ -155,11 +237,11 @@ public class AnalystPageBiology extends ControlAnalystPage { float minutes = seconds / 60.0f; float days = minutes / 20.0f; DecimalFormat df = new DecimalFormat("#.0"); - return df.format(days) + " MC days"; + return I18N.localise("genetics.gui.analyst.biology.mcDays", df.format(days)); } @Override public String getTitle() { - return "Biology"; + return I18N.localise("genetics.gui.analyst.biology"); } } diff --git a/src/main/java/binnie/genetics/gui/ControlAnalystPage.java b/src/main/java/binnie/genetics/gui/ControlAnalystPage.java index 86b47a69..a53fbe17 100644 --- a/src/main/java/binnie/genetics/gui/ControlAnalystPage.java +++ b/src/main/java/binnie/genetics/gui/ControlAnalystPage.java @@ -24,7 +24,7 @@ public abstract class ControlAnalystPage extends Control { float seconds = time / 20.0f; float minutes = seconds / 60.0f; float hours = minutes / 60.0f; - DecimalFormat df = new DecimalFormat("#.0"); + DecimalFormat df = new DecimalFormat("#.#"); if (hours > 1.0f) { return I18N.localise("genetics.gui.analyst.page.hours", df.format(hours)); } diff --git a/src/main/resources/assets/genetics/lang/en_US.lang b/src/main/resources/assets/genetics/lang/en_US.lang index e37f2573..7056cca4 100644 --- a/src/main/resources/assets/genetics/lang/en_US.lang +++ b/src/main/resources/assets/genetics/lang/en_US.lang @@ -178,6 +178,33 @@ genetics.gui.analyst.behaviour.territory=Territory: %dx%dx%d genetics.gui.analyst.behaviour.metabolism=Metabolism: %s genetics.gui.analyst.biology=Biology +genetics.gui.analyst.biology.allDay=Active all day and night +genetics.gui.analyst.biology.night=Active at night +genetics.gui.analyst.biology.day=Active during the day +genetics.gui.analyst.biology.notRain=Cannot work during rain +genetics.gui.analyst.biology.rain=Can work during rain +genetics.gui.analyst.biology.underground=Can work underground +genetics.gui.analyst.biology.notUnderground=Cannot work underground +genetics.gui.analyst.biology.flammable=Flammable +genetics.gui.analyst.biology.nonflammable=Nonflammable +genetics.gui.analyst.biology.sappiness=Sappiness: %s +genetics.gui.analyst.biology.fertility.drones=%d drones per hive +genetics.gui.analyst.biology.fertility.drone=1 drone per hive +genetics.gui.analyst.biology.fertility.moths=Lays %d caterpillars before dying +genetics.gui.analyst.biology.fertility.moth=Lays 1 caterpillar before dying +genetics.gui.analyst.biology.fertility.leaves=1 Sapling per %d leaves +genetics.gui.analyst.biology.fertility.leaf=1 Sapling per 1 leaf +genetics.gui.analyst.biology.caterpillarGestation=Caterpillar Gestation +genetics.gui.analyst.biology.flightSpeed=Flight Speed +genetics.gui.analyst.biology.blocksPerSec=%d blocks per second +genetics.gui.analyst.biology.mothSpawn.perLeaf=Butterflies spawn every\n%s per leaf +genetics.gui.analyst.biology.mothSpawn=Butterflies spawn every\n%s +genetics.gui.analyst.biology.plantTypes=Plant Types +genetics.gui.analyst.biology.averageLifespan=Average Lifespan +genetics.gui.analyst.biology.pollination=Pollination +genetics.gui.analyst.biology.seedDispersal=Seed Dispersal +genetics.gui.analyst.biology.perLifetime=%d per lifetime +genetics.gui.analyst.biology.mcDays=%s MC days genetics.gui.analyst.climate=Climate genetics.gui.analyst.climate.biomes=Biomes diff --git a/src/main/resources/assets/genetics/lang/ru_RU.lang b/src/main/resources/assets/genetics/lang/ru_RU.lang index 24d77fd0..ebb46db2 100644 --- a/src/main/resources/assets/genetics/lang/ru_RU.lang +++ b/src/main/resources/assets/genetics/lang/ru_RU.lang @@ -153,3 +153,116 @@ genetics.gui.geneBank.ranking=Ранжирование genetics.gui.geneBank.project=Полный проект генома genetics.gui.geneBank.sequencedGenes=Секвенцировано %d/%d генов genetics.gui.geneBank.sequencedGenes.short=%d/%d генов + +genetics.gui.analyst.info=Добавьте пчелу, саженец, цветок или бабочку в верхний левый слот. ДНК-краситель требуется, если образец еще не анализирован. Краситель также может конвертировать ванильные образцы в используемые в генетике. +genetics.gui.analyst.registry=Картотека +genetics.gui.analyst.page.hours=%s час. +genetics.gui.analyst.page.minutes=%s мин. +genetics.gui.analyst.page.seconds=%s сек. +genetics.gui.analyst.chromosome.active=Активно: %s +genetics.gui.analyst.chromosome.inactive=Неактивно: %s +genetics.gui.analyst.karyogram=Кариограмма +genetics.gui.analyst.specimen=Проба + +genetics.gui.analyst.appearance=Внешний вид +genetics.gui.analyst.appearance.primaryColor=Первичный цвет лепестков +genetics.gui.analyst.appearance.secondColor=Вторичный цвет лепестков +genetics.gui.analyst.appearance.stemColor=Цвет стебля + +genetics.gui.analyst.behaviour=Поведение +genetics.gui.analyst.behaviour.effect=Эффект: %s +genetics.gui.analyst.behaviour.pollinatesNearby=Опыление +genetics.gui.analyst.behaviour.withinBlocks=%d блоков +genetics.gui.analyst.behaviour.everyTime=Каждые %s +genetics.gui.analyst.behaviour.territory=Территория: %dx%dx%d +genetics.gui.analyst.behaviour.metabolism=Метаболизм: %s + +genetics.gui.analyst.biology=Биология +genetics.gui.analyst.biology.allDay=Активны и днем, и ночью +genetics.gui.analyst.biology.night=Активны ночью +genetics.gui.analyst.biology.day=Активны днем +genetics.gui.analyst.biology.notRain=Не могут работать под дождем +genetics.gui.analyst.biology.rain=Могут работать под дождем +genetics.gui.analyst.biology.underground=Могут работать под землей +genetics.gui.analyst.biology.notUnderground=Не могут работать под землей +genetics.gui.analyst.biology.flammable=Боится огня +genetics.gui.analyst.biology.nonflammable=Огнестойкая +genetics.gui.analyst.biology.sappiness=Созревание: %s +genetics.gui.analyst.biology.fertility.drones=%d дронов в улье +genetics.gui.analyst.biology.fertility.drone=1 дрон в улье +genetics.gui.analyst.biology.fertility.moths=Оставляет %d гусениц перед смертью +genetics.gui.analyst.biology.fertility.moth=Оставляет 1 гусеницу перед смертью +genetics.gui.analyst.biology.fertility.leaves=1 саженец на %d блоков листвы +genetics.gui.analyst.biology.fertility.leaf=1 саженец на 1 блок листвы +genetics.gui.analyst.biology.caterpillarGestation=Плодовитость +genetics.gui.analyst.biology.flightSpeed=Скорость полета +genetics.gui.analyst.biology.blocksPerSec=%d блоков/сек +genetics.gui.analyst.biology.mothSpawn.perLeaf=Бабочки появляются каждые\n%s на блок листвы +genetics.gui.analyst.biology.mothSpawn=Бабочки появляются каждые\n%s +genetics.gui.analyst.biology.plantTypes=Типы растений +genetics.gui.analyst.biology.averageLifespan=Средняя жизнь +genetics.gui.analyst.biology.pollination=Опыление +genetics.gui.analyst.biology.seedDispersal=Разведение семян +genetics.gui.analyst.biology.perLifetime=%d в жизненный цикл +genetics.gui.analyst.biology.mcDays=%s игровых дней + +genetics.gui.analyst.climate=Климат +genetics.gui.analyst.climate.biomes=Биомы +genetics.gui.analyst.climate.humidity=Влажность +genetics.gui.analyst.climate.temperature=Температура + +genetics.gui.analyst.soil=Почва +genetics.gui.analyst.soil.moistureTolerance=Влажность +genetics.gui.analyst.soil.pHTolerance=Кислотность pH +genetics.gui.analyst.soil.recommendedSoil=Рекомендованная почва +genetics.gui.analyst.soil.otherSoils=Остальные почвы + +genetics.gui.analyst.genome.active=Активный геном +genetics.gui.analyst.genome.inactive=Неактивный геном + +genetics.gui.analyst.growth=Рост +genetics.gui.analyst.growth.mature=Созревание саженцев в +genetics.gui.analyst.growth.height=Высота: %s +genetics.gui.analyst.growth.girth=Толщина: %s +genetics.gui.analyst.growth.conditions=Условия роста + +genetics.gui.analyst.mutations=Мутации +genetics.gui.analyst.mutations.habitat=Естественная среда обитания +genetics.gui.analyst.mutations.habitat.any=Может быть найдена в любом улье +genetics.gui.analyst.mutations.habitat.villagers=Может быть куплена у жителя +genetics.gui.analyst.mutations.habitat.chest=Может быть найдена в сундуках +genetics.gui.analyst.mutations.resultantMutations=Мутации для получения +genetics.gui.analyst.mutations.furtherMutations=Дальнейшие мутации +genetics.gui.analyst.mutations.chance=Шанс %d%% +genetics.gui.analyst.mutations.chance.current=(текущий %d%%) +genetics.gui.analyst.mutations.unknownMutation=Неизвестная мутация +genetics.gui.analyst.mutations.unknown=НЕИЗВЕСТНО + +genetics.gui.analyst.description=Описание +genetics.gui.analyst.description.unknown=<Неизвестно> +genetics.gui.analyst.description.discoveredBy=Найдено %s +genetics.gui.analyst.description.complexity=Генетическая сложность: %s + +genetics.gui.analyst.produce=Продукция +genetics.gui.analyst.produce.rate=Шанс: %s +genetics.gui.analyst.produce.natural=Естественная продукция +genetics.gui.analyst.produce.speciality=Специальная продукция +genetics.gui.analyst.produce.refined=Дополнительная продукция +genetics.gui.analyst.produce.centrifuge=В центрифуге: +genetics.gui.analyst.produce.squeezes=В соковыжимателе: +genetics.gui.analyst.produce.everyTime=Каждые %s + +genetics.gui.analyst.fruit=Фрукты +genetics.gui.analyst.fruit.yield=Количество: %s +genetics.gui.analyst.fruit.natural=Фрукты +genetics.gui.analyst.fruit.speciality=Специальные фрукты +genetics.gui.analyst.fruit.refined=Дополнительные фрукты +genetics.gui.analyst.fruit.possible=Возможные фрукты +genetics.gui.analyst.fruit.none=Дерево не производит\nфруктов или орехов + +genetics.gui.analyst.wood=Дерево +genetics.gui.analyst.wood.fireproof=Огнестойкое +genetics.gui.analyst.wood.flammable=Боится огня +genetics.gui.analyst.wood.logs=Древесина +genetics.gui.analyst.wood.products=Дополнительные продукты +genetics.gui.analyst.wood.noFruits=Дерево не производит\nфруктов или орехов