📄 strings.java
字号:
"Management:", "", "Mode of game:", "pointers & 1,2,3,4,6,7,8,9 -", "moving on landscape;", "ok & 5 - construction", "of a building,", "if the landscape allows;", "left soft key -", "exit in menu;",
"right soft key -", "help, scrolling hints;", "* - quantity of buildings;", "0 - resources in a warehouse;", "# - map of landscape.", "", "Choice of a building:", "< > & 4,6 - choice; ", "ok & 5 - development,", "if there is a necessary",
"resources."
}, {
"Управление:", "", "Режим игры:", "стрелки & 1,2,3,4,6,7,8,9 -", "перемещение по местности;", "ok & 5 - постройка здания,", "если позволяет ландшафт;", "левая мягкая клавиша -", "выход в меню;", "правая мягкая клавиша -",
"помощь, прокрутка", "подсказки;", "* - кол-во строений;", "0 - ресурсы на складе;", "# - карта местности.", "", "Выбор здания:", "< > & 4,5 - выбор;", "ok & 5 - строительство,", "если есть необходимые",
"ресурсы."
}
};
public static final String intro[] = {
"The near future. Changes in the climate have caused global cataclysms, which have wiped a civilization out. Dozens of people who survived need to build new settlements.", "Земля недалекого будущего. Изменения климата вызвали глобальные катаклизмы, которые стерли цивилизацию с лица Земли. Горстке выживших приходится заново отстраивать свои поселения."
};
public static final String introloc[][] = {
{
"The American continent is under threat of an approaching glacier. For protection against cold numerous boiler rooms are under construction. Coal has become as precious as gold.", "In Eurasia the incredible drought rages. Sand approach from the south and covers new territories. Construction of wells helps to mitigate the destructive action of sand.", "Africa is under threat of flood. The water level constantly rises. The ocean has overflowded its boundaries and is flooding nearby constructions. Dam builders strengthen the coast line with dams."
}, {
"Американский континент находится под угрозой надвигающегося ледника. Для защиты от холода строятся многочисленные кочегарки. Уголь ценится на вес золота.", "В Евразии свирепствует небывалая засуха. Пески надвигаются с юга и захватывают все большие территории. Строительство колодцев помогает приостановить разрушительное действие песков.", "Африка под угрозой наводнения. Уровень воды постоянно повышается. Океан вышел из берегов и затапливает близлежащие постройки. Поселенцы укрепляют береговую линию при помощи дамб."
}
};
public String locale;
public int locint;
public static final String mission[][] = {
{
"Enlarge living territories: to provide the material for construction you have to construct a buildings of the woodcutter and sawmill. The house of the fisherman should be built near the lake or coast of ocean.", "Stones are necessary for construction. Build a house of the mason close to rocks or ruins.", "In a warehouse there should be a stock of boards for construction. Watch up that a manufacture of boards would not stop.", "Save up a stock of the foodstuffs. To make the food to be gathered faster it is possible to construct additional huts of fishermen.", "In mountains on the West it is possible to find minerals. Build mines for a coal mining and iron.", "Collect ores and the coal, which are necessary for melting of iron. Do not overlook to provide miners with livelihood.", "Build a foundry and the house of the smith for manufacture agriculture tools. Create tools, which are necessary for agriculture.", "Seed some wheaten fields. For cultivation of wheat you will need water and tools. Build wells for provision with water. Wells also detain movement of sand, therefore it is meaningful to build them in the south.", "Construct a mill for processing grain and the baker house for a batch of bread.", "For getting meat you will need the hog farm. For successful animal industries provide a hog farm with wheat and water.",
"Accumulate the stocks of the foodstuffs which is necessary for work of miners.", ""
}, {
"Обживание территории: Постройте здание дровосека и лесопилку, чтобы обеспечить материал для строительства. Дом рыбака следует строить около озера или берега океана.", "Для строительства нужны камни. Постройте дом каменотеса недалеко от скал или развалин.", "На складе должен оставаться запас досок для строительства. Следите, чтобы производство досок не прекращалось.", "Накопите запас продовольствия. Чтобы пища собиралась быстрее, можно построить дополнительные хижины рыбаков.", "В горах на западе можно найти полезные ископаемые. Постройте шахты для добычи угля и железа.", "Произведите необходимое кол-во руды и угля, необходимого для выплавки железа. Не забывайте обеспечивать шахтеров пропитанием.", "Постройте плавильню и дом кузнеца для производства с/х инструментов. Изготовьте инстументы, необходимые для с/х.", "Засейте несколько пшеничных полей. Для выращивания пшеницы потребуется вода и инструменты. Постройте колодцы для обеспечения водой. Колодцы также задерживают движение песков, поэтому имеет смысл их строить на юге.", "Постройте мельницу для переработки зерна и дом пекаря для выпечки хлеба.", "Для производства мяса нужна свиноферма. Для успешного животноводства обеспечивайте свиноферму пшеницей и водой.",
"Накапливайте запасы продовольствия, необходимые для работы шахтеров.", ""
}
};
private Hashtable _$231;
public static final String win[] = {
"Game is over. Your settlement has grown greatly. Unfortunately, not all tasks in the development of the settlement have been executed correctly.", "Игра окончена. Ваше поселение разрослось до невообразимых пределов! К сожалению, не все задачи по развитию поселения были выполнены правильно."
};
public static final String winchapter[] = {
"Game is over. You have constructed a large and prospering settlement! All tasks have been successfully performed, you have also won the fight with the destructive forces of nature!", "Игра окончена. Вы построили большое и процветающее поселение! Все задания были успешно выполнены и вы выиграли схватку с разрушительными силами природы!"
};
public Strings()
{
_$231 = new Hashtable();
locale = System.getProperty("microedition.locale");
if(locale != null)
locale = locale.substring(0, 2).toLowerCase();
else
locale = "en";
if(locale.compareTo("ru") != 0)
{
locale = "en";
locint = 0;
} else
{
locale = "ru";
locint = 1;
}
Hashtable hashtable = _$231;
hashtable.put("Global Warming", "Глобальное Потепление");
hashtable.put("Day", "День");
hashtable.put("Menu", "Меню");
hashtable.put("Continue", "Продолжить");
hashtable.put("New Game", "Новая Игра");
hashtable.put("Help", "Помощь");
hashtable.put("About", "О Программе");
hashtable.put("Exit", "Выход");
hashtable.put("Options", "Параметры");
hashtable.put("Map", "Карта");
hashtable.put("Warehouse", "Склад");
hashtable.put("Buildings", "Постройки");
hashtable.put("Region", "Регион");
hashtable.put("America", "Америка");
hashtable.put("Eurasia", "Евразия");
hashtable.put("Africa", "Африка");
hashtable.put("Game Over", "Игра Окончена");
hashtable.put("Back", "Назад");
hashtable.put("Options", "Настройки");
hashtable.put("Sound", "Звук");
hashtable.put("Vibration", "Вибрация");
hashtable.put("Difficulty", "Сложность");
hashtable.put("Enter Name", "Введите Имя");
hashtable.put("You have ", "У вас набрано ");
hashtable.put(" scores.", " очков.");
hashtable.put("Enter your name:", "Введите ваше имя:");
hashtable.put("HI-SCORES", "ПОБЕДИТЕЛИ");
hashtable.put("Local", "Локальные");
hashtable.put("Online", "Онлайн");
hashtable.put("View", "Просмотр");
hashtable.put("Record", "Запись");
hashtable.put("Congratulations!", "Поздравления!");
hashtable.put("Loading...", "Загружается...");
hashtable.put("Connection is not available", "Соединение не доступно");
hashtable.put("Empty", "Пусто");
hashtable.put("Earhtquake by power ", "Землетрясение силой ");
}
public String get(String s)
{
String s1;
if(locale == "ru")
s1 = (String)_$231.get(s);
else
s1 = s;
if(s1 == null)
s1 = "###";
return s1;
}
public void setLocale(String s)
{
if(s.compareTo("ru") == 0)
{
locale = "ru";
locint = 1;
} else
{
locale = "en";
locint = 0;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -