summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2014-06-24 13:32:45 +0800
committerJeremy Kerr <jk@ozlabs.org>2014-07-28 13:20:34 +0800
commitc325141c622b607112ab3a84a695a985f11f9228 (patch)
tree34b05863405946501370ab7b66a0a5b24fb6e7ba /ui
parent4e30f260106ac5f7007e213db1d1e54298393290 (diff)
downloadpetitboot-c325141c622b607112ab3a84a695a985f11f9228.zip
petitboot-c325141c622b607112ab3a84a695a985f11f9228.tar.gz
ui/ncurses: Mark help text as translateable
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui')
-rw-r--r--ui/ncurses/nc-helpscreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ncurses/nc-helpscreen.c b/ui/ncurses/nc-helpscreen.c
index fd76a43..d332d14 100644
--- a/ui/ncurses/nc-helpscreen.c
+++ b/ui/ncurses/nc-helpscreen.c
@@ -64,7 +64,7 @@ struct help_screen *help_screen_init(struct cui *cui,
_("Petitboot help: %s"), title_suffix);
text_screen_init(&screen->text_scr, cui, title, on_exit);
- text_screen_set_text(&screen->text_scr, text->text);
+ text_screen_set_text(&screen->text_scr, gettext(text->text));
text_screen_draw(&screen->text_scr);
return screen;
OpenPOWER on IntegriCloud