gutils: Do not translate OS names

The code is intended to provide an interface similar to /etc/os-release,
but /etc/os-release isn't designed to be translated.
This commit is contained in:
Ting-Wei Lan 2019-10-13 17:15:53 +08:00
parent 493909b5e9
commit 89ad9286d4

View File

@ -1373,7 +1373,7 @@ g_get_os_info (const gchar *key_name)
{
#if defined (__APPLE__)
if (g_strcmp0 (key_name, G_OS_INFO_KEY_NAME) == 0)
return g_strdup (_("macOS"));
return g_strdup ("macOS");
else
return NULL;
#elif defined (G_OS_UNIX)