diff --git a/Mods/vcmi/config/vcmi/chinese.json b/Mods/vcmi/config/vcmi/chinese.json index f86533d85..666b2168b 100644 --- a/Mods/vcmi/config/vcmi/chinese.json +++ b/Mods/vcmi/config/vcmi/chinese.json @@ -145,7 +145,7 @@ "vcmi.questLog.hideComplete.hover" : "隐藏完成任务", "vcmi.questLog.hideComplete.help" : "隐藏所有完成的任务", - "vcmi.randomMapTab.widgets.defaultTemplate" : "默认", + "vcmi.randomMapTab.widgets.randomTemplate" : "(随机)", "vcmi.randomMapTab.widgets.templateLabel" : "模板", "vcmi.randomMapTab.widgets.teamAlignmentsButton" : "设定...", "vcmi.randomMapTab.widgets.teamAlignmentsLabel" : "同盟关系", diff --git a/Mods/vcmi/config/vcmi/english.json b/Mods/vcmi/config/vcmi/english.json index 223891897..26eecc0ba 100644 --- a/Mods/vcmi/config/vcmi/english.json +++ b/Mods/vcmi/config/vcmi/english.json @@ -186,7 +186,7 @@ "vcmi.questLog.hideComplete.hover" : "Hide complete quests", "vcmi.questLog.hideComplete.help" : "Hide all completed quests", - "vcmi.randomMapTab.widgets.defaultTemplate" : "(default)", + "vcmi.randomMapTab.widgets.randomTemplate" : "(Random)", "vcmi.randomMapTab.widgets.templateLabel" : "Template", "vcmi.randomMapTab.widgets.teamAlignmentsButton" : "Setup...", "vcmi.randomMapTab.widgets.teamAlignmentsLabel" : "Team Alignments", diff --git a/Mods/vcmi/config/vcmi/french.json b/Mods/vcmi/config/vcmi/french.json index 5e54f9bda..1597ab88d 100644 --- a/Mods/vcmi/config/vcmi/french.json +++ b/Mods/vcmi/config/vcmi/french.json @@ -168,7 +168,6 @@ "vcmi.questLog.hideComplete.hover" : "Masquer les quêtes terminées", "vcmi.questLog.hideComplete.help" : "Masquer toutes les quêtes terminées", - "vcmi.randomMapTab.widgets.defaultTemplate" : "(par défaut)", "vcmi.randomMapTab.widgets.templateLabel" : "Modèle", "vcmi.randomMapTab.widgets.teamAlignmentsButton" : "Configuration...", "vcmi.randomMapTab.widgets.teamAlignmentsLabel" : "Alignements d'équipe", diff --git a/Mods/vcmi/config/vcmi/german.json b/Mods/vcmi/config/vcmi/german.json index df7a503ab..3a1694cc7 100644 --- a/Mods/vcmi/config/vcmi/german.json +++ b/Mods/vcmi/config/vcmi/german.json @@ -186,7 +186,7 @@ "vcmi.questLog.hideComplete.hover" : "Verstecke abgeschlossene Quests", "vcmi.questLog.hideComplete.help" : "Verstecke alle Quests die bereits abgeschlossen sind", - "vcmi.randomMapTab.widgets.defaultTemplate" : "(Standard)", + "vcmi.randomMapTab.widgets.randomTemplate" : "(Zufällig)", "vcmi.randomMapTab.widgets.templateLabel" : "Template", "vcmi.randomMapTab.widgets.teamAlignmentsButton" : "Einrichtung...", "vcmi.randomMapTab.widgets.teamAlignmentsLabel" : "Team-Zuordnungen", diff --git a/Mods/vcmi/config/vcmi/polish.json b/Mods/vcmi/config/vcmi/polish.json index b8e414826..9abf585bb 100644 --- a/Mods/vcmi/config/vcmi/polish.json +++ b/Mods/vcmi/config/vcmi/polish.json @@ -168,7 +168,7 @@ "vcmi.questLog.hideComplete.hover" : "Ukryj ukończone misje", "vcmi.questLog.hideComplete.help" : "Ukrywa wszystkie misje, które zostały zakończone", - "vcmi.randomMapTab.widgets.defaultTemplate" : "domyślny", + "vcmi.randomMapTab.widgets.randomTemplate" : "(Losowy)", "vcmi.randomMapTab.widgets.templateLabel" : "Szablon", "vcmi.randomMapTab.widgets.teamAlignmentsButton" : "Ustaw...", "vcmi.randomMapTab.widgets.teamAlignmentsLabel" : "Sojusze", diff --git a/Mods/vcmi/config/vcmi/russian.json b/Mods/vcmi/config/vcmi/russian.json index ccafeb9d2..51d13ac0d 100644 --- a/Mods/vcmi/config/vcmi/russian.json +++ b/Mods/vcmi/config/vcmi/russian.json @@ -119,7 +119,7 @@ "vcmi.questLog.hideComplete.hover" : "Скрыть завершенное", "vcmi.questLog.hideComplete.help" : "Скрыть все завершенные квесты", - "vcmi.randomMapTab.widgets.defaultTemplate" : "(по умолчанию)", + "vcmi.randomMapTab.widgets.randomTemplate" : "(Случайный)", "vcmi.randomMapTab.widgets.templateLabel" : "Шаблон", "vcmi.randomMapTab.widgets.teamAlignmentsButton" : "Настройка...", "vcmi.randomMapTab.widgets.teamAlignmentsLabel" : "Распределение команд", diff --git a/Mods/vcmi/config/vcmi/spanish.json b/Mods/vcmi/config/vcmi/spanish.json index 699654a0e..ffc43609b 100644 --- a/Mods/vcmi/config/vcmi/spanish.json +++ b/Mods/vcmi/config/vcmi/spanish.json @@ -142,7 +142,6 @@ "vcmi.questLog.hideComplete.hover" : "Ocultar misiones completas", "vcmi.questLog.hideComplete.help" : "Ocultar todas las misiones que ya han sido completadas", - "vcmi.randomMapTab.widgets.defaultTemplate" : "(predeterminado)", "vcmi.randomMapTab.widgets.templateLabel" : "Plantilla", "vcmi.randomMapTab.widgets.teamAlignmentsButton" : "Configurar...", "vcmi.randomMapTab.widgets.teamAlignmentsLabel" : "Alineaciones de equipos", diff --git a/Mods/vcmi/config/vcmi/ukrainian.json b/Mods/vcmi/config/vcmi/ukrainian.json index 1507ace26..8122e1df8 100644 --- a/Mods/vcmi/config/vcmi/ukrainian.json +++ b/Mods/vcmi/config/vcmi/ukrainian.json @@ -186,7 +186,7 @@ "vcmi.questLog.hideComplete.hover" : "Приховати завершені квести", "vcmi.questLog.hideComplete.help" : "Приховує всі квести, які вже мають стан виконаних", - "vcmi.randomMapTab.widgets.defaultTemplate" : "(за замовчуванням)", + "vcmi.randomMapTab.widgets.randomTemplate" : "(Випадковий)", "vcmi.randomMapTab.widgets.templateLabel" : "Шаблон", "vcmi.randomMapTab.widgets.teamAlignmentsButton" : "Налаштувати...", "vcmi.randomMapTab.widgets.teamAlignmentsLabel" : "Розподіл команд", diff --git a/client/lobby/RandomMapTab.cpp b/client/lobby/RandomMapTab.cpp index d2f55f820..dfb0157cb 100644 --- a/client/lobby/RandomMapTab.cpp +++ b/client/lobby/RandomMapTab.cpp @@ -306,7 +306,7 @@ void RandomMapTab::setMapGenOptions(std::shared_ptr opts) if(tmpl) w->addTextOverlay(tmpl->getName(), EFonts::FONT_SMALL); else - w->addTextOverlay(readText(variables["defaultTemplate"]), EFonts::FONT_SMALL); + w->addTextOverlay(readText(variables["randomTemplate"]), EFonts::FONT_SMALL); } for(auto r : VLC->roadTypeHandler->objects) { @@ -326,7 +326,7 @@ void RandomMapTab::setTemplate(const CRmgTemplate * tmpl) if(tmpl) w->addTextOverlay(tmpl->getName(), EFonts::FONT_SMALL); else - w->addTextOverlay(readText(variables["defaultTemplate"]), EFonts::FONT_SMALL); + w->addTextOverlay(readText(variables["randomTemplate"]), EFonts::FONT_SMALL); } updateMapInfoByHost(); } @@ -387,7 +387,7 @@ void TemplatesDropBox::ListItem::updateItem(int idx, const CRmgTemplate * _item) if(idx) w->setText(""); else - w->setText(readText(dropBox.variables["defaultTemplate"])); + w->setText(readText(dropBox.variables["randomTemplate"])); } } }