From bfcac7a63ccfd8ee002b14af22fdb1c5a08f18ab Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Added PO files (translations). --- .hgignore | 3 ++ po/LINGUAS | 3 ++ po/Makefile.in | 2 +- po/POTFILES | 10 ++-- po/ja.po | 109 ++++++++++++++++++++++++++++++++++++++++ po/pl.po | 108 ++++++++++++++++++++++++++++++++++++++++ po/pt_BR.po | 112 ++++++++++++++++++++++++++++++++++++++++++ po/virt-mem.pot | 150 ++++++++++++++++++-------------------------------------- 8 files changed, 392 insertions(+), 105 deletions(-) create mode 100644 po/ja.po create mode 100644 po/pl.po create mode 100644 po/pt_BR.po diff --git a/.hgignore b/.hgignore index 1116084..a3a9b9b 100644 --- a/.hgignore +++ b/.hgignore @@ -21,6 +21,9 @@ gmon.out virt-mem-*.tar.gz lib/virt_mem_gettext.ml lib/virt_mem_version.ml +po/*.mo +po/*.po.bak +po/*.po.orig uname/virt-uname dmesg/virt-dmesg samples \ No newline at end of file diff --git a/po/LINGUAS b/po/LINGUAS index e69de29..11a2691 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -0,0 +1,3 @@ +ja +pl +pt_BR \ No newline at end of file diff --git a/po/Makefile.in b/po/Makefile.in index 8a6ef41..210b986 100644 --- a/po/Makefile.in +++ b/po/Makefile.in @@ -23,7 +23,7 @@ LINGUAS = $(shell cat LINGUAS) SOURCES = POTFILES OCAML_GETTEXT = @OCAML_GETTEXT@ -OCAML_GETTEXT_EXTRACT_OPTIONS = +OCAML_GETTEXT_EXTRACT_OPTIONS = --extract-default-option "-I +camlp4 pa_o.cmo -I $$(ocamlc -where)/bitmatch bitmatch.cma pa_bitmatch.cmo" OCAML_GETTEXT_COMPILE_OPTIONS = OCAML_GETTEXT_INSTALL_OPTIONS = OCAML_GETTEXT_MERGE_OPTIONS = diff --git a/po/POTFILES b/po/POTFILES index 199332d..531f88f 100644 --- a/po/POTFILES +++ b/po/POTFILES @@ -1,3 +1,7 @@ -virt_mem.ml -virt_mem_mmap.ml -virt_mem_utils.ml \ No newline at end of file +../dmesg/virt_dmesg.ml +../uname/virt_uname.ml +../lib/virt_mem_utils.ml +../lib/virt_mem_gettext.ml +../lib/virt_mem_version.ml +../lib/virt_mem.ml +../lib/virt_mem_mmap.ml diff --git a/po/ja.po b/po/ja.po new file mode 100644 index 0000000..2bd2935 --- /dev/null +++ b/po/ja.po @@ -0,0 +1,109 @@ +msgid "" +msgstr "" +"Project-Id-Version: virt-p2v--devel\n" +"Report-Msgid-Bugs-To: rjones@redhat.com\n" +"POT-Creation-Date: 2008-03-22 15:53+0000\n" +"PO-Revision-Date: 2008-03-28 17:00+0000\n" +"Last-Translator: Naoko - \n" +"Language-Team: Japanese\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: ../lib/virt_mem.ml:392 +msgid "%s: cannot find start of kernel symbol table\\n" +msgstr "" + +#: ../dmesg/virt_dmesg.ml:86 +msgid "%s: could not find kernel log buffer in kernel image\\n" +msgstr "" + +#: ../uname/virt_uname.ml:101 +msgid "%s: could not find utsname in kernel image\\n" +msgstr "" + +#: ../uname/virt_uname.ml:86 +msgid "%s: unexpected init_uts_ns in kernel image\\n" +msgstr "" + +#: ../uname/virt_uname.ml:68 +msgid "%s: unexpected system_utsname in kernel image\\n" +msgstr "" + +#: ../lib/virt_mem.ml:136 +msgid "%s: unknown parameter" +msgstr "" + +#: ../lib/virt_mem.ml:207 ../lib/virt_mem.ml:265 +msgid "%s: use -A to define architecture (i386/x86-64 only) for this image" +msgstr "" + +#: ../lib/virt_mem.ml:198 ../lib/virt_mem.ml:256 +msgid "%s: use -E to define endianness for this image" +msgstr "" + +#: ../lib/virt_mem.ml:211 ../lib/virt_mem.ml:269 +msgid "%s: use -T to define kernel load address for this image" +msgstr "" + +#: ../lib/virt_mem.ml:191 ../lib/virt_mem.ml:249 +msgid "%s: use -W to define word size for this image" +msgstr "" + +#: ../lib/virt_mem.ml:124 ../lib/virt_mem.ml:126 +msgid "Connect to URI" +msgstr "" + +#: ../lib/virt_mem.ml:128 +msgid "Debug mode (default: false)" +msgstr "" + +#: ../lib/virt_mem.ml:132 +msgid "Display version and exit" +msgstr "" + +#: ../dmesg/virt_dmesg.ml:26 +msgid "NAME\n virt-dmesg - dmesg command for virtual machines\n\nSUMMARY\n virt-dmesg [-options] [domains]\n\nDESCRIPTION\n virt-dmesg prints the kernel messages for virtual machines running\n under libvirt. The output is similar to the ordinary dmesg command\n run inside the virtual machine." +msgstr "" + +#: ../uname/virt_uname.ml:26 +msgid "NAME\n virt-uname - uname command for virtual machines\n\nSUMMARY\n virt-uname [-options] [domains]\n\nDESCRIPTION\n virt-uname prints the uname information such as OS version,\n architecture and node name for virtual machines running under\n libvirt." +msgstr "" + +#: ../lib/virt_mem.ml:154 +msgid "NB: If you want to monitor a local Xen hypervisor, you usually need to be root" +msgstr "" + +#: ../lib/virt_mem.ml:116 +msgid "Set kernel architecture, endianness and word size" +msgstr "" + +#: ../lib/virt_mem.ml:118 +msgid "Set kernel endianness" +msgstr "" + +#: ../lib/virt_mem.ml:120 +msgid "Set kernel text address" +msgstr "" + +#: ../lib/virt_mem.ml:122 +msgid "Set kernel word size" +msgstr "" + +#: ../lib/virt_mem.ml:130 +msgid "Use saved kernel memory image" +msgstr "" + +#: ../lib/virt_mem.ml:137 +msgid "\\n\\nOPTIONS" +msgstr "" + +#: ../lib/virt_mem.ml:71 +msgid "set_endian: %s: unknown endianness" +msgstr "" + +#: ../lib/virt_mem.ml:60 +msgid "set_wordsize: %s: unknown wordsize" +msgstr "" + diff --git a/po/pl.po b/po/pl.po new file mode 100644 index 0000000..6fc8abe --- /dev/null +++ b/po/pl.po @@ -0,0 +1,108 @@ +msgid "" +msgstr "" +"Project-Id-Version: pl\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-03-28 17:30+0000\n" +"PO-Revision-Date: 2008-04-12 21:09+0200\n" +"Last-Translator: Piotr Drąg \n" +"Language-Team: Polish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../lib/virt_mem.ml:392 +msgid "%s: cannot find start of kernel symbol table\\n" +msgstr "" + +#: ../dmesg/virt_dmesg.ml:86 +msgid "%s: could not find kernel log buffer in kernel image\\n" +msgstr "" + +#: ../uname/virt_uname.ml:101 +msgid "%s: could not find utsname in kernel image\\n" +msgstr "" + +#: ../uname/virt_uname.ml:86 +msgid "%s: unexpected init_uts_ns in kernel image\\n" +msgstr "" + +#: ../uname/virt_uname.ml:68 +msgid "%s: unexpected system_utsname in kernel image\\n" +msgstr "" + +#: ../lib/virt_mem.ml:136 +msgid "%s: unknown parameter" +msgstr "%s: nieznany parametr" + +#: ../lib/virt_mem.ml:207 ../lib/virt_mem.ml:265 +msgid "%s: use -A to define architecture (i386/x86-64 only) for this image" +msgstr "" + +#: ../lib/virt_mem.ml:198 ../lib/virt_mem.ml:256 +msgid "%s: use -E to define endianness for this image" +msgstr "" + +#: ../lib/virt_mem.ml:211 ../lib/virt_mem.ml:269 +msgid "%s: use -T to define kernel load address for this image" +msgstr "" + +#: ../lib/virt_mem.ml:191 ../lib/virt_mem.ml:249 +msgid "%s: use -W to define word size for this image" +msgstr "" + +#: ../lib/virt_mem.ml:124 ../lib/virt_mem.ml:126 +msgid "Connect to URI" +msgstr "" + +#: ../lib/virt_mem.ml:128 +msgid "Debug mode (default: false)" +msgstr "" + +#: ../lib/virt_mem.ml:132 +msgid "Display version and exit" +msgstr "Wyświetl wersję i zakończ" + +#: ../dmesg/virt_dmesg.ml:26 +msgid "NAME\n virt-dmesg - dmesg command for virtual machines\n\nSUMMARY\n virt-dmesg [-options] [domains]\n\nDESCRIPTION\n virt-dmesg prints the kernel messages for virtual machines running\n under libvirt. The output is similar to the ordinary dmesg command\n run inside the virtual machine." +msgstr "" + +#: ../uname/virt_uname.ml:26 +msgid "NAME\n virt-uname - uname command for virtual machines\n\nSUMMARY\n virt-uname [-options] [domains]\n\nDESCRIPTION\n virt-uname prints the uname information such as OS version,\n architecture and node name for virtual machines running under\n libvirt." +msgstr "" + +#: ../lib/virt_mem.ml:154 +msgid "NB: If you want to monitor a local Xen hypervisor, you usually need to be root" +msgstr "NB: jeśli chcesz monitorować lokalnego nadzorcę Xena, zwykle musisz być rootem" + +#: ../lib/virt_mem.ml:116 +msgid "Set kernel architecture, endianness and word size" +msgstr "" + +#: ../lib/virt_mem.ml:118 +msgid "Set kernel endianness" +msgstr "" + +#: ../lib/virt_mem.ml:120 +msgid "Set kernel text address" +msgstr "" + +#: ../lib/virt_mem.ml:122 +msgid "Set kernel word size" +msgstr "" + +#: ../lib/virt_mem.ml:130 +msgid "Use saved kernel memory image" +msgstr "" + +#: ../lib/virt_mem.ml:137 +msgid "\\n\\nOPTIONS" +msgstr "" + +#: ../lib/virt_mem.ml:71 +msgid "set_endian: %s: unknown endianness" +msgstr "" + +#: ../lib/virt_mem.ml:60 +msgid "set_wordsize: %s: unknown wordsize" +msgstr "" + diff --git a/po/pt_BR.po b/po/pt_BR.po new file mode 100644 index 0000000..c7c0e78 --- /dev/null +++ b/po/pt_BR.po @@ -0,0 +1,112 @@ +msgid "" +msgstr "" +"Project-Id-Version: pt_BR\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-03-28 17:30+0000\n" +"PO-Revision-Date: 2008-05-24 23:53-0300\n" +"Last-Translator: Herli Joaquim de Menezes \n" +"Language-Team: Brazilian Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: KBabel 1.11.4\n" +"X-Poedit-Language: Portuguese\n" +"X-Poedit-Country: BRAZIL\n" + +#: ../lib/virt_mem.ml:392 +msgid "%s: cannot find start of kernel symbol table\\n" +msgstr "" + +#: ../dmesg/virt_dmesg.ml:86 +msgid "%s: could not find kernel log buffer in kernel image\\n" +msgstr "" + +#: ../uname/virt_uname.ml:101 +msgid "%s: could not find utsname in kernel image\\n" +msgstr "" + +#: ../uname/virt_uname.ml:86 +msgid "%s: unexpected init_uts_ns in kernel image\\n" +msgstr "" + +#: ../uname/virt_uname.ml:68 +msgid "%s: unexpected system_utsname in kernel image\\n" +msgstr "" + +#: ../lib/virt_mem.ml:136 +msgid "%s: unknown parameter" +msgstr "%s: parâmetro desconhecido" + +#: ../lib/virt_mem.ml:207 ../lib/virt_mem.ml:265 +msgid "%s: use -A to define architecture (i386/x86-64 only) for this image" +msgstr "" + +#: ../lib/virt_mem.ml:198 ../lib/virt_mem.ml:256 +msgid "%s: use -E to define endianness for this image" +msgstr "" + +#: ../lib/virt_mem.ml:211 ../lib/virt_mem.ml:269 +msgid "%s: use -T to define kernel load address for this image" +msgstr "" + +#: ../lib/virt_mem.ml:191 ../lib/virt_mem.ml:249 +msgid "%s: use -W to define word size for this image" +msgstr "" + +#: ../lib/virt_mem.ml:124 ../lib/virt_mem.ml:126 +msgid "Connect to URI" +msgstr "" + +#: ../lib/virt_mem.ml:128 +msgid "Debug mode (default: false)" +msgstr "" + +#: ../lib/virt_mem.ml:132 +msgid "Display version and exit" +msgstr "Exibe a versão e sai." + +#: ../dmesg/virt_dmesg.ml:26 +msgid "NAME\n virt-dmesg - dmesg command for virtual machines\n\nSUMMARY\n virt-dmesg [-options] [domains]\n\nDESCRIPTION\n virt-dmesg prints the kernel messages for virtual machines running\n under libvirt. The output is similar to the ordinary dmesg command\n run inside the virtual machine." +msgstr "" + +#: ../uname/virt_uname.ml:26 +msgid "NAME\n virt-uname - uname command for virtual machines\n\nSUMMARY\n virt-uname [-options] [domains]\n\nDESCRIPTION\n virt-uname prints the uname information such as OS version,\n architecture and node name for virtual machines running under\n libvirt." +msgstr "" + +#: ../lib/virt_mem.ml:154 +msgid "NB: If you want to monitor a local Xen hypervisor, you usually need to be root" +msgstr "NB: Se você quiser monitorar um hipervisor local do Xen, você precisa ser root." + +#: ../lib/virt_mem.ml:116 +msgid "Set kernel architecture, endianness and word size" +msgstr "" + +#: ../lib/virt_mem.ml:118 +msgid "Set kernel endianness" +msgstr "" + +#: ../lib/virt_mem.ml:120 +msgid "Set kernel text address" +msgstr "" + +#: ../lib/virt_mem.ml:122 +msgid "Set kernel word size" +msgstr "" + +#: ../lib/virt_mem.ml:130 +msgid "Use saved kernel memory image" +msgstr "" + +#: ../lib/virt_mem.ml:137 +msgid "\\n\\nOPTIONS" +msgstr "" + +#: ../lib/virt_mem.ml:71 +msgid "set_endian: %s: unknown endianness" +msgstr "" + +#: ../lib/virt_mem.ml:60 +msgid "set_wordsize: %s: unknown wordsize" +msgstr "" + diff --git a/po/virt-mem.pot b/po/virt-mem.pot index 4b42260..7aabd15 100644 --- a/po/virt-mem.pot +++ b/po/virt-mem.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-04-28 12:49+0000\n" +"POT-Creation-Date: 2008-06-10 15:09+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,151 +17,99 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" -#: ../virt-df/virt_df_main.ml:83 -msgid "%s: unknown parameter" -msgstr "" - -#: ../virt-df/virt_df_main.ml:77 -msgid "(Test mode) Display contents of block device or file" -msgstr "" - -#: ../virt-df/virt_df_main.ml:268 -msgid "1K-blocks" -msgstr "" - -#: ../virt-df/virt_df_main.ml:269 ../virt-df/virt_df_main.ml:268 -msgid "Available" -msgstr "" - -#: ../virt-df/virt_df_main.ml:100 -msgid "CSV is not supported in this build of virt-df" -msgstr "" - -#: ../virt-df/virt_df_main.ml:63 ../virt-df/virt_df_main.ml:61 -msgid "Connect to URI (default: Xen)" -msgstr "" - -#: ../virt-df/virt_df_main.ml:67 ../diskzip/diskzip.ml:83 -msgid "Debug mode (default: false)" -msgstr "" - -#: ../virt-df/virt_df_main.ml:79 ../diskzip/diskzip.ml:93 -msgid "Display version and exit" +#: ../lib/virt_mem.ml:392 +msgid "%s: cannot find start of kernel symbol table\\n" msgstr "" -#: ../virt-df/virt_df_main.ml:273 -msgid "Filesystem" +#: ../dmesg/virt_dmesg.ml:86 +msgid "%s: could not find kernel log buffer in kernel image\\n" msgstr "" -#: ../diskzip/diskzip.ml:85 -msgid "Force compress even if stdout looks like a tty" +#: ../uname/virt_uname.ml:101 +msgid "%s: could not find utsname in kernel image\\n" msgstr "" -#: ../virt-df/virt_df_main.ml:270 -msgid "IFree" +#: ../uname/virt_uname.ml:86 +msgid "%s: unexpected init_uts_ns in kernel image\\n" msgstr "" -#: ../virt-df/virt_df_main.ml:270 -msgid "IUse" +#: ../uname/virt_uname.ml:68 +msgid "%s: unexpected system_utsname in kernel image\\n" msgstr "" -#: ../virt-df/virt_df_main.ml:270 -msgid "Inodes" -msgstr "" - -#: ../virt-df/virt_df_main.ml:119 -msgid "NB: If you want to monitor a local Xen hypervisor, you usually need to be root" -msgstr "" - -#: ../diskzip/diskzip.ml:87 -msgid "Pipe the output/input through bzip2" -msgstr "" - -#: ../diskzip/diskzip.ml:91 -msgid "Pipe the output/input through external program" -msgstr "" - -#: ../diskzip/diskzip.ml:95 -msgid "Pipe the output/input through gzip" -msgstr "" - -#: ../virt-df/virt_df_main.ml:71 ../virt-df/virt_df_main.ml:69 -msgid "Print sizes in human-readable format" -msgstr "" - -#: ../diskzip/diskzip.ml:89 -msgid "Set the output filename or directory name" +#: ../lib/virt_mem.ml:136 +msgid "%s: unknown parameter" msgstr "" -#: ../virt-df/virt_df_main.ml:59 ../virt-df/virt_df_main.ml:57 -msgid "Show all domains (default: only active domains)" +#: ../lib/virt_mem.ml:265 ../lib/virt_mem.ml:207 +msgid "%s: use -A to define architecture (i386/x86-64 only) for this image" msgstr "" -#: ../virt-df/virt_df_main.ml:75 ../virt-df/virt_df_main.ml:73 -msgid "Show inodes instead of blocks" +#: ../lib/virt_mem.ml:256 ../lib/virt_mem.ml:198 +msgid "%s: use -E to define endianness for this image" msgstr "" -#: ../virt-df/virt_df_main.ml:269 -msgid "Size" +#: ../lib/virt_mem.ml:269 ../lib/virt_mem.ml:211 +msgid "%s: use -T to define kernel load address for this image" msgstr "" -#: ../virt-df/virt_df_main.ml:273 -msgid "Type" +#: ../lib/virt_mem.ml:249 ../lib/virt_mem.ml:191 +msgid "%s: use -W to define word size for this image" msgstr "" -#: ../diskzip/diskzip.ml:81 -msgid "Uncompress (default: depends on executable name)" +#: ../lib/virt_mem.ml:126 ../lib/virt_mem.ml:124 +msgid "Connect to URI" msgstr "" -#: ../virt-df/virt_df_main.ml:269 ../virt-df/virt_df_main.ml:268 -msgid "Used" +#: ../lib/virt_mem.ml:128 +msgid "Debug mode (default: false)" msgstr "" -#: ../virt-df/virt_df_main.ml:65 -msgid "Write results in CSV format" +#: ../lib/virt_mem.ml:132 +msgid "Display version and exit" msgstr "" -#: ../diskzip/diskzip.ml:53 -msgid "diskzip: '-o' option cannot appear more than once" +#: ../dmesg/virt_dmesg.ml:26 +msgid "NAME\n virt-dmesg - dmesg command for virtual machines\n\nSUMMARY\n virt-dmesg [-options] [domains]\n\nDESCRIPTION\n virt-dmesg prints the kernel messages for virtual machines running\n under libvirt. The output is similar to the ordinary dmesg command\n run inside the virtual machine." msgstr "" -#: ../diskzip/diskzip.ml:119 -msgid "diskzip: '-o' option cannot be used when compressing" +#: ../uname/virt_uname.ml:26 +msgid "NAME\n virt-uname - uname command for virtual machines\n\nSUMMARY\n virt-uname [-options] [domains]\n\nDESCRIPTION\n virt-uname prints the uname information such as OS version,\n architecture and node name for virtual machines running under\n libvirt." msgstr "" -#: ../diskzip/diskzip.ml:71 -msgid "diskzip: '-z' or '-j' cannot appear more than once" +#: ../lib/virt_mem.ml:154 +msgid "NB: If you want to monitor a local Xen hypervisor, you usually need to be root" msgstr "" -#: ../diskzip/diskzip.ml:100 -msgid "diskzip: Intelligently compress disk images\n\nSUMMARY\n diskzip [-options] disk.img [disk.img ...] > output.dz\n diskzcat [-options] output.dz > disk.img\n\nOPTIONS" +#: ../lib/virt_mem.ml:116 +msgid "Set kernel architecture, endianness and word size" msgstr "" -#: ../diskzip/diskzip.ml:127 -msgid "diskzip: compressed data not written to a terminal, use '-f' to force" +#: ../lib/virt_mem.ml:118 +msgid "Set kernel endianness" msgstr "" -#: ../diskzip/diskzip.ml:123 -msgid "diskzip: no input" +#: ../lib/virt_mem.ml:120 +msgid "Set kernel text address" msgstr "" -#: ../diskzip/diskzip.ml:40 -msgid "diskzip: unknown executable name '%s', assuming 'diskzip'\\n" +#: ../lib/virt_mem.ml:122 +msgid "Set kernel word size" msgstr "" -#: ../virt-df/virt_df_main.ml:158 -msgid "get_xml_desc didn't return " +#: ../lib/virt_mem.ml:130 +msgid "Use saved kernel memory image" msgstr "" -#: ../virt-df/virt_df_main.ml:166 -msgid "get_xml_desc returned no node in XML" +#: ../lib/virt_mem.ml:137 +msgid "\\n\\nOPTIONS" msgstr "" -#: ../virt-df/virt_df_main.ml:169 -msgid "get_xml_desc returned strange node" +#: ../lib/virt_mem.ml:71 +msgid "set_endian: %s: unknown endianness" msgstr "" -#: ../virt-df/virt_df_main.ml:84 -msgid "virt-df : like 'df', shows disk space used in guests\n\nSUMMARY\n virt-df [-options]\n\nOPTIONS" +#: ../lib/virt_mem.ml:60 +msgid "set_wordsize: %s: unknown wordsize" msgstr "" -- 1.8.3.1