diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2014-06-24 13:32:45 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2014-07-28 13:20:34 +0800 |
commit | c325141c622b607112ab3a84a695a985f11f9228 (patch) | |
tree | 34b05863405946501370ab7b66a0a5b24fb6e7ba /ui | |
parent | 4e30f260106ac5f7007e213db1d1e54298393290 (diff) | |
download | petitboot-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.c | 2 |
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; |