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

View File

@ -10,6 +10,7 @@ menu.settings=Settings
world.seed=Seed
world.name=World Name
world.create=Create World
world.convert-request=Content indices have changed! Convert world files?
# Settings
chunks.load-distance=Load Distance

View File

@ -2,6 +2,7 @@
Yes=Да
No=Нет
Ok=Ок
Cancel=Отмена
Back=Назад
Continue=Продолжить
@ -17,6 +18,7 @@ menu.settings=Настройки
world.seed=Зерно
world.name=Название
world.create=Создать Мир
world.convert-request=Есть изменения в индексах! Конвертировать мир?
# Настройки
chunks.load-distance=Дистанция Загрузки

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,
path folder) {
guiutil::confirm(gui, L"Content indices have changed! Convert "
+util::str2wstr_utf8(folder.string())+L"?",
guiutil::confirm(gui, langs::get(L"world.convert-request"),
[=]() {
std::cout << "Convert the world: " << folder.string() << std::endl;
// TODO: add multithreading here
@ -89,7 +88,7 @@ void show_convert_request(GUI* gui, const Content* content, ContentLUT* lut,
}
converter->write();
delete lut;
}, L"Yes", L"Cancel");
}, L"", langs::get(L"Cancel"));
}
Panel* create_main_menu_panel(Engine* engine, PagesControl* menu) {