summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2014-09-19 09:07:36 +0800
committerJeremy Kerr <jk@ozlabs.org>2014-09-19 09:07:36 +0800
commit73ee21af6d0a379a104a21b7569331284b3659b7 (patch)
treebe2e7669a5b715aa86ea84ea64c29d1741d4b947 /ui
parentf072619a006217503a7a2b4262acd52c247f1113 (diff)
downloadtalos-petitboot-73ee21af6d0a379a104a21b7569331284b3659b7.tar.gz
talos-petitboot-73ee21af6d0a379a104a21b7569331284b3659b7.zip
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 <jk@ozlabs.org>
Diffstat (limited to 'ui')
-rw-r--r--ui/ncurses/nc-sysinfo.c6
1 files changed, 4 insertions, 2 deletions
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);
}
OpenPOWER on IntegriCloud