mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-24 23:33:47 +08:00
linux-alsa: Make 2 strings translatable
This commit is contained in:
@@ -271,7 +271,8 @@ obs_properties_t *alsa_get_properties(void *unused)
|
||||
OBS_COMBO_TYPE_LIST,
|
||||
OBS_COMBO_FORMAT_STRING);
|
||||
|
||||
obs_property_list_add_string(devices, "Default", "default");
|
||||
obs_property_list_add_string(devices, obs_module_text("Default"),
|
||||
"default");
|
||||
|
||||
obs_properties_add_text(props, "custom_pcm", obs_module_text("PCM"),
|
||||
OBS_TEXT_DEFAULT);
|
||||
@@ -327,7 +328,8 @@ obs_properties_t *alsa_get_properties(void *unused)
|
||||
|
||||
++hint;
|
||||
}
|
||||
obs_property_list_add_string(devices, "Custom", "__custom__");
|
||||
obs_property_list_add_string(devices, obs_module_text("Custom"),
|
||||
"__custom__");
|
||||
|
||||
snd_device_name_free_hint(hints);
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
AlsaInput="Audio Capture Device (ALSA)"
|
||||
Default="Default"
|
||||
Custom="Custom"
|
||||
Device="Device"
|
||||
PCM="PCM"
|
||||
Rate="Rate"
|
||||
|
||||
Reference in New Issue
Block a user