Skip to content

Commit 832ac4b

Browse files
tytan652Lain-B
authored andcommitted
linux-capture: Rename Screen Capture as Display Capture
1 parent bad7b78 commit 832ac4b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

plugins/linux-capture/data/locale/en-US.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
X11SharedMemoryScreenInput="Screen Capture (XSHM)"
2-
Screen="Screen"
1+
X11SharedMemoryDisplayInput="Display Capture (XSHM)"
2+
Display="Display"
33
CaptureCursor="Capture Cursor"
44
AdvancedSettings="Advanced Settings"
55
XServer="X Server"

plugins/linux-capture/xshm-input.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ static int_fast32_t xshm_update_geometry(struct xshm_data *data)
180180
static const char *xshm_getname(void *unused)
181181
{
182182
UNUSED_PARAMETER(unused);
183-
return obs_module_text("X11SharedMemoryScreenInput");
183+
return obs_module_text("X11SharedMemoryDisplayInput");
184184
}
185185

186186
/**
@@ -376,8 +376,8 @@ static bool xshm_server_changed(obs_properties_t *props, obs_property_t *p,
376376
}
377377

378378
dstr_printf(&screen_info,
379-
"Screen %s (%" PRIuFAST32 "x%" PRIuFAST32
380-
" @ %" PRIuFAST32 ",%" PRIuFAST32 ")",
379+
"%s (%" PRIuFAST32 "x%" PRIuFAST32 " @ %" PRIuFAST32
380+
",%" PRIuFAST32 ")",
381381
name, w, h, x, y);
382382

383383
if (name != name_tmp)
@@ -390,7 +390,7 @@ static bool xshm_server_changed(obs_properties_t *props, obs_property_t *p,
390390

391391
/* handle missing screen */
392392
if (old_screen + 1 > count) {
393-
dstr_printf(&screen_info, "Screen %" PRIuFAST32 " (not found)",
393+
dstr_printf(&screen_info, "Display %" PRIuFAST32 " (not found)",
394394
old_screen);
395395
size_t index = obs_property_list_add_int(
396396
screens, screen_info.array, old_screen);
@@ -415,7 +415,7 @@ static obs_properties_t *xshm_properties(void *vptr)
415415
obs_properties_t *props = obs_properties_create();
416416
obs_property_t *prop;
417417

418-
obs_properties_add_list(props, "screen", obs_module_text("Screen"),
418+
obs_properties_add_list(props, "screen", obs_module_text("Display"),
419419
OBS_COMBO_TYPE_LIST, OBS_COMBO_FORMAT_INT);
420420
obs_properties_add_bool(props, "show_cursor",
421421
obs_module_text("CaptureCursor"));

0 commit comments

Comments
 (0)