mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-05 02:36:19 +01:00
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:
parent
493909b5e9
commit
89ad9286d4
@ -1373,7 +1373,7 @@ g_get_os_info (const gchar *key_name)
|
|||||||
{
|
{
|
||||||
#if defined (__APPLE__)
|
#if defined (__APPLE__)
|
||||||
if (g_strcmp0 (key_name, G_OS_INFO_KEY_NAME) == 0)
|
if (g_strcmp0 (key_name, G_OS_INFO_KEY_NAME) == 0)
|
||||||
return g_strdup (_("macOS"));
|
return g_strdup ("macOS");
|
||||||
else
|
else
|
||||||
return NULL;
|
return NULL;
|
||||||
#elif defined (G_OS_UNIX)
|
#elif defined (G_OS_UNIX)
|
||||||
|
Loading…
Reference in New Issue
Block a user