summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-helpscreen.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-12-18 09:49:23 +0800
committerJeremy Kerr <jk@ozlabs.org>2014-07-28 13:20:34 +0800
commit494988c501287e03da3becba5c03cbce7c3d9d20 (patch)
tree670537e83a47b9c3a10df69ce4a7c6b6f0f3f13f /ui/ncurses/nc-helpscreen.c
parent08bc314efca8bbde9e9461c4d425caf1e0ad0e5f (diff)
downloadtalos-petitboot-494988c501287e03da3becba5c03cbce7c3d9d20.tar.gz
talos-petitboot-494988c501287e03da3becba5c03cbce7c3d9d20.zip
i18n: Mark translatable strings for ncurses UI
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-helpscreen.c')
-rw-r--r--ui/ncurses/nc-helpscreen.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/ncurses/nc-helpscreen.c b/ui/ncurses/nc-helpscreen.c
index d70a8ec..3b27d57 100644
--- a/ui/ncurses/nc-helpscreen.c
+++ b/ui/ncurses/nc-helpscreen.c
@@ -25,6 +25,7 @@
#include <types/types.h>
#include <log/log.h>
#include <util/util.h>
+#include <i18n/i18n.h>
#include "nc-cui.h"
#include "nc-textscreen.h"
@@ -56,10 +57,10 @@ struct help_screen *help_screen_init(struct cui *cui,
screen = talloc_zero(cui, struct help_screen);
screen->return_scr = current_scr;
- title = "Petitboot help";
+ title = _("Petitboot help");
if (title_suffix)
title = talloc_asprintf(screen,
- "Petitboot help: %s", title_suffix);
+ _("Petitboot help: %s"), title_suffix);
text_screen_init(&screen->text_scr, cui, title, on_exit);
text_screen_set_text(&screen->text_scr, text);
OpenPOWER on IntegriCloud