diff options
| author | Leandro Pereira <leandro@hardinfo.org> | 2017-07-09 12:44:22 -0700 | 
|---|---|---|
| committer | Leandro Pereira <leandro@hardinfo.org> | 2017-07-09 12:44:22 -0700 | 
| commit | 9fcb3abe7e54edc09d8fb76d1b28bd5f2c406bff (patch) | |
| tree | 908d9fa640388b0eb6929710e640405e807d0607 /modules | |
| parent | 42151ffb60e0f7b61041e4150bf5ca2c55ef5ae9 (diff) | |
Make libc strings translatable
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/computer/os.c | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/modules/computer/os.c b/modules/computer/os.c index 26427c38..ab887547 100644 --- a/modules/computer/os.c +++ b/modules/computer/os.c @@ -31,10 +31,10 @@ get_libc_version(void)  	gboolean try_ver_str;  	gboolean use_stderr;      } libs[] = { -	{ "ldconfig -V", "GLIBC", "GNU C Library", TRUE, FALSE}, -	{ "ldconfig -V", "GNU libc", "GNU C Library", TRUE, FALSE}, -	{ "ldconfig -v", "uClibc", "uClibc or uClibc-ng", FALSE, FALSE}, -	{ "diet", "diet version", "diet libc", TRUE, TRUE}, +	{ "ldconfig -V", "GLIBC", N_("GNU C Library"), TRUE, FALSE}, +	{ "ldconfig -V", "GNU libc", N_("GNU C Library"), TRUE, FALSE}, +	{ "ldconfig -v", "uClibc", N_("uClibc or uClibc-ng"), FALSE, FALSE}, +	{ "diet", "diet version", N_("diet libc"), TRUE, TRUE},  	{ NULL, NULL, NULL, 0},      };      gchar *ver_str = NULL, *to_free = NULL, *ret; @@ -75,9 +75,9 @@ get_libc_version(void)      }      if (libs[i].try_ver_str && ver_str) -	ret = g_strdup_printf("%s / %s", libs[i].lib_name, ver_str); +	ret = g_strdup_printf("%s / %s", _(libs[i].lib_name), ver_str);      else if (libs[i].lib_name) -	ret = g_strdup(libs[i].lib_name); +	ret = g_strdup(_(libs[i].lib_name));      else          ret = g_strdup(_("Unknown")); | 
