diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2017-09-15 11:24:17 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2017-09-15 11:44:28 +1000 |
commit | af51ccb8b8664eb9462aa4a6e7e2a9f52430647f (patch) | |
tree | a5d9c06912e124cbdc748d455d9cf2722deba9b3 | |
parent | bab3856dae51d103d3859ec790fdc00b1f7fb0d1 (diff) | |
download | talos-petitboot-af51ccb8b8664eb9462aa4a6e7e2a9f52430647f.tar.gz talos-petitboot-af51ccb8b8664eb9462aa4a6e7e2a9f52430647f.zip |
ui/ncurses: Fixup some missing gettext calls
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
-rw-r--r-- | po/de.po | 15 | ||||
-rw-r--r-- | po/en.po | 15 | ||||
-rw-r--r-- | po/es.po | 15 | ||||
-rw-r--r-- | po/fr.po | 15 | ||||
-rw-r--r-- | po/it.po | 15 | ||||
-rw-r--r-- | po/ja.po | 15 | ||||
-rw-r--r-- | po/ko.po | 15 | ||||
-rw-r--r-- | po/pt_BR.po | 15 | ||||
-rw-r--r-- | po/ru.po | 15 | ||||
-rw-r--r-- | po/zh_CN.po | 15 | ||||
-rw-r--r-- | po/zh_TW.po | 15 | ||||
-rw-r--r-- | ui/ncurses/nc-config.c | 2 | ||||
-rw-r--r-- | ui/ncurses/nc-cui.c | 4 |
13 files changed, 157 insertions, 14 deletions
@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: petitboot 20140623-g89bd2ed2-dirty\n" "Report-Msgid-Bugs-To: Geoff Levand <geoff@infradead.org>\n" -"POT-Creation-Date: 2017-09-13 14:07+1000\n" +"POT-Creation-Date: 2017-09-15 11:30+1000\n" "PO-Revision-Date: 2014-06-24 13:56+0800\n" "Last-Translator: Jeremy Kerr <jk@ozlabs.org>\n" "Language-Team: German\n" @@ -311,6 +311,12 @@ msgstr "Sekunden" msgid "%s IPMI boot option: %s" msgstr "IPMI-Bootoption für %s: %s" +msgid "Persistent" +msgstr "" + +msgid "Temporary" +msgstr "" + msgid "Clear option:" msgstr "Option 'Inhalt löschen':" @@ -420,6 +426,10 @@ msgid "User item %u" msgstr "Benutzerelement %u" #, c-format +msgid " %s [installed]" +msgstr "" + +#, c-format msgid "SAFE MODE: select '%s' to continue" msgstr "ABGESICHERTER MODUS: Wählen Sie '%s' aus, um fortzufahren" @@ -467,6 +477,9 @@ msgstr "Eingabetaste=Installieren, e=Details, x=Beenden, h=Hilfe" msgid "Available Petitboot Plugins" msgstr "Verfügbare Petitboot-Plug-ins" +msgid "Return to Main Menu" +msgstr "" + msgid "plugin menu" msgstr "Plug-in-Menü" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: petitboot 20140623-g89bd2ed2-dirty\n" "Report-Msgid-Bugs-To: Geoff Levand <geoff@infradead.org>\n" -"POT-Creation-Date: 2017-09-13 14:07+1000\n" +"POT-Creation-Date: 2017-09-15 11:30+1000\n" "PO-Revision-Date: 2014-06-24 13:56+0800\n" "Last-Translator: Jeremy Kerr <jk@ozlabs.org>\n" "Language-Team: English\n" @@ -309,6 +309,12 @@ msgstr "seconds" msgid "%s IPMI boot option: %s" msgstr "" +msgid "Persistent" +msgstr "" + +msgid "Temporary" +msgstr "" + msgid "Clear option:" msgstr "" @@ -416,6 +422,10 @@ msgid "User item %u" msgstr "User item %u" #, c-format +msgid " %s [installed]" +msgstr "" + +#, c-format msgid "SAFE MODE: select '%s' to continue" msgstr "SAFE MODE: select '%s' to continue" @@ -461,6 +471,9 @@ msgstr "Enter=install, e=details, x=exit, h=help" msgid "Available Petitboot Plugins" msgstr "" +msgid "Return to Main Menu" +msgstr "" + msgid "plugin menu" msgstr "plugin menu" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: petitboot 20140623-g89bd2ed2-dirty\n" "Report-Msgid-Bugs-To: Geoff Levand <geoff@infradead.org>\n" -"POT-Creation-Date: 2017-09-13 14:07+1000\n" +"POT-Creation-Date: 2017-09-15 11:30+1000\n" "PO-Revision-Date: 2014-06-24 13:56+0800\n" "Last-Translator: Jeremy Kerr <jk@ozlabs.org>\n" "Language-Team: Spanish\n" @@ -311,6 +311,12 @@ msgstr "segundos" msgid "%s IPMI boot option: %s" msgstr "Opción de arranque de IPMI %s: %s" +msgid "Persistent" +msgstr "" + +msgid "Temporary" +msgstr "" + msgid "Clear option:" msgstr "Borrar opción:" @@ -420,6 +426,10 @@ msgid "User item %u" msgstr "Elemento de usuario %u" #, c-format +msgid " %s [installed]" +msgstr "" + +#, c-format msgid "SAFE MODE: select '%s' to continue" msgstr "MODALIDAD SEGURA: seleccione '%s' para continuar" @@ -466,6 +476,9 @@ msgstr "Intro=instalar, e=detalles, x=salir, h=ayuda" msgid "Available Petitboot Plugins" msgstr "Plugins de Petitboot disponibles" +msgid "Return to Main Menu" +msgstr "" + msgid "plugin menu" msgstr "menú de plugins" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: petitboot 20140623-g89bd2ed2-dirty\n" "Report-Msgid-Bugs-To: Geoff Levand <geoff@infradead.org>\n" -"POT-Creation-Date: 2017-09-13 14:07+1000\n" +"POT-Creation-Date: 2017-09-15 11:30+1000\n" "PO-Revision-Date: 2014-06-24 13:56+0800\n" "Last-Translator: Jeremy Kerr <jk@ozlabs.org>\n" "Language-Team: French\n" @@ -311,6 +311,12 @@ msgstr "secondes" msgid "%s IPMI boot option: %s" msgstr "%s Option d'amorçage IPMI : %s" +msgid "Persistent" +msgstr "" + +msgid "Temporary" +msgstr "" + msgid "Clear option:" msgstr "Option d'effacement :" @@ -420,6 +426,10 @@ msgid "User item %u" msgstr "Elément utilisateur %u" #, c-format +msgid " %s [installed]" +msgstr "" + +#, c-format msgid "SAFE MODE: select '%s' to continue" msgstr "MODE SANS ECHEC : sélectionnez '%s' pour continuer" @@ -466,6 +476,9 @@ msgstr "Entrée=installer, e=détails, x=quitter, h=aide" msgid "Available Petitboot Plugins" msgstr "Plug-in Petitboot disponibles" +msgid "Return to Main Menu" +msgstr "" + msgid "plugin menu" msgstr "Menu des plug-in" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: petitboot 20140623-g89bd2ed2-dirty\n" "Report-Msgid-Bugs-To: Geoff Levand <geoff@infradead.org>\n" -"POT-Creation-Date: 2017-09-13 14:07+1000\n" +"POT-Creation-Date: 2017-09-15 11:30+1000\n" "PO-Revision-Date: 2014-06-24 13:56+0800\n" "Last-Translator: Jeremy Kerr <jk@ozlabs.org>\n" "Language-Team: Italian\n" @@ -311,6 +311,12 @@ msgstr "secondi" msgid "%s IPMI boot option: %s" msgstr "Opzione di avvio IPMI %s: %s" +msgid "Persistent" +msgstr "" + +msgid "Temporary" +msgstr "" + msgid "Clear option:" msgstr "Ripulisci opzione:" @@ -420,6 +426,10 @@ msgid "User item %u" msgstr "Elemento utente %u" #, c-format +msgid " %s [installed]" +msgstr "" + +#, c-format msgid "SAFE MODE: select '%s' to continue" msgstr "MODALITÀ PROVVISORIA: selezionare '%s' per continuare" @@ -466,6 +476,9 @@ msgstr "Invio=installare, e=dettagli, x=uscire, h=guida" msgid "Available Petitboot Plugins" msgstr "Plugin Petitboot disponibili" +msgid "Return to Main Menu" +msgstr "" + msgid "plugin menu" msgstr "menu plugin" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: petitboot 20140623-g89bd2ed2-dirty\n" "Report-Msgid-Bugs-To: Geoff Levand <geoff@infradead.org>\n" -"POT-Creation-Date: 2017-09-13 14:07+1000\n" +"POT-Creation-Date: 2017-09-15 11:30+1000\n" "PO-Revision-Date: 2014-06-24 13:56+0800\n" "Last-Translator: Jeremy Kerr <jk@ozlabs.org>\n" "Language-Team: Japanese\n" @@ -310,6 +310,12 @@ msgstr "秒" msgid "%s IPMI boot option: %s" msgstr "%s IPMI ブート・オプション: %s" +msgid "Persistent" +msgstr "" + +msgid "Temporary" +msgstr "" + msgid "Clear option:" msgstr "消去オプション:" @@ -419,6 +425,10 @@ msgid "User item %u" msgstr "ユーザー項目 %u" #, c-format +msgid " %s [installed]" +msgstr "" + +#, c-format msgid "SAFE MODE: select '%s' to continue" msgstr "セーフ・モード: 続行するには「%s」を選択してください" @@ -464,6 +474,9 @@ msgstr "Enter=インストール、e=詳細、x=終了、h=ヘルプ" msgid "Available Petitboot Plugins" msgstr "使用可能な Petitboot プラグイン" +msgid "Return to Main Menu" +msgstr "" + msgid "plugin menu" msgstr "プラグイン・メニュー" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: petitboot 20140623-g89bd2ed2-dirty\n" "Report-Msgid-Bugs-To: Geoff Levand <geoff@infradead.org>\n" -"POT-Creation-Date: 2017-09-13 14:07+1000\n" +"POT-Creation-Date: 2017-09-15 11:30+1000\n" "PO-Revision-Date: 2014-06-24 13:56+0800\n" "Last-Translator: Jeremy Kerr <jk@ozlabs.org>\n" "Language-Team: Korean\n" @@ -308,6 +308,12 @@ msgstr "초" msgid "%s IPMI boot option: %s" msgstr "%s IPMI 부트 옵션: %s" +msgid "Persistent" +msgstr "" + +msgid "Temporary" +msgstr "" + msgid "Clear option:" msgstr "선택 취소 옵션:" @@ -415,6 +421,10 @@ msgid "User item %u" msgstr "User item %u" #, c-format +msgid " %s [installed]" +msgstr "" + +#, c-format msgid "SAFE MODE: select '%s' to continue" msgstr "안전 모드: 계속하려면 '%s' 선택" @@ -460,6 +470,9 @@ msgstr "Enter=설치, e=세부사항, x=종료, h=도움말" msgid "Available Petitboot Plugins" msgstr "사용 가능한 Petitboot 플러그인" +msgid "Return to Main Menu" +msgstr "" + msgid "plugin menu" msgstr "플러그인 메뉴" diff --git a/po/pt_BR.po b/po/pt_BR.po index 05d6269..9cda351 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: petitboot 20140623-g89bd2ed2-dirty\n" "Report-Msgid-Bugs-To: Geoff Levand <geoff@infradead.org>\n" -"POT-Creation-Date: 2017-09-13 14:07+1000\n" +"POT-Creation-Date: 2017-09-15 11:30+1000\n" "PO-Revision-Date: 2014-06-24 13:56+0800\n" "Last-Translator: Jeremy Kerr <jk@ozlabs.org>\n" "Language-Team: Portugese (Brazil)\n" @@ -311,6 +311,12 @@ msgstr "segundos" msgid "%s IPMI boot option: %s" msgstr "%s Opção de inicialização de IPMI: %s" +msgid "Persistent" +msgstr "" + +msgid "Temporary" +msgstr "" + msgid "Clear option:" msgstr "Limpar opção:" @@ -422,6 +428,10 @@ msgid "User item %u" msgstr "Item do usuário %u" #, c-format +msgid " %s [installed]" +msgstr "" + +#, c-format msgid "SAFE MODE: select '%s' to continue" msgstr "MODO DE SEGURANÇA: selecione '%s' para continuar" @@ -467,6 +477,9 @@ msgstr "Enter=install, e=details, x=exit, h=help" msgid "Available Petitboot Plugins" msgstr "Plug-ins do Petitboot Disponíveis" +msgid "Return to Main Menu" +msgstr "" + msgid "plugin menu" msgstr "Menu de plug-in" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: petitboot 20140623-g89bd2ed2-dirty\n" "Report-Msgid-Bugs-To: Geoff Levand <geoff@infradead.org>\n" -"POT-Creation-Date: 2017-09-13 14:07+1000\n" +"POT-Creation-Date: 2017-09-15 11:30+1000\n" "PO-Revision-Date: 2014-06-24 13:56+0800\n" "Last-Translator: Jeremy Kerr <jk@ozlabs.org>\n" "Language-Team: Russian\n" @@ -311,6 +311,12 @@ msgstr "секунд" msgid "%s IPMI boot option: %s" msgstr "Опция загрузки IPMI %s: %s" +msgid "Persistent" +msgstr "" + +msgid "Temporary" +msgstr "" + msgid "Clear option:" msgstr "Опция очистки:" @@ -420,6 +426,10 @@ msgid "User item %u" msgstr "Пользовательский элемент %u" #, c-format +msgid " %s [installed]" +msgstr "" + +#, c-format msgid "SAFE MODE: select '%s' to continue" msgstr "БЕЗОПАСНЫЙ РЕЖИМ: чтобы продолжить, выберите '%s'" @@ -467,6 +477,9 @@ msgstr "Enter=установить, e=сведения, x=выход, h=спра msgid "Available Petitboot Plugins" msgstr "Доступные модули Petitboot" +msgid "Return to Main Menu" +msgstr "" + msgid "plugin menu" msgstr "меню модуля" diff --git a/po/zh_CN.po b/po/zh_CN.po index f3de6d9..82542e7 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: petitboot 20140623-g89bd2ed2-dirty\n" "Report-Msgid-Bugs-To: Geoff Levand <geoff@infradead.org>\n" -"POT-Creation-Date: 2017-09-13 14:07+1000\n" +"POT-Creation-Date: 2017-09-15 11:30+1000\n" "PO-Revision-Date: 2014-06-24 13:56+0800\n" "Last-Translator: Jeremy Kerr <jk@ozlabs.org>\n" "Language-Team: Simplified Chinese\n" @@ -308,6 +308,12 @@ msgstr "秒" msgid "%s IPMI boot option: %s" msgstr "%s IPMI 引导选项:%s" +msgid "Persistent" +msgstr "" + +msgid "Temporary" +msgstr "" + msgid "Clear option:" msgstr "清除选项:" @@ -415,6 +421,10 @@ msgid "User item %u" msgstr "用户项 %u" #, c-format +msgid " %s [installed]" +msgstr "" + +#, c-format msgid "SAFE MODE: select '%s' to continue" msgstr "安全模式:选择“%s”以继续" @@ -460,6 +470,9 @@ msgstr "Enter=安装,e=详细信息,x=退出,h=帮助" msgid "Available Petitboot Plugins" msgstr "可用的 Petitboot 插件" +msgid "Return to Main Menu" +msgstr "" + msgid "plugin menu" msgstr "插件菜单" diff --git a/po/zh_TW.po b/po/zh_TW.po index c16cb54..3928525 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: petitboot 20140623-g89bd2ed2-dirty\n" "Report-Msgid-Bugs-To: Geoff Levand <geoff@infradead.org>\n" -"POT-Creation-Date: 2017-09-13 14:07+1000\n" +"POT-Creation-Date: 2017-09-15 11:30+1000\n" "PO-Revision-Date: 2014-06-24 13:56+0800\n" "Last-Translator: Jeremy Kerr <jk@ozlabs.org>\n" "Language-Team: Traditional Chinese\n" @@ -308,6 +308,12 @@ msgstr "秒" msgid "%s IPMI boot option: %s" msgstr "%s IPMI 啟動選項:%s" +msgid "Persistent" +msgstr "" + +msgid "Temporary" +msgstr "" + msgid "Clear option:" msgstr "清除選項:" @@ -415,6 +421,10 @@ msgid "User item %u" msgstr "使用者項目 %u" #, c-format +msgid " %s [installed]" +msgstr "" + +#, c-format msgid "SAFE MODE: select '%s' to continue" msgstr "安全模式:選取 '%s' 以繼續" @@ -460,6 +470,9 @@ msgstr "Enter=安裝,e=詳細資料,x=退出,h=說明" msgid "Available Petitboot Plugins" msgstr "可用的 Petitboot 外掛程式" +msgid "Return to Main Menu" +msgstr "" + msgid "plugin menu" msgstr "外掛程式功能表" diff --git a/ui/ncurses/nc-config.c b/ui/ncurses/nc-config.c index 337d8a4..58bae29 100644 --- a/ui/ncurses/nc-config.c +++ b/ui/ncurses/nc-config.c @@ -946,7 +946,7 @@ static void config_screen_setup_widgets(struct config_screen *screen, label = talloc_asprintf(screen, _("%s IPMI boot option: %s"), config->ipmi_bootdev_persistent ? - "Persistent" : "Temporary", + _("Persistent") : _("Temporary"), ipmi_bootdev_display_name(config->ipmi_bootdev)); screen->widgets.ipmi_type_l = widget_new_label(set, 0, 0, label); diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c index 46b7839..8fba7d5 100644 --- a/ui/ncurses/nc-cui.c +++ b/ui/ncurses/nc-cui.c @@ -901,7 +901,7 @@ fallback: talloc_free(cod->name); /* Name is still tabbed across */ - cod->name = talloc_asprintf(cod, " %s [installed]", opt->name); + cod->name = talloc_asprintf(cod, _(" %s [installed]"), opt->name); cod->pd->opt = opt; item->on_execute = NULL; @@ -1268,7 +1268,7 @@ static struct pmenu *plugin_menu_init(struct cui *cui) item_opts_off(i->nci, O_SELECTABLE); pmenu_item_insert(m, i, 0); - i = pmenu_item_create(m, ("Return to Main Menu")); + i = pmenu_item_create(m, _("Return to Main Menu")); i->on_execute = pmenu_exit_cb; pmenu_item_insert(m, i, 1); |