po: Update translations General translation update, adds several new translation source files including parsers and the plugin and statuslog screens. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
po: Update translation files Add additional source files to POTFILES.in and update the *.po files where able. Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
ui/ncurses: Add support for 'add-url' action Creates a menu option to specify a remote conf file url to send to the server for parsing. Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover: Use translated strings for boot status messages Since we're operating in the correct locale now, we can send translated strings in the boot status messages. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
ui/ncurses: Add language selector & support for language changes This change adds a language selector UI, and allows language changes from incoming configuration messages. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
ui/ncurses: Move menu initialisation to cui code We'll want to re-initialise the petitboot main menu (when the language is changed), which we can't do if the items are populated entirely from the main() function. This change moves the menu initilisation to the cui code, we we can re-init when necessary. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
ui/ncurses: Mark help text as translateable Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
i18n: Mark translatable strings for ncurses UI Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Add gettext infrastructure Signed-off-by: Jeremy Kerr <jk@ozlabs.org>