From d775f5bdc115d20df23c2ce0523f3f80b8ceaa28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E4=B8=83=E4=B8=8D=E7=94=9C?= <1633557643@qq.com> Date: Wed, 3 May 2023 18:57:21 +0800 Subject: [PATCH] UI: Make "Portable Mode" translateable (cherry picked from commit e1a202b370589e3b449831fa6256806b8171a71a) --- UI/data/locale/en-US.ini | 1 + UI/window-basic-main.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/UI/data/locale/en-US.ini b/UI/data/locale/en-US.ini index 9b6436dc2..84e804a4d 100644 --- a/UI/data/locale/en-US.ini +++ b/UI/data/locale/en-US.ini @@ -348,6 +348,7 @@ TransitionNameDlg.Text="Please enter the name of the transition" TransitionNameDlg.Title="Transition Name" # title bar strings +TitleBar.PortableMode="Portable Mode" TitleBar.Profile="Profile" TitleBar.Scenes="Scenes" diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index 8b0714ad7..fc9104a08 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -9127,7 +9127,7 @@ void OBSBasic::UpdateTitleBar() name << App()->GetVersionString(false); if (App()->IsPortableMode()) - name << " - Portable Mode"; + name << " - " << Str("TitleBar.PortableMode"); name << " - " << Str("TitleBar.Profile") << ": " << profile; name << " - " << Str("TitleBar.Scenes") << ": " << sceneCollection;