diff --git a/client/renderSDL/ScreenHandler.cpp b/client/renderSDL/ScreenHandler.cpp index 1371c51c7..265c3b021 100644 --- a/client/renderSDL/ScreenHandler.cpp +++ b/client/renderSDL/ScreenHandler.cpp @@ -284,7 +284,12 @@ void ScreenHandler::initializeWindow() mainRenderer = SDL_CreateRenderer(mainWindow, getPreferredRenderingDriver(), rendererFlags); if(mainRenderer == nullptr) - throw std::runtime_error("Unable to create renderer\n"); + { + const char * error = SDL_GetError(); + std::string messagePattern = "Failed to create SDL renderer. Reason: %s"; + std::string message = boost::str(boost::format(messagePattern) % error); + handleFatalError(message, true); + } SDL_RendererInfo info; SDL_GetRendererInfo(mainRenderer, &info); diff --git a/launcher/languages.cpp b/launcher/languages.cpp index 670faa345..8dcd86d39 100644 --- a/launcher/languages.cpp +++ b/launcher/languages.cpp @@ -86,7 +86,7 @@ QString Languages::generateLanguageName(const Languages::Options & language) void Languages::fillLanguages(QComboBox * widget, bool includeAll) { - widget->blockSignals(true); // we do not want calls caused by initialization + QSignalBlocker guard(widget); // we do not want calls caused by initialization widget->clear(); std::string activeLanguage = includeAll ? @@ -115,13 +115,11 @@ void Languages::fillLanguages(QComboBox * widget, bool includeAll) if(activeLanguage == language.identifier) widget->setCurrentIndex(widget->count() - 1); } - - widget->blockSignals(false); } void Languages::fillLanguages(QListWidget * widget, bool includeAll) { - widget->blockSignals(true); // we do not want calls caused by initialization + QSignalBlocker guard(widget); // we do not want calls caused by initialization widget->clear(); std::string activeLanguage = includeAll ? @@ -154,5 +152,4 @@ void Languages::fillLanguages(QListWidget * widget, bool includeAll) if(activeLanguage == language.identifier) widget->setCurrentRow(widget->count() - 1); } - widget->blockSignals(false); } diff --git a/launcher/settingsView/csettingsview_moc.cpp b/launcher/settingsView/csettingsview_moc.cpp index e0c6bb635..edf8d54bd 100644 --- a/launcher/settingsView/csettingsview_moc.cpp +++ b/launcher/settingsView/csettingsview_moc.cpp @@ -117,6 +117,7 @@ void CSettingsView::loadSettings() ui->lineEditAutoSavePrefix->setEnabled(settings["general"]["useSavePrefix"].Bool()); Languages::fillLanguages(ui->comboBoxLanguage, false); + fillValidRenderers(); std::string cursorType = settings["video"]["cursor"].String(); size_t cursorTypeIndex = boost::range::find(cursorTypesList, cursorType) - cursorTypesList; @@ -163,6 +164,24 @@ void CSettingsView::fillValidScalingRange() #ifndef VCMI_MOBILE +static QStringList getAvailableRenderingDrivers() +{ + SDL_Init(SDL_INIT_VIDEO); + QStringList result; + + int driversCount = SDL_GetNumRenderDrivers(); + + for(int it = 0; it < driversCount; it++) + { + SDL_RendererInfo info; + if (SDL_GetRenderDriverInfo(it, &info) == 0) + result += QString::fromLatin1(info.name); + } + + SDL_Quit(); + return result; +} + static QVector findAvailableResolutions(int displayIndex) { // Ugly workaround since we don't actually need SDL in Launcher @@ -197,13 +216,13 @@ static QVector findAvailableResolutions(int displayIndex) void CSettingsView::fillValidResolutionsForScreen(int screenIndex) { - ui->comboBoxResolution->blockSignals(true); // avoid saving wrong resolution after adding first item from the list + QSignalBlocker guard(ui->comboBoxResolution); // avoid saving wrong resolution after adding first item from the list + ui->comboBoxResolution->clear(); bool fullscreen = settings["video"]["fullscreen"].Bool(); bool realFullscreen = settings["video"]["realFullscreen"].Bool(); - if (!fullscreen || realFullscreen) { QVector resolutions = findAvailableResolutions(screenIndex); @@ -225,8 +244,21 @@ void CSettingsView::fillValidResolutionsForScreen(int screenIndex) // if selected resolution no longer exists, force update value to the largest (last) resolution if(resIndex == -1) ui->comboBoxResolution->setCurrentIndex(ui->comboBoxResolution->count() - 1); +} - ui->comboBoxResolution->blockSignals(false); +void CSettingsView::fillValidRenderers() +{ + QSignalBlocker guard(ui->comboBoxRendererType); // avoid saving wrong renderer after adding first item from the list + + ui->comboBoxRendererType->clear(); + + auto driversList = getAvailableRenderingDrivers(); + ui->comboBoxRendererType->addItems(driversList); + + std::string rendererName = settings["video"]["driver"].String(); + + int index = ui->comboBoxRendererType->findText(QString::fromStdString(rendererName)); + ui->comboBoxRendererType->setCurrentIndex(index); } #else void CSettingsView::fillValidResolutionsForScreen(int screenIndex) @@ -235,6 +267,13 @@ void CSettingsView::fillValidResolutionsForScreen(int screenIndex) ui->comboBoxResolution->hide(); ui->labelResolution->hide(); } + +void CSettingsView::fillValidRenderers() +{ + // untested on mobile platforms + ui->comboBoxRendererType->hide(); + ui->labelRendererType->hide(); +} #endif CSettingsView::CSettingsView(QWidget * parent) @@ -542,3 +581,10 @@ void CSettingsView::on_spinBoxReservedArea_valueChanged(int arg1) node->Float() = float(arg1) / 100; // percentage -> ratio } + +void CSettingsView::on_comboBoxRendererType_currentTextChanged(const QString &arg1) +{ + Settings node = settings.write["video"]["driver"]; + node->String() = arg1.toStdString(); +} + diff --git a/launcher/settingsView/csettingsview_moc.h b/launcher/settingsView/csettingsview_moc.h index 0a144f7f5..084c0bc50 100644 --- a/launcher/settingsView/csettingsview_moc.h +++ b/launcher/settingsView/csettingsview_moc.h @@ -76,9 +76,12 @@ private slots: void on_spinBoxReservedArea_valueChanged(int arg1); + void on_comboBoxRendererType_currentTextChanged(const QString &arg1); + private: Ui::CSettingsView * ui; + void fillValidRenderers(); void fillValidResolutionsForScreen(int screenIndex); void fillValidScalingRange(); QSize getPreferredRenderingResolution(); diff --git a/launcher/settingsView/csettingsview_moc.ui b/launcher/settingsView/csettingsview_moc.ui index d95998846..240216df1 100644 --- a/launcher/settingsView/csettingsview_moc.ui +++ b/launcher/settingsView/csettingsview_moc.ui @@ -48,27 +48,104 @@ 0 0 - 970 - 895 + 969 + 818 - - + + + + + - Heroes III Translation + - - + + + + false + + + BattleAI + + + + BattleAI + + + + + StupidAI + + + + + + + 75 true - General + Video + + + + + + + + 75 + true + + + + Artificial Intelligence + + + + + + + Cursor + + + + + + + + + + Heroes III Data Language + + + + + + + + + + Display index + + + + + + + + + + + + + true @@ -79,72 +156,62 @@ - - + + - Interface Scaling + Heroes III Translation - - + + - Autosave prefix + Enemy AI in battles - + + + + Additional repository + + + + + + + + + + + + + + Show intro + + + + + + + + 75 + true + + + + Mod Repositories + + + + Adventure Map Allies - - - - - true - - - - Video - - - - - - - 20 - - - 1000 - - - 10 - - - - - - - - true - - - - Artificial Intelligence - - - - - - - empty = map name prefix - - - - + true @@ -157,27 +224,40 @@ - - + + - - - - - - - - Autosave limit (0 = off) + Interface Scaling - + + + 1 + + + + Off + + + + + On + + + - - - - Additional repository + + + + 50 + + + 400 + + + 10 @@ -200,56 +280,21 @@ - - - - Show intro + + + + 1024 + + + 65535 + + + 3030 - - - - 1 - - - - Off - - - - - On - - - - - - - - Enemy AI in battles - - - - - - - VCAI - - - - VCAI - - - - - Nullkiller - - - - - - + + false @@ -268,10 +313,99 @@ - - + + - + + + + + + + + 20 + + + 1000 + + + 10 + + + + + + + + + + true + + + + + + + Reserved screen area + + + + + + + Resolution + + + + + + + VCMI Language + + + + + + + Framerate Limit + + + + + + + VCAI + + + + VCAI + + + + + Nullkiller + + + + + + + + Neutral AI in battles + + + + + + + Friendly AI in battles + + + + + + + @@ -306,123 +440,10 @@ Fullscreen Exclusive Mode - game will cover entirety of your screen and will use - - - - - + + - Display index - - - - - - - VCAI - - - - VCAI - - - - - Nullkiller - - - - - - - - - - - - - - - Default repository - - - - - - - Heroes III Data Language - - - - - - - - - - true - - - - - - - Framerate Limit - - - - - - - Friendly AI in battles - - - - - - - VCMI Language - - - - - - - - - - true - - - - - - - - - - 50 - - - 400 - - - 10 - - - - - - - - - - - true - - - - Mod Repositories + Autosave @@ -433,84 +454,13 @@ Fullscreen Exclusive Mode - game will cover entirety of your screen and will use - - + + - Resolution + Autosave prefix - - - - 1024 - - - 65535 - - - 3030 - - - - - - - Autosave - - - - - - - Cursor - - - - - - - - Hardware - - - - - Software - - - - - - - - - - - Network port - - - - - - - false - - - BattleAI - - - - BattleAI - - - - - StupidAI - - - - @@ -528,59 +478,58 @@ Fullscreen Exclusive Mode - game will cover entirety of your screen and will use - - + + + + empty = map name prefix + + + + + + + + 75 + true + + - Refresh now + General - + - BattleAI + VCAI - BattleAI + VCAI - StupidAI + Nullkiller - - - - Check on startup - + + + + + Hardware + + + + + Software + + - - - - Neutral AI in battles - - - - - - - Reserved screen area - - - - - - - Adventure Map Enemies - - - - + 1 @@ -597,6 +546,16 @@ Fullscreen Exclusive Mode - game will cover entirety of your screen and will use + + + + Adventure Map Enemies + + + + + + @@ -604,10 +563,65 @@ Fullscreen Exclusive Mode - game will cover entirety of your screen and will use - - + + + + BattleAI + + + + BattleAI + + + + + StupidAI + + + + + + - + Check on startup + + + + + + + Autosave limit (0 = off) + + + + + + + Network port + + + + + + + Refresh now + + + + + + + Default repository + + + + + + + + + + Renderer diff --git a/launcher/translation/chinese.ts b/launcher/translation/chinese.ts index 3b65d01a2..77582801a 100644 --- a/launcher/translation/chinese.ts +++ b/launcher/translation/chinese.ts @@ -253,7 +253,7 @@ - + Description 详细介绍 @@ -303,123 +303,123 @@ 终止 - + Mod name MOD名称 - + Installed version 已安装的版本 - + Latest version 最新版本 - + Size - + Download size 下载大小 - + Authors 作者 - + License 授权许可 - + Contact 联系方式 - + Compatibility 兼容性 - - + + Required VCMI version 需要VCMI版本 - + Supported VCMI version 支持的VCMI版本 - + Supported VCMI versions 支持的VCMI版本 - + Languages 语言 - + Required mods 前置MODs - + Conflicting mods 冲突的MODs - + This mod can not be installed or enabled because the following dependencies are not present 这个模组无法被安装或者激活,因为下列依赖项未满足 - + This mod can not be enabled because the following mods are incompatible with it 这个模组无法被激活,因为下列模组与其不兼容 - + This mod cannot be disabled because it is required by the following mods 这个模组无法被禁用,因为它被下列模组所依赖 - + This mod cannot be uninstalled or updated because it is required by the following mods 这个模组无法被卸载或者更新,因为它被下列模组所依赖 - + This is a submod and it cannot be installed or uninstalled separately from its parent mod 这是一个附属模组它无法在所属模组外被直接被安装或者卸载 - + Notes 笔记注释 - + Downloading %s%. %p% (%v MB out of %m MB) finished - + Download failed - + Unable to download all files. Encountered errors: @@ -428,35 +428,35 @@ Encountered errors: - + Install successfully downloaded? - + Installing mod %1 - + Operation failed - + Encountered errors: - + Screenshot %1 截图 %1 - + Mod is incompatible MOD不兼容 @@ -464,123 +464,126 @@ Install successfully downloaded? CSettingsView - - - + + + Off 关闭 - - + Artificial Intelligence 人工智能 - - + Mod Repositories 模组仓库 - + Interface Scaling - + Neutral AI in battles - + Enemy AI in battles - + Additional repository - + Adventure Map Allies - + Adventure Map Enemies - + Windowed - + Borderless fullscreen - + Exclusive fullscreen - + Autosave limit (0 = off) - + Friendly AI in battles - + Framerate Limit - + Autosave prefix - + empty = map name prefix - + Refresh now - + Default repository - - - + + Renderer + + + + + + On 开启 - + Cursor 鼠标指针 - + Heroes III Data Language 英雄无敌3数据语言 - + Select display mode for game Windowed - game will run inside a window that covers part of your screen @@ -591,105 +594,103 @@ Fullscreen Exclusive Mode - game will cover entirety of your screen and will use - + Reserved screen area - + Hardware 硬件 - + Software 软件 - + Heroes III Translation 发布版本里找不到这个项,不太清楚意义 英雄无敌3翻译 - + Check on startup 启动时检查更新 - + Fullscreen 全屏 - - + General 通用设置 - + VCMI Language VCMI语言 - + Resolution 分辨率 - + Autosave 自动存档 - + VSync - + Display index 显示器序号 - + Network port 网络端口 - - + Video 视频设置 - + Show intro 显示开场动画 - + Active 激活 - + Disabled 禁用 - + Enable 启用 - + Not Installed 未安装 - + Install 安装 diff --git a/launcher/translation/czech.ts b/launcher/translation/czech.ts index 595fd591c..abc893247 100644 --- a/launcher/translation/czech.ts +++ b/launcher/translation/czech.ts @@ -252,7 +252,7 @@ - + Description Popis @@ -302,123 +302,123 @@ Zrušit - + Mod name Název modifikace - + Installed version Nainstalovaná verze - + Latest version Nejnovější verze - + Size Velikost - + Download size Velikost ke stažení - + Authors Autoři - + License Licence - + Contact Kontakt - + Compatibility Kompabilita - - + + Required VCMI version Vyžadovaná verze VCMI - + Supported VCMI version Podporovaná verze VCMI - + Supported VCMI versions Podporované verze VCMI - + Languages Jazyky - + Required mods Vyžadované modifikace VCMI - + Conflicting mods Modifikace v kolizi - + This mod can not be installed or enabled because the following dependencies are not present Tato modifikace nemůže být nainstalována nebo povolena, protože následující závislosti nejsou přítomny - + This mod can not be enabled because the following mods are incompatible with it Tato modifikace nemůže být povolena, protože následující modifikace s ní nejsou kompatibilní - + This mod cannot be disabled because it is required by the following mods Tato modifikace nemůže být zakázána, protože je vyžadována následujícími modifikacemi - + This mod cannot be uninstalled or updated because it is required by the following mods Tato modifikace nemůže být odinstalována nebo aktualizována, protože je vyžadována následujícími modifikacemi - + This is a submod and it cannot be installed or uninstalled separately from its parent mod Toto je podmodifikace, která nemůže být nainstalována nebo odinstalována bez její rodičovské modifikace - + Notes Poznámky - + Downloading %s%. %p% (%v MB out of %m MB) finished Stahování %s%. %p% (%v MB z %m MB) dokončeno - + Download failed Stahování selhalo - + Unable to download all files. Encountered errors: @@ -431,7 +431,7 @@ Vyskytly se chyby: - + Install successfully downloaded? @@ -440,29 +440,29 @@ Install successfully downloaded? Nainstalovat úspěšně stažené? - + Installing mod %1 Instalování modifikace %1 - + Operation failed Operace selhala - + Encountered errors: Vyskytly se chyby: - + Screenshot %1 Snímek obrazovky %1 - + Mod is incompatible Modifikace není kompatibilní @@ -470,123 +470,126 @@ Nainstalovat úspěšně stažené? CSettingsView - - - + + + Off Vypnuto - - + Artificial Intelligence Umělá inteligence - - + Mod Repositories Repozitáře modifikací - + Interface Scaling Škálování rozhraní - + Neutral AI in battles Neutrální AI v bitvách - + Enemy AI in battles Nepřátelská AI v bitvách - + Additional repository Další repozitáře - + Adventure Map Allies Spojenci na mapě světa - + Adventure Map Enemies Nepřátelé na mapě světa - + Windowed V okně - + Borderless fullscreen Celá obrazovka bez okrajů - + Exclusive fullscreen Exkluzivní celá obrazovka - + Autosave limit (0 = off) Limit aut. uložení (0=vypnuto) - + Friendly AI in battles Přátelské AI v bitvách - + Framerate Limit Omezení snímků za sekundu - + Autosave prefix Předpona aut. uložení - + empty = map name prefix prázná = předpona - název mapy - + Refresh now Obnovit nyní - + Default repository Výchozí repozitář - - - + + Renderer + + + + + + On Zapnuto - + Cursor Kurzor - + Heroes III Data Language Jazyk dat Heroes III - + Select display mode for game Windowed - game will run inside a window that covers part of your screen @@ -603,106 +606,104 @@ Celá obrazovka bez okrajů- hra poběží v okně, které zakryje vaši celou Exkluzivní celá obrazovka - hra zakryje vaši celou obrazovku a použije vybrané rozlišení. - + Reserved screen area Vyhrazená část obrazovky - + Hardware Hardware - + Software Software - + Heroes III Translation Překlad Heroes III - + Check on startup Zkontrolovat při zapnutí - + Fullscreen Celá obrazovka - - + General Všeobecné - + VCMI Language Jazyk VCMI - + Resolution Rozlišení - + Autosave Automatické uložení - + VSync VSync - + Display index - + Network port Síťový port - - + Video Zobrazení - + Show intro Zobrazit intro - + Active Aktivní - + Disabled - + Enable - + Povolit - + Not Installed - + Install - + Instalovat diff --git a/launcher/translation/english.ts b/launcher/translation/english.ts index 691c1b400..2e6764c8f 100644 --- a/launcher/translation/english.ts +++ b/launcher/translation/english.ts @@ -252,7 +252,7 @@ - + Description @@ -302,123 +302,123 @@ - + Mod name - + Installed version - + Latest version - + Size - + Download size - + Authors - + License - + Contact - + Compatibility - - + + Required VCMI version - + Supported VCMI version - + Supported VCMI versions - + Languages - + Required mods - + Conflicting mods - + This mod can not be installed or enabled because the following dependencies are not present - + This mod can not be enabled because the following mods are incompatible with it - + This mod cannot be disabled because it is required by the following mods - + This mod cannot be uninstalled or updated because it is required by the following mods - + This is a submod and it cannot be installed or uninstalled separately from its parent mod - + Notes - + Downloading %s%. %p% (%v MB out of %m MB) finished - + Download failed - + Unable to download all files. Encountered errors: @@ -427,35 +427,35 @@ Encountered errors: - + Install successfully downloaded? - + Installing mod %1 - + Operation failed - + Encountered errors: - + Screenshot %1 - + Mod is incompatible @@ -463,123 +463,126 @@ Install successfully downloaded? CSettingsView - - - + + + Off - - + Artificial Intelligence - - + Mod Repositories - + Interface Scaling - + Neutral AI in battles - + Enemy AI in battles - + Additional repository - + Adventure Map Allies - + Adventure Map Enemies - + Windowed - + Borderless fullscreen - + Exclusive fullscreen - + Autosave limit (0 = off) - + Friendly AI in battles - + Framerate Limit - + Autosave prefix - + empty = map name prefix - + Refresh now - + Default repository - - - + + Renderer + + + + + + On - + Cursor - + Heroes III Data Language - + Select display mode for game Windowed - game will run inside a window that covers part of your screen @@ -590,104 +593,102 @@ Fullscreen Exclusive Mode - game will cover entirety of your screen and will use - + Reserved screen area - + Hardware - + Software - + Heroes III Translation - + Check on startup - + Fullscreen - - + General - + VCMI Language - + Resolution - + Autosave - + VSync - + Display index - + Network port - - + Video - + Show intro - + Active - + Disabled - + Enable - + Not Installed - + Install diff --git a/launcher/translation/french.ts b/launcher/translation/french.ts index 1f1949470..ff8e76145 100644 --- a/launcher/translation/french.ts +++ b/launcher/translation/french.ts @@ -252,7 +252,7 @@ - + Description Description @@ -302,128 +302,128 @@ Abandonner - + Mod name Nom du mod - + Installed version Version installée - + Latest version Dernière version - + Size - + Download size Taille de téléchargement - + Authors Auteur(s) - + License Licence - + Contact Contact - + Compatibility Compatibilité - - + + Required VCMI version Version requise de VCMI - + Supported VCMI version Version supportée de VCMI - + Supported VCMI versions Versions supportées de VCMI - + Languages Langues - + Required mods Mods requis - + Conflicting mods Mods en conflit - + This mod can not be installed or enabled because the following dependencies are not present Ce mod ne peut pas être installé ou activé car les dépendances suivantes ne sont pas présents - + This mod can not be enabled because the following mods are incompatible with it Ce mod ne peut pas être installé ou activé, car les dépendances suivantes sont incompatibles avec lui - + This mod cannot be disabled because it is required by the following mods Ce mod ne peut pas être désactivé car il est requis pour les dépendances suivantes - + This mod cannot be uninstalled or updated because it is required by the following mods Ce mod ne peut pas être désinstallé ou mis à jour car il est requis pour les dépendances suivantes - + This is a submod and it cannot be installed or uninstalled separately from its parent mod Ce sous-mod ne peut pas être installé ou mis à jour séparément du mod parent - + Notes Notes - + Downloading %s%. %p% (%v MB out of %m MB) finished - + Download failed - + Unable to download all files. Encountered errors: @@ -432,35 +432,35 @@ Encountered errors: - + Install successfully downloaded? - + Installing mod %1 - + Operation failed - + Encountered errors: - + Screenshot %1 Impression écran %1 - + Mod is incompatible Ce mod est incompatible @@ -468,48 +468,46 @@ Install successfully downloaded? CSettingsView - - - + + + Off Désactivé - - + Artificial Intelligence Intelligence Artificielle - - + Mod Repositories Dépôts de Mod - - - + + + On Activé - + Enemy AI in battles IA ennemie dans les batailles - + Default repository Dépôt par défaut - + VSync - + Select display mode for game Windowed - game will run inside a window that covers part of your screen @@ -526,179 +524,182 @@ Mode fenêtré sans bord - le jeu s"exécutera dans une fenêtre qui couvre Mode exclusif plein écran - le jeu couvrira l"intégralité de votre écran et utilisera la résolution sélectionnée. - + Windowed Fenêtré - + Borderless fullscreen Fenêtré sans bord - + Exclusive fullscreen Plein écran exclusif - + Reserved screen area - + Neutral AI in battles IA neutre dans les batailles - + Autosave limit (0 = off) - + Adventure Map Enemies Ennemis de la carte d"aventure - + Autosave prefix - + empty = map name prefix - + Interface Scaling Mise à l"échelle de l"interface - + Cursor Curseur - + Heroes III Data Language Langue des Données de Heroes III - + Framerate Limit Limite de fréquence d"images - + Hardware Matériel - + Software Logiciel - + + Renderer + + + + Heroes III Translation Traduction de Heroes III - + Adventure Map Allies Alliés de la carte d"aventure - + Additional repository Dépôt supplémentaire - + Check on startup Vérifier au démarrage - + Refresh now Actualiser maintenant - + Friendly AI in battles IA amicale dans les batailles - + Fullscreen Plein écran - - + General Général - + VCMI Language Langue de VCMI - + Resolution Résolution - + Autosave Sauvegarde automatique - + Display index Index d'affichage - + Network port Port de réseau - - + Video Vidéo - + Show intro Montrer l'intro - + Active Actif - + Disabled Désactivé - + Enable Activé - + Not Installed Pas Installé - + Install Installer diff --git a/launcher/translation/german.ts b/launcher/translation/german.ts index b9f875973..84073ee83 100644 --- a/launcher/translation/german.ts +++ b/launcher/translation/german.ts @@ -252,7 +252,7 @@ - + Description Beschreibung @@ -302,123 +302,123 @@ Abbrechen - + Mod name Mod-Name - + Installed version Installierte Version - + Latest version Letzte Version - + Size Größe - + Download size Downloadgröße - + Authors Autoren - + License Lizenz - + Contact Kontakt - + Compatibility Kompatibilität - - + + Required VCMI version Benötigte VCMI Version - + Supported VCMI version Unterstützte VCMI Version - + Supported VCMI versions Unterstützte VCMI Versionen - + Languages Sprachen - + Required mods Benötigte Mods - + Conflicting mods Mods mit Konflikt - + This mod can not be installed or enabled because the following dependencies are not present Diese Mod kann nicht installiert oder aktiviert werden, da die folgenden Abhängigkeiten nicht vorhanden sind - + This mod can not be enabled because the following mods are incompatible with it Diese Mod kann nicht aktiviert werden, da folgende Mods nicht mit dieser Mod kompatibel sind - + This mod cannot be disabled because it is required by the following mods Diese Mod kann nicht deaktiviert werden, da sie zum Ausführen der folgenden Mods erforderlich ist - + This mod cannot be uninstalled or updated because it is required by the following mods Diese Mod kann nicht deinstalliert oder aktualisiert werden, da sie für die folgenden Mods erforderlich ist - + This is a submod and it cannot be installed or uninstalled separately from its parent mod Dies ist eine Submod und kann nicht separat von der Hauptmod installiert oder deinstalliert werden - + Notes Anmerkungen - + Downloading %s%. %p% (%v MB out of %m MB) finished Herunterladen von %s%. %p% (%v MB von %m MB) beendet - + Download failed Download fehlgeschlagen - + Unable to download all files. Encountered errors: @@ -431,7 +431,7 @@ Es sind Fehler aufgetreten: - + Install successfully downloaded? @@ -440,29 +440,29 @@ Install successfully downloaded? Installation erfolgreich heruntergeladen? - + Installing mod %1 Installation von Mod %1 - + Operation failed Operation fehlgeschlagen - + Encountered errors: Aufgetretene Fehler: - + Screenshot %1 Screenshot %1 - + Mod is incompatible Mod ist inkompatibel @@ -470,123 +470,126 @@ Installation erfolgreich heruntergeladen? CSettingsView - - - + + + Off Aus - - + Artificial Intelligence Künstliche Intelligenz - - + Mod Repositories Mod-Repositorien - + Interface Scaling Skalierung der Benutzeroberfläche - + Neutral AI in battles Neutrale KI in Kämpfen - + Enemy AI in battles Gegnerische KI in Kämpfen - + Additional repository Zusätzliches Repository - + Adventure Map Allies Abenteuerkarte Verbündete - + Adventure Map Enemies Abenteuerkarte Feinde - + Windowed Fenstermodus - + Borderless fullscreen Randloser Vollbildmodus - + Exclusive fullscreen Exklusiver Vollbildmodus - + Autosave limit (0 = off) Limit für Autospeicherung (0 = aus) - + Friendly AI in battles Freundliche KI in Kämpfen - + Framerate Limit Limit der Bildrate - + Autosave prefix Präfix für Autospeicherung - + empty = map name prefix leer = Kartenname als Präfix - + Refresh now Jetzt aktualisieren - + Default repository Standard Repository - - - + + Renderer + + + + + + On An - + Cursor Zeiger - + Heroes III Data Language Sprache der Heroes III Daten - + Select display mode for game Windowed - game will run inside a window that covers part of your screen @@ -603,104 +606,102 @@ Randloser Fenstermodus - das Spiel läuft in einem Fenster, das den gesamten Bil Exklusiver Vollbildmodus - das Spiel bedeckt den gesamten Bildschirm und verwendet die gewählte Auflösung. - + Reserved screen area Reservierter Bildschirmbereich - + Hardware Hardware - + Software Software - + Heroes III Translation Heroes III Übersetzung - + Check on startup Beim Start prüfen - + Fullscreen Vollbild - - + General Allgemein - + VCMI Language VCMI-Sprache - + Resolution Auflösung - + Autosave Autospeichern - + VSync VSync - + Display index Anzeige-Index - + Network port Netzwerk-Port - - + Video Video - + Show intro Intro anzeigen - + Active Aktiv - + Disabled Deaktiviert - + Enable Aktivieren - + Not Installed Nicht installiert - + Install Installieren diff --git a/launcher/translation/polish.ts b/launcher/translation/polish.ts index 554fab79f..d4a7e0747 100644 --- a/launcher/translation/polish.ts +++ b/launcher/translation/polish.ts @@ -252,7 +252,7 @@ - + Description Opis @@ -302,123 +302,123 @@ Przerwij - + Mod name Nazwa moda - + Installed version Zainstalowana wersja - + Latest version Najnowsza wersja - + Size Rozmiar - + Download size Rozmiar pobierania - + Authors Autorzy - + License Licencja - + Contact Kontakt - + Compatibility Kompatybilność - - + + Required VCMI version Wymagana wersja VCMI - + Supported VCMI version Wspierana wersja VCMI - + Supported VCMI versions Wspierane wersje VCMI - + Languages Języki - + Required mods Wymagane mody - + Conflicting mods Konfliktujące mody - + This mod can not be installed or enabled because the following dependencies are not present Ten mod nie może zostać zainstalowany lub włączony ponieważ następujące zależności nie zostały spełnione - + This mod can not be enabled because the following mods are incompatible with it Ten mod nie może zostać włączony ponieważ następujące mody są z nim niekompatybilne - + This mod cannot be disabled because it is required by the following mods Ten mod nie może zostać wyłączony ponieważ jest wymagany do uruchomienia następujących modów - + This mod cannot be uninstalled or updated because it is required by the following mods Ten mod nie może zostać odinstalowany lub zaktualizowany ponieważ jest wymagany do uruchomienia następujących modów - + This is a submod and it cannot be installed or uninstalled separately from its parent mod To jest moduł składowy innego moda i nie może być zainstalowany lub odinstalowany oddzielnie od moda nadrzędnego - + Notes Uwagi - + Downloading %s%. %p% (%v MB out of %m MB) finished Pobieranie %s%. %p% (%v MB z %m MB) ukończono - + Download failed Pobieranie nieudane - + Unable to download all files. Encountered errors: @@ -431,7 +431,7 @@ Napotkane błędy: - + Install successfully downloaded? @@ -440,29 +440,29 @@ Install successfully downloaded? Zainstalować pomyślnie pobrane? - + Installing mod %1 Instalowanie modyfikacji %1 - + Operation failed Operacja nieudana - + Encountered errors: Napotkane błędy: - + Screenshot %1 Zrzut ekranu %1 - + Mod is incompatible Mod jest niekompatybilny @@ -470,123 +470,126 @@ Zainstalować pomyślnie pobrane? CSettingsView - - - + + + Off Wyłączony - - + Artificial Intelligence Sztuczna Inteligencja - - + Mod Repositories Repozytoria modów - + Interface Scaling Skala interfejsu - + Neutral AI in battles AI bitewne jednostek neutralnych - + Enemy AI in battles AI bitewne wrogów - + Additional repository Dodatkowe repozytorium - + Adventure Map Allies AI sojuszników mapy przygody - + Adventure Map Enemies AI wrogów mapy przygody - + Windowed Okno - + Borderless fullscreen Pełny ekran (tryb okna) - + Exclusive fullscreen Pełny ekran klasyczny - + Autosave limit (0 = off) Limit autozapisów (0 = brak) - + Friendly AI in battles AI bitewne sojuszników - + Framerate Limit Limit FPS - + Autosave prefix Przedrostek autozapisu - + empty = map name prefix puste = przedrostek z nazwy mapy - + Refresh now Odśwież - + Default repository Domyślne repozytorium - - - + + Renderer + + + + + + On Włączony - + Cursor Kursor - + Heroes III Data Language Język plików Heroes III - + Select display mode for game Windowed - game will run inside a window that covers part of your screen @@ -603,104 +606,102 @@ Pełny ekran w trybie okna - gra uruchomi się w oknie przysłaniającym cały e Pełny ekran klasyczny - gra przysłoni cały ekran uruchamiając się w wybranej przez ciebie rozdzielczości ekranu. - + Reserved screen area Zarezerwowany obszar ekranu - + Hardware Sprzętowy - + Software Programowy - + Heroes III Translation Tłumaczenie Heroes III - + Check on startup Sprawdzaj przy uruchomieniu - + Fullscreen Pełny ekran - - + General Ogólne - + VCMI Language Język VCMI - + Resolution Rozdzielczość - + Autosave Autozapis - + VSync Synchronizacja pionowa (VSync) - + Display index Numer wyświetlacza - + Network port Port sieciowy - - + Video Obraz - + Show intro Pokaż intro - + Active Aktywny - + Disabled Wyłączone - + Enable Włącz - + Not Installed Nie zainstalowano - + Install Zainstaluj diff --git a/launcher/translation/russian.ts b/launcher/translation/russian.ts index c421df14b..40a305787 100644 --- a/launcher/translation/russian.ts +++ b/launcher/translation/russian.ts @@ -252,7 +252,7 @@ - + Description Описание @@ -302,123 +302,123 @@ Отмена - + Mod name Название мода - + Installed version Установленная версия - + Latest version Последняя версия - + Size - + Download size Размер загрузки - + Authors Авторы - + License Лицензия - + Contact Контакты - + Compatibility Совместимость - - + + Required VCMI version Требуемая версия VCMI - + Supported VCMI version Поддерживаемая версия VCMI - + Supported VCMI versions Поддерживаемые версии VCMI - + Languages Языки - + Required mods Зависимости - + Conflicting mods Конфликтующие моды - + This mod can not be installed or enabled because the following dependencies are not present Этот мод не может быть установлен или активирован, так как отсутствуют следующие зависимости - + This mod can not be enabled because the following mods are incompatible with it Этот мод не может быть установлен или активирован, так как следующие моды несовместимы с этим - + This mod cannot be disabled because it is required by the following mods Этот мод не может быть выключен, так как он является зависимостью для следующих - + This mod cannot be uninstalled or updated because it is required by the following mods Этот мод не может быть удален или обновлен, так как является зависимостью для следующих модов - + This is a submod and it cannot be installed or uninstalled separately from its parent mod Это вложенный мод, он не может быть установлен или удален отдельно от родительского - + Notes Замечания - + Downloading %s%. %p% (%v MB out of %m MB) finished - + Download failed - + Unable to download all files. Encountered errors: @@ -427,35 +427,35 @@ Encountered errors: - + Install successfully downloaded? - + Installing mod %1 - + Operation failed - + Encountered errors: - + Screenshot %1 Скриншот %1 - + Mod is incompatible Мод несовместим @@ -463,154 +463,156 @@ Install successfully downloaded? CSettingsView - + Interface Scaling - - - + + + Off Отключено - - - + + + On Включено - + Neutral AI in battles - + Enemy AI in battles - + Additional repository - + Check on startup Проверять при запуске - + Fullscreen Полноэкранный режим - - + General Общее - + VCMI Language Язык VCMI - + Cursor Курсор - - + Artificial Intelligence Искусственный интеллект - - + Mod Repositories Репозитории модов - + Adventure Map Allies - + Refresh now - + Adventure Map Enemies - + VSync - + Windowed - + Borderless fullscreen - + Exclusive fullscreen - + Reserved screen area - + Autosave limit (0 = off) - + Friendly AI in battles - + Framerate Limit - + Autosave prefix - + empty = map name prefix - + Default repository - + + Renderer + + + + Heroes III Data Language Язык данных Героев III - + Select display mode for game Windowed - game will run inside a window that covers part of your screen @@ -621,73 +623,72 @@ Fullscreen Exclusive Mode - game will cover entirety of your screen and will use - + Hardware Аппаратный - + Software Программный - + Heroes III Translation Перевод Героев III - + Resolution Разрешение экрана - + Autosave Автосохранение - + Display index Дисплей - + Network port Сетевой порт - - + Video Графика - + Show intro Вступление - + Active Активен - + Disabled Отключен - + Enable Включить - + Not Installed Не установлен - + Install Установить diff --git a/launcher/translation/spanish.ts b/launcher/translation/spanish.ts index 2dba9fdbe..10c94498e 100644 --- a/launcher/translation/spanish.ts +++ b/launcher/translation/spanish.ts @@ -252,7 +252,7 @@ - + Description Descripción @@ -302,123 +302,123 @@ Cancelar - + Mod name Nombre del mod - + Installed version Versión instalada - + Latest version Última versión - + Size - + Download size Tamaño de descarga - + Authors Autores - + License Licencia - + Contact Contacto - + Compatibility Compatibilidad - - + + Required VCMI version Versión de VCMI requerida - + Supported VCMI version Versión de VCMI compatible - + Supported VCMI versions Versiones de VCMI compatibles - + Languages Idiomas - + Required mods Mods requeridos - + Conflicting mods Mods conflictivos - + This mod can not be installed or enabled because the following dependencies are not present Este mod no se puede instalar o habilitar porque no están presentes las siguientes dependencias - + This mod can not be enabled because the following mods are incompatible with it Este mod no se puede habilitar porque los siguientes mods son incompatibles con él - + This mod cannot be disabled because it is required by the following mods No se puede desactivar este mod porque es necesario para ejecutar los siguientes mods - + This mod cannot be uninstalled or updated because it is required by the following mods No se puede desinstalar o actualizar este mod porque es necesario para ejecutar los siguientes mods - + This is a submod and it cannot be installed or uninstalled separately from its parent mod Este es un submod y no se puede instalar o desinstalar por separado del mod principal - + Notes Notas - + Downloading %s%. %p% (%v MB out of %m MB) finished - + Download failed - + Unable to download all files. Encountered errors: @@ -427,35 +427,35 @@ Encountered errors: - + Install successfully downloaded? - + Installing mod %1 - + Operation failed - + Encountered errors: - + Screenshot %1 Captura de pantalla %1 - + Mod is incompatible El mod es incompatible @@ -463,175 +463,176 @@ Install successfully downloaded? CSettingsView - - - + + + Off Desactivado - - + Artificial Intelligence Inteligencia Artificial - - + Mod Repositories Repositorios de Mods - + Interface Scaling - + Neutral AI in battles - + Enemy AI in battles - + Additional repository - + Adventure Map Allies - + Adventure Map Enemies - + Windowed - + Borderless fullscreen - + Exclusive fullscreen - + Autosave limit (0 = off) - + Friendly AI in battles - + Framerate Limit - + Autosave prefix - + empty = map name prefix - + Refresh now - + Default repository - - - + + Renderer + + + + + + On Encendido - + Cursor Cursor - + Heroes III Translation Traducción de Heroes III - + Reserved screen area - + Fullscreen Pantalla completa - - + General General - + VCMI Language Idioma de VCMI - + Resolution Resolución - + Autosave Autoguardado - + VSync - + Display index Mostrar índice - + Network port Puerto de red - - + Video Vídeo - + Select display mode for game Windowed - game will run inside a window that covers part of your screen @@ -642,52 +643,52 @@ Fullscreen Exclusive Mode - game will cover entirety of your screen and will use - + Hardware Hardware - + Software Software - + Show intro Mostrar introducción - + Check on startup Comprovar al inicio - + Heroes III Data Language Idioma de los datos de Heroes III. - + Active Activado - + Disabled Desactivado - + Enable Activar - + Not Installed No Instalado - + Install Instalar diff --git a/launcher/translation/ukrainian.ts b/launcher/translation/ukrainian.ts index 971474a49..392c21cfd 100644 --- a/launcher/translation/ukrainian.ts +++ b/launcher/translation/ukrainian.ts @@ -252,7 +252,7 @@ - + Description Опис @@ -302,123 +302,123 @@ Відмінити - + Mod name Назва модифікації - + Installed version Встановлена версія - + Latest version Найновіша версія - + Size Розмір - + Download size Розмір для завантаження - + Authors Автори - + License Ліцензія - + Contact Контакти - + Compatibility Сумісність - - + + Required VCMI version Необхідна версія VCMI - + Supported VCMI version Підтримувана версія VCMI - + Supported VCMI versions Підтримувані версії VCMI - + Languages Мови - + Required mods Необхідні модифікації - + Conflicting mods Конфліктуючі модифікації - + This mod can not be installed or enabled because the following dependencies are not present Цю модифікацію не можна встановити чи активувати, оскільки відсутні наступні залежності - + This mod can not be enabled because the following mods are incompatible with it Цю модифікацію не можна ввімкнути, оскільки наступні модифікації несумісні з цією модифікацією - + This mod cannot be disabled because it is required by the following mods Цю модифікацію не можна відключити, оскільки вона необхідна для запуску наступних модифікацій - + This mod cannot be uninstalled or updated because it is required by the following mods Цю модифікацію не можна видалити або оновити, оскільки вона необхідна для запуску наступних модифікацій - + This is a submod and it cannot be installed or uninstalled separately from its parent mod Це вкладена модифікація, і її не можна встановити або видалити окремо від батьківської модифікації - + Notes Примітки - + Downloading %s%. %p% (%v MB out of %m MB) finished Завантажуємо %s%. %p% (%v МБ з %m Мб) виконано - + Download failed Помилка завантаження - + Unable to download all files. Encountered errors: @@ -431,7 +431,7 @@ Encountered errors: - + Install successfully downloaded? @@ -440,29 +440,29 @@ Install successfully downloaded? Встановити успішно завантажені? - + Installing mod %1 Встановлення модифікації %1 - + Operation failed Операція завершилася невдало - + Encountered errors: Виникли помилки: - + Screenshot %1 Знімок екрану %1 - + Mod is incompatible Модифікація несумісна @@ -470,123 +470,126 @@ Install successfully downloaded? CSettingsView - - - + + + Off Вимкнено - - + Artificial Intelligence Штучний інтелект - - + Mod Repositories Репозиторії модифікацій - + Interface Scaling Масштабування інтерфейсу - + Neutral AI in battles Нейтральний ШІ в боях - + Enemy AI in battles Ворожий ШІ в боях - + Additional repository Додатковий репозиторій - + Adventure Map Allies Союзники на мапі пригод - + Adventure Map Enemies Вороги на мапі пригод - + Windowed У вікні - + Borderless fullscreen Повноекранне вікно - + Exclusive fullscreen Повноекранний (ексклюзивно) - + Autosave limit (0 = off) Кількість автозбережень - + Friendly AI in battles Дружній ШІ в боях - + Framerate Limit Обмеження частоти кадрів - + Autosave prefix Префікс назв автозбережень - + empty = map name prefix (використовувати назву карти) - + Refresh now Оновити зараз - + Default repository Стандартний репозиторій - - - + + Renderer + Рендерер + + + + + On Увімкнено - + Cursor Курсор - + Heroes III Data Language Мова Heroes III - + Select display mode for game Windowed - game will run inside a window that covers part of your screen @@ -603,104 +606,102 @@ Fullscreen Exclusive Mode - game will cover entirety of your screen and will use Повноекранний ексклюзивний режим - гра займатиме весь екран і використовуватиме вибрану роздільну здатність. - + Reserved screen area Зарезервована зона екрану - + Hardware Апаратний - + Software Програмний - + Heroes III Translation Переклад Heroes III - + Check on startup Перевіряти на старті - + Fullscreen Повноекранний режим - - + General Загальні налаштування - + VCMI Language Мова VCMI - + Resolution Роздільна здатність - + Autosave Автозбереження - + VSync Вертикальна синхронізація - + Display index Дісплей - + Network port Мережевий порт - - + Video Графіка - + Show intro Вступні відео - + Active Активні - + Disabled Деактивований - + Enable Активувати - + Not Installed Не встановлено - + Install Встановити diff --git a/launcher/translation/vietnamese.ts b/launcher/translation/vietnamese.ts index a5a1c99c1..495ef09b2 100644 --- a/launcher/translation/vietnamese.ts +++ b/launcher/translation/vietnamese.ts @@ -252,7 +252,7 @@ - + Description Mô tả @@ -302,123 +302,123 @@ Hủy - + Mod name Tên bản sửa đổi - + Installed version Phiên bản cài đặt - + Latest version Phiên bản mới nhất - + Size - + Download size Kích thước tải về - + Authors Tác giả - + License Giấy phép - + Contact Liên hệ - + Compatibility Tương thích - - + + Required VCMI version Cần phiên bản VCMI - + Supported VCMI version Hỗ trợ phiên bản VCMI - + Supported VCMI versions Phiên bản VCMI hỗ trợ - + Languages Ngôn ngữ - + Required mods Cần các bản sửa đổi - + Conflicting mods Bản sửa đổi không tương thích - + This mod can not be installed or enabled because the following dependencies are not present Bản sửa đổi này không thể cài đặt hoặc kích hoạt do thiếu các bản sửa đổi sau - + This mod can not be enabled because the following mods are incompatible with it Bản sửa đổi này không thể kích hoạt do không tương thích các bản sửa đổi sau - + This mod cannot be disabled because it is required by the following mods Bản sửa đổi này không thể tắt do cần thiết cho các bản sửa đổi sau - + This mod cannot be uninstalled or updated because it is required by the following mods Bản sửa đổi này không thể gỡ bỏ hoặc nâng cấp do cần thiết cho các bản sửa đổi sau - + This is a submod and it cannot be installed or uninstalled separately from its parent mod Đây là bản con, không thể cài đặt hoặc gỡ bỏ tách biệt với bản cha - + Notes Ghi chú - + Downloading %s%. %p% (%v MB out of %m MB) finished - + Download failed - + Unable to download all files. Encountered errors: @@ -427,35 +427,35 @@ Encountered errors: - + Install successfully downloaded? - + Installing mod %1 - + Operation failed - + Encountered errors: - + Screenshot %1 Hình ảnh %1 - + Mod is incompatible Bản sửa đổi này không tương thích @@ -463,123 +463,126 @@ Install successfully downloaded? CSettingsView - - - + + + Off Tắt - - + Artificial Intelligence Trí tuệ nhân tạo - - + Mod Repositories Nguồn bản sửa đổi - + Interface Scaling Phóng đại giao diện - + Neutral AI in battles Máy hoang dã trong trận đánh - + Enemy AI in battles Máy đối thủ trong trận đánh - + Additional repository Nguồn bổ sung - + Adventure Map Allies Máy liên minh ở bản đồ phiêu lưu - + Adventure Map Enemies Máy đối thủ ở bản đồ phiêu lưu - + Windowed Cửa sổ - + Borderless fullscreen Toàn màn hình không viền - + Exclusive fullscreen Toàn màn hình riêng biệt - + Autosave limit (0 = off) Giới hạn lưu tự động (0 = không giới hạn) - + Friendly AI in battles Máy liên minh trong trận đánh - + Framerate Limit Giới hạn khung hình - + Autosave prefix Thêm tiền tố vào lưu tự động - + empty = map name prefix Rỗng = tên bản đồ - + Refresh now Làm mới - + Default repository Nguồn mặc định - - - + + Renderer + + + + + + On Bật - + Cursor Con trỏ - + Heroes III Data Language Ngôn ngữ dữ liệu Heroes III - + Select display mode for game Windowed - game will run inside a window that covers part of your screen @@ -596,104 +599,102 @@ Toàn màn hình không viền - Trò chơi chạy toàn màn hình, dùng chung Toàn màn hình riêng biệt - Trò chơi chạy toàn màn hình và dùng độ phân giải được chọn. - + Reserved screen area Diện tích màn hình dành riêng - + Hardware Phần cứng - + Software Phần mềm - + Heroes III Translation Bản dịch Heroes III - + Check on startup Kiểm tra khi khởi động - + Fullscreen Toàn màn hình - - + General Chung - + VCMI Language Ngôn ngữ VCMI - + Resolution Độ phân giải - + Autosave Tự động lưu - + VSync - + Display index Mục hiện thị - + Network port Cổng mạng - - + Video Phim ảnh - + Show intro Hiện thị giới thiệu - + Active Bật - + Disabled Tắt - + Enable Bật - + Not Installed Chưa cài đặt - + Install Cài đặt