From: Jeremy Kerr Date: Tue, 24 Jun 2014 06:00:12 +0000 (+0800) Subject: i18n: Add english translation X-Git-Tag: v1.0.0~146 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=0bacabfe38d4e6721d4b32c11c6ef5bff599492c i18n: Add english translation No translation necessary. Signed-off-by: Jeremy Kerr --- diff --git a/po/LINGUAS b/po/LINGUAS index e69de29..c574d07 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -0,0 +1 @@ +en diff --git a/po/en.po b/po/en.po new file mode 100644 index 0000000..6df54eb --- /dev/null +++ b/po/en.po @@ -0,0 +1,410 @@ +# English translations for petitboot package. +# This file is put in the public domain. +# Jeremy Kerr , 2014. +# +msgid "" +msgstr "" +"Project-Id-Version: petitboot 20140623-g89bd2ed2-dirty\n" +"Report-Msgid-Bugs-To: Geoff Levand \n" +"POT-Creation-Date: 2014-07-28 13:45+0800\n" +"PO-Revision-Date: 2014-06-24 13:56+0800\n" +"Last-Translator: Jeremy Kerr \n" +"Language-Team: English\n" +"Language: en\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ASCII\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Boot Option Editor" +msgstr "Boot Option Editor" + +msgid "Specify paths/URLs manually" +msgstr "Specify paths/URLs manually" + +msgid "Device:" +msgstr "Device:" + +msgid "Kernel:" +msgstr "Kernel:" + +msgid "Initrd:" +msgstr "Initrd:" + +msgid "Device tree:" +msgstr "Device tree:" + +msgid "Boot arguments:" +msgstr "Boot arguments:" + +msgid "OK" +msgstr "OK" + +msgid "Help" +msgstr "Help" + +msgid "Cancel" +msgstr "Cancel" + +msgid "Petitboot Option Editor" +msgstr "Petitboot Option Editor" + +msgid "tab=next, shift+tab=previous, x=exit, h=help" +msgstr "tab=next, shift+tab=previous, x=exit, h=help" + +msgid "System Configuration" +msgstr "System Configuration" + +msgid "No IP / mask values are set" +msgstr "No IP / mask values are set" + +msgid "Waiting for configuration data..." +msgstr "Waiting for configuration data..." + +msgid "Autoboot:" +msgstr "Autoboot:" + +msgid "Don't autoboot" +msgstr "Don't autoboot" + +msgid "Autoboot from any disk/network device" +msgstr "Autoboot from any disk/network device" + +msgid "Only autoboot from a specific disk/network device" +msgstr "Only autoboot from a specific disk/network device" + +#, c-format +msgid "disk: %s [uuid: %s]" +msgstr "disk: %s [uuid: %s]" + +#, c-format +msgid "net: %s [mac: %s]" +msgstr "net: %s [mac: %s]" + +#, c-format +msgid "Unknown UUID: %s" +msgstr "Unknown UUID: %s" + +msgid "Timeout:" +msgstr "Timeout:" + +msgid "seconds" +msgstr "seconds" + +msgid "Network:" +msgstr "Network:" + +msgid "DHCP on all active interfaces" +msgstr "DHCP on all active interfaces" + +msgid "DHCP on a specific interface" +msgstr "DHCP on a specific interface" + +msgid "Static IP configuration" +msgstr "Static IP configuration" + +msgid "link up" +msgstr "link up" + +msgid "link down" +msgstr "link down" + +msgid "IP/mask:" +msgstr "IP/mask:" + +msgid "(eg. 192.168.0.10 / 24)" +msgstr "(eg. 192.168.0.10 / 24)" + +msgid "Gateway:" +msgstr "Gateway:" + +msgid "(eg. 192.168.0.1)" +msgstr "(eg. 192.168.0.1)" + +msgid "DNS Server(s):" +msgstr "DNS Server(s):" + +msgid "(eg. 192.168.0.2)" +msgstr "(eg. 192.168.0.2)" + +msgid "(if not provided by DHCP server)" +msgstr "(if not provided by DHCP server)" + +msgid "Petitboot System Configuration" +msgstr "Petitboot System Configuration" + +#, c-format +msgid "Running %s..." +msgstr "Running %s..." + +#, c-format +msgid "Failed: %s" +msgstr "Failed: %s" + +#, c-format +msgid "Booting %s..." +msgstr "Booting %s..." + +#, c-format +msgid "Failed: boot %s" +msgstr "Failed: boot %s" + +#, c-format +msgid "User item %u" +msgstr "User item %u" + +msgid "Error" +msgstr "Error" + +msgid "Info" +msgstr "Info" + +#, c-format +msgid "SAFE MODE: select '%s' to continue" +msgstr "SAFE MODE: select '%s' to continue" + +msgid "Rescan devices" +msgstr "Rescan devices" + +#, c-format +msgid "%s: alloc cui failed.\n" +msgstr "%s: alloc cui failed.\n" + +#, c-format +msgid "%s: error: discover_client_init failed.\n" +msgstr "%s: error: discover_client_init failed.\n" + +#, c-format +msgid "could not start pb-discover, the petitboot daemon.\n" +msgstr "could not start pb-discover, the petitboot daemon.\n" + +#, c-format +msgid "check that pb-discover, the petitboot daemon is running.\n" +msgstr "check that pb-discover, the petitboot daemon is running.\n" + +msgid "Petitboot help" +msgstr "Petitboot help" + +#, c-format +msgid "Petitboot help: %s" +msgstr "Petitboot help: %s" + +#, c-format +msgid "!Invalid option %d" +msgstr "!Invalid option %d" + +msgid "Waiting for system information..." +msgstr "Waiting for system information..." + +msgid "System type:" +msgstr "System type:" + +msgid "System id:" +msgstr "System id:" + +msgid "Storage devices" +msgstr "Storage devices" + +#, c-format +msgid " UUID: %s" +msgstr " UUID: %s" + +#, c-format +msgid " mounted at: %s" +msgstr " mounted at: %s" + +#, c-format +msgid " MAC: %s" +msgstr " MAC: %s" + +#, c-format +msgid " link: %s" +msgstr " link: %s" + +msgid "Petitboot System Information" +msgstr "Petitboot System Information" + +msgid "System Information" +msgstr "System Information" + +msgid "x=exit, h=help" +msgstr "x=exit, h=help" + +msgid "x=exit" +msgstr "x=exit" + +msgid "" +"From the main menu screen, select a boot option. The options displayed are " +"available on the system and the network.\n" +"\n" +"To select a boot option, press Enter.\n" +"\n" +"To make changes to an existing option, type E (edit).\n" +"\n" +"To add a new boot option, type N (new).\n" +"\n" +"To display information about the system, including the MAC addresses of each " +"network interface, type I (information).\n" +"\n" +"To make changes to the system configuration, type C (configure).\n" +"\n" +"To close the Petitboot interface, type X (exit).\n" +msgstr "" +"From the main menu screen, select a boot option. The options displayed are " +"available on the system and the network.\n" +"\n" +"To select a boot option, press Enter.\n" +"\n" +"To make changes to an existing option, type E (edit).\n" +"\n" +"To add a new boot option, type N (new).\n" +"\n" +"To display information about the system, including the MAC addresses of each " +"network interface, type I (information).\n" +"\n" +"To make changes to the system configuration, type C (configure).\n" +"\n" +"To close the Petitboot interface, type X (exit).\n" + +msgid "" +"This screen allows you to edit or create boot options.\n" +"\n" +"Device: This is a list of block devices available on the system. Select the " +"device which contains your boot resources (kernel, initrd and device tree), " +"or \"Specify paths/URLs manually\" to use full URLs to the boot resources.\n" +"\n" +"Kernel: enter the path to the kernel to boot. This field is mandatory. This " +"should be a kernel image that the kexec utility can handle. Generally, this " +"will be a 'vmlinux'-type image.\n" +"Example: /boot/vmlinux\n" +"\n" +"Initrd: enter the path to the initial RAM disk image. This is optional.\n" +"Example: /boot/initrd.img\n" +"\n" +"Device tree: enter the path to the device tree blob file (.dtb). This is " +"optional; if not specified, and your platform currently provides a device " +"tree, the current one will be used.\n" +"Example: /boot/device-tree.dtb\n" +"\n" +"Boot arguments: enter the kernel command-line arguments. This is optional.\n" +"Example: root=/dev/sda1 console=hvc0\n" +"\n" +msgstr "" +"This screen allows you to edit or create boot options.\n" +"\n" +"Device: This is a list of block devices available on the system. Select the " +"device which contains your boot resources (kernel, initrd and device tree), " +"or \"Specify paths/URLs manually\" to use full URLs to the boot resources.\n" +"\n" +"Kernel: enter the path to the kernel to boot. This field is mandatory. This " +"should be a kernel image that the kexec utility can handle. Generally, this " +"will be a 'vmlinux'-type image.\n" +"Example: /boot/vmlinux\n" +"\n" +"Initrd: enter the path to the initial RAM disk image. This is optional.\n" +"Example: /boot/initrd.img\n" +"\n" +"Device tree: enter the path to the device tree blob file (.dtb). This is " +"optional; if not specified, and your platform currently provides a device " +"tree, the current one will be used.\n" +"Example: /boot/device-tree.dtb\n" +"\n" +"Boot arguments: enter the kernel command-line arguments. This is optional.\n" +"Example: root=/dev/sda1 console=hvc0\n" +"\n" + +msgid "" +"Autoboot: There are three possible options for automatic-boot hehaviour:\n" +"\n" +"Don't autoboot: boot options will be listed in the petitboot menu, but none " +"will be booted automatically. User interaction will be required to continue " +"past the petitboot menu. Use this option if you want the machine to wait for " +"an explicit boot selection, or want to interact with petitboot before " +"booting the system\n" +"\n" +"Autoboot from any disk/network device: any boot option that is marked as a " +"default (by bootloader configuration) will be booted automatically after a " +"timeout. Use this option if you want to quickly boot your system without " +"changing any boot option settings. This is the typical configuration.\n" +"\n" +"Autoboot from a specific disk/network device: only boot options from a " +"single device (specifed here) will be booted automatically after a timeout. " +"Use this option if you have multiple operating system images installed.\n" +"\n" +"Timeout: Specify the length of time, in seconds, that the main menu will be " +"displayed before the default boot option is started. This option is only " +"displayed if autoboot is enabled.\n" +"\n" +"Network options:\n" +"\n" +"DHCP on all active interfaces: Automatically assigns IP addresses to each " +"network interface. Use this option if you have a DHCP server on your " +"network.\n" +"\n" +"DHCP on a specific interface: Automatically assigns IP addresses to the " +"selected network interface. The other interfaces are not configured. Select " +"this option if you have multiple DHCP servers on different interfaces, but " +"only want to configure a single interface during boot.\n" +"\n" +"Static IP configuration: Allows you to specify an IPv4 address and network " +"mask, gateway, and a DNS server or servers for a network interface. Select " +"this option if you do not have a DHCP server, or want explicit control of " +"network settings." +msgstr "" +"Autoboot: There are three possible options for automatic-boot hehaviour:\n" +"\n" +"Don't autoboot: boot options will be listed in the petitboot menu, but none " +"will be booted automatically. User interaction will be required to continue " +"past the petitboot menu. Use this option if you want the machine to wait for " +"an explicit boot selection, or want to interact with petitboot before " +"booting the system\n" +"\n" +"Autoboot from any disk/network device: any boot option that is marked as a " +"default (by bootloader configuration) will be booted automatically after a " +"timeout. Use this option if you want to quickly boot your system without " +"changing any boot option settings. This is the typical configuration.\n" +"\n" +"Autoboot from a specific disk/network device: only boot options from a " +"single device (specifed here) will be booted automatically after a timeout. " +"Use this option if you have multiple operating system images installed.\n" +"\n" +"Timeout: Specify the length of time, in seconds, that the main menu will be " +"displayed before the default boot option is started. This option is only " +"displayed if autoboot is enabled.\n" +"\n" +"Network options:\n" +"\n" +"DHCP on all active interfaces: Automatically assigns IP addresses to each " +"network interface. Use this option if you have a DHCP server on your " +"network.\n" +"\n" +"DHCP on a specific interface: Automatically assigns IP addresses to the " +"selected network interface. The other interfaces are not configured. Select " +"this option if you have multiple DHCP servers on different interfaces, but " +"only want to configure a single interface during boot.\n" +"\n" +"Static IP configuration: Allows you to specify an IPv4 address and network " +"mask, gateway, and a DNS server or servers for a network interface. Select " +"this option if you do not have a DHCP server, or want explicit control of " +"network settings." + +msgid "Usage" +msgstr "Usage" + +msgid "Enter=accept, e=edit, n=new, x=exit, h=help" +msgstr "Enter=accept, e=edit, n=new, x=exit, h=help" + +msgid "Welcome to Petitboot" +msgstr "Welcome to Petitboot" + +msgid "System information" +msgstr "System information" + +msgid "System configuration" +msgstr "System configuration" + +msgid "Exit to shell" +msgstr "Exit to shell" + +msgid "main menu" +msgstr "main menu" diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c index cd7952f..761edb3 100644 --- a/ui/ncurses/nc-cui.c +++ b/ui/ncurses/nc-cui.c @@ -627,8 +627,8 @@ static void cui_update_config(struct config *config, void *arg) if (config->safe_mode) nc_scr_status_printf(cui->current, - "SAFE MODE: select '%s' to continue", - "Rescan devices"); + _("SAFE MODE: select '%s' to continue"), + _("Rescan devices")); } int cui_send_config(struct cui *cui, struct config *config)