Commit 5a01034d authored by Georges Basile Stavracas Neto's avatar Georges Basile Stavracas Neto
Browse files

info: Improve translation of OS type

Instead of having a single translation using a
printf-formatted string, hardcode the 32- and
64-bit variants of the OS type to avoid any
translation problems.

https://bugzilla.gnome.org/show_bug.cgi?id=770593
parent 5cc33d61
......@@ -488,15 +488,12 @@ get_os_name (void)
static char *
get_os_type (void)
{
int bits;
if (GLIB_SIZEOF_VOID_P == 8)
bits = 64;
/* translators: This is the type of architecture for the OS */
return g_strdup_printf (_("64-bit"));
else
bits = 32;
/* translators: This is the type of architecture for the OS */
return g_strdup_printf (_("%d-bit"), bits);
/* translators: This is the type of architecture for the OS */
return g_strdup_printf (_("32-bit"));
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment