Browse Source

UI: Translate place holder name for new group

(cherry picked from commit 323f3957cdebcdf0b1326bd3bae0339adacb45c3)
Norihiro Kamae 2 năm trước cách đây
mục cha
commit
c58e511813
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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);
 }