From 0e1f1d6444b75e984078eb483b86afaef3078bee Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Mon, 30 Jan 2012 10:08:26 +0000 Subject: i18n: Do not translate strings that cannot have any sensible translations. --- src/modules/alsa/alsa-mixer.c | 6 +++--- src/modules/alsa/alsa-util.c | 2 +- src/pulsecore/sink.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/modules/alsa/alsa-mixer.c b/src/modules/alsa/alsa-mixer.c index d18f3b3e..703aaf87 100644 --- a/src/modules/alsa/alsa-mixer.c +++ b/src/modules/alsa/alsa-mixer.c @@ -2525,10 +2525,10 @@ static pa_bool_t element_create_settings(pa_alsa_element *e, pa_alsa_setting *te if (template) { s = pa_xnewdup(pa_alsa_setting, template, 1); s->options = pa_idxset_copy(template->options); - s->name = pa_sprintf_malloc(_("%s+%s"), template->name, o->name); + s->name = pa_sprintf_malloc("%s+%s", template->name, o->name); s->description = (template->description[0] && o->description[0]) - ? pa_sprintf_malloc(_("%s / %s"), template->description, o->description) + ? pa_sprintf_malloc("%s / %s", template->description, o->description) : (template->description[0] ? pa_xstrdup(template->description) : pa_xstrdup(o->description)); @@ -4418,7 +4418,7 @@ void pa_alsa_path_set_add_ports( n = pa_sprintf_malloc("%s;%s", path->name, s->name); if (s->description[0]) - d = pa_sprintf_malloc(_("%s / %s"), path->description, s->description); + d = pa_sprintf_malloc("%s / %s", path->description, s->description); else d = pa_xstrdup(path->description); diff --git a/src/modules/alsa/alsa-util.c b/src/modules/alsa/alsa-util.c index 4460be35..c30a722a 100644 --- a/src/modules/alsa/alsa-util.c +++ b/src/modules/alsa/alsa-util.c @@ -882,7 +882,7 @@ pa_bool_t pa_alsa_init_description(pa_proplist *p) { k = pa_proplist_gets(p, PA_PROP_DEVICE_PROFILE_DESCRIPTION); if (d && k) - pa_proplist_setf(p, PA_PROP_DEVICE_DESCRIPTION, _("%s %s"), d, k); + pa_proplist_setf(p, PA_PROP_DEVICE_DESCRIPTION, "%s %s", d, k); else if (d) pa_proplist_sets(p, PA_PROP_DEVICE_DESCRIPTION, d); diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c index 094292f5..aed1f381 100644 --- a/src/pulsecore/sink.c +++ b/src/pulsecore/sink.c @@ -3362,7 +3362,7 @@ pa_bool_t pa_device_init_description(pa_proplist *p) { k = pa_proplist_gets(p, PA_PROP_DEVICE_PROFILE_DESCRIPTION); if (d && k) - pa_proplist_setf(p, PA_PROP_DEVICE_DESCRIPTION, _("%s %s"), d, k); + pa_proplist_setf(p, PA_PROP_DEVICE_DESCRIPTION, "%s %s", d, k); else if (d) pa_proplist_sets(p, PA_PROP_DEVICE_DESCRIPTION, d); -- cgit v1.2.3