From: Jeremy Kerr Date: Fri, 19 Sep 2014 01:07:36 +0000 (+0800) Subject: ui/ncurses: Fix unstranslated strings in sysinfo screen X-Git-Tag: v1.0.0~108 X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=73ee21af6d0a379a104a21b7569331284b3659b7;p=petitboot ui/ncurses: Fix unstranslated strings in sysinfo screen We have a couple of strings that are missing the gettext call. Signed-off-by: Jeremy Kerr --- diff --git a/ui/ncurses/nc-sysinfo.c b/ui/ncurses/nc-sysinfo.c index f793010..bde8b33 100644 --- a/ui/ncurses/nc-sysinfo.c +++ b/ui/ncurses/nc-sysinfo.c @@ -80,7 +80,7 @@ static void sysinfo_screen_populate(struct sysinfo_screen *screen, if (sysinfo->n_interfaces) { line(NULL); - line("Network interfaces"); + line(_("Network interfaces")); } for (i = 0; i < sysinfo->n_interfaces; i++) { @@ -91,7 +91,9 @@ static void sysinfo_screen_populate(struct sysinfo_screen *screen, line("%s:", info->name); line(_(" MAC: %s"), macbuf); - line(_(" link: %s"), info->link ? "up" : "down"); + /* TRANSLATORS: these "up" / "down" strings refer to the + * link status for a network connection. */ + line(_(" link: %s"), info->link ? _("up") : _("down")); line(NULL); }