UI: Translate place holder name for new group

(cherry picked from commit 323f3957cd)
This commit is contained in:
Norihiro Kamae 2023-06-18 02:18:06 +09:00 committed by Lain
parent 0b7ac96157
commit c58e511813

View file

@ -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);
}