added missing strings

This commit is contained in:
MihailRis
2023-12-12 22:19:31 +03:00
parent 7bf70bb26e
commit 4e6818fb7f
3 changed files with 5 additions and 3 deletions
+1
View File
@@ -10,6 +10,7 @@ menu.settings=Settings
world.seed=Seed world.seed=Seed
world.name=World Name world.name=World Name
world.create=Create World world.create=Create World
world.convert-request=Content indices have changed! Convert world files?
# Settings # Settings
chunks.load-distance=Load Distance chunks.load-distance=Load Distance
+2
View File
@@ -2,6 +2,7 @@
Yes=Да Yes=Да
No=Нет No=Нет
Ok=Ок Ok=Ок
Cancel=Отмена
Back=Назад Back=Назад
Continue=Продолжить Continue=Продолжить
@@ -17,6 +18,7 @@ menu.settings=Настройки
world.seed=Зерно world.seed=Зерно
world.name=Название world.name=Название
world.create=Создать Мир world.create=Создать Мир
world.convert-request=Есть изменения в индексах! Конвертировать мир?
# Настройки # Настройки
chunks.load-distance=Дистанция Загрузки chunks.load-distance=Дистанция Загрузки
+2 -3
View File
@@ -78,8 +78,7 @@ void show_content_missing(GUI* gui, const Content* content, ContentLUT* lut) {
void show_convert_request(GUI* gui, const Content* content, ContentLUT* lut, void show_convert_request(GUI* gui, const Content* content, ContentLUT* lut,
path folder) { path folder) {
guiutil::confirm(gui, L"Content indices have changed! Convert " guiutil::confirm(gui, langs::get(L"world.convert-request"),
+util::str2wstr_utf8(folder.string())+L"?",
[=]() { [=]() {
std::cout << "Convert the world: " << folder.string() << std::endl; std::cout << "Convert the world: " << folder.string() << std::endl;
// TODO: add multithreading here // TODO: add multithreading here
@@ -89,7 +88,7 @@ void show_convert_request(GUI* gui, const Content* content, ContentLUT* lut,
} }
converter->write(); converter->write();
delete lut; delete lut;
}, L"Yes", L"Cancel"); }, L"", langs::get(L"Cancel"));
} }
Panel* create_main_menu_panel(Engine* engine, PagesControl* menu) { Panel* create_main_menu_panel(Engine* engine, PagesControl* menu) {