浏览代码

UI: Translate place holder name for new group

(cherry picked from commit 323f3957cdebcdf0b1326bd3bae0339adacb45c3)
Norihiro Kamae 2 年之前
父节点
当前提交
c58e511813
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      UI/window-basic-source-select.cpp

+ 2 - 0
UI/window-basic-source-select.cpp

@@ -367,6 +367,8 @@ static inline const char *GetSourceDisplayName(const char *id)
 {
 	if (strcmp(id, "scene") == 0)
 		return Str("Basic.Scene");
+	else if (strcmp(id, "group") == 0)
+		return Str("Group");
 	const char *v_id = obs_get_latest_input_type_id(id);
 	return obs_source_get_display_name(v_id);
 }