[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, stable-queue, updated. v0.9.21-112-g9472d7a

Lennart Poettering gitmailer-noreply at 0pointer.de
Wed Nov 24 19:04:00 PST 2010


This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.

The stable-queue branch has been updated
      from  745f59acff40113b76e41efb8b61cc4d8467dbce (commit)

- Log -----------------------------------------------------------------
9472d7a alsa-mixer: make a few strings translatable
-----------------------------------------------------------------------

Summary of changes:
 src/modules/alsa/alsa-mixer.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

-----------------------------------------------------------------------

commit 9472d7aeec7abe660f7b07b74f4905e4de4211e2
Author: Lennart Poettering <lennart at poettering.net>
Date:   Thu Nov 25 04:03:56 2010 +0100

    alsa-mixer: make a few strings translatable
    
    Original patch contributed by 'kelemeng'
    
    http://pulseaudio.org/ticket/843

diff --git a/src/modules/alsa/alsa-mixer.c b/src/modules/alsa/alsa-mixer.c
index 93f2ed0..9de59ef 100644
--- a/src/modules/alsa/alsa-mixer.c
+++ b/src/modules/alsa/alsa-mixer.c
@@ -62,7 +62,7 @@ static const char *lookup_description(const char *name, const struct description
 
     for (i = 0; i < n; i++)
         if (pa_streq(dm[i].name, name))
-            return dm[i].description;
+            return _(dm[i].description);
 
     return NULL;
 }
@@ -3032,7 +3032,7 @@ static int profile_verify(pa_alsa_profile *p) {
                 if (!pa_strbuf_isempty(sb))
                     pa_strbuf_puts(sb, " + ");
 
-                pa_strbuf_printf(sb, "%s Output", m->description);
+                pa_strbuf_printf(sb, _("%s Output"), m->description);
             }
 
         if (p->input_mappings)
@@ -3040,7 +3040,7 @@ static int profile_verify(pa_alsa_profile *p) {
                 if (!pa_strbuf_isempty(sb))
                     pa_strbuf_puts(sb, " + ");
 
-                pa_strbuf_printf(sb, "%s Input", m->description);
+                pa_strbuf_printf(sb, _("%s Input"), m->description);
             }
 
         p->description = pa_strbuf_tostring_free(sb);

-- 
hooks/post-receive
PulseAudio Sound Server



More information about the pulseaudio-commits mailing list