summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b774eac)
raw | patch | inline | side by side (parent: b774eac)
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Wed, 15 Jun 2011 20:01:40 +0000 (22:01 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Thu, 23 Jun 2011 08:52:10 +0000 (10:52 +0200) |
src/main.c | patch | blob | history |
diff --git a/src/main.c b/src/main.c
index 185ca5d97405a25a2950ff6ba0520c13dc1d4d0d..25321fc4229a3fbd01ea19bd07f7a1ed09749142 100644 (file)
--- a/src/main.c
+++ b/src/main.c
{
const char *host = mpd_settings_get_host(settings);
if (host == NULL)
- host = "unknown";
+ host = _("unknown");
if (host[0] == '/')
return g_strdup(host);
mpd_settings_new(options.host, options.port, 0,
NULL, options.password);
if (settings == NULL)
- return g_strdup("unknown");
+ return g_strdup(_("unknown"));
char *name = settings_name(settings);
mpd_settings_free(settings);
const struct mpd_settings *settings =
mpd_connection_get_settings(connection);
if (settings == NULL)
- return g_strdup("unknown");
+ return g_strdup(_("unknown"));
return settings_name(settings);
#else