From 1ab32749ee1cdb7365d90579bee0d643afcce35c Mon Sep 17 00:00:00 2001 From: Alexei Kotov Date: Fri, 5 Sep 2025 09:20:16 +0300 Subject: [PATCH] Use l10n for travel travel window action --- apps/openmw/mwgui/travelwindow.cpp | 2 +- files/data-mw/l10n/Interface/gmst.yaml | 1 + files/data/l10n/Interface/de.yaml | 1 + files/data/l10n/Interface/en.yaml | 1 + files/data/l10n/Interface/fr.yaml | 1 + files/data/l10n/Interface/pl.yaml | 1 + files/data/l10n/Interface/ru.yaml | 1 + files/data/l10n/Interface/sv.yaml | 1 + 8 files changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwgui/travelwindow.cpp b/apps/openmw/mwgui/travelwindow.cpp index b5d9fd317b..e83c327125 100644 --- a/apps/openmw/mwgui/travelwindow.cpp +++ b/apps/openmw/mwgui/travelwindow.cpp @@ -41,7 +41,7 @@ namespace MWGui if (Settings::gui().mControllerMenus) { mDisableGamepadCursor = true; - mControllerButtons.mA = "#{sTravel}"; + mControllerButtons.mA = "#{Interface:Travel}"; mControllerButtons.mB = "#{Interface:Cancel}"; } } diff --git a/files/data-mw/l10n/Interface/gmst.yaml b/files/data-mw/l10n/Interface/gmst.yaml index c368315a56..b3ca68f311 100644 --- a/files/data-mw/l10n/Interface/gmst.yaml +++ b/files/data-mw/l10n/Interface/gmst.yaml @@ -26,4 +26,5 @@ Soul: "sSoulGem" Take: "sTake" TakeAll: "sTakeAll" Topics: "sTopics" +Travel: "sTravel" Yes: "sYes" diff --git a/files/data/l10n/Interface/de.yaml b/files/data/l10n/Interface/de.yaml index 6f02068c1f..b324306964 100644 --- a/files/data/l10n/Interface/de.yaml +++ b/files/data/l10n/Interface/de.yaml @@ -52,4 +52,5 @@ Soul: "Seele" Take: "Nehmen" TakeAll: "Alles nehmen" Topics: "Themen" +Travel: "Reisen" Yes: "Ja" diff --git a/files/data/l10n/Interface/en.yaml b/files/data/l10n/Interface/en.yaml index 9ed8c3be4f..923c36dd88 100644 --- a/files/data/l10n/Interface/en.yaml +++ b/files/data/l10n/Interface/en.yaml @@ -43,4 +43,5 @@ Soul: "Soul" Take: "Take" TakeAll: "Take All" Topics: "Topics" +Travel: "Travel" Yes: "Yes" diff --git a/files/data/l10n/Interface/fr.yaml b/files/data/l10n/Interface/fr.yaml index 1ca2f152fd..bfc15a6233 100644 --- a/files/data/l10n/Interface/fr.yaml +++ b/files/data/l10n/Interface/fr.yaml @@ -43,4 +43,5 @@ Soul: "Ame" Take: "Prendre" TakeAll: "Tout prendre" Topics: "Sujets" +Travel: "Voyager" Yes: "Oui" diff --git a/files/data/l10n/Interface/pl.yaml b/files/data/l10n/Interface/pl.yaml index d0fd605628..71b7f6d3d1 100644 --- a/files/data/l10n/Interface/pl.yaml +++ b/files/data/l10n/Interface/pl.yaml @@ -41,4 +41,5 @@ Soul: "Dusza" Take: "Weź" TakeAll: "Weź wszystko" Topics: "Tematy" +Travel: "Podróż" Yes: "Tak" diff --git a/files/data/l10n/Interface/ru.yaml b/files/data/l10n/Interface/ru.yaml index 30d096d72c..37280cd0d5 100644 --- a/files/data/l10n/Interface/ru.yaml +++ b/files/data/l10n/Interface/ru.yaml @@ -40,4 +40,5 @@ Soul: "Душа" Take: "Взять" TakeAll: "Взять все" Topics: "Темы" +Travel: "Путешествие" Yes: "Да" diff --git a/files/data/l10n/Interface/sv.yaml b/files/data/l10n/Interface/sv.yaml index c498ee5d37..510fdcc0c1 100644 --- a/files/data/l10n/Interface/sv.yaml +++ b/files/data/l10n/Interface/sv.yaml @@ -43,4 +43,5 @@ Soul: "Själ" Take: "Ta" TakeAll: "Ta allt" # Topics: "Topics" +# Travel: "Travel" Yes: "Ja"