diff options
author | Burt P <pburt0@gmail.com> | 2017-07-31 00:54:19 -0500 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2017-08-04 09:22:06 -0700 |
commit | edcee69f8d9e47e02a44dab9e0e601f553e2ff63 (patch) | |
tree | 213e60ecf5c8ad9dcbdcff64524bd0e753317395 /modules/computer | |
parent | 4e5983a0cc16437daf21c54212e1055d907a959e (diff) |
computer/os: quiet warnings, add comment for translators
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules/computer')
-rw-r--r-- | modules/computer/os.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/computer/os.c b/modules/computer/os.c index bee09fda..806ccce6 100644 --- a/modules/computer/os.c +++ b/modules/computer/os.c @@ -165,7 +165,7 @@ desktop_with_session_type(const gchar *desktop_env) tmp = g_getenv("XDG_SESSION_TYPE"); if (tmp) { if (!g_str_equal(tmp, "unspecified")) - return g_strdup_printf(_("%s on %s"), desktop_env, tmp); + return g_strdup_printf(_(/*/{desktop environment} on {session type}*/ "%s on %s"), desktop_env, tmp); } return g_strdup(desktop_env); @@ -352,11 +352,11 @@ detect_distro(void) /* HACK: Some Debian systems doesn't include the distribuition * name in /etc/debian_release, so add them here. */ if (isdigit(contents[0]) || contents[0] != 'D') - return g_strdup_printf("Debian GNU/Linux %s", idle_free(contents)); + return g_strdup_printf("Debian GNU/Linux %s", (char*)idle_free(contents)); } if (g_str_equal(distro_db[i].codename, "fatdog")) - return g_strdup_printf("Fatdog64 [%.10s]", idle_free(contents)); + return g_strdup_printf("Fatdog64 [%.10s]", (char*)idle_free(contents)); return contents; } |