From 4ff9e1956fa9d2e2ac09fc7b0a8b4198fc3d3e30 Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Sat, 1 Apr 2023 11:41:56 +0400 Subject: [PATCH] Localize messagebox about disabled postprocessor --- apps/openmw/mwgui/windowmanagerimp.cpp | 2 +- files/data/l10n/OMWEngine/de.yaml | 1 + files/data/l10n/OMWEngine/en.yaml | 1 + files/data/l10n/OMWEngine/fr.yaml | 1 + files/data/l10n/OMWEngine/ru.yaml | 1 + files/data/l10n/OMWEngine/sv.yaml | 1 + 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwgui/windowmanagerimp.cpp b/apps/openmw/mwgui/windowmanagerimp.cpp index 989638d8ec..33a8bfe62d 100644 --- a/apps/openmw/mwgui/windowmanagerimp.cpp +++ b/apps/openmw/mwgui/windowmanagerimp.cpp @@ -2134,7 +2134,7 @@ namespace MWGui { if (!MWBase::Environment::get().getWorld()->getPostProcessor()->isEnabled()) { - messageBox("Postprocessor is not enabled."); + messageBox("#{OMWEngine:PostProcessingIsNotEnabled}"); return; } diff --git a/files/data/l10n/OMWEngine/de.yaml b/files/data/l10n/OMWEngine/de.yaml index 11e6c401f4..26cfd884d0 100644 --- a/files/data/l10n/OMWEngine/de.yaml +++ b/files/data/l10n/OMWEngine/de.yaml @@ -144,6 +144,7 @@ WindowModeWindowedFullscreen: "Fenster Vollbild" #MenuHelpDelay: "Menu Help Delay" #MenuTransparency: "Menu Transparency" #Preferences: "Prefs" +#PostProcessingIsNotEnabled #QualityHigh: "High" #QualityLow: "Low" #QualityMedium: "Medium" diff --git a/files/data/l10n/OMWEngine/en.yaml b/files/data/l10n/OMWEngine/en.yaml index 9098f84af7..55247b2b3e 100644 --- a/files/data/l10n/OMWEngine/en.yaml +++ b/files/data/l10n/OMWEngine/en.yaml @@ -101,6 +101,7 @@ MenuHelpDelay: "Menu Help Delay" MenuTransparency: "Menu Transparency" MouseAndKeyboard: "Mouse/Keyboard" PostProcessing: "Post Processing" +PostProcessingIsNotEnabled: "Postprocessor is not enabled" PostProcessingTooltip: "Tweaked via Post Processor HUD, see input bindings." Preferences: "Prefs" PrimaryLanguage: "Primary Language" diff --git a/files/data/l10n/OMWEngine/fr.yaml b/files/data/l10n/OMWEngine/fr.yaml index ce574b2208..d53f001a1f 100644 --- a/files/data/l10n/OMWEngine/fr.yaml +++ b/files/data/l10n/OMWEngine/fr.yaml @@ -145,6 +145,7 @@ WindowModeWindowedFullscreen: "Fenêtré plein écran" #MenuHelpDelay: "Menu Help Delay" #MenuTransparency: "Menu Transparency" #Preferences: "Prefs" +#PostProcessingIsNotEnabled #QualityHigh: "High" #QualityLow: "Low" #QualityMedium: "Medium" diff --git a/files/data/l10n/OMWEngine/ru.yaml b/files/data/l10n/OMWEngine/ru.yaml index a89d7a01b9..c9b618ddd5 100644 --- a/files/data/l10n/OMWEngine/ru.yaml +++ b/files/data/l10n/OMWEngine/ru.yaml @@ -101,6 +101,7 @@ MenuHelpDelay: "Задержка всплывающих подсказок" MenuTransparency: "Прозрачность меню" MouseAndKeyboard: "Мышь/Клавиатура" PostProcessing: "Постобработка" +PostProcessingIsNotEnabled: "Постобработка не активна" PostProcessingTooltip: "Настраивается через меню настроек постобработки, см. привязки клавиш." Preferences: "Настройки" PrimaryLanguage: "Основной язык" diff --git a/files/data/l10n/OMWEngine/sv.yaml b/files/data/l10n/OMWEngine/sv.yaml index 85d83ada70..703810898d 100644 --- a/files/data/l10n/OMWEngine/sv.yaml +++ b/files/data/l10n/OMWEngine/sv.yaml @@ -147,6 +147,7 @@ WindowModeWindowedFullscreen: "Fullskärm i fönsterläge" #MenuHelpDelay: "Menu Help Delay" #MenuTransparency: "Menu Transparency" #Preferences: "Prefs" +#PostProcessingIsNotEnabled #QualityHigh: "High" #QualityLow: "Low" #QualityMedium: "Medium"