浏览代码

UI: Make "Portable Mode" translateable

(cherry picked from commit e1a202b370589e3b449831fa6256806b8171a71a)
田七不甜 2 年之前
父节点
当前提交
d775f5bdc1
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      UI/data/locale/en-US.ini
  2. 1 1
      UI/window-basic-main.cpp

+ 1 - 0
UI/data/locale/en-US.ini

@@ -348,6 +348,7 @@ TransitionNameDlg.Text="Please enter the name of the transition"
 TransitionNameDlg.Title="Transition Name"
 TransitionNameDlg.Title="Transition Name"
 
 
 # title bar strings
 # title bar strings
+TitleBar.PortableMode="Portable Mode"
 TitleBar.Profile="Profile"
 TitleBar.Profile="Profile"
 TitleBar.Scenes="Scenes"
 TitleBar.Scenes="Scenes"
 
 

+ 1 - 1
UI/window-basic-main.cpp

@@ -9127,7 +9127,7 @@ void OBSBasic::UpdateTitleBar()
 
 
 	name << App()->GetVersionString(false);
 	name << App()->GetVersionString(false);
 	if (App()->IsPortableMode())
 	if (App()->IsPortableMode())
-		name << " - Portable Mode";
+		name << " - " << Str("TitleBar.PortableMode");
 
 
 	name << " - " << Str("TitleBar.Profile") << ": " << profile;
 	name << " - " << Str("TitleBar.Profile") << ": " << profile;
 	name << " - " << Str("TitleBar.Scenes") << ": " << sceneCollection;
 	name << " - " << Str("TitleBar.Scenes") << ": " << sceneCollection;