diff options
| author | Colin Guthrie <pulse@colin.guthr.ie> | 2008-08-22 10:56:45 +0100 | 
|---|---|---|
| committer | Colin Guthrie <pulse@colin.guthr.ie> | 2008-08-22 10:56:45 +0100 | 
| commit | 4282b726ee57ebae846ce400fd1cae43c4dfb2ae (patch) | |
| tree | 2cb32c3bc52a9b9eab50a6195f3ccb190332f7d8 /src/daemon/dumpmodules.c | |
| parent | bf17dbb101d509e885bf689f4f13f75e4b3ab58d (diff) | |
| parent | dc9b8dce309728b47059b9b44fd3bbd3798667ae (diff) | |
Merge branch 'master' of git://git.0pointer.de/pulseaudio
Diffstat (limited to 'src/daemon/dumpmodules.c')
| -rw-r--r-- | src/daemon/dumpmodules.c | 19 | 
1 files changed, 10 insertions, 9 deletions
diff --git a/src/daemon/dumpmodules.c b/src/daemon/dumpmodules.c index cd6866aa..9c9f1c81 100644 --- a/src/daemon/dumpmodules.c +++ b/src/daemon/dumpmodules.c @@ -30,6 +30,7 @@  #include <ltdl.h>  #include <pulse/util.h> +#include <pulse/i18n.h>  #include <pulsecore/modinfo.h>  #include <pulsecore/core-util.h> @@ -39,7 +40,7 @@  #define PREFIX "module-" -static void short_info(const char *name, PA_GCC_UNUSED const char *path, pa_modinfo *i) { +static void short_info(const char *name, const char *path, pa_modinfo *i) {      pa_assert(name);      pa_assert(i); @@ -56,24 +57,24 @@ static void long_info(const char *name, const char *path, pa_modinfo *i) {      nl = 1; -    printf("Name: %s\n", name); +    printf(_("Name: %s\n"), name);      if (!i->description && !i->version && !i->author && !i->usage) -        printf("No module information available\n"); +        printf(_("No module information available\n"));      else {          if (i->version) -            printf("Version: %s\n", i->version); +            printf(_("Version: %s\n"), i->version);          if (i->description) -            printf("Description: %s\n", i->description); +            printf(_("Description: %s\n"), i->description);          if (i->author) -            printf("Author: %s\n", i->author); +            printf(_("Author: %s\n"), i->author);          if (i->usage) -            printf("Usage: %s\n", i->usage); -        printf("Load Once: %s\n", pa_yes_no(i->load_once)); +            printf(_("Usage: %s\n"), i->usage); +        printf(_("Load Once: %s\n"), pa_yes_no(i->load_once));      }      if (path) -        printf("Path: %s\n", path); +        printf(_("Path: %s\n"), path);  }  static void show_info(const char *name, const char *path, void (*info)(const char *name, const char *path, pa_modinfo*i)) {  | 
