mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
UI,mac-avcapture: Use consistent variables in locales
This commit is contained in:
@@ -1940,7 +1940,7 @@ static bool update_int_list_property(obs_property_t *p, const int *val,
|
||||
DStr buf, label;
|
||||
dstr_printf(buf, "%d", *val);
|
||||
dstr_init_copy(label, obs_module_text(localization_name));
|
||||
dstr_replace(label, "$1", buf->array);
|
||||
dstr_replace(label, "%1", buf->array);
|
||||
size_t idx = obs_property_list_add_int(p, label->array, *val);
|
||||
obs_property_list_item_disable(p, idx, true);
|
||||
|
||||
|
||||
@@ -10,5 +10,5 @@ VideoRange="Video range"
|
||||
VideoRange.Partial="Partial"
|
||||
VideoRange.Full="Full"
|
||||
Auto="Auto"
|
||||
Unknown="Unknown ($1)"
|
||||
Unknown="Unknown (%1)"
|
||||
EnableAudio="Enable audio if supported by device"
|
||||
|
||||
Reference in New Issue
Block a user