summaryrefslogtreecommitdiff
path: root/gettext-tools/examples
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2014-12-24 07:38:37 +0000
committer <>2015-02-02 12:02:29 +0000
commit482840e61f86ca321838a91e902c41d40c098bbb (patch)
tree01ea2e242fd2792d19fe192476601587901db794 /gettext-tools/examples
downloadgettext-tarball-482840e61f86ca321838a91e902c41d40c098bbb.tar.gz
Imported from /home/lorry/working-area/delta_gettext-tarball/gettext-0.19.4.tar.xz.gettext-0.19.4
Diffstat (limited to 'gettext-tools/examples')
-rw-r--r--gettext-tools/examples/ChangeLog1163
-rw-r--r--gettext-tools/examples/Makefile.am535
-rw-r--r--gettext-tools/examples/Makefile.in1318
-rw-r--r--gettext-tools/examples/README50
-rw-r--r--gettext-tools/examples/aclocal.m4741
-rwxr-xr-xgettext-tools/examples/configure4253
-rw-r--r--gettext-tools/examples/configure.ac40
-rw-r--r--gettext-tools/examples/hello-c++-gnome/INSTALL19
-rw-r--r--gettext-tools/examples/hello-c++-gnome/Makefile.am29
-rwxr-xr-xgettext-tools/examples/hello-c++-gnome/autoclean.sh59
-rwxr-xr-xgettext-tools/examples/hello-c++-gnome/autogen.sh29
-rw-r--r--gettext-tools/examples/hello-c++-gnome/configure.ac25
-rw-r--r--gettext-tools/examples/hello-c++-gnome/hello.cc87
-rw-r--r--gettext-tools/examples/hello-c++-gnome/m4/Makefile.am7
-rw-r--r--gettext-tools/examples/hello-c++-gnome/m4/gnome-gnorba-check.m435
-rw-r--r--gettext-tools/examples/hello-c++-gnome/m4/gnome-orbit-check.m433
-rw-r--r--gettext-tools/examples/hello-c++-gnome/m4/gnome.m4128
-rw-r--r--gettext-tools/examples/hello-c++-gnome/m4/gtk--.m4195
-rw-r--r--gettext-tools/examples/hello-c++-gnome/m4/gtk.m4194
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/Makevars67
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/POTFILES.in5
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/af.po25
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/da.po25
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/de.po30
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/el.po25
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/es.po29
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/id.po26
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/it.po25
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-c++-gnome/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-c++-kde/BUGS4
-rw-r--r--gettext-tools/examples/hello-c++-kde/INSTALL13
-rw-r--r--gettext-tools/examples/hello-c++-kde/Makefile.am56
-rw-r--r--gettext-tools/examples/hello-c++-kde/admin/ChangeLog761
-rw-r--r--gettext-tools/examples/hello-c++-kde/admin/Doxyfile.am163
-rw-r--r--gettext-tools/examples/hello-c++-kde/admin/Doxyfile.global950
-rw-r--r--gettext-tools/examples/hello-c++-kde/admin/Makefile.common34
-rw-r--r--gettext-tools/examples/hello-c++-kde/admin/acinclude.m4.in5395
-rw-r--r--gettext-tools/examples/hello-c++-kde/admin/am_edit2037
-rwxr-xr-xgettext-tools/examples/hello-c++-kde/admin/compile99
-rw-r--r--gettext-tools/examples/hello-c++-kde/admin/conf.change.pl177
-rwxr-xr-xgettext-tools/examples/hello-c++-kde/admin/config.guess1363
-rw-r--r--gettext-tools/examples/hello-c++-kde/admin/config.pl235
-rwxr-xr-xgettext-tools/examples/hello-c++-kde/admin/config.sub1470
-rw-r--r--gettext-tools/examples/hello-c++-kde/admin/configure.in.bot.end12
-rw-r--r--gettext-tools/examples/hello-c++-kde/admin/configure.in.min57
-rw-r--r--gettext-tools/examples/hello-c++-kde/admin/cvs-clean.pl87
-rw-r--r--gettext-tools/examples/hello-c++-kde/admin/cvs.sh506
-rwxr-xr-xgettext-tools/examples/hello-c++-kde/admin/debianrules114
-rwxr-xr-xgettext-tools/examples/hello-c++-kde/admin/depcomp411
-rw-r--r--gettext-tools/examples/hello-c++-kde/admin/detect-autoconf.sh81
-rwxr-xr-xgettext-tools/examples/hello-c++-kde/admin/install-sh251
-rw-r--r--gettext-tools/examples/hello-c++-kde/admin/libtool.m4.in5402
-rw-r--r--gettext-tools/examples/hello-c++-kde/admin/ltmain.sh5572
-rwxr-xr-xgettext-tools/examples/hello-c++-kde/admin/missing336
-rwxr-xr-xgettext-tools/examples/hello-c++-kde/admin/mkinstalldirs111
-rwxr-xr-xgettext-tools/examples/hello-c++-kde/admin/ylwrap143
-rwxr-xr-xgettext-tools/examples/hello-c++-kde/autoclean.sh66
-rwxr-xr-xgettext-tools/examples/hello-c++-kde/autogen.sh48
-rw-r--r--gettext-tools/examples/hello-c++-kde/configure.in.in6
-rw-r--r--gettext-tools/examples/hello-c++-kde/hello.cc73
-rw-r--r--gettext-tools/examples/hello-c++-kde/hellowindow.cc63
-rw-r--r--gettext-tools/examples/hello-c++-kde/hellowindow.h20
-rw-r--r--gettext-tools/examples/hello-c++-kde/m4/Makefile.am5
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/Makevars63
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/POTFILES.in6
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/af.po33
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/ast.po34
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/bg.po33
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/ca.po34
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/cs.po35
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/da.po33
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/de.po38
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/el.po33
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/eo.po33
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/es.po37
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/fi.po35
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/fr.po34
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/ga.po33
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/gl.po38
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/hr.po35
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/hu.po36
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/id.po34
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/it.po33
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/ja.po33
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/ky.po35
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/lv.po37
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/ms.po34
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/mt.po34
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/nb.po36
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/nl.po38
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/pl.po34
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/pt.po33
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/pt_BR.po37
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/ro.po33
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/ru.po37
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/sk.po33
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/sl.po36
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/sr.po36
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/sv.po32
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/tr.po33
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/uk.po37
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/vi.po38
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/zh_CN.po33
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/zh_HK.po32
-rw-r--r--gettext-tools/examples/hello-c++-kde/po/zh_TW.po34
-rw-r--r--gettext-tools/examples/hello-c++-qt/BUGS3
-rw-r--r--gettext-tools/examples/hello-c++-qt/INSTALL12
-rw-r--r--gettext-tools/examples/hello-c++-qt/Makefile.am31
-rwxr-xr-xgettext-tools/examples/hello-c++-qt/autoclean.sh31
-rwxr-xr-xgettext-tools/examples/hello-c++-qt/autogen.sh44
-rw-r--r--gettext-tools/examples/hello-c++-qt/configure.ac23
-rw-r--r--gettext-tools/examples/hello-c++-qt/hello.cc73
-rw-r--r--gettext-tools/examples/hello-c++-qt/m4/Makefile.am3
-rw-r--r--gettext-tools/examples/hello-c++-qt/m4/qt.m4466
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/Makefile.am289
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/af.po25
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/da.po25
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/de.po30
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/el.po25
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/es.po29
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/id.po26
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/it.po25
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-c++-qt/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/INSTALL12
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/Makefile.am31
-rwxr-xr-xgettext-tools/examples/hello-c++-wxwidgets/autoclean.sh35
-rwxr-xr-xgettext-tools/examples/hello-c++-wxwidgets/autogen.sh48
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/configure.ac23
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/hello.cc80
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/m4/Makefile.am3
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/m4/wxwidgets.m4345
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/Makefile.am362
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/af.po25
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/da.po25
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/de.po30
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/el.po25
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/es.po29
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/id.po26
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/it.po25
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-c++-wxwidgets/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-c++/INSTALL10
-rw-r--r--gettext-tools/examples/hello-c++/Makefile.am29
-rwxr-xr-xgettext-tools/examples/hello-c++/autoclean.sh62
-rwxr-xr-xgettext-tools/examples/hello-c++/autogen.sh48
-rw-r--r--gettext-tools/examples/hello-c++/configure.ac19
-rw-r--r--gettext-tools/examples/hello-c++/hello.cc43
-rw-r--r--gettext-tools/examples/hello-c++/m4/Makefile.am5
-rw-r--r--gettext-tools/examples/hello-c++/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-c++/po/Makevars56
-rw-r--r--gettext-tools/examples/hello-c++/po/POTFILES.in5
-rw-r--r--gettext-tools/examples/hello-c++/po/af.po25
-rw-r--r--gettext-tools/examples/hello-c++/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-c++/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-c++/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-c++/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-c++/po/da.po25
-rw-r--r--gettext-tools/examples/hello-c++/po/de.po30
-rw-r--r--gettext-tools/examples/hello-c++/po/el.po25
-rw-r--r--gettext-tools/examples/hello-c++/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-c++/po/es.po29
-rw-r--r--gettext-tools/examples/hello-c++/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-c++/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-c++/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-c++/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-c++/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-c++/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-c++/po/id.po26
-rw-r--r--gettext-tools/examples/hello-c++/po/it.po25
-rw-r--r--gettext-tools/examples/hello-c++/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-c++/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-c++/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-c++/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-c++/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-c++/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-c++/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-c++/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-c++/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-c++/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-c++/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-c++/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-c++/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-c++/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-c++/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-c++/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-c++/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-c++/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-c++/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-c++/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-c++/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-c++/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-c-gnome/INSTALL16
-rw-r--r--gettext-tools/examples/hello-c-gnome/Makefile.am29
-rwxr-xr-xgettext-tools/examples/hello-c-gnome/autoclean.sh59
-rwxr-xr-xgettext-tools/examples/hello-c-gnome/autogen.sh29
-rw-r--r--gettext-tools/examples/hello-c-gnome/configure.ac19
-rw-r--r--gettext-tools/examples/hello-c-gnome/hello.c87
-rw-r--r--gettext-tools/examples/hello-c-gnome/m4/Makefile.am6
-rw-r--r--gettext-tools/examples/hello-c-gnome/m4/gnome-gnorba-check.m435
-rw-r--r--gettext-tools/examples/hello-c-gnome/m4/gnome-orbit-check.m433
-rw-r--r--gettext-tools/examples/hello-c-gnome/m4/gnome.m4128
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/Makevars67
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/POTFILES.in5
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/af.po25
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/da.po25
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/de.po30
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/el.po25
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/es.po29
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/id.po26
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/it.po25
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-c-gnome/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-c-gnome3/INSTALL12
-rw-r--r--gettext-tools/examples/hello-c-gnome3/Makefile.am61
-rwxr-xr-xgettext-tools/examples/hello-c-gnome3/autoclean.sh59
-rwxr-xr-xgettext-tools/examples/hello-c-gnome3/autogen.sh29
-rw-r--r--gettext-tools/examples/hello-c-gnome3/configure.ac56
-rw-r--r--gettext-tools/examples/hello-c-gnome3/hello.c176
-rw-r--r--gettext-tools/examples/hello-c-gnome3/hello.desktop.in.in6
-rw-r--r--gettext-tools/examples/hello-c-gnome3/hello.gresource.xml6
-rw-r--r--gettext-tools/examples/hello-c-gnome3/hello.gschema.xml11
-rw-r--r--gettext-tools/examples/hello-c-gnome3/hello.ui56
-rw-r--r--gettext-tools/examples/hello-c-gnome3/m4/Makefile.am5
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/Makevars67
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/POTFILES.in8
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/af.po41
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/ast.po42
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/bg.po41
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/ca.po42
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/cs.po43
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/da.po41
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/de.po46
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/el.po41
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/eo.po41
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/es.po45
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/fi.po43
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/fr.po42
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/ga.po41
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/gl.po46
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/hr.po43
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/hu.po44
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/id.po42
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/it.po41
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/ja.po41
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/ky.po43
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/lv.po45
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/ms.po42
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/mt.po42
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/nb.po44
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/nl.po46
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/pl.po42
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/pt.po41
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/pt_BR.po45
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/ro.po41
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/ru.po45
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/sk.po41
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/sl.po44
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/sr.po44
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/sv.po40
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/tr.po41
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/uk.po45
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/vi.po46
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/zh_CN.po41
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/zh_HK.po40
-rw-r--r--gettext-tools/examples/hello-c-gnome3/po/zh_TW.po42
-rw-r--r--gettext-tools/examples/hello-c/INSTALL10
-rw-r--r--gettext-tools/examples/hello-c/Makefile.am29
-rwxr-xr-xgettext-tools/examples/hello-c/autoclean.sh62
-rwxr-xr-xgettext-tools/examples/hello-c/autogen.sh50
-rw-r--r--gettext-tools/examples/hello-c/configure.ac18
-rw-r--r--gettext-tools/examples/hello-c/hello.c35
-rw-r--r--gettext-tools/examples/hello-c/m4/Makefile.am5
-rw-r--r--gettext-tools/examples/hello-c/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-c/po/Makevars55
-rw-r--r--gettext-tools/examples/hello-c/po/POTFILES.in5
-rw-r--r--gettext-tools/examples/hello-c/po/af.po25
-rw-r--r--gettext-tools/examples/hello-c/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-c/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-c/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-c/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-c/po/da.po25
-rw-r--r--gettext-tools/examples/hello-c/po/de.po30
-rw-r--r--gettext-tools/examples/hello-c/po/el.po25
-rw-r--r--gettext-tools/examples/hello-c/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-c/po/es.po29
-rw-r--r--gettext-tools/examples/hello-c/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-c/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-c/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-c/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-c/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-c/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-c/po/id.po26
-rw-r--r--gettext-tools/examples/hello-c/po/it.po25
-rw-r--r--gettext-tools/examples/hello-c/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-c/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-c/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-c/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-c/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-c/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-c/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-c/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-c/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-c/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-c/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-c/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-c/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-c/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-c/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-c/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-c/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-c/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-c/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-c/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-c/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-c/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-clisp/INSTALL10
-rw-r--r--gettext-tools/examples/hello-clisp/Makefile.am29
-rwxr-xr-xgettext-tools/examples/hello-clisp/autoclean.sh29
-rwxr-xr-xgettext-tools/examples/hello-clisp/autogen.sh44
-rw-r--r--gettext-tools/examples/hello-clisp/configure.ac38
-rw-r--r--gettext-tools/examples/hello-clisp/hello.lisp.in15
-rw-r--r--gettext-tools/examples/hello-clisp/m4/Makefile.am2
-rw-r--r--gettext-tools/examples/hello-clisp/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-clisp/po/Makefile.am356
-rw-r--r--gettext-tools/examples/hello-clisp/po/af.po25
-rw-r--r--gettext-tools/examples/hello-clisp/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-clisp/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-clisp/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-clisp/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-clisp/po/da.po25
-rw-r--r--gettext-tools/examples/hello-clisp/po/de.po30
-rw-r--r--gettext-tools/examples/hello-clisp/po/el.po25
-rw-r--r--gettext-tools/examples/hello-clisp/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-clisp/po/es.po29
-rw-r--r--gettext-tools/examples/hello-clisp/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-clisp/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-clisp/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-clisp/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-clisp/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-clisp/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-clisp/po/id.po26
-rw-r--r--gettext-tools/examples/hello-clisp/po/it.po25
-rw-r--r--gettext-tools/examples/hello-clisp/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-clisp/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-clisp/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-clisp/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-clisp/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-clisp/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-clisp/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-clisp/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-clisp/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-clisp/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-clisp/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-clisp/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-clisp/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-clisp/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-clisp/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-clisp/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-clisp/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-clisp/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-clisp/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-clisp/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-clisp/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-clisp/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-csharp-forms/BUGS2
-rw-r--r--gettext-tools/examples/hello-csharp-forms/INSTALL11
-rw-r--r--gettext-tools/examples/hello-csharp-forms/Makefile.am74
-rw-r--r--gettext-tools/examples/hello-csharp-forms/README81
-rwxr-xr-xgettext-tools/examples/hello-csharp-forms/autoclean.sh39
-rwxr-xr-xgettext-tools/examples/hello-csharp-forms/autogen.sh48
-rw-r--r--gettext-tools/examples/hello-csharp-forms/configure.ac52
-rw-r--r--gettext-tools/examples/hello-csharp-forms/hello.cs81
-rw-r--r--gettext-tools/examples/hello-csharp-forms/m4/Makefile.am3
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/Makefile.am280
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/af.po25
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/da.po25
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/de.po30
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/el.po25
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/es.po29
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/id.po26
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/it.po25
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-csharp-forms/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-csharp/INSTALL11
-rw-r--r--gettext-tools/examples/hello-csharp/Makefile.am74
-rwxr-xr-xgettext-tools/examples/hello-csharp/autoclean.sh39
-rwxr-xr-xgettext-tools/examples/hello-csharp/autogen.sh48
-rw-r--r--gettext-tools/examples/hello-csharp/configure.ac52
-rw-r--r--gettext-tools/examples/hello-csharp/hello.cs20
-rw-r--r--gettext-tools/examples/hello-csharp/m4/Makefile.am3
-rw-r--r--gettext-tools/examples/hello-csharp/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-csharp/po/Makefile.am280
-rw-r--r--gettext-tools/examples/hello-csharp/po/af.po25
-rw-r--r--gettext-tools/examples/hello-csharp/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-csharp/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-csharp/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-csharp/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-csharp/po/da.po25
-rw-r--r--gettext-tools/examples/hello-csharp/po/de.po30
-rw-r--r--gettext-tools/examples/hello-csharp/po/el.po25
-rw-r--r--gettext-tools/examples/hello-csharp/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-csharp/po/es.po29
-rw-r--r--gettext-tools/examples/hello-csharp/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-csharp/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-csharp/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-csharp/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-csharp/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-csharp/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-csharp/po/id.po26
-rw-r--r--gettext-tools/examples/hello-csharp/po/it.po25
-rw-r--r--gettext-tools/examples/hello-csharp/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-csharp/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-csharp/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-csharp/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-csharp/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-csharp/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-csharp/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-csharp/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-csharp/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-csharp/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-csharp/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-csharp/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-csharp/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-csharp/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-csharp/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-csharp/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-csharp/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-csharp/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-csharp/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-csharp/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-csharp/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-csharp/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-gawk/INSTALL10
-rw-r--r--gettext-tools/examples/hello-gawk/Makefile.am17
-rwxr-xr-xgettext-tools/examples/hello-gawk/autoclean.sh29
-rwxr-xr-xgettext-tools/examples/hello-gawk/autogen.sh44
-rw-r--r--gettext-tools/examples/hello-gawk/configure.ac39
-rw-r--r--gettext-tools/examples/hello-gawk/hello.awk14
-rw-r--r--gettext-tools/examples/hello-gawk/m4/Makefile.am2
-rw-r--r--gettext-tools/examples/hello-gawk/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-gawk/po/Makefile.am356
-rw-r--r--gettext-tools/examples/hello-gawk/po/af.po25
-rw-r--r--gettext-tools/examples/hello-gawk/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-gawk/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-gawk/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-gawk/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-gawk/po/da.po25
-rw-r--r--gettext-tools/examples/hello-gawk/po/de.po30
-rw-r--r--gettext-tools/examples/hello-gawk/po/el.po25
-rw-r--r--gettext-tools/examples/hello-gawk/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-gawk/po/es.po29
-rw-r--r--gettext-tools/examples/hello-gawk/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-gawk/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-gawk/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-gawk/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-gawk/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-gawk/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-gawk/po/id.po26
-rw-r--r--gettext-tools/examples/hello-gawk/po/it.po25
-rw-r--r--gettext-tools/examples/hello-gawk/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-gawk/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-gawk/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-gawk/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-gawk/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-gawk/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-gawk/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-gawk/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-gawk/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-gawk/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-gawk/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-gawk/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-gawk/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-gawk/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-gawk/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-gawk/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-gawk/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-gawk/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-gawk/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-gawk/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-gawk/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-gawk/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-guile/INSTALL10
-rw-r--r--gettext-tools/examples/hello-guile/Makefile.am17
-rwxr-xr-xgettext-tools/examples/hello-guile/autoclean.sh29
-rwxr-xr-xgettext-tools/examples/hello-guile/autogen.sh44
-rw-r--r--gettext-tools/examples/hello-guile/configure.ac39
-rw-r--r--gettext-tools/examples/hello-guile/hello.scm18
-rw-r--r--gettext-tools/examples/hello-guile/m4/Makefile.am2
-rw-r--r--gettext-tools/examples/hello-guile/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-guile/po/Makefile.am356
-rw-r--r--gettext-tools/examples/hello-guile/po/af.po25
-rw-r--r--gettext-tools/examples/hello-guile/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-guile/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-guile/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-guile/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-guile/po/da.po25
-rw-r--r--gettext-tools/examples/hello-guile/po/de.po30
-rw-r--r--gettext-tools/examples/hello-guile/po/el.po25
-rw-r--r--gettext-tools/examples/hello-guile/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-guile/po/es.po29
-rw-r--r--gettext-tools/examples/hello-guile/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-guile/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-guile/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-guile/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-guile/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-guile/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-guile/po/id.po26
-rw-r--r--gettext-tools/examples/hello-guile/po/it.po25
-rw-r--r--gettext-tools/examples/hello-guile/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-guile/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-guile/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-guile/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-guile/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-guile/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-guile/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-guile/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-guile/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-guile/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-guile/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-guile/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-guile/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-guile/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-guile/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-guile/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-guile/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-guile/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-guile/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-guile/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-guile/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-guile/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-java-awt/BUGS5
-rw-r--r--gettext-tools/examples/hello-java-awt/Hello.java66
-rw-r--r--gettext-tools/examples/hello-java-awt/INSTALL11
-rw-r--r--gettext-tools/examples/hello-java-awt/Makefile.am165
-rwxr-xr-xgettext-tools/examples/hello-java-awt/autoclean.sh36
-rwxr-xr-xgettext-tools/examples/hello-java-awt/autogen.sh47
-rw-r--r--gettext-tools/examples/hello-java-awt/configure.ac67
-rw-r--r--gettext-tools/examples/hello-java-awt/m4/Makefile.am3
-rw-r--r--gettext-tools/examples/hello-java-awt/m4/TestAWT.classbin0 -> 449 bytes
-rw-r--r--gettext-tools/examples/hello-java-awt/m4/TestAWT.java11
-rw-r--r--gettext-tools/examples/hello-java-awt/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-java-awt/po/Makefile.am271
-rw-r--r--gettext-tools/examples/hello-java-awt/po/af.po25
-rw-r--r--gettext-tools/examples/hello-java-awt/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-java-awt/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-java-awt/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-java-awt/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-java-awt/po/da.po25
-rw-r--r--gettext-tools/examples/hello-java-awt/po/de.po30
-rw-r--r--gettext-tools/examples/hello-java-awt/po/el.po25
-rw-r--r--gettext-tools/examples/hello-java-awt/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-java-awt/po/es.po29
-rw-r--r--gettext-tools/examples/hello-java-awt/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-java-awt/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-java-awt/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-java-awt/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-java-awt/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-java-awt/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-java-awt/po/id.po26
-rw-r--r--gettext-tools/examples/hello-java-awt/po/it.po25
-rw-r--r--gettext-tools/examples/hello-java-awt/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-java-awt/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-java-awt/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-java-awt/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-java-awt/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-java-awt/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-java-awt/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-java-awt/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-java-awt/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-java-awt/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-java-awt/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-java-awt/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-java-awt/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-java-awt/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-java-awt/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-java-awt/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-java-awt/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-java-awt/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-java-awt/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-java-awt/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-java-awt/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-java-awt/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/BUGS2
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/Hello.java73
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/INSTALL17
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/Makefile.am165
-rwxr-xr-xgettext-tools/examples/hello-java-qtjambi/autoclean.sh36
-rwxr-xr-xgettext-tools/examples/hello-java-qtjambi/autogen.sh47
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/configure.ac69
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/m4/Makefile.am3
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/m4/Test15.classbin0 -> 1125 bytes
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/m4/Test15.java26
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/Makefile.am271
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/af.po25
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/da.po25
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/de.po30
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/el.po25
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/es.po29
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/id.po26
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/it.po25
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-java-qtjambi/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-java-swing/BUGS5
-rw-r--r--gettext-tools/examples/hello-java-swing/Hello.java63
-rw-r--r--gettext-tools/examples/hello-java-swing/INSTALL12
-rw-r--r--gettext-tools/examples/hello-java-swing/Makefile.am165
-rwxr-xr-xgettext-tools/examples/hello-java-swing/autoclean.sh36
-rwxr-xr-xgettext-tools/examples/hello-java-swing/autogen.sh47
-rw-r--r--gettext-tools/examples/hello-java-swing/configure.ac67
-rw-r--r--gettext-tools/examples/hello-java-swing/m4/Makefile.am3
-rw-r--r--gettext-tools/examples/hello-java-swing/m4/TestAWT.classbin0 -> 449 bytes
-rw-r--r--gettext-tools/examples/hello-java-swing/m4/TestAWT.java11
-rw-r--r--gettext-tools/examples/hello-java-swing/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-java-swing/po/Makefile.am271
-rw-r--r--gettext-tools/examples/hello-java-swing/po/af.po25
-rw-r--r--gettext-tools/examples/hello-java-swing/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-java-swing/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-java-swing/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-java-swing/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-java-swing/po/da.po25
-rw-r--r--gettext-tools/examples/hello-java-swing/po/de.po30
-rw-r--r--gettext-tools/examples/hello-java-swing/po/el.po25
-rw-r--r--gettext-tools/examples/hello-java-swing/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-java-swing/po/es.po29
-rw-r--r--gettext-tools/examples/hello-java-swing/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-java-swing/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-java-swing/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-java-swing/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-java-swing/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-java-swing/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-java-swing/po/id.po26
-rw-r--r--gettext-tools/examples/hello-java-swing/po/it.po25
-rw-r--r--gettext-tools/examples/hello-java-swing/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-java-swing/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-java-swing/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-java-swing/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-java-swing/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-java-swing/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-java-swing/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-java-swing/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-java-swing/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-java-swing/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-java-swing/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-java-swing/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-java-swing/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-java-swing/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-java-swing/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-java-swing/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-java-swing/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-java-swing/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-java-swing/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-java-swing/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-java-swing/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-java-swing/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-java/Hello.java37
-rw-r--r--gettext-tools/examples/hello-java/INSTALL11
-rw-r--r--gettext-tools/examples/hello-java/Makefile.am165
-rwxr-xr-xgettext-tools/examples/hello-java/autoclean.sh36
-rwxr-xr-xgettext-tools/examples/hello-java/autogen.sh47
-rw-r--r--gettext-tools/examples/hello-java/configure.ac67
-rw-r--r--gettext-tools/examples/hello-java/m4/Makefile.am3
-rw-r--r--gettext-tools/examples/hello-java/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-java/po/Makefile.am271
-rw-r--r--gettext-tools/examples/hello-java/po/af.po25
-rw-r--r--gettext-tools/examples/hello-java/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-java/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-java/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-java/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-java/po/da.po25
-rw-r--r--gettext-tools/examples/hello-java/po/de.po30
-rw-r--r--gettext-tools/examples/hello-java/po/el.po25
-rw-r--r--gettext-tools/examples/hello-java/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-java/po/es.po29
-rw-r--r--gettext-tools/examples/hello-java/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-java/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-java/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-java/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-java/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-java/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-java/po/id.po26
-rw-r--r--gettext-tools/examples/hello-java/po/it.po25
-rw-r--r--gettext-tools/examples/hello-java/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-java/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-java/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-java/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-java/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-java/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-java/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-java/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-java/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-java/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-java/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-java/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-java/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-java/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-java/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-java/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-java/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-java/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-java/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-java/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-java/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-java/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-librep/INSTALL10
-rw-r--r--gettext-tools/examples/hello-librep/Makefile.am29
-rwxr-xr-xgettext-tools/examples/hello-librep/autoclean.sh29
-rwxr-xr-xgettext-tools/examples/hello-librep/autogen.sh44
-rw-r--r--gettext-tools/examples/hello-librep/configure.ac38
-rw-r--r--gettext-tools/examples/hello-librep/hello.jl.in16
-rw-r--r--gettext-tools/examples/hello-librep/m4/Makefile.am2
-rw-r--r--gettext-tools/examples/hello-librep/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-librep/po/Makefile.am356
-rw-r--r--gettext-tools/examples/hello-librep/po/af.po25
-rw-r--r--gettext-tools/examples/hello-librep/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-librep/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-librep/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-librep/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-librep/po/da.po25
-rw-r--r--gettext-tools/examples/hello-librep/po/de.po30
-rw-r--r--gettext-tools/examples/hello-librep/po/el.po25
-rw-r--r--gettext-tools/examples/hello-librep/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-librep/po/es.po29
-rw-r--r--gettext-tools/examples/hello-librep/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-librep/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-librep/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-librep/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-librep/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-librep/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-librep/po/id.po26
-rw-r--r--gettext-tools/examples/hello-librep/po/it.po25
-rw-r--r--gettext-tools/examples/hello-librep/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-librep/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-librep/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-librep/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-librep/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-librep/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-librep/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-librep/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-librep/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-librep/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-librep/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-librep/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-librep/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-librep/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-librep/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-librep/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-librep/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-librep/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-librep/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-librep/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-librep/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-librep/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-objc-gnome/INSTALL19
-rw-r--r--gettext-tools/examples/hello-objc-gnome/Makefile.am29
-rwxr-xr-xgettext-tools/examples/hello-objc-gnome/autoclean.sh59
-rwxr-xr-xgettext-tools/examples/hello-objc-gnome/autogen.sh29
-rw-r--r--gettext-tools/examples/hello-objc-gnome/configure.ac29
-rw-r--r--gettext-tools/examples/hello-objc-gnome/hello.m88
-rw-r--r--gettext-tools/examples/hello-objc-gnome/m4/Makefile.am6
-rw-r--r--gettext-tools/examples/hello-objc-gnome/m4/gnome-gnorba-check.m435
-rw-r--r--gettext-tools/examples/hello-objc-gnome/m4/gnome-orbit-check.m433
-rw-r--r--gettext-tools/examples/hello-objc-gnome/m4/gnome.m4128
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/Makevars67
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/POTFILES.in5
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/af.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/da.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/de.po30
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/el.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/es.po29
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/id.po26
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/it.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-objc-gnome/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/AppController.h35
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/AppController.m81
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/BUGS3
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/GNUmakefile36
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/Hello.h31
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/Hello.m99
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/INSTALL14
-rwxr-xr-xgettext-tools/examples/hello-objc-gnustep/autoclean.sh12
-rwxr-xr-xgettext-tools/examples/hello-objc-gnustep/autogen.sh26
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/main.m113
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile224
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/LocaleAliases784
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/af.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/da.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/de.po30
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/el.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/es.po29
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/id.po26
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/it.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-objc-gnustep/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-objc/INSTALL11
-rw-r--r--gettext-tools/examples/hello-objc/Makefile.am29
-rwxr-xr-xgettext-tools/examples/hello-objc/autoclean.sh62
-rwxr-xr-xgettext-tools/examples/hello-objc/autogen.sh50
-rw-r--r--gettext-tools/examples/hello-objc/configure.ac19
-rw-r--r--gettext-tools/examples/hello-objc/hello.m35
-rw-r--r--gettext-tools/examples/hello-objc/m4/Makefile.am5
-rw-r--r--gettext-tools/examples/hello-objc/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-objc/po/Makevars55
-rw-r--r--gettext-tools/examples/hello-objc/po/POTFILES.in5
-rw-r--r--gettext-tools/examples/hello-objc/po/af.po25
-rw-r--r--gettext-tools/examples/hello-objc/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-objc/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-objc/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-objc/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-objc/po/da.po25
-rw-r--r--gettext-tools/examples/hello-objc/po/de.po30
-rw-r--r--gettext-tools/examples/hello-objc/po/el.po25
-rw-r--r--gettext-tools/examples/hello-objc/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-objc/po/es.po29
-rw-r--r--gettext-tools/examples/hello-objc/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-objc/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-objc/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-objc/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-objc/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-objc/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-objc/po/id.po26
-rw-r--r--gettext-tools/examples/hello-objc/po/it.po25
-rw-r--r--gettext-tools/examples/hello-objc/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-objc/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-objc/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-objc/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-objc/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-objc/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-objc/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-objc/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-objc/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-objc/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-objc/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-objc/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-objc/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-objc/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-objc/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-objc/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-objc/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-objc/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-objc/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-objc/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-objc/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-objc/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-pascal/INSTALL11
-rw-r--r--gettext-tools/examples/hello-pascal/Makefile.am45
-rwxr-xr-xgettext-tools/examples/hello-pascal/autoclean.sh29
-rwxr-xr-xgettext-tools/examples/hello-pascal/autogen.sh44
-rw-r--r--gettext-tools/examples/hello-pascal/configure.ac38
-rw-r--r--gettext-tools/examples/hello-pascal/hello.pas20
-rw-r--r--gettext-tools/examples/hello-pascal/hello.rst8
-rw-r--r--gettext-tools/examples/hello-pascal/m4/Makefile.am2
-rw-r--r--gettext-tools/examples/hello-pascal/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-pascal/po/Makefile.am356
-rw-r--r--gettext-tools/examples/hello-pascal/po/af.po25
-rw-r--r--gettext-tools/examples/hello-pascal/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-pascal/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-pascal/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-pascal/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-pascal/po/da.po25
-rw-r--r--gettext-tools/examples/hello-pascal/po/de.po30
-rw-r--r--gettext-tools/examples/hello-pascal/po/el.po25
-rw-r--r--gettext-tools/examples/hello-pascal/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-pascal/po/es.po29
-rw-r--r--gettext-tools/examples/hello-pascal/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-pascal/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-pascal/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-pascal/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-pascal/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-pascal/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-pascal/po/id.po26
-rw-r--r--gettext-tools/examples/hello-pascal/po/it.po25
-rw-r--r--gettext-tools/examples/hello-pascal/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-pascal/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-pascal/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-pascal/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-pascal/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-pascal/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-pascal/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-pascal/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-pascal/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-pascal/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-pascal/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-pascal/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-pascal/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-pascal/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-pascal/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-pascal/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-pascal/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-pascal/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-pascal/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-pascal/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-pascal/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-pascal/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-perl/INSTALL12
-rw-r--r--gettext-tools/examples/hello-perl/Makefile.am17
-rwxr-xr-xgettext-tools/examples/hello-perl/autoclean.sh29
-rwxr-xr-xgettext-tools/examples/hello-perl/autogen.sh44
-rw-r--r--gettext-tools/examples/hello-perl/configure.ac40
-rw-r--r--gettext-tools/examples/hello-perl/hello-1.pl.in20
-rw-r--r--gettext-tools/examples/hello-perl/hello-2.pl.in15
-rw-r--r--gettext-tools/examples/hello-perl/m4/Makefile.am2
-rw-r--r--gettext-tools/examples/hello-perl/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-perl/po/Makefile.am366
-rw-r--r--gettext-tools/examples/hello-perl/po/af.po30
-rw-r--r--gettext-tools/examples/hello-perl/po/ast.po31
-rw-r--r--gettext-tools/examples/hello-perl/po/bg.po30
-rw-r--r--gettext-tools/examples/hello-perl/po/ca.po31
-rw-r--r--gettext-tools/examples/hello-perl/po/cs.po32
-rw-r--r--gettext-tools/examples/hello-perl/po/da.po30
-rw-r--r--gettext-tools/examples/hello-perl/po/de.po35
-rw-r--r--gettext-tools/examples/hello-perl/po/el.po30
-rw-r--r--gettext-tools/examples/hello-perl/po/eo.po30
-rw-r--r--gettext-tools/examples/hello-perl/po/es.po34
-rw-r--r--gettext-tools/examples/hello-perl/po/fi.po32
-rw-r--r--gettext-tools/examples/hello-perl/po/fr.po31
-rw-r--r--gettext-tools/examples/hello-perl/po/ga.po30
-rw-r--r--gettext-tools/examples/hello-perl/po/gl.po35
-rw-r--r--gettext-tools/examples/hello-perl/po/hr.po32
-rw-r--r--gettext-tools/examples/hello-perl/po/hu.po33
-rw-r--r--gettext-tools/examples/hello-perl/po/id.po31
-rw-r--r--gettext-tools/examples/hello-perl/po/it.po30
-rw-r--r--gettext-tools/examples/hello-perl/po/ja.po30
-rw-r--r--gettext-tools/examples/hello-perl/po/ky.po32
-rw-r--r--gettext-tools/examples/hello-perl/po/lv.po34
-rw-r--r--gettext-tools/examples/hello-perl/po/ms.po31
-rw-r--r--gettext-tools/examples/hello-perl/po/mt.po31
-rw-r--r--gettext-tools/examples/hello-perl/po/nb.po33
-rw-r--r--gettext-tools/examples/hello-perl/po/nl.po35
-rw-r--r--gettext-tools/examples/hello-perl/po/pl.po31
-rw-r--r--gettext-tools/examples/hello-perl/po/pt.po30
-rw-r--r--gettext-tools/examples/hello-perl/po/pt_BR.po34
-rw-r--r--gettext-tools/examples/hello-perl/po/ro.po30
-rw-r--r--gettext-tools/examples/hello-perl/po/ru.po34
-rw-r--r--gettext-tools/examples/hello-perl/po/sk.po30
-rw-r--r--gettext-tools/examples/hello-perl/po/sl.po33
-rw-r--r--gettext-tools/examples/hello-perl/po/sr.po33
-rw-r--r--gettext-tools/examples/hello-perl/po/sv.po29
-rw-r--r--gettext-tools/examples/hello-perl/po/tr.po30
-rw-r--r--gettext-tools/examples/hello-perl/po/uk.po34
-rw-r--r--gettext-tools/examples/hello-perl/po/vi.po35
-rw-r--r--gettext-tools/examples/hello-perl/po/zh_CN.po30
-rw-r--r--gettext-tools/examples/hello-perl/po/zh_HK.po29
-rw-r--r--gettext-tools/examples/hello-perl/po/zh_TW.po31
-rw-r--r--gettext-tools/examples/hello-php/INSTALL10
-rw-r--r--gettext-tools/examples/hello-php/Makefile.am17
-rw-r--r--gettext-tools/examples/hello-php/README5
-rwxr-xr-xgettext-tools/examples/hello-php/autoclean.sh29
-rwxr-xr-xgettext-tools/examples/hello-php/autogen.sh44
-rw-r--r--gettext-tools/examples/hello-php/configure.ac39
-rw-r--r--gettext-tools/examples/hello-php/hello.php17
-rw-r--r--gettext-tools/examples/hello-php/m4/Makefile.am2
-rw-r--r--gettext-tools/examples/hello-php/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-php/po/Makefile.am356
-rw-r--r--gettext-tools/examples/hello-php/po/af.po25
-rw-r--r--gettext-tools/examples/hello-php/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-php/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-php/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-php/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-php/po/da.po25
-rw-r--r--gettext-tools/examples/hello-php/po/de.po30
-rw-r--r--gettext-tools/examples/hello-php/po/el.po25
-rw-r--r--gettext-tools/examples/hello-php/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-php/po/es.po29
-rw-r--r--gettext-tools/examples/hello-php/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-php/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-php/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-php/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-php/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-php/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-php/po/id.po26
-rw-r--r--gettext-tools/examples/hello-php/po/it.po25
-rw-r--r--gettext-tools/examples/hello-php/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-php/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-php/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-php/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-php/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-php/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-php/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-php/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-php/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-php/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-php/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-php/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-php/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-php/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-php/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-php/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-php/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-php/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-php/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-php/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-php/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-php/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-python/INSTALL10
-rw-r--r--gettext-tools/examples/hello-python/Makefile.am26
-rwxr-xr-xgettext-tools/examples/hello-python/autoclean.sh29
-rwxr-xr-xgettext-tools/examples/hello-python/autogen.sh44
-rw-r--r--gettext-tools/examples/hello-python/configure.ac37
-rw-r--r--gettext-tools/examples/hello-python/hello.py.in14
-rw-r--r--gettext-tools/examples/hello-python/m4/Makefile.am2
-rw-r--r--gettext-tools/examples/hello-python/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-python/po/Makefile.am356
-rw-r--r--gettext-tools/examples/hello-python/po/af.po25
-rw-r--r--gettext-tools/examples/hello-python/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-python/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-python/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-python/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-python/po/da.po25
-rw-r--r--gettext-tools/examples/hello-python/po/de.po30
-rw-r--r--gettext-tools/examples/hello-python/po/el.po25
-rw-r--r--gettext-tools/examples/hello-python/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-python/po/es.po29
-rw-r--r--gettext-tools/examples/hello-python/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-python/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-python/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-python/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-python/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-python/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-python/po/id.po26
-rw-r--r--gettext-tools/examples/hello-python/po/it.po25
-rw-r--r--gettext-tools/examples/hello-python/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-python/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-python/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-python/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-python/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-python/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-python/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-python/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-python/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-python/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-python/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-python/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-python/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-python/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-python/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-python/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-python/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-python/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-python/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-python/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-python/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-python/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-sh/INSTALL10
-rw-r--r--gettext-tools/examples/hello-sh/Makefile.am17
-rwxr-xr-xgettext-tools/examples/hello-sh/autoclean.sh29
-rwxr-xr-xgettext-tools/examples/hello-sh/autogen.sh44
-rw-r--r--gettext-tools/examples/hello-sh/configure.ac31
-rw-r--r--gettext-tools/examples/hello-sh/hello.sh17
-rw-r--r--gettext-tools/examples/hello-sh/m4/Makefile.am2
-rw-r--r--gettext-tools/examples/hello-sh/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-sh/po/Makefile.am356
-rw-r--r--gettext-tools/examples/hello-sh/po/af.po25
-rw-r--r--gettext-tools/examples/hello-sh/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-sh/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-sh/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-sh/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-sh/po/da.po25
-rw-r--r--gettext-tools/examples/hello-sh/po/de.po30
-rw-r--r--gettext-tools/examples/hello-sh/po/el.po25
-rw-r--r--gettext-tools/examples/hello-sh/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-sh/po/es.po29
-rw-r--r--gettext-tools/examples/hello-sh/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-sh/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-sh/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-sh/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-sh/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-sh/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-sh/po/id.po26
-rw-r--r--gettext-tools/examples/hello-sh/po/it.po25
-rw-r--r--gettext-tools/examples/hello-sh/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-sh/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-sh/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-sh/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-sh/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-sh/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-sh/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-sh/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-sh/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-sh/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-sh/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-sh/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-sh/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-sh/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-sh/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-sh/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-sh/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-sh/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-sh/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-sh/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-sh/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-sh/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-smalltalk/INSTALL10
-rw-r--r--gettext-tools/examples/hello-smalltalk/Makefile.am26
-rwxr-xr-xgettext-tools/examples/hello-smalltalk/autoclean.sh29
-rwxr-xr-xgettext-tools/examples/hello-smalltalk/autogen.sh44
-rw-r--r--gettext-tools/examples/hello-smalltalk/configure.ac38
-rw-r--r--gettext-tools/examples/hello-smalltalk/hello.st.in58
-rw-r--r--gettext-tools/examples/hello-smalltalk/m4/Makefile.am2
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/Makefile.am356
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/af.po25
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/da.po25
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/de.po30
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/el.po25
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/es.po29
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/id.po26
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/it.po25
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-smalltalk/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-tcl-tk/INSTALL12
-rw-r--r--gettext-tools/examples/hello-tcl-tk/Makefile.am17
-rwxr-xr-xgettext-tools/examples/hello-tcl-tk/autoclean.sh29
-rwxr-xr-xgettext-tools/examples/hello-tcl-tk/autogen.sh44
-rw-r--r--gettext-tools/examples/hello-tcl-tk/configure.ac38
-rw-r--r--gettext-tools/examples/hello-tcl-tk/hello.tcl19
-rw-r--r--gettext-tools/examples/hello-tcl-tk/m4/Makefile.am2
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/Makefile.am276
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/af.po25
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/da.po25
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/de.po30
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/el.po25
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/es.po29
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/id.po26
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/it.po25
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-tcl-tk/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-tcl/INSTALL11
-rw-r--r--gettext-tools/examples/hello-tcl/Makefile.am17
-rwxr-xr-xgettext-tools/examples/hello-tcl/autoclean.sh29
-rwxr-xr-xgettext-tools/examples/hello-tcl/autogen.sh44
-rw-r--r--gettext-tools/examples/hello-tcl/configure.ac38
-rw-r--r--gettext-tools/examples/hello-tcl/hello.tcl12
-rw-r--r--gettext-tools/examples/hello-tcl/m4/Makefile.am2
-rw-r--r--gettext-tools/examples/hello-tcl/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-tcl/po/Makefile.am276
-rw-r--r--gettext-tools/examples/hello-tcl/po/af.po25
-rw-r--r--gettext-tools/examples/hello-tcl/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-tcl/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-tcl/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-tcl/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-tcl/po/da.po25
-rw-r--r--gettext-tools/examples/hello-tcl/po/de.po30
-rw-r--r--gettext-tools/examples/hello-tcl/po/el.po25
-rw-r--r--gettext-tools/examples/hello-tcl/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-tcl/po/es.po29
-rw-r--r--gettext-tools/examples/hello-tcl/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-tcl/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-tcl/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-tcl/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-tcl/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-tcl/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-tcl/po/id.po26
-rw-r--r--gettext-tools/examples/hello-tcl/po/it.po25
-rw-r--r--gettext-tools/examples/hello-tcl/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-tcl/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-tcl/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-tcl/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-tcl/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-tcl/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-tcl/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-tcl/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-tcl/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-tcl/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-tcl/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-tcl/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-tcl/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-tcl/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-tcl/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-tcl/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-tcl/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-tcl/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-tcl/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-tcl/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-tcl/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-tcl/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/hello-ycp/INSTALL16
-rw-r--r--gettext-tools/examples/hello-ycp/Makefile.am30
-rwxr-xr-xgettext-tools/examples/hello-ycp/autoclean.sh29
-rwxr-xr-xgettext-tools/examples/hello-ycp/autogen.sh44
-rw-r--r--gettext-tools/examples/hello-ycp/configure.ac27
-rw-r--r--gettext-tools/examples/hello-ycp/hello.ycp30
-rw-r--r--gettext-tools/examples/hello-ycp/m4/Makefile.am2
-rw-r--r--gettext-tools/examples/hello-ycp/po/LINGUAS5
-rw-r--r--gettext-tools/examples/hello-ycp/po/Makefile.am356
-rw-r--r--gettext-tools/examples/hello-ycp/po/af.po25
-rw-r--r--gettext-tools/examples/hello-ycp/po/ast.po26
-rw-r--r--gettext-tools/examples/hello-ycp/po/bg.po25
-rw-r--r--gettext-tools/examples/hello-ycp/po/ca.po26
-rw-r--r--gettext-tools/examples/hello-ycp/po/cs.po27
-rw-r--r--gettext-tools/examples/hello-ycp/po/da.po25
-rw-r--r--gettext-tools/examples/hello-ycp/po/de.po30
-rw-r--r--gettext-tools/examples/hello-ycp/po/el.po25
-rw-r--r--gettext-tools/examples/hello-ycp/po/eo.po25
-rw-r--r--gettext-tools/examples/hello-ycp/po/es.po29
-rw-r--r--gettext-tools/examples/hello-ycp/po/fi.po27
-rw-r--r--gettext-tools/examples/hello-ycp/po/fr.po26
-rw-r--r--gettext-tools/examples/hello-ycp/po/ga.po25
-rw-r--r--gettext-tools/examples/hello-ycp/po/gl.po30
-rw-r--r--gettext-tools/examples/hello-ycp/po/hr.po27
-rw-r--r--gettext-tools/examples/hello-ycp/po/hu.po28
-rw-r--r--gettext-tools/examples/hello-ycp/po/id.po26
-rw-r--r--gettext-tools/examples/hello-ycp/po/it.po25
-rw-r--r--gettext-tools/examples/hello-ycp/po/ja.po25
-rw-r--r--gettext-tools/examples/hello-ycp/po/ky.po27
-rw-r--r--gettext-tools/examples/hello-ycp/po/lv.po29
-rw-r--r--gettext-tools/examples/hello-ycp/po/ms.po26
-rw-r--r--gettext-tools/examples/hello-ycp/po/mt.po26
-rw-r--r--gettext-tools/examples/hello-ycp/po/nb.po28
-rw-r--r--gettext-tools/examples/hello-ycp/po/nl.po30
-rw-r--r--gettext-tools/examples/hello-ycp/po/pl.po26
-rw-r--r--gettext-tools/examples/hello-ycp/po/pt.po25
-rw-r--r--gettext-tools/examples/hello-ycp/po/pt_BR.po29
-rw-r--r--gettext-tools/examples/hello-ycp/po/ro.po25
-rw-r--r--gettext-tools/examples/hello-ycp/po/ru.po29
-rw-r--r--gettext-tools/examples/hello-ycp/po/sk.po25
-rw-r--r--gettext-tools/examples/hello-ycp/po/sl.po28
-rw-r--r--gettext-tools/examples/hello-ycp/po/sr.po28
-rw-r--r--gettext-tools/examples/hello-ycp/po/sv.po24
-rw-r--r--gettext-tools/examples/hello-ycp/po/tr.po25
-rw-r--r--gettext-tools/examples/hello-ycp/po/uk.po29
-rw-r--r--gettext-tools/examples/hello-ycp/po/vi.po30
-rw-r--r--gettext-tools/examples/hello-ycp/po/zh_CN.po25
-rw-r--r--gettext-tools/examples/hello-ycp/po/zh_HK.po24
-rw-r--r--gettext-tools/examples/hello-ycp/po/zh_TW.po26
-rw-r--r--gettext-tools/examples/installpaths.in9
-rw-r--r--gettext-tools/examples/po/LINGUAS5
-rw-r--r--gettext-tools/examples/po/Makefile.am504
-rw-r--r--gettext-tools/examples/po/Makefile.in863
-rw-r--r--gettext-tools/examples/po/af.po105
-rw-r--r--gettext-tools/examples/po/ast.po106
-rw-r--r--gettext-tools/examples/po/bg.po105
-rw-r--r--gettext-tools/examples/po/ca.po106
-rw-r--r--gettext-tools/examples/po/cs.po107
-rw-r--r--gettext-tools/examples/po/da.po105
-rw-r--r--gettext-tools/examples/po/de.po110
-rw-r--r--gettext-tools/examples/po/el.po105
-rw-r--r--gettext-tools/examples/po/eo.po105
-rw-r--r--gettext-tools/examples/po/es.po109
-rw-r--r--gettext-tools/examples/po/fi.po107
-rw-r--r--gettext-tools/examples/po/fr.po106
-rw-r--r--gettext-tools/examples/po/ga.po105
-rw-r--r--gettext-tools/examples/po/gettext-examples.pot106
-rw-r--r--gettext-tools/examples/po/gl.po110
-rw-r--r--gettext-tools/examples/po/hello-c++-gnome.pot27
-rw-r--r--gettext-tools/examples/po/hello-c++-kde.pot35
-rw-r--r--gettext-tools/examples/po/hello-c++-qt.pot27
-rw-r--r--gettext-tools/examples/po/hello-c++-wxwidgets.pot27
-rw-r--r--gettext-tools/examples/po/hello-c++.pot27
-rw-r--r--gettext-tools/examples/po/hello-c-gnome.pot27
-rw-r--r--gettext-tools/examples/po/hello-c-gnome3.pot43
-rw-r--r--gettext-tools/examples/po/hello-c.pot27
-rw-r--r--gettext-tools/examples/po/hello-clisp.pot27
-rw-r--r--gettext-tools/examples/po/hello-csharp-forms.pot27
-rw-r--r--gettext-tools/examples/po/hello-csharp.pot27
-rw-r--r--gettext-tools/examples/po/hello-gawk.pot27
-rw-r--r--gettext-tools/examples/po/hello-guile.pot27
-rw-r--r--gettext-tools/examples/po/hello-java-awt.pot27
-rw-r--r--gettext-tools/examples/po/hello-java-qtjambi.pot27
-rw-r--r--gettext-tools/examples/po/hello-java-swing.pot27
-rw-r--r--gettext-tools/examples/po/hello-java.pot27
-rw-r--r--gettext-tools/examples/po/hello-librep.pot27
-rw-r--r--gettext-tools/examples/po/hello-objc-gnome.pot27
-rw-r--r--gettext-tools/examples/po/hello-objc-gnustep.pot27
-rw-r--r--gettext-tools/examples/po/hello-objc.pot27
-rw-r--r--gettext-tools/examples/po/hello-pascal.pot27
-rw-r--r--gettext-tools/examples/po/hello-perl.pot32
-rw-r--r--gettext-tools/examples/po/hello-php.pot27
-rw-r--r--gettext-tools/examples/po/hello-python.pot27
-rw-r--r--gettext-tools/examples/po/hello-sh.pot27
-rw-r--r--gettext-tools/examples/po/hello-smalltalk.pot27
-rw-r--r--gettext-tools/examples/po/hello-tcl-tk.pot27
-rw-r--r--gettext-tools/examples/po/hello-tcl.pot27
-rw-r--r--gettext-tools/examples/po/hello-ycp.pot27
-rw-r--r--gettext-tools/examples/po/hr.po107
-rw-r--r--gettext-tools/examples/po/hu.po108
-rw-r--r--gettext-tools/examples/po/id.po106
-rw-r--r--gettext-tools/examples/po/it.po105
-rw-r--r--gettext-tools/examples/po/ja.po105
-rw-r--r--gettext-tools/examples/po/ky.po107
-rw-r--r--gettext-tools/examples/po/lv.po109
-rwxr-xr-xgettext-tools/examples/po/mmsmallpo.sh24
-rw-r--r--gettext-tools/examples/po/ms.po106
-rw-r--r--gettext-tools/examples/po/mt.po106
-rw-r--r--gettext-tools/examples/po/nb.po108
-rw-r--r--gettext-tools/examples/po/nl.po110
-rw-r--r--gettext-tools/examples/po/pl.po106
-rw-r--r--gettext-tools/examples/po/pt.po105
-rw-r--r--gettext-tools/examples/po/pt_BR.po109
-rw-r--r--gettext-tools/examples/po/remove-potcdate.sin19
-rw-r--r--gettext-tools/examples/po/ro.po105
-rw-r--r--gettext-tools/examples/po/ru.po109
-rw-r--r--gettext-tools/examples/po/sk.po105
-rw-r--r--gettext-tools/examples/po/sl.po108
-rw-r--r--gettext-tools/examples/po/sr.po108
-rw-r--r--gettext-tools/examples/po/stamp-po1
-rw-r--r--gettext-tools/examples/po/sv.po104
-rw-r--r--gettext-tools/examples/po/tr.po105
-rw-r--r--gettext-tools/examples/po/uk.po109
-rw-r--r--gettext-tools/examples/po/vi.po110
-rwxr-xr-xgettext-tools/examples/po/xsmallpot.sh58
-rw-r--r--gettext-tools/examples/po/zh_CN.po105
-rw-r--r--gettext-tools/examples/po/zh_HK.po104
-rw-r--r--gettext-tools/examples/po/zh_TW.po106
1627 files changed, 91550 insertions, 0 deletions
diff --git a/gettext-tools/examples/ChangeLog b/gettext-tools/examples/ChangeLog
new file mode 100644
index 0000000..12ab5c5
--- /dev/null
+++ b/gettext-tools/examples/ChangeLog
@@ -0,0 +1,1163 @@
+2014-12-24 Daiki Ueno <ueno@gnu.org>
+
+ * gettext 0.19.4 released.
+
+2014-12-24 Daiki Ueno <ueno@gnu.org>
+
+ * po/bg.po: Update from Roumen Petrov <transl@roumenpetrov.info>.
+ * po/ca.po: Update from Ivan Vilata i Balaguer <ivan@selidor.net>.
+ * po/es.po: Update from Antonio Ceballos <aceballos@gmail.com>.
+ * po/ja.po: Update from Masahito Yamaga <ma@yama-ga.com>.
+ * po/pl.po: Update from Rafał Maszkowski <rzm@icm.edu.pl>.
+ * po/pt_BR.po: Update from Rafael Ferreira <rafael.f.f1@gmail.com>.
+ * po/ru.po: Update from Yuri Kozlov <yuray@komyakino.ru>.
+ * po/sk.po: Update from Marcel Telka <marcel@telka.sk>.
+ * po/sl.po: Update from Primož Peterlin <primozz.peterlin@gmail.com>.
+ * po/sv.po: Update from Jan Djärv <jan.h.d@swipnet.se>.
+ * po/uk.po: Update from Yuri Chornoivan <yurchor@ukr.net>.
+ * po/vi.po: Update from Trần Ngọc Quân <vnwildman@gmail.com>.
+
+2014-12-05 Daiki Ueno <ueno@gnu.org>
+
+ examples: Regenerate stamp-po after POT has changed
+ * Makefile.am (distdir1): Invoke 'all' target in po/Makefile,
+ after 'update-po'.
+
+2014-12-05 Daiki Ueno <ueno@gnu.org>
+
+ examples: Include hello-*.pot in the distribution
+ Partially revert 2c3d71ce, as it broke "make dist". Instead,
+ include all the generated POT files in the distribution to prevent
+ re-generation of those files.
+ * Makefile.am (distdir1): Call update-po in po/Makefile.
+ * po/Makefile.am ($(DOMAIN).pot-update): Specify --directory for
+ xgettext invocation.
+ (DISTCLEANFILES): Move $(SMALLPOTS)...
+ (MAINTAINERCLEANFILES): ...here.
+ (distdir1): Include $(SMALLPOTS) in the distribution.
+
+2014-12-04 Daiki Ueno <ueno@gnu.org>
+
+ examples: Don't forcibly regenerate POT files on 'make dist'
+ Previously we generated POT files on 'make dist'. However, it
+ take some time to complete and require autotools bootstrap for
+ each project.
+ * Makefile.am (distdir1): Don't invoke update-po rule in po/Makefile.
+ * po/Makefile.am (distdir1): Don't invoke update-po rule.
+
+2014-10-15 Daiki Ueno <ueno@gnu.org>
+
+ * gettext 0.19.3 released.
+
+2014-10-15 Daiki Ueno <ueno@gnu.org>
+
+ * po/eo.po, po/es.po, po/nb.po: Update.
+
+2014-07-14 Daiki Ueno <ueno@gnu.org>
+
+ * gettext 0.19.2 released.
+
+2014-06-10 Daiki Ueno <ueno@gnu.org>
+
+ * gettext 0.19.1 released.
+
+2014-06-03 Daiki Ueno <ueno@gnu.org>
+
+ examples: Don't require msgfmt when compiling hello-c-gnome3
+ * hello-c-gnome3/Makefile.am (CLEANFILES): Clean hello.desktop.
+ (EXTRA_DIST): Add hello.desktop.in.
+ (MAINTAINERCLEANFILES): Add hello.desktop.in.
+ (hello.desktop): Move msgfmt invocation to...
+ (hello.desktop.in): ...here.
+
+2014-06-02 Daiki Ueno <ueno@gnu.org>
+
+ * gettext 0.19 released.
+
+2014-05-14 Daiki Ueno <ueno@gnu.org>
+
+ * configure.ac: Adjust $docdir assuming that AC_PACKAGE_TARNAME is
+ set.
+
+2014-05-06 Daiki Ueno <ueno@gnu.org>
+
+ * Makefile.am (install-data-local): Don't fail if a PO file does
+ not exist, but warn user to do "make dist".
+
+2014-04-22 Daiki Ueno <ueno@gnu.org>
+
+ build: Use git-version-gen intead of version.sh
+ * configure.ac: Use git-version-gen in AC_INIT.
+
+2014-04-21 Daiki Ueno <ueno@gnu.org>
+
+ examples: Quote shell variables in hello-java*/configure
+ When running from xsmallpot.sh, embedded shell-script snippets are
+ stripped off from configure.ac and some variables are not set.
+ Make sure to quote them to avoid error.
+ * hello-java/configure.ac: Quote $BUILDJAVA.
+ * hello-java-awt/configure.ac: Quote $BUILDJAVAEXE and $BUILDJAVA.
+ * hello-java-qtjambi/configure.ac: Likewise.
+ * hello-java-swing/configure.ac: Likewise.
+
+2014-04-15 Daiki Ueno <ueno@gnu.org>
+
+ examples: Add a new example 'hello-c-gnome3'
+ * hello-c-gnome3: New subdirectory.
+ * README: Mention it.
+ * Makefile.am (EXAMPLESFILES): Add the files in hello-c-gnome3.
+ (EXAMPLESDIRS): Add hello-c-gnome3.
+ * po/Makefile.am (POTFILES): Add hello-c-gnome3 source.
+ (SMALLPOTS): Add hello-c-gnome3.pot.
+ (hello-c-gnome3.pot): New rule.
+ (SMALLPOFILES_FOR_lang): Add hello-c-gnome3 elements.
+ (../hello-c-gnome3/po/$(LL).po): New rule.
+
+2013-06-10 Daiki Ueno <ueno@gnu.org>
+
+ * Makefile.am: Use $(MKDIR_P) instead of $(mkdir_p).
+ * hello-c++-qt/po/Makefile.am: Likewise.
+ * hello-c++-wxwidgets/po/Makefile.am: Likewise.
+ * hello-clisp/po/Makefile.am: Likewise.
+ * hello-csharp-forms/Makefile.am: Likewise.
+ * hello-csharp-forms/po/Makefile.am: Likewise.
+ * hello-csharp/Makefile.am: Likewise.
+ * hello-csharp/po/Makefile.am: Likewise.
+ * hello-gawk/po/Makefile.am: Likewise.
+ * hello-guile/po/Makefile.am: Likewise.
+ * hello-java-awt/Makefile.am: Likewise.
+ * hello-java-qtjambi/Makefile.am: Likewise.
+ * hello-java-swing/Makefile.am: Likewise.
+ * hello-java/Makefile.am: Likewise.
+ * hello-librep/po/Makefile.am: Likewise.
+ * hello-pascal/Makefile.am: Likewise.
+ * hello-pascal/po/Makefile.am: Likewise.
+ * hello-perl/po/Makefile.am: Likewise.
+ * hello-php/po/Makefile.am: Likewise.
+ * hello-python/po/Makefile.am: Likewise.
+ * hello-sh/po/Makefile.am: Likewise.
+ * hello-smalltalk/po/Makefile.am: Likewise.
+ * hello-tcl-tk/po/Makefile.am: Likewise.
+ * hello-tcl/po/Makefile.am: Likewise.
+ * hello-ycp/po/Makefile.am: Likewise.
+ Suggested by Stefano Lattarini in
+ <https://lists.gnu.org/archive/html/bug-gettext/2013-04/msg00044.html>.
+
+2013-04-23 Daiki Ueno <ueno@gnu.org>
+
+ * po/xsmallpot.sh: Don't assume that aclocal accepts configure.in.
+
+2013-04-02 Daiki Ueno <ueno@gnu.org>
+
+ * Makefile.am (clean-local): New rule to remove tmp-hello-*.
+
+2012-12-25 Daiki Ueno <ueno@gnu.org>
+
+ * gettext-0.18.2 released.
+
+2012-12-19 Daiki Ueno <ueno@gnu.org>
+
+ Fix build error in hello-c++-kde due to autom4te cache.
+ * po/xsmallpot.sh: Pass -f to autoconf to ignore cache.
+
+2012-12-07 Bruno Haible <bruno@clisp.org>
+
+ * po/cs.po: New file, from Marek Černocký <marek@manet.cz>.
+ * po/nb.po: New file, from Johnny A. Solbu <johnny@solbu.net>.
+ * po/vi.po: Update from Trần Ngọc Quân <vnwildman@gmail.com>.
+ * po/LINGUAS: Add cs, hr, nb.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESPOFILES): Add the new message catalogs.
+
+2012-07-08 Bruno Haible <bruno@clisp.org>
+
+ * po/hr.po: New file, from Tomislav Krznar <tomislav.krznar@gmail.com>.
+
+2011-01-18 Bruno Haible <bruno@clisp.org>
+
+ * po/da.po: New file, from Keld Simonsen <keld@keldix.com>.
+ * po/gl.po: New file, from
+ Leandro Regueiro <leandro.regueiro@gmail.com>.
+ * po/LINGUAS: Add da, gl.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESPOFILES): Add the new message catalogs.
+
+2010-10-10 Bruno Haible <bruno@clisp.org>
+
+ * po/bg.po: Update from Roumen Petrov <transl@roumenpetrov.info>.
+
+2010-08-13 Nicola Pero <nicola.pero@meta-innovation.com> (tiny change)
+
+ Fix build error in hello-objc-gnustep due to 'ast' and 'ky' catalogs.
+ * hello-objc-gnustep/po/LocaleAliases: Regenerated from newest
+ gnustep-base/Languages/Locale.aliases.
+
+2010-06-04 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.18.1 released.
+
+2010-05-09 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.18 released.
+
+2010-04-25 Bruno Haible <bruno@clisp.org>
+
+ Update hello-pascal example.
+ * hello-pascal/INSTALL: Require fpc 2.0 or newer.
+ * hello-pascal/hello.pas: Use GetProcessID from the system unit,
+ instead of getpid from the oldlinux unit or fpgetpid from the baseunix
+ unit.
+ Reported by Marco van de Voort <marcov@stack.nl>.
+
+2010-04-02 Bruno Haible <bruno@clisp.org>
+
+ * hello-c++-wxwidgets/autogen.sh: Update origin of lib-*.m4 and
+ config.rpath files.
+
+2010-03-09 Bruno Haible <bruno@clisp.org>
+
+ * po/ast.po: Update.
+
+2010-01-31 Bruno Haible <bruno@clisp.org>
+
+ * po/bg.po: New file, from Roumen Petrov <transl@roumenpetrov.info>.
+ * po/LINGUAS: Add bg.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESPOFILES): Add the new message catalogs.
+
+2009-12-19 Bruno Haible <bruno@clisp.org>
+
+ * po/ast.po: New file, from
+ Marcos Alvarez Costales <marcos.alvarez.costales@gmail.com>.
+ * po/LINGUAS: Add ast.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESPOFILES): Add the new message catalogs.
+
+2009-08-16 Bruno Haible <bruno@clisp.org>
+
+ Silence the msgmerge invocations.
+ * hello-c/po/Makevars (MSGMERGE_OPTIONS): New variable.
+ * hello-c-gnome/po/Makevars (MSGMERGE_OPTIONS): Likewise.
+ * hello-c++/po/Makevars (MSGMERGE_OPTIONS): Likewise.
+ * hello-c++-kde/po/Makevars (MSGMERGE_OPTIONS): Likewise.
+ * hello-c++-gnome/po/Makevars (MSGMERGE_OPTIONS): Likewise.
+ * hello-objc/po/Makevars (MSGMERGE_OPTIONS): Likewise.
+ * hello-objc-gnome/po/Makevars (MSGMERGE_OPTIONS): Likewise.
+ * po/Makefile.am (MSGMERGE_OPTIONS): New variable.
+ ($(POFILES), .nop.po-update): Use it.
+ * hello-c++-qt/po/Makefile.am: Likewise.
+ * hello-c++-wxwidgets/po/Makefile.am: Likewise.
+ * hello-sh/po/Makefile.am: Likewise.
+ * hello-python/po/Makefile.am: Likewise.
+ * hello-clisp/po/Makefile.am: Likewise.
+ * hello-librep/po/Makefile.am: Likewise.
+ * hello-guile/po/Makefile.am: Likewise.
+ * hello-smalltalk/po/Makefile.am: Likewise.
+ * hello-java/po/Makefile.am: Likewise.
+ * hello-java-awt/po/Makefile.am: Likewise.
+ * hello-java-swing/po/Makefile.am: Likewise.
+ * hello-java-qtjambi/po/Makefile.am: Likewise.
+ * hello-csharp/po/Makefile.am: Likewise.
+ * hello-csharp-forms/po/Makefile.am: Likewise.
+ * hello-gawk/po/Makefile.am: Likewise.
+ * hello-pascal/po/Makefile.am: Likewise.
+ * hello-ycp/po/Makefile.am: Likewise.
+ * hello-tcl/po/Makefile.am: Likewise.
+ * hello-tcl-tk/po/Makefile.am: Likewise.
+ * hello-perl/po/Makefile.am: Likewise.
+ * hello-php/po/Makefile.am: Likewise.
+ * hello-objc-gnustep/po/GNUmakefile: Likewise.
+ * po/mmsmallpo.sh: Pass option --quiet to msgmerge.
+
+2009-08-16 Bruno Haible <bruno@clisp.org>
+
+ * hello-objc-gnustep/po/GNUmakefile: Apply 2007-10-18 changes to
+ hello-*/po/Makefile.am.
+
+2009-08-16 Bruno Haible <bruno@clisp.org>
+
+ * hello-objc-gnustep/po/GNUmakefile: Apply 2007-10-17 changes to
+ hello-*/po/Makefile.am.
+ (PACKAGE_NAME, PACKAGE_VERSION): New variables.
+
+2009-08-16 Bruno Haible <bruno@clisp.org>
+
+ * hello-objc-gnustep/po/GNUmakefile: Apply part of 2005-02-07 changes
+ to hello-*/po/Makefile.am..
+
+2009-08-16 Bruno Haible <bruno@clisp.org>
+
+ * hello-objc-gnustep/po/GNUmakefile: Apply 2004-01-17 changes to
+ hello-*/po/Makefile.am.
+
+2009-07-29 Bruno Haible <bruno@clisp.org>
+
+ * po/lv.po: New file, from Rihards Priedītis <rprieditis@gmail.com>.
+ * po/LINGUAS: Add lv.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESPOFILES): Add the new message catalogs.
+
+2009-05-23 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac (AM_INIT_AUTOMAKE): Add 'silent-rules' option.
+
+2009-05-23 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: Invoke gl_INIT_PACKAGE. Use the preferred form of
+ AM_INIT_AUTOMAKE.
+
+2009-01-27 Bruno Haible <bruno@clisp.org>
+
+ * hello-c++-qt/po/Makefile.am (XGETTEXT_OPTIONS): Add more options for
+ the tr function, for compatibility with Qt 4.
+
+2009-01-18 Bruno Haible <bruno@clisp.org>
+
+ * hello-c++-qt/po/Makefile.am (.po.gmo): Pass --verbose to msgfmt when
+ producing statistics.
+ * hello-c++-wxwidgets/po/Makefile.am (.po.gmo): Likewise.
+ * hello-clisp/po/Makefile.am (.po.gmo): Likewise.
+ * hello-gawk/po/Makefile.am (.po.gmo): Likewise.
+ * hello-guile/po/Makefile.am (.po.gmo): Likewise.
+ * hello-librep/po/Makefile.am (.po.gmo): Likewise.
+ * hello-pascal/po/Makefile.am (.po.gmo): Likewise.
+ * hello-perl/po/Makefile.am (.po.gmo): Likewise.
+ * hello-php/po/Makefile.am (.po.gmo): Likewise.
+ * hello-python/po/Makefile.am (.po.gmo): Likewise.
+ * hello-sh/po/Makefile.am (.po.gmo): Likewise.
+ * hello-smalltalk/po/Makefile.am (.po.gmo): Likewise.
+ * hello-ycp/po/Makefile.am (.po.gmo): Likewise.
+ * hello-java/po/Makefile.am (update-properties, update-classes):
+ Likewise.
+ * hello-java-awt/po/Makefile.am (update-properties, update-classes):
+ Likewise.
+ * hello-java-swing/po/Makefile.am (update-properties, update-classes):
+ Likewise.
+ * hello-java-qtjambi/po/Makefile.am (update-properties,
+ update-classes): Likewise.
+ Suggested by Vincent Lefevre <vincent@vinc17.org>.
+
+2009-01-18 Bruno Haible <bruno@clisp.org>
+
+ * po/mt.po: New file, from Clyde Meli <cmeli@cis.um.edu.mt>.
+ * po/LINGUAS: Add mt.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESPOFILES): Add the new message catalogs.
+
+2009-01-14 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: More consistent m4 quoting.
+
+2007-12-24 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/po/Makefile.am ($(POFILES), .nop.po-update): When using
+ msgmerge 0.18 or newer, pass a --lang option.
+ * hello-objc-gnustep/po/GNUmakefile ($(POFILES), .nop.po-update):
+ Likewise.
+
+2007-12-24 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/po/Makefile.am (.nop.po-update): Put all non-option arguments
+ after all option arguments, so that the commands work 1. when
+ POSIXLY_CORRECT is set, 2. on platforms whose getopt facility is POSIX
+ compliant but not GNU libc compatible, such as Cygwin.
+ * hello-objc-gnustep/po/GNUmakefile (.nop.po-update): Likewise.
+
+2007-11-13 Bruno Haible <bruno@clisp.org>
+
+ * po/ky.po: New file, from Ilyas Bakirov <just_ilyas@yahoo.com>.
+ * po/LINGUAS: Add ky.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESPOFILES): Add the new message catalogs.
+
+2007-11-07 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.17 released.
+
+2007-10-31 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/m4/Makefile.am (EXTRA_DIST): Remove ulonglong.m4.
+ * hello-*/autoclean.sh: Don't remove ulonglong.m4 any more.
+
+2007-10-28 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/po/Makefile.am ($(DOMAIN).pot-update): Consider the
+ XGETTEXT_EXTRA_OPTIONS variable.
+
+2007-10-26 Bruno Haible <bruno@clisp.org>
+
+ * po/fi.po: New file, from Lauri Nurmi <lanurmi@iki.fi>.
+ * po/LINGUAS: Add fi.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESPOFILES): Add the new message catalogs.
+
+2007-10-20 Bruno Haible <bruno@clisp.org>
+
+ New example for Qt/Jambi.
+ * hello-java-qtjambi: New subdirectory.
+ * README: Mention it.
+ * Makefile.am (EXAMPLESFILES): Add the files in hello-java-qtjambi.
+ (EXAMPLESDIRS): Add hello-java-qtjambi.
+ * po/Makefile.am (POTFILES): Add hello-java-qtjambi source.
+ (SMALLPOTS): Add hello-java-qtjambi.pot.
+ (hello-java-qtjambi.pot): New rule.
+ (SMALLPOFILES_FOR_lang): Add hello-java-qtjambi elements.
+ (../hello-java-qtjambi/po/$(LL).po): New rule.
+
+2007-10-18 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/po/Makefile.am ($(DOMAIN).pot-update): Don't pass the package
+ name and version to xgettext if the xgettext version is < 0.16.2.
+
+2007-10-17 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/po/Makefile.am ($(DOMAIN).pot-update): Pass the package name
+ and version to xgettext.
+
+2007-10-17 Bruno Haible <bruno@clisp.org>
+
+ * hello-java/po/Makefile.am (stamp-po): Test $(PROPERTIESFILES), not
+ $(GMOFILES).
+
+2007-10-13 Bruno Haible <bruno@clisp.org>
+
+ * po/nl.po: Update from Benno Schulenberg <benno@vertaalt.nl>.
+
+2007-09-15 Bruno Haible <bruno@clisp.org>
+
+ * po/vi.po: Update from Clytie Siddall <clytie@riverland.net.au>.
+
+2007-06-07 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/autoclean.sh: Remove also intlmacosx.m4.
+
+2007-04-06 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/autoclean.sh: Don't remove longdouble.m4 any more.
+
+2007-03-20 Bruno Haible <bruno@clisp.org>
+
+ Remove all "Copyright (C) ..." notices from files that are in the
+ public domain.
+
+2007-01-30 Bruno Haible <bruno@clisp.org>
+
+ * po/ms.po: New file, from
+ Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>.
+ * po/LINGUAS: Add ms.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESPOFILES): Add the new message catalogs.
+
+2006-12-04 Bruno Haible <bruno@clisp.org>
+
+ Work around small sh argument length limit on IRIX.
+ * Makefile.am (EXAMPLESFILES): Remove the common files in po
+ directories.
+ (EXAMPLESDIRS, EXAMPLESPOFILES): New variables.
+ (install-data-local, installdirs-local, uninstall-local, distdir1): Use
+ doubly-nested loop for the common files in po directories.
+ Reported by Paul Martinolich <martinol@nrlssc.navy.mil>.
+
+2006-10-27 Bruno Haible <bruno@clisp.org>
+
+ Work around automake-1.10 annoyance.
+ * Makefile.am (ACLOCAL): New macro.
+
+2006-11-27 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.16.1 released.
+
+2006-10-26 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.16 released.
+
+2006-10-23 Bruno Haible <bruno@clisp.org>
+
+ * hello-c++-kde/admin/cvs.sh: Accept automake versions > 1.9.x.
+
+2006-10-01 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/autoclean.sh: Remove also intldir.m4.
+
+2006-10-02 Bruno Haible <bruno@clisp.org>
+
+ * po/fr.po: Update from Christophe Combelles <ccomb@free.fr>.
+ * po/id.po: New file, from Tedi Heriyanto <tedi_heriyanto@yahoo.com>.
+ * po/LINGUAS: Add id.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESFILES): Add the new message catalogs.
+
+2006-09-18 Bruno Haible <bruno@clisp.org>
+
+ * hello-{c,c++,objc}*/{autoclean.sh,m4/Makefile.am}: Remove
+ inttypes-h.m4.
+
+2006-09-11 Bruno Haible <bruno@clisp.org>
+
+ * hello-{c,c++,objc}*/autoclean.sh: Remove also intl.m4.
+
+2006-08-28 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/autoclean.sh: Remove mention of signed.m4.
+
+2006-07-31 Bruno Haible <bruno@clisp.org>
+
+ * hello-c/autogen.sh: Replace gettext-tools/lib with
+ gettext-tools/gnulib-lib.
+ * hello-c++/autogen.sh: Likewise.
+ * hello-objc/autogen.sh: Likewise.
+ * hello-csharp/autogen.sh: Update for changed locations of *.m4 files.
+ * hello-csharp-forms/autogen.sh: Likewise.
+ * hello-java/autogen.sh: Likewise.
+ * hello-java-awt/autogen.sh: Likewise.
+ * hello-java-swing/autogen.sh: Likewise.
+
+2006-07-30 Bruno Haible <bruno@clisp.org>
+
+ * hello-csharp*/autogen.sh: Update for changed location of
+ csharpcomp.sh.in and csharpexec.sh.in.
+ * hello-java*/autogen.sh: Update for changed location of
+ javacomp.sh.in and javaexec.sh.in.
+
+2006-07-25 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.msvc: Remove file.
+ * Makefile.am (EXTRA_DIST): Remove Makefile.msvc.
+
+2006-07-25 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.vms: Remove file.
+ * Makefile.am (EXTRA_DIST): Remove Makefile.vms.
+
+2006-07-23 Bruno Haible <bruno@clisp.org>
+
+ * hello-c++-kde/autoclean.sh: Fix syntax error.
+
+2006-07-21 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.15 released.
+
+2006-07-21 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/autogen.sh (GETTEXT_TOPSRCDIR): In the build directory case,
+ append one more "/..".
+
+2006-07-20 Bruno Haible <bruno@clisp.org>
+
+ * po/sv.po: Update from Jan Djärv <jan.h.d@swipnet.se>.
+ * po/vi.po: Update from Clytie Siddall <clytie@riverland.net.au>.
+ * po/zh_HK.po: New file, from Abel Cheung <abelcheung@gmail.com>.
+ * po/LINGUAS: Add zh_HK.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESFILES): Add the new message catalogs.
+
+2006-07-14 Bruno Haible <bruno@clisp.org>
+
+ * po/Makefile.am (MOSTLYCLEANFILES): Add *.stackdump.
+ * hello-*/po/Makefile.am (MOSTLYCLEANFILES): Likewise.
+
+2006-07-13 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac (Makefile): Invoke FIX_MAKEFILE_TOPDIR_DISTRIB instead
+ of FIX_MAKEFILE_DISTRIB.
+
+2006-07-13 Bruno Haible <bruno@clisp.org>
+
+ * hello-c++-kde/admin/cvs.sh: Disable the search for specific
+ versions of autoconf, autoheader, autom4te, automake, aclocal.
+ Accept autoconf, autoheader versions > 2.59. Accept automake
+ versions > 1.8.x.
+
+2006-07-13 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (ACLOCAL_AMFLAGS): New variable.
+
+2006-07-03 Bruno Haible <bruno@clisp.org>
+
+ * po/eo.po: New file, from Edmund Grimley Evans <edmundo@rano.org>.
+ * po/it.po: Update from Marco Colombo <m.colombo@ed.ac.uk>.
+ * po/LINGUAS: Add eo.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESFILES): Add the new message catalogs.
+
+2006-06-29 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: New file.
+ * Makefile.am (AUTOMAKE_OPTIONS): Drop gnits, use foreign instead.
+ * po/Makefile.am (POTFILES): Remove examples/ prefix.
+
+2006-06-27 Bruno Haible <bruno@clisp.org>
+
+ * hello-c/{autoclean.sh,m4/Makefile.am}: Remove isc-posix.m4.
+ * hello-c-gnome/{autoclean.sh,m4/Makefile.am}: Likewise.
+ * hello-c++/{autoclean.sh,m4/Makefile.am}: Likewise.
+ * hello-c++-gnome/{autoclean.sh,m4/Makefile.am}: Likewise.
+ * hello-c++-kde/{autoclean.sh,m4/Makefile.am}: Likewise.
+ * hello-objc/{autoclean.sh,m4/Makefile.am}: Likewise.
+ * hello-objc-gnome/{autoclean.sh,m4/Makefile.am}: Likewise.
+
+2006-04-14 Bruno Haible <bruno@clisp.org>
+
+ Assume autoconf >= 2.60.
+ * Makefile.am (docdir): Remove variable.
+ * po/Makefile.am (localedir): Remove variable.
+
+2006-06-04 Bruno Haible <bruno@clisp.org>
+
+ * hello-c/{autoclean.sh,m4/Makefile.am}: Replace inttypes.m4 with
+ inttypes-h.m4.
+ * hello-c-gnome/{autoclean.sh,m4/Makefile.am}: Likewise.
+ * hello-c++/{autoclean.sh,m4/Makefile.am}: Likewise.
+ * hello-c++-gnome/{autoclean.sh,m4/Makefile.am}: Likewise.
+ * hello-c++-kde/{autoclean.sh,m4/Makefile.am}: Likewise.
+ * hello-objc/{autoclean.sh,m4/Makefile.am}: Likewise.
+ * hello-objc-gnome/{autoclean.sh,m4/Makefile.am}: Likewise.
+
+2006-05-01 Bruno Haible <bruno@clisp.org>
+
+ * hello-java/configure.ac: Pass a source-version to gt_JAVACOMP. Move
+ gt_JAVAEXEC call before the gt_JAVACOMP call.
+ * hello-java-awt/configure.ac: Likewise.
+ * hello-java-swing/configure.ac: Likewise.
+
+2006-04-17 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am: Use $(mkdir_p) instead of $(mkinstalldirs).
+ * hello-csharp/Makefile.am: Likewise.
+ * hello-csharp-forms/Makefile.am: Likewise.
+ * hello-java/Makefile.am: Likewise.
+ * hello-java-awt/Makefile.am: Likewise.
+ * hello-java-swing/Makefile.am: Likewise.
+ * hello-pascal/Makefile.am: Likewise.
+ * hello-c++-qt/po/Makefile.am: Likewise.
+ * hello-c++-wxwidgets/po/Makefile.am: Likewise.
+ * hello-clisp/po/Makefile.am: Likewise.
+ * hello-csharp/po/Makefile.am: Likewise.
+ * hello-csharp-forms/po/Makefile.am: Likewise.
+ * hello-gawk/po/Makefile.am: Likewise.
+ * hello-guile/po/Makefile.am: Likewise.
+ * hello-librep/po/Makefile.am: Likewise.
+ * hello-pascal/po/Makefile.am: Likewise.
+ * hello-perl/po/Makefile.am: Likewise.
+ * hello-php/po/Makefile.am: Likewise.
+ * hello-python/po/Makefile.am: Likewise.
+ * hello-sh/po/Makefile.am: Likewise.
+ * hello-smalltalk/po/Makefile.am: Likewise.
+ * hello-tcl/po/Makefile.am: Likewise.
+ * hello-tcl-tk/po/Makefile.am: Likewise.
+ * hello-ycp/po/Makefile.am: Likewise.
+ * hello-*/autoclean.sh: Don't remove mkinstalldirs.
+
+2006-04-14 Bruno Haible <bruno@clisp.org>
+
+ Don't ignore the --localedir option from autoconf >= 2.60.
+ * hello-c/Makefile.am (localedir): Remove variable.
+ * hello-c-gnome/Makefile.am (localedir): Likewise.
+ * hello-objc/Makefile.am (localedir): Likewise.
+ * hello-objc-gnome/Makefile.am (localedir): Likewise.
+ * hello-c++/Makefile.am (localedir): Likewise.
+ * hello-c++-kde/Makefile.am (localedir): Likewise.
+ * hello-c++-gnome/Makefile.am (localedir): Likewise.
+ * hello-c++-qt/Makefile.am (localedir): Likewise.
+ * hello-c++-qt/po/Makefile.am (localedir): Likewise.
+ * hello-c++-wxwidgets/Makefile.am (localedir): Likewise.
+ * hello-c++-wxwidgets/po/Makefile.am (localedir): Likewise.
+ * hello-clisp/po/Makefile.am (localedir): Likewise.
+ * hello-gawk/po/Makefile.am (localedir): Likewise.
+ * hello-guile/po/Makefile.am (localedir): Likewise.
+ * hello-librep/po/Makefile.am (localedir): Likewise.
+ * hello-pascal/po/Makefile.am (localedir): Likewise.
+ * hello-perl/po/Makefile.am (localedir): Likewise.
+ * hello-php/po/Makefile.am (localedir): Likewise.
+ * hello-python/po/Makefile.am (localedir): Likewise.
+ * hello-sh/po/Makefile.am (localedir): Likewise.
+ * hello-smalltalk/po/Makefile.am (localedir): Likewise.
+ * hello-ycp/po/Makefile.am (localedir): Likewise.
+
+2006-04-14 Bruno Haible <bruno@clisp.org>
+
+ * hello-c/configure.ac: Use gettext-0.15 infrastructure.
+ * hello-c-gnome/configure.ac: Likewise.
+ * hello-objc/configure.ac: Likewise.
+ * hello-objc-gnome/configure.ac: Likewise.
+ * hello-c++/configure.ac: Likewise.
+ * hello-c++-kde/configure.in.in: Likewise.
+ * hello-c++-gnome/configure.ac: Likewise.
+ * hello-c-gnome/m4/Makefile.am (EXTRA_DIST): Add lock.m4.
+ * hello-c++-kde/m4/Makefile.am (EXTRA_DIST): Likewise.
+
+2006-04-14 Bruno Haible <bruno@clisp.org>
+
+ Prepare for autoconf-2.60.
+ * hello-clisp/configure.ac: Set datarootdir before evaluating
+ ${datadir}.
+ * hello-gawk/configure.ac: Likewise.
+ * hello-guile/configure.ac: Likewise.
+ * hello-librep/configure.ac: Likewise.
+ * hello-pascal/configure.ac: Likewise.
+ * hello-perl/configure.ac: Likewise.
+ * hello-php/configure.ac: Likewise.
+ * hello-python/configure.ac: Likewise.
+ * hello-sh/configure.ac: Likewise.
+ * hello-smalltalk/configure.ac: Likewise.
+
+2006-04-07 Bruno Haible <bruno@clisp.org>
+
+ * po/hu.po: New file, from Kiss Tamás <atomi@inf.elte.hu>.
+ * po/pt.po: New file, from
+ Helder Correia <helder.pereira.correia@gmail.com>.
+ * po/sl.po: New file, from
+ Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>.
+ * po/vi.po: Update from Clytie Siddall <clytie@riverland.net.au>.
+ * po/LINGUAS: Add hu, pt, sl.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESFILES): Add the new message catalogs.
+
+2006-03-25 Bruno Haible <bruno@clisp.org>
+
+ * hello-csharp-forms/README: New file.
+ * Makefile.am (EXAMPLESFILES): Add it.
+
+2006-03-25 Bruno Haible <bruno@clisp.org>
+
+ New example for wxWidgets.
+ * hello-c++-wxwidgets: New subdirectory.
+ * README: Mention it.
+ * Makefile.am (EXAMPLESFILES): Add the files in hello-c++-wxwidgets.
+ * po/Makefile.am (POTFILES): Add hello-c++-wxwidgets source.
+ (SMALLPOTS): Add hello-c++-wxwidgets.pot.
+ (hello-c++-wxwidgets.pot): New rule.
+ (SMALLPOFILES_FOR_lang): Add hello-c++-wxwidgets elements.
+ (../hello-c++-wxwidgets/po/$(LL).po): New rule.
+
+2005-10-18 Bruno Haible <bruno@clisp.org>
+
+ * hello-c/po/Makevars (USE_MSGCTXT): New macro.
+ * hello-c-gnome/po/Makevars (USE_MSGCTXT): New macro.
+ * hello-c++/po/Makevars (USE_MSGCTXT): New macro.
+ * hello-c++-gnome/po/Makevars (USE_MSGCTXT): New macro.
+ * hello-c++-kde/po/Makevars (USE_MSGCTXT): New macro.
+ * hello-objc/po/Makevars (USE_MSGCTXT): New macro.
+ * hello-objc-gnome/po/Makevars (USE_MSGCTXT): New macro.
+
+2005-09-19 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/autogen.sh: Also install m4/progtest.m4.
+ * hello-*/autoclean.sh: Also remove m4/progtest.m4.
+
+2005-07-24 Bruno Haible <bruno@clisp.org>
+
+ Tidy up exported symbols.
+ * hello-c/m4/Makefile.am (EXTRA_DIST): Add visibility.m4.
+ * hello-c-gnome/m4/Makefile.am (EXTRA_DIST): Likewise.
+ * hello-c++/m4/Makefile.am (EXTRA_DIST): Likewise.
+ * hello-c++-gnome/m4/Makefile.am (EXTRA_DIST): Likewise.
+ * hello-c++-kde/m4/Makefile.am (EXTRA_DIST): Likewise.
+ * hello-objc/m4/Makefile.am (EXTRA_DIST): Likewise.
+ * hello-objc-gnome/m4/Makefile.am (EXTRA_DIST): Likewise.
+ * hello-c/autoclean.sh: Remove also m4/visibility.m4.
+ * hello-c-gnome/autoclean.sh: Likewise.
+ * hello-c++/autoclean.sh: Likewise.
+ * hello-c++-gnome/autoclean.sh: Likewise.
+ * hello-c++-kde/autoclean.sh: Likewise.
+ * hello-objc/autoclean.sh: Likewise.
+ * hello-objc-gnome/autoclean.sh: Likewise.
+
+2005-07-26 Bruno Haible <bruno@clisp.org>
+
+ * installpaths.in (datarootdir): New variable.
+
+2005-07-16 Bruno Haible <bruno@clisp.org>
+
+ * hello-c/m4/Makefile.am (EXTRA_DIST): Add lock.m4.
+ * hello-c++/m4/Makefile.am (EXTRA_DIST): Likewise.
+ * hello-c++-gnome/m4/Makefile.am (EXTRA_DIST): Likewise.
+ * hello-objc/m4/Makefile.am (EXTRA_DIST): Likewise.
+ * hello-objc-gnome/m4/Makefile.am (EXTRA_DIST): Likewise.
+ * hello-c/autoclean.sh: Remove also m4/lock.m4.
+ * hello-c-gnome/autoclean.sh: Likewise.
+ * hello-c++/autoclean.sh: Likewise.
+ * hello-c++-gnome/autoclean.sh: Likewise.
+ * hello-c++-kde/autoclean.sh: Likewise.
+ * hello-objc/autoclean.sh: Likewise.
+ * hello-objc-gnome/autoclean.sh: Likewise.
+
+2005-05-01 Bruno Haible <bruno@clisp.org>
+
+ * hello-csharp/configure.ac, hello-csharp-forms/configure.ac: Call
+ gt_CSHARPEXEC with parameters.
+ * hello-csharp/m4/Makefile.am, hello-csharp-forms/m4/Makefile.am
+ (EXTRA_DIST): Add csharpexec-test.exe.
+ * hello-csharp/autogen.sh, hello-csharp-forms/autogen.sh: Also copy
+ m4/csharpexec-test.exe.
+ * hello-csharp/autoclean.sh, hello-csharp-forms/autoclean.sh: Also
+ remove m4/csharpexec-test.exe.
+
+2006-06-21 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.14.6 released.
+
+2005-05-23 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.14.5 released.
+
+2005-05-23 Bruno Haible <bruno@clisp.org>
+
+ * po/zh_TW.po: New file, from Abel Cheung <abelcheung@gmail.com>.
+ * po/LINGUAS: Add it.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESFILES): Add the new message catalogs.
+
+2005-04-11 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.14.4 released.
+
+2005-04-11 Bruno Haible <bruno@clisp.org>
+
+ * po/it.po: Update from Marco Colombo <m.colombo@ed.ac.uk>.
+
+2005-03-14 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.14.3 released.
+
+2005-03-08 Bruno Haible <bruno@clisp.org>
+
+ * po/vi.po: Update from Clytie Siddall <clytie@riverland.net.au>.
+
+2005-03-08 Bruno Haible <bruno@clisp.org>
+
+ * po/it.po: New file, from Marco Colombo <m.colombo@ed.ac.uk>.
+ * po/LINGUAS: Add it.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESFILES): Add the new message catalogs.
+
+2005-03-06 Bruno Haible <bruno@clisp.org>
+
+ * po/Makefile.am, hello-*/po/Makefile.am (stamp-po): Do nothing if
+ $(DOMAIN).pot does not exist.
+ (EXTRA_DIST): Remove $(DOMAIN).pot, stamp-po.
+ (distdir1): If $(DOMAIN).pot exists, distribute also $(DOMAIN).pot and
+ stamp-po.
+
+2005-02-24 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.14.2 released.
+
+2005-02-24 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/autogen.sh: Define and use GETTEXT_TOPSRCDIR, to make it
+ work in VPATH builds.
+
+2005-02-23 Bruno Haible <bruno@clisp.org>
+
+ * xsmallpot.sh: Make the temporary directory writable.
+
+2005-02-23 Bruno Haible <bruno@clisp.org>
+
+ * xsmallpot.sh: Add srcdir argument. Make it work when
+ builddir != srcdir.
+ * Makefile.am (hello-*.pot): Update xsmallpot.sh invocations.
+
+2005-02-21 Bruno Haible <bruno@clisp.org>
+
+ * po/vi.po: New file, from Clytie Siddall <clytie@riverland.net.au>.
+ * po/LINGUAS: Add vi.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESFILES): Add the new message catalogs.
+
+2005-02-11 Bruno Haible <bruno@clisp.org>
+
+ * po/ga.po: New file, from Kevin Patrick Scannell <scannell@slu.edu>.
+ * po/LINGUAS: Add ga.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESFILES): Add the new message catalogs.
+
+2005-02-06 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/po/Makefile.am ($(DOMAIN).pot-update): If MSGID_BUGS_ADDRESS
+ is empty and PACKAGE_BUGREPORT is available, use the latter.
+ * po/Makefile.am ($(DOMAIN).pot-update): Likewise.
+
+2005-01-20 Bruno Haible <bruno@clisp.org>
+
+ * hello-guile/hello.scm: Invoke setlocale. Fix bindtextdomain call.
+
+2005-01-16 Bruno Haible <bruno@clisp.org>
+
+ Support for Scheme.
+ * hello-guile: New subdirectory.
+ * README: Mention it.
+ * Makefile.am (EXAMPLESFILES): Add the files in hello-guile.
+ * po/Makefile.am (POTFILES): Add hello-guile source.
+ (SMALLPOTS): Add hello-guile.pot.
+ (hello-guile.pot): New rule.
+ (SMALLPOFILES_FOR_lang): Add hello-guile elements.
+ (../hello-guile/po/$(LL).po): New rule.
+
+2005-01-06 Bruno Haible <bruno@clisp.org>
+
+ * po/el.po: New file, from Simos Xenitellis <simos74@gmx.net>.
+ * po/ru.po: New file, from Pavel Maryanov <acid_jack@ukr.net>.
+ * po/uk.po: New file, from Maxim V. Dziumanenko <mvd@mylinux.com.ua>.
+ * po/LINGUAS: Add el, ru, uk.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESFILES): Add the new message catalogs.
+
+2004-09-07 Bruno Haible <bruno@clisp.org>
+
+ * po/xsmallpot.sh: Keep AC_PROG_* and OBJC lines in configure.in.
+ * hello-objc/configure.ac: Assign OBJC through AC_SUBST.
+ * hello-objc-gnome/configure.ac: Likewise.
+ Needed to avoid error with automake-1.9.
+
+2004-08-19 Bruno Haible <bruno@clisp.org>
+
+ * hello-librep/hello.jl.in: Remove no-op comments.
+
+2004-03-21 Bruno Haible <bruno@clisp.org>
+
+ * po/es.po: Update from Max de Mendizábal <max@upn.mx>.
+ * po/sr.po: Update from Aleksandar Jelenak <jelenak@netlinkplus.net>.
+
+2004-02-24 Bruno Haible <bruno@clisp.org>
+
+ * hello-csharp*/hello.cs (Hello.Main): Remove workaround for mono bug,
+ fixed in mono-0.30.1.
+
+2004-02-24 Bruno Haible <bruno@clisp.org>
+
+ * hello-csharp*/autogen.sh: Copy also the csharp.m4 file.
+
+2004-02-02 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/autoclean.sh, hello-*/m4/Makefile.am: Handle glibc2.m4 too.
+
+2004-01-29 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.14.1 released.
+
+2004-01-28 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.14 released.
+
+2004-01-28 Bruno Haible <bruno@clisp.org>
+
+ * po/tr.po: Update from Nilgün Belma Bugüner <nilgun@superonline.com>.
+
+2004-01-17 Bruno Haible <bruno@clisp.org>
+
+ * po/Makefile.am (POTFILES): Add hello-csharp, hello-csharp-forms
+ sources.
+ (SMALLPOTS): Add hello-csharp.pot, hello-csharp-forms.pot.
+ (hello-csharp.pot, hello-csharp-forms.pot): New rules.
+ (SMALLPOFILES_FOR_lang): Add hello-csharp, hello-csharp-forms elements.
+ (../hello-csharp/po/$(LL).po, ../hello-csharp-forms/po/$(LL).po): New
+ rules.
+ * po/mmsmallpo.sh: Use option --force-po.
+
+2004-01-17 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/po/Makefile.am: Adapt to changes made in po/Makefile.in.in.
+
+2004-01-17 Bruno Haible <bruno@clisp.org>
+
+ * po/af.po: New file, from Ysbeer <ysbeer@af.org.za>.
+ * po/ca.po: Update from Ivan Vilata i Balaguer <ivan@selidor.net>.
+ * po/de.po: Update from Karl Eichwalder <ke@gnu.franken.de>.
+ * po/fr.po: Update from Michel Robitaille <robitail@iro.umontreal.ca>.
+ * po/ja.po: Update from Masahito Yamaga <ma@yama-ga.com>.
+ * po/nl.po: New file, from Elros Cyriatan <cyriatan@fastmail.fm>.
+ * po/pl.po: Update from Rafał Maszkowski <rzm@icm.edu.pl>.
+ * po/sk.po: New file, from Marcel Telka <marcel@telka.sk>.
+ * po/sv.po: Update from Jan Djärv <jan.h.d@swipnet.se>.
+ * po/zh_CN.po: Update from Funda Wang <fundawang@linux.net.cn>.
+ * po/LINGUAS: Add af, nl, sk.
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESFILES): Add the new message catalogs.
+
+2004-01-10 Bruno Haible <bruno@clisp.org>
+
+ * hello-c++-kde/admin: New directory, from KDE 3.1.4.
+ * hello-c++-kde/auto*.sh: Don't create/remove the contents of the
+ admin subdirectory.
+ * Makefile.am (EXAMPLESFILES): Add hello-c++-kde/admin/*.
+
+2004-01-10 Bruno Haible <bruno@clisp.org>
+
+ * hello-c/*, hello-c-gnome/*, hello-objc/*, hello-objc-gnome/*,
+ hello-c++/*, hello-c++-gnome/*, hello-c++-kde/*: Use the autoconf
+ infrastructure from gettext-0.13.1, not 0.12.1.
+
+2004-01-10 Bruno Haible <bruno@clisp.org>
+
+ * hello-csharp/hello.cs: Work around mono-0.29 CurrentUICulture bug.
+ * hello-csharp-forms/hello.cs: Likewise.
+
+2003-12-29 Bruno Haible <bruno@clisp.org>
+
+ * hello-perl/INSTALL: Mention that libintl-perl-1.09 required.
+ * hello-perl/hello-1.pl.in, hello-perl/hello-2.pl.in: Inhibit the
+ automatic UTF-8 conversion in UTF-8 locales with Perl-5.8.0. Thanks to
+ Guido Flohr.
+
+2003-12-26 Bruno Haible <bruno@clisp.org>
+
+ * hello-csharp: New subdirectory.
+ * hello-csharp-forms: New subdirectory.
+ * Makefile.am (EXAMPLESFILES): Add the files in hello-csharp and
+ hello-csharp-forms.
+
+2003-12-26 Bruno Haible <bruno@clisp.org>
+
+ * hello-c++-qt/m4/qt.m4: Quote the first argument of AC_DEFUN.
+ * hello-c++-gnome/m4/gtk.m4, hello-c++-gnome/m4/gtk--.m4: Likewise.
+
+2003-12-17 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.13.1 released.
+
+2003-12-17 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESFILES): Add the new message catalogs.
+
+2003-12-09 Bruno Haible <bruno@clisp.org>
+
+ * hello-smalltalk/hello.st.in: Add workaround against PackageLoader
+ verbosity. Solution provided by Carey Evans <careye@spamcop.net>.
+ * hello-smalltalk/BUGS: Remove file.
+ * Makefile.am (EXAMPLESFILES): Update.
+
+2003-12-07 Bruno Haible <bruno@clisp.org>
+
+ * po/sv.po: New file, from Jan Djärv <jan.h.d@swipnet.se>.
+ * po/tr.po: New file, from
+ Nilgün Belma Bugüner <nilgun@superonline.com>.
+ * po/LINGUAS: Add sv, tr.
+
+2003-12-07 Bruno Haible <bruno@clisp.org>
+
+ * hello-perl/hello-1.pl.in: Renamed from hello-perl/hello.pl. Make it
+ work.
+ * hello-perl/hello-2.pl.in: New file, from Guido Flohr.
+ * hello-perl/po/Makefile.am (POTFILES): Update.
+ (XGETTEXT_OPTIONS): Add options needed for the Locale::TextDomain API.
+ * hello-perl/configure.ac: Update accordingly.
+ * hello-perl/Makefile.am: Update accordingly.
+ * Makefile.am (EXAMPLESFILES): Update.
+ * po/Makefile.am (POTFILES): Update.
+
+2003-12-06 Bruno Haible <bruno@clisp.org>
+
+ * hello-objc-gnustep/po/LocaleAliases: Add many new locales. Fix typo
+ for EcuadorSpanish. Remove conflicting entries for Indonesian and
+ Hebrew.
+
+2003-12-06 Bruno Haible <bruno@clisp.org>
+
+ * hello-objc-gnustep/autoclean.sh: Also remove the *.lproj directories.
+ * hello-objc-gnustep/po/GNUmakefile: Include the general rules at the
+ beginning, not at the end, so that our .SUFFIXES tag has an effect.
+ ($(ENSTRINGSFILES)): Create the target directory.
+
+2003-12-06 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/INSTALL: Update the installation instructions.
+ * hello-c++-qt/BUGS: New file.
+ * hello-c++-kde/BUGS: New file.
+ * hello-objc-gnustep/BUGS: New file.
+ * hello-smalltalk/BUGS: New file.
+ * hello-java-awt/BUGS: New file.
+ * hello-java-swing/BUGS: New file.
+ * Makefile.am (EXAMPLESFILES): Add them.
+
+2003-12-02 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am (EXTRA_DIST): Don't add the EXAMPLESFILES.
+ (distdir1): New rule. Install the EXAMPLESFILES after 'update-po'.
+
+2003-11-30 Bruno Haible <bruno@clisp.org>
+
+ * gettext-0.13 released.
+
+2003-11-30 Bruno Haible <bruno@clisp.org>
+
+ * po/mmsmallpo.sh: Remove the POT-Creation-Date line from the generated
+ PO file.
+ * Makefile.am (EXAMPLESFILES): Add hello-pascal/hello.rst.
+
+2003-11-30 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/po/LINGUAS: Update.
+ * Makefile.am (EXAMPLESFILES): Add the new message catalogs.
+
+2003-11-30 Bruno Haible <bruno@clisp.org>
+
+ * po/es.po: New file, from Max de Mendizábal <max@upn.mx>.
+ * po/LINGUAS: Add es.
+
+2003-11-24 Bruno Haible <bruno@clisp.org>
+
+ * po/ca.po: New file, from Ivan Vilata i Balaguer <ivan@selidor.net>.
+ * po/ro.po: New file, from Eugen Hoanca <eugenh@urban-grafx.ro>.
+ * po/LINGUAS: Add ca, ro.
+
+2003-11-22 Bruno Haible <bruno@clisp.org>
+
+ * po/ja.po: New file, from Masahito Yamaga <ma@yama-ga.com>.
+ * po/LINGUAS: Add ja.
+
+2003-11-20 Bruno Haible <bruno@clisp.org>
+
+ * hello-*/configure.ac: Remove AM_NLS invocation.
+ * po/xsmallpot.sh: Don't keep AM_NLS lines.
+
+2003-11-19 Bruno Haible <bruno@clisp.org>
+
+ * po/de.po: Update from Karl Eichwalder <ke@suse.de>.
+ * po/fr.po: New file, from Michel Robitaille <robitail@iro.umontreal.ca>.
+ * po/pl.po: New file, from Rafał Maszkowski <rzm@icm.edu.pl>.
+ * po/sr.po: New file, from Danilo Segan <dsegan@gmx.net>.
+ * po/zh_CN.po: New file, from Funda Wang <fundawang@linux.net.cn>.
+ * po/LINGUAS: Add fr, pl, sr, zh_CN.
+
+2003-11-15 Bruno Haible <bruno@clisp.org>
+
+ * hello-c/Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
+ * hello-c-gnome/Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
+ * hello-c++/Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
+ * hello-c++-kde/Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
+ * hello-c++-gnome/Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
+ * hello-objc/Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
+ * hello-objc-gnome/Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
+
+2003-11-15 Bruno Haible <bruno@clisp.org>
+
+ * Makefile.am: New file.
+ * README: New file.
+ * installpaths.in: New file.
+ * hello-c: New subdirectory.
+ * hello-c-gnome: New subdirectory.
+ * hello-c++: New subdirectory.
+ * hello-c++-qt: New subdirectory.
+ * hello-c++-kde: New subdirectory.
+ * hello-c++-gnome: New subdirectory.
+ * hello-objc: New subdirectory.
+ * hello-objc-gnustep: New subdirectory.
+ * hello-objc-gnome: New subdirectory.
+ * hello-sh: New subdirectory.
+ * hello-python: New subdirectory.
+ * hello-clisp: New subdirectory.
+ * hello-librep: New subdirectory.
+ * hello-smalltalk: New subdirectory.
+ * hello-java: New subdirectory.
+ * hello-java-awt: New subdirectory.
+ * hello-java-swing: New subdirectory.
+ * hello-gawk: New subdirectory.
+ * hello-pascal: New subdirectory.
+ * hello-ycp: New subdirectory.
+ * hello-tcl: New subdirectory.
+ * hello-tcl-tk: New subdirectory.
+ * hello-perl: New subdirectory.
+ * hello-php: New subdirectory.
+
diff --git a/gettext-tools/examples/Makefile.am b/gettext-tools/examples/Makefile.am
new file mode 100644
index 0000000..218e82c
--- /dev/null
+++ b/gettext-tools/examples/Makefile.am
@@ -0,0 +1,535 @@
+## Makefile for the gettext-tools/examples subdirectory of GNU gettext
+## Copyright (C) 2001-2007, 2009-2012 Free Software Foundation, Inc.
+##
+## This program is free software: you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 3 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+## Process this file with automake to produce Makefile.in.
+
+AUTOMAKE_OPTIONS = 1.2 foreign
+ACLOCAL_AMFLAGS = -I ../../gettext-runtime/m4 -I ../../m4
+SUBDIRS = po
+EXTRA_DIST =
+
+examplesdir = $(docdir)/examples
+
+examples_DATA = installpaths
+
+# List of examples files, excluding the localizations.
+EXAMPLESFILES = \
+ \
+ hello-c/INSTALL \
+ hello-c/autogen.sh \
+ hello-c/autoclean.sh \
+ hello-c/hello.c \
+ hello-c/Makefile.am \
+ hello-c/configure.ac \
+ hello-c/m4/Makefile.am \
+ hello-c/po/Makevars \
+ hello-c/po/POTFILES.in \
+ \
+ hello-c-gnome/INSTALL \
+ hello-c-gnome/autogen.sh \
+ hello-c-gnome/autoclean.sh \
+ hello-c-gnome/hello.c \
+ hello-c-gnome/Makefile.am \
+ hello-c-gnome/configure.ac \
+ hello-c-gnome/m4/Makefile.am \
+ hello-c-gnome/m4/gnome.m4 \
+ hello-c-gnome/m4/gnome-gnorba-check.m4 \
+ hello-c-gnome/m4/gnome-orbit-check.m4 \
+ hello-c-gnome/po/Makevars \
+ hello-c-gnome/po/POTFILES.in \
+ \
+ hello-c-gnome3/INSTALL \
+ hello-c-gnome3/autogen.sh \
+ hello-c-gnome3/autoclean.sh \
+ hello-c-gnome3/hello.c \
+ hello-c-gnome3/hello.desktop.in.in \
+ hello-c-gnome3/hello.gschema.xml \
+ hello-c-gnome3/hello.gresource.xml \
+ hello-c-gnome3/hello.ui \
+ hello-c-gnome3/Makefile.am \
+ hello-c-gnome3/configure.ac \
+ hello-c-gnome3/m4/Makefile.am \
+ hello-c-gnome3/po/Makevars \
+ hello-c-gnome3/po/POTFILES.in \
+ \
+ hello-c++/INSTALL \
+ hello-c++/autogen.sh \
+ hello-c++/autoclean.sh \
+ hello-c++/hello.cc \
+ hello-c++/Makefile.am \
+ hello-c++/configure.ac \
+ hello-c++/m4/Makefile.am \
+ hello-c++/po/Makevars \
+ hello-c++/po/POTFILES.in \
+ \
+ hello-c++-qt/INSTALL \
+ hello-c++-qt/BUGS \
+ hello-c++-qt/autogen.sh \
+ hello-c++-qt/autoclean.sh \
+ hello-c++-qt/hello.cc \
+ hello-c++-qt/Makefile.am \
+ hello-c++-qt/configure.ac \
+ hello-c++-qt/m4/Makefile.am \
+ hello-c++-qt/m4/qt.m4 \
+ hello-c++-qt/po/Makefile.am \
+ \
+ hello-c++-kde/INSTALL \
+ hello-c++-kde/BUGS \
+ hello-c++-kde/autogen.sh \
+ hello-c++-kde/autoclean.sh \
+ hello-c++-kde/hello.cc \
+ hello-c++-kde/hellowindow.h \
+ hello-c++-kde/hellowindow.cc \
+ hello-c++-kde/Makefile.am \
+ hello-c++-kde/configure.in.in \
+ hello-c++-kde/m4/Makefile.am \
+ hello-c++-kde/admin/acinclude.m4.in \
+ hello-c++-kde/admin/am_edit \
+ hello-c++-kde/admin/ChangeLog \
+ hello-c++-kde/admin/compile \
+ hello-c++-kde/admin/conf.change.pl \
+ hello-c++-kde/admin/config.guess \
+ hello-c++-kde/admin/config.pl \
+ hello-c++-kde/admin/config.sub \
+ hello-c++-kde/admin/configure.in.bot.end \
+ hello-c++-kde/admin/configure.in.min \
+ hello-c++-kde/admin/cvs-clean.pl \
+ hello-c++-kde/admin/cvs.sh \
+ hello-c++-kde/admin/debianrules \
+ hello-c++-kde/admin/depcomp \
+ hello-c++-kde/admin/detect-autoconf.sh \
+ hello-c++-kde/admin/Doxyfile.am \
+ hello-c++-kde/admin/Doxyfile.global \
+ hello-c++-kde/admin/install-sh \
+ hello-c++-kde/admin/libtool.m4.in \
+ hello-c++-kde/admin/ltmain.sh \
+ hello-c++-kde/admin/Makefile.common \
+ hello-c++-kde/admin/missing \
+ hello-c++-kde/admin/mkinstalldirs \
+ hello-c++-kde/admin/ylwrap \
+ hello-c++-kde/po/Makevars \
+ hello-c++-kde/po/POTFILES.in \
+ \
+ hello-c++-gnome/INSTALL \
+ hello-c++-gnome/autogen.sh \
+ hello-c++-gnome/autoclean.sh \
+ hello-c++-gnome/hello.cc \
+ hello-c++-gnome/Makefile.am \
+ hello-c++-gnome/configure.ac \
+ hello-c++-gnome/m4/Makefile.am \
+ hello-c++-gnome/m4/gnome.m4 \
+ hello-c++-gnome/m4/gnome-gnorba-check.m4 \
+ hello-c++-gnome/m4/gnome-orbit-check.m4 \
+ hello-c++-gnome/m4/gtk.m4 \
+ hello-c++-gnome/m4/gtk--.m4 \
+ hello-c++-gnome/po/Makevars \
+ hello-c++-gnome/po/POTFILES.in \
+ \
+ hello-c++-wxwidgets/INSTALL \
+ hello-c++-wxwidgets/autogen.sh \
+ hello-c++-wxwidgets/autoclean.sh \
+ hello-c++-wxwidgets/hello.cc \
+ hello-c++-wxwidgets/Makefile.am \
+ hello-c++-wxwidgets/configure.ac \
+ hello-c++-wxwidgets/m4/Makefile.am \
+ hello-c++-wxwidgets/m4/wxwidgets.m4 \
+ hello-c++-wxwidgets/po/Makefile.am \
+ \
+ hello-objc/INSTALL \
+ hello-objc/autogen.sh \
+ hello-objc/autoclean.sh \
+ hello-objc/hello.m \
+ hello-objc/Makefile.am \
+ hello-objc/configure.ac \
+ hello-objc/m4/Makefile.am \
+ hello-objc/po/Makevars \
+ hello-objc/po/POTFILES.in \
+ \
+ hello-objc-gnustep/INSTALL \
+ hello-objc-gnustep/BUGS \
+ hello-objc-gnustep/autogen.sh \
+ hello-objc-gnustep/autoclean.sh \
+ hello-objc-gnustep/main.m \
+ hello-objc-gnustep/AppController.h \
+ hello-objc-gnustep/AppController.m \
+ hello-objc-gnustep/Hello.h \
+ hello-objc-gnustep/Hello.m \
+ hello-objc-gnustep/GNUmakefile \
+ hello-objc-gnustep/po/GNUmakefile \
+ hello-objc-gnustep/po/LocaleAliases \
+ \
+ hello-objc-gnome/INSTALL \
+ hello-objc-gnome/autogen.sh \
+ hello-objc-gnome/autoclean.sh \
+ hello-objc-gnome/hello.m \
+ hello-objc-gnome/Makefile.am \
+ hello-objc-gnome/configure.ac \
+ hello-objc-gnome/m4/Makefile.am \
+ hello-objc-gnome/m4/gnome.m4 \
+ hello-objc-gnome/m4/gnome-gnorba-check.m4 \
+ hello-objc-gnome/m4/gnome-orbit-check.m4 \
+ hello-objc-gnome/po/Makevars \
+ hello-objc-gnome/po/POTFILES.in \
+ \
+ hello-sh/INSTALL \
+ hello-sh/autogen.sh \
+ hello-sh/autoclean.sh \
+ hello-sh/hello.sh \
+ hello-sh/Makefile.am \
+ hello-sh/configure.ac \
+ hello-sh/m4/Makefile.am \
+ hello-sh/po/Makefile.am \
+ \
+ hello-python/INSTALL \
+ hello-python/autogen.sh \
+ hello-python/autoclean.sh \
+ hello-python/hello.py.in \
+ hello-python/Makefile.am \
+ hello-python/configure.ac \
+ hello-python/m4/Makefile.am \
+ hello-python/po/Makefile.am \
+ \
+ hello-clisp/INSTALL \
+ hello-clisp/autogen.sh \
+ hello-clisp/autoclean.sh \
+ hello-clisp/hello.lisp.in \
+ hello-clisp/Makefile.am \
+ hello-clisp/configure.ac \
+ hello-clisp/m4/Makefile.am \
+ hello-clisp/po/Makefile.am \
+ \
+ hello-librep/INSTALL \
+ hello-librep/autogen.sh \
+ hello-librep/autoclean.sh \
+ hello-librep/hello.jl.in \
+ hello-librep/Makefile.am \
+ hello-librep/configure.ac \
+ hello-librep/m4/Makefile.am \
+ hello-librep/po/Makefile.am \
+ \
+ hello-guile/INSTALL \
+ hello-guile/autogen.sh \
+ hello-guile/autoclean.sh \
+ hello-guile/hello.scm \
+ hello-guile/Makefile.am \
+ hello-guile/configure.ac \
+ hello-guile/m4/Makefile.am \
+ hello-guile/po/Makefile.am \
+ \
+ hello-smalltalk/INSTALL \
+ hello-smalltalk/autogen.sh \
+ hello-smalltalk/autoclean.sh \
+ hello-smalltalk/hello.st.in \
+ hello-smalltalk/Makefile.am \
+ hello-smalltalk/configure.ac \
+ hello-smalltalk/m4/Makefile.am \
+ hello-smalltalk/po/Makefile.am \
+ \
+ hello-java/INSTALL \
+ hello-java/autogen.sh \
+ hello-java/autoclean.sh \
+ hello-java/Hello.java \
+ hello-java/Makefile.am \
+ hello-java/configure.ac \
+ hello-java/m4/Makefile.am \
+ hello-java/po/Makefile.am \
+ \
+ hello-java-awt/INSTALL \
+ hello-java-awt/BUGS \
+ hello-java-awt/autogen.sh \
+ hello-java-awt/autoclean.sh \
+ hello-java-awt/Hello.java \
+ hello-java-awt/Makefile.am \
+ hello-java-awt/configure.ac \
+ hello-java-awt/m4/Makefile.am \
+ hello-java-awt/m4/TestAWT.java \
+ hello-java-awt/m4/TestAWT.class \
+ hello-java-awt/po/Makefile.am \
+ \
+ hello-java-swing/INSTALL \
+ hello-java-swing/BUGS \
+ hello-java-swing/autogen.sh \
+ hello-java-swing/autoclean.sh \
+ hello-java-swing/Hello.java \
+ hello-java-swing/Makefile.am \
+ hello-java-swing/configure.ac \
+ hello-java-swing/m4/Makefile.am \
+ hello-java-swing/m4/TestAWT.java \
+ hello-java-swing/m4/TestAWT.class \
+ hello-java-swing/po/Makefile.am \
+ \
+ hello-java-qtjambi/INSTALL \
+ hello-java-qtjambi/BUGS \
+ hello-java-qtjambi/autogen.sh \
+ hello-java-qtjambi/autoclean.sh \
+ hello-java-qtjambi/Hello.java \
+ hello-java-qtjambi/Makefile.am \
+ hello-java-qtjambi/configure.ac \
+ hello-java-qtjambi/m4/Makefile.am \
+ hello-java-qtjambi/m4/Test15.java \
+ hello-java-qtjambi/m4/Test15.class \
+ hello-java-qtjambi/po/Makefile.am \
+ \
+ hello-csharp/INSTALL \
+ hello-csharp/autogen.sh \
+ hello-csharp/autoclean.sh \
+ hello-csharp/hello.cs \
+ hello-csharp/Makefile.am \
+ hello-csharp/configure.ac \
+ hello-csharp/m4/Makefile.am \
+ hello-csharp/po/Makefile.am \
+ \
+ hello-csharp-forms/INSTALL \
+ hello-csharp-forms/README \
+ hello-csharp-forms/BUGS \
+ hello-csharp-forms/autogen.sh \
+ hello-csharp-forms/autoclean.sh \
+ hello-csharp-forms/hello.cs \
+ hello-csharp-forms/Makefile.am \
+ hello-csharp-forms/configure.ac \
+ hello-csharp-forms/m4/Makefile.am \
+ hello-csharp-forms/po/Makefile.am \
+ \
+ hello-gawk/INSTALL \
+ hello-gawk/autogen.sh \
+ hello-gawk/autoclean.sh \
+ hello-gawk/hello.awk \
+ hello-gawk/Makefile.am \
+ hello-gawk/configure.ac \
+ hello-gawk/m4/Makefile.am \
+ hello-gawk/po/Makefile.am \
+ \
+ hello-pascal/INSTALL \
+ hello-pascal/autogen.sh \
+ hello-pascal/autoclean.sh \
+ hello-pascal/hello.pas \
+ hello-pascal/hello.rst \
+ hello-pascal/Makefile.am \
+ hello-pascal/configure.ac \
+ hello-pascal/m4/Makefile.am \
+ hello-pascal/po/Makefile.am \
+ \
+ hello-ycp/INSTALL \
+ hello-ycp/autogen.sh \
+ hello-ycp/autoclean.sh \
+ hello-ycp/hello.ycp \
+ hello-ycp/Makefile.am \
+ hello-ycp/configure.ac \
+ hello-ycp/m4/Makefile.am \
+ hello-ycp/po/Makefile.am \
+ \
+ hello-tcl/INSTALL \
+ hello-tcl/autogen.sh \
+ hello-tcl/autoclean.sh \
+ hello-tcl/hello.tcl \
+ hello-tcl/Makefile.am \
+ hello-tcl/configure.ac \
+ hello-tcl/m4/Makefile.am \
+ hello-tcl/po/Makefile.am \
+ \
+ hello-tcl-tk/INSTALL \
+ hello-tcl-tk/autogen.sh \
+ hello-tcl-tk/autoclean.sh \
+ hello-tcl-tk/hello.tcl \
+ hello-tcl-tk/Makefile.am \
+ hello-tcl-tk/configure.ac \
+ hello-tcl-tk/m4/Makefile.am \
+ hello-tcl-tk/po/Makefile.am \
+ \
+ hello-perl/INSTALL \
+ hello-perl/autogen.sh \
+ hello-perl/autoclean.sh \
+ hello-perl/hello-1.pl.in \
+ hello-perl/hello-2.pl.in \
+ hello-perl/Makefile.am \
+ hello-perl/configure.ac \
+ hello-perl/m4/Makefile.am \
+ hello-perl/po/Makefile.am \
+ \
+ hello-php/INSTALL \
+ hello-php/README \
+ hello-php/autogen.sh \
+ hello-php/autoclean.sh \
+ hello-php/hello.php \
+ hello-php/Makefile.am \
+ hello-php/configure.ac \
+ hello-php/m4/Makefile.am \
+ hello-php/po/Makefile.am \
+ \
+ README
+
+# List of examples directories containing a po directory.
+EXAMPLESDIRS = \
+ hello-c \
+ hello-c-gnome \
+ hello-c-gnome3 \
+ hello-c++ \
+ hello-c++-qt \
+ hello-c++-kde \
+ hello-c++-gnome \
+ hello-c++-wxwidgets \
+ hello-objc \
+ hello-objc-gnustep \
+ hello-objc-gnome \
+ hello-sh \
+ hello-python \
+ hello-clisp \
+ hello-librep \
+ hello-guile \
+ hello-smalltalk \
+ hello-java \
+ hello-java-awt \
+ hello-java-swing \
+ hello-java-qtjambi \
+ hello-csharp \
+ hello-csharp-forms \
+ hello-gawk \
+ hello-pascal \
+ hello-ycp \
+ hello-tcl \
+ hello-tcl-tk \
+ hello-perl \
+ hello-php
+
+# List of files present in every example's po directory.
+EXAMPLESPOFILES = \
+ LINGUAS \
+ af.po \
+ ast.po \
+ bg.po \
+ ca.po \
+ cs.po \
+ da.po \
+ de.po \
+ el.po \
+ eo.po \
+ es.po \
+ fi.po \
+ fr.po \
+ ga.po \
+ gl.po \
+ hr.po \
+ hu.po \
+ id.po \
+ it.po \
+ ja.po \
+ ky.po \
+ lv.po \
+ ms.po \
+ mt.po \
+ nb.po \
+ nl.po \
+ pl.po \
+ pt.po \
+ pt_BR.po \
+ ro.po \
+ ru.po \
+ sk.po \
+ sl.po \
+ sr.po \
+ sv.po \
+ tr.po \
+ uk.po \
+ vi.po \
+ zh_CN.po \
+ zh_HK.po \
+ zh_TW.po
+
+install-data-local: $(EXAMPLESFILES)
+ $(MKDIR_P) $(DESTDIR)$(examplesdir)
+ for f in $(EXAMPLESFILES); do \
+ d=`echo /$$f | sed -e 's,/[^/]*$$,,'`; \
+ test -z "$$d" || $(MKDIR_P) $(DESTDIR)$(examplesdir)$$d || exit 1; \
+ b=`echo $$f | sed -e 's,^.*/,,'`; \
+ if test $$b = autogen.sh || test $$b = autoclean.sh; then \
+ echo "$(INSTALL_SCRIPT) $(srcdir)/$$f $(DESTDIR)$(examplesdir)/$$f"; \
+ $(INSTALL_SCRIPT) $(srcdir)/$$f $(DESTDIR)$(examplesdir)/$$f; \
+ else \
+ echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(examplesdir)/$$f"; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(examplesdir)/$$f; \
+ fi; \
+ done
+ for f1 in $(EXAMPLESDIRS); do \
+ for f2 in $(EXAMPLESPOFILES); do \
+ f=$$f1/po/$$f2; \
+ test -f $(srcdir)/$$f || { \
+ echo "WARNING: $(srcdir)/$$f doesn't exist; do \"make dist\" to prepare" >&2; \
+ break; \
+ }; \
+ d=`echo /$$f | sed -e 's,/[^/]*$$,,'`; \
+ test -z "$$d" || $(MKDIR_P) $(DESTDIR)$(examplesdir)$$d || exit 1; \
+ b=`echo $$f | sed -e 's,^.*/,,'`; \
+ echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(examplesdir)/$$f"; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(examplesdir)/$$f; \
+ done; \
+ done
+
+installdirs-local:
+ $(MKDIR_P) $(DESTDIR)$(examplesdir)
+ for f in $(EXAMPLESFILES); do \
+ d=`echo /$$f | sed -e 's,/[^/]*$$,,'`; \
+ test -z "$$d" || $(MKDIR_P) $(DESTDIR)$(examplesdir)$$d || exit 1; \
+ done
+ for f1 in $(EXAMPLESDIRS); do \
+ for f2 in $(EXAMPLESPOFILES); do \
+ f=$$f1/po/$$f2; \
+ d=`echo /$$f | sed -e 's,/[^/]*$$,,'`; \
+ test -z "$$d" || $(MKDIR_P) $(DESTDIR)$(examplesdir)$$d || exit 1; \
+ done; \
+ done
+
+uninstall-local:
+ for f in $(EXAMPLESFILES); do \
+ rm -f $(DESTDIR)$(examplesdir)/$$f; \
+ done
+ for f1 in $(EXAMPLESDIRS); do \
+ for f2 in $(EXAMPLESPOFILES); do \
+ f=$$f1/po/$$f2; \
+ rm -f $(DESTDIR)$(examplesdir)/$$f; \
+ done; \
+ done
+
+# Invoked from inside automake's distdir target.
+distdir1:
+ cd po && $(MAKE) update-po all
+ for file in $(EXAMPLESFILES); do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ $(MKDIR_P) "$(distdir)/$$dir"; \
+ fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
+ for f1 in $(EXAMPLESDIRS); do \
+ for f2 in $(EXAMPLESPOFILES); do \
+ file=$$f1/po/$$f2; \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ $(MKDIR_P) "$(distdir)/$$dir"; \
+ fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ done
+
+# Temporary directories created by po/Makefile.
+clean-local:
+ -rm -rf tmp-hello-*
+
+maintainer-update-po: $(top_builddir)/config.status
+ $(SHELL) ./config.status --recheck
+ $(SHELL) ./config.status po/Makefile
+ cd po && $(MAKE) update-po
diff --git a/gettext-tools/examples/Makefile.in b/gettext-tools/examples/Makefile.in
new file mode 100644
index 0000000..d440c18
--- /dev/null
+++ b/gettext-tools/examples/Makefile.in
@@ -0,0 +1,1318 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+subdir = .
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+ $(top_srcdir)/../../build-aux/mkinstalldirs \
+ $(srcdir)/installpaths.in ChangeLog README \
+ ../../build-aux/compile ../../build-aux/config.guess \
+ ../../build-aux/config.rpath ../../build-aux/config.sub \
+ ../../build-aux/install-sh ../../build-aux/missing \
+ ../../build-aux/mkinstalldirs ../../build-aux/texinfo.tex \
+ ../../build-aux/ltmain.sh \
+ $(top_srcdir)/../../build-aux/install-sh \
+ $(top_srcdir)/../../build-aux/missing
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/../../m4/fixautomake.m4 \
+ $(top_srcdir)/../../gettext-runtime/m4/nls.m4 \
+ $(top_srcdir)/../../gettext-runtime/m4/po.m4 \
+ $(top_srcdir)/../../gettext-runtime/m4/progtest.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno config.status.lineno
+mkinstalldirs = $(SHELL) $(top_srcdir)/../../build-aux/mkinstalldirs
+CONFIG_CLEAN_FILES = installpaths
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__installdirs = "$(DESTDIR)$(examplesdir)"
+DATA = $(examples_DATA)
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
+ cscope distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+CSCOPE = cscope
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+ if test -d "$(distdir)"; then \
+ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
+ && rm -rf "$(distdir)" \
+ || { sleep 5 && rm -rf "$(distdir)"; }; \
+ else :; fi
+am__post_remove_distdir = $(am__remove_distdir)
+am__relativize = \
+ dir0=`pwd`; \
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+ sed_rest='s,^[^/]*/*,,'; \
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+ sed_butlast='s,/*[^/]*$$,,'; \
+ while test -n "$$dir1"; do \
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+ if test "$$first" != "."; then \
+ if test "$$first" = ".."; then \
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+ else \
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+ if test "$$first2" = "$$first"; then \
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+ else \
+ dir2="../$$dir2"; \
+ fi; \
+ dir0="$$dir0"/"$$first"; \
+ fi; \
+ fi; \
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+ done; \
+ reldir="$$dir2"
+DIST_ARCHIVES = $(distdir).tar.gz
+GZIP_ENV = --best
+DIST_TARGETS = dist-gzip
+distuninstallcheck_listfiles = find . -type f -print
+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
+ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
+distcleancheck_listfiles = find . -type f -print
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
+GMSGFMT = @GMSGFMT@
+GMSGFMT_015 = @GMSGFMT_015@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+MSGFMT = @MSGFMT@
+MSGFMT_015 = @MSGFMT_015@
+MSGMERGE = @MSGMERGE@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+USE_NLS = @USE_NLS@
+VERSION = @VERSION@
+XGETTEXT = @XGETTEXT@
+XGETTEXT_015 = @XGETTEXT_015@
+XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+aclocaldir = @aclocaldir@
+am__leading_dot = @am__leading_dot@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build_alias = @build_alias@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host_alias = @host_alias@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+AUTOMAKE_OPTIONS = 1.2 foreign
+ACLOCAL_AMFLAGS = -I ../../gettext-runtime/m4 -I ../../m4
+SUBDIRS = po
+EXTRA_DIST =
+examplesdir = $(docdir)/examples
+examples_DATA = installpaths
+
+# List of examples files, excluding the localizations.
+EXAMPLESFILES = \
+ \
+ hello-c/INSTALL \
+ hello-c/autogen.sh \
+ hello-c/autoclean.sh \
+ hello-c/hello.c \
+ hello-c/Makefile.am \
+ hello-c/configure.ac \
+ hello-c/m4/Makefile.am \
+ hello-c/po/Makevars \
+ hello-c/po/POTFILES.in \
+ \
+ hello-c-gnome/INSTALL \
+ hello-c-gnome/autogen.sh \
+ hello-c-gnome/autoclean.sh \
+ hello-c-gnome/hello.c \
+ hello-c-gnome/Makefile.am \
+ hello-c-gnome/configure.ac \
+ hello-c-gnome/m4/Makefile.am \
+ hello-c-gnome/m4/gnome.m4 \
+ hello-c-gnome/m4/gnome-gnorba-check.m4 \
+ hello-c-gnome/m4/gnome-orbit-check.m4 \
+ hello-c-gnome/po/Makevars \
+ hello-c-gnome/po/POTFILES.in \
+ \
+ hello-c-gnome3/INSTALL \
+ hello-c-gnome3/autogen.sh \
+ hello-c-gnome3/autoclean.sh \
+ hello-c-gnome3/hello.c \
+ hello-c-gnome3/hello.desktop.in.in \
+ hello-c-gnome3/hello.gschema.xml \
+ hello-c-gnome3/hello.gresource.xml \
+ hello-c-gnome3/hello.ui \
+ hello-c-gnome3/Makefile.am \
+ hello-c-gnome3/configure.ac \
+ hello-c-gnome3/m4/Makefile.am \
+ hello-c-gnome3/po/Makevars \
+ hello-c-gnome3/po/POTFILES.in \
+ \
+ hello-c++/INSTALL \
+ hello-c++/autogen.sh \
+ hello-c++/autoclean.sh \
+ hello-c++/hello.cc \
+ hello-c++/Makefile.am \
+ hello-c++/configure.ac \
+ hello-c++/m4/Makefile.am \
+ hello-c++/po/Makevars \
+ hello-c++/po/POTFILES.in \
+ \
+ hello-c++-qt/INSTALL \
+ hello-c++-qt/BUGS \
+ hello-c++-qt/autogen.sh \
+ hello-c++-qt/autoclean.sh \
+ hello-c++-qt/hello.cc \
+ hello-c++-qt/Makefile.am \
+ hello-c++-qt/configure.ac \
+ hello-c++-qt/m4/Makefile.am \
+ hello-c++-qt/m4/qt.m4 \
+ hello-c++-qt/po/Makefile.am \
+ \
+ hello-c++-kde/INSTALL \
+ hello-c++-kde/BUGS \
+ hello-c++-kde/autogen.sh \
+ hello-c++-kde/autoclean.sh \
+ hello-c++-kde/hello.cc \
+ hello-c++-kde/hellowindow.h \
+ hello-c++-kde/hellowindow.cc \
+ hello-c++-kde/Makefile.am \
+ hello-c++-kde/configure.in.in \
+ hello-c++-kde/m4/Makefile.am \
+ hello-c++-kde/admin/acinclude.m4.in \
+ hello-c++-kde/admin/am_edit \
+ hello-c++-kde/admin/ChangeLog \
+ hello-c++-kde/admin/compile \
+ hello-c++-kde/admin/conf.change.pl \
+ hello-c++-kde/admin/config.guess \
+ hello-c++-kde/admin/config.pl \
+ hello-c++-kde/admin/config.sub \
+ hello-c++-kde/admin/configure.in.bot.end \
+ hello-c++-kde/admin/configure.in.min \
+ hello-c++-kde/admin/cvs-clean.pl \
+ hello-c++-kde/admin/cvs.sh \
+ hello-c++-kde/admin/debianrules \
+ hello-c++-kde/admin/depcomp \
+ hello-c++-kde/admin/detect-autoconf.sh \
+ hello-c++-kde/admin/Doxyfile.am \
+ hello-c++-kde/admin/Doxyfile.global \
+ hello-c++-kde/admin/install-sh \
+ hello-c++-kde/admin/libtool.m4.in \
+ hello-c++-kde/admin/ltmain.sh \
+ hello-c++-kde/admin/Makefile.common \
+ hello-c++-kde/admin/missing \
+ hello-c++-kde/admin/mkinstalldirs \
+ hello-c++-kde/admin/ylwrap \
+ hello-c++-kde/po/Makevars \
+ hello-c++-kde/po/POTFILES.in \
+ \
+ hello-c++-gnome/INSTALL \
+ hello-c++-gnome/autogen.sh \
+ hello-c++-gnome/autoclean.sh \
+ hello-c++-gnome/hello.cc \
+ hello-c++-gnome/Makefile.am \
+ hello-c++-gnome/configure.ac \
+ hello-c++-gnome/m4/Makefile.am \
+ hello-c++-gnome/m4/gnome.m4 \
+ hello-c++-gnome/m4/gnome-gnorba-check.m4 \
+ hello-c++-gnome/m4/gnome-orbit-check.m4 \
+ hello-c++-gnome/m4/gtk.m4 \
+ hello-c++-gnome/m4/gtk--.m4 \
+ hello-c++-gnome/po/Makevars \
+ hello-c++-gnome/po/POTFILES.in \
+ \
+ hello-c++-wxwidgets/INSTALL \
+ hello-c++-wxwidgets/autogen.sh \
+ hello-c++-wxwidgets/autoclean.sh \
+ hello-c++-wxwidgets/hello.cc \
+ hello-c++-wxwidgets/Makefile.am \
+ hello-c++-wxwidgets/configure.ac \
+ hello-c++-wxwidgets/m4/Makefile.am \
+ hello-c++-wxwidgets/m4/wxwidgets.m4 \
+ hello-c++-wxwidgets/po/Makefile.am \
+ \
+ hello-objc/INSTALL \
+ hello-objc/autogen.sh \
+ hello-objc/autoclean.sh \
+ hello-objc/hello.m \
+ hello-objc/Makefile.am \
+ hello-objc/configure.ac \
+ hello-objc/m4/Makefile.am \
+ hello-objc/po/Makevars \
+ hello-objc/po/POTFILES.in \
+ \
+ hello-objc-gnustep/INSTALL \
+ hello-objc-gnustep/BUGS \
+ hello-objc-gnustep/autogen.sh \
+ hello-objc-gnustep/autoclean.sh \
+ hello-objc-gnustep/main.m \
+ hello-objc-gnustep/AppController.h \
+ hello-objc-gnustep/AppController.m \
+ hello-objc-gnustep/Hello.h \
+ hello-objc-gnustep/Hello.m \
+ hello-objc-gnustep/GNUmakefile \
+ hello-objc-gnustep/po/GNUmakefile \
+ hello-objc-gnustep/po/LocaleAliases \
+ \
+ hello-objc-gnome/INSTALL \
+ hello-objc-gnome/autogen.sh \
+ hello-objc-gnome/autoclean.sh \
+ hello-objc-gnome/hello.m \
+ hello-objc-gnome/Makefile.am \
+ hello-objc-gnome/configure.ac \
+ hello-objc-gnome/m4/Makefile.am \
+ hello-objc-gnome/m4/gnome.m4 \
+ hello-objc-gnome/m4/gnome-gnorba-check.m4 \
+ hello-objc-gnome/m4/gnome-orbit-check.m4 \
+ hello-objc-gnome/po/Makevars \
+ hello-objc-gnome/po/POTFILES.in \
+ \
+ hello-sh/INSTALL \
+ hello-sh/autogen.sh \
+ hello-sh/autoclean.sh \
+ hello-sh/hello.sh \
+ hello-sh/Makefile.am \
+ hello-sh/configure.ac \
+ hello-sh/m4/Makefile.am \
+ hello-sh/po/Makefile.am \
+ \
+ hello-python/INSTALL \
+ hello-python/autogen.sh \
+ hello-python/autoclean.sh \
+ hello-python/hello.py.in \
+ hello-python/Makefile.am \
+ hello-python/configure.ac \
+ hello-python/m4/Makefile.am \
+ hello-python/po/Makefile.am \
+ \
+ hello-clisp/INSTALL \
+ hello-clisp/autogen.sh \
+ hello-clisp/autoclean.sh \
+ hello-clisp/hello.lisp.in \
+ hello-clisp/Makefile.am \
+ hello-clisp/configure.ac \
+ hello-clisp/m4/Makefile.am \
+ hello-clisp/po/Makefile.am \
+ \
+ hello-librep/INSTALL \
+ hello-librep/autogen.sh \
+ hello-librep/autoclean.sh \
+ hello-librep/hello.jl.in \
+ hello-librep/Makefile.am \
+ hello-librep/configure.ac \
+ hello-librep/m4/Makefile.am \
+ hello-librep/po/Makefile.am \
+ \
+ hello-guile/INSTALL \
+ hello-guile/autogen.sh \
+ hello-guile/autoclean.sh \
+ hello-guile/hello.scm \
+ hello-guile/Makefile.am \
+ hello-guile/configure.ac \
+ hello-guile/m4/Makefile.am \
+ hello-guile/po/Makefile.am \
+ \
+ hello-smalltalk/INSTALL \
+ hello-smalltalk/autogen.sh \
+ hello-smalltalk/autoclean.sh \
+ hello-smalltalk/hello.st.in \
+ hello-smalltalk/Makefile.am \
+ hello-smalltalk/configure.ac \
+ hello-smalltalk/m4/Makefile.am \
+ hello-smalltalk/po/Makefile.am \
+ \
+ hello-java/INSTALL \
+ hello-java/autogen.sh \
+ hello-java/autoclean.sh \
+ hello-java/Hello.java \
+ hello-java/Makefile.am \
+ hello-java/configure.ac \
+ hello-java/m4/Makefile.am \
+ hello-java/po/Makefile.am \
+ \
+ hello-java-awt/INSTALL \
+ hello-java-awt/BUGS \
+ hello-java-awt/autogen.sh \
+ hello-java-awt/autoclean.sh \
+ hello-java-awt/Hello.java \
+ hello-java-awt/Makefile.am \
+ hello-java-awt/configure.ac \
+ hello-java-awt/m4/Makefile.am \
+ hello-java-awt/m4/TestAWT.java \
+ hello-java-awt/m4/TestAWT.class \
+ hello-java-awt/po/Makefile.am \
+ \
+ hello-java-swing/INSTALL \
+ hello-java-swing/BUGS \
+ hello-java-swing/autogen.sh \
+ hello-java-swing/autoclean.sh \
+ hello-java-swing/Hello.java \
+ hello-java-swing/Makefile.am \
+ hello-java-swing/configure.ac \
+ hello-java-swing/m4/Makefile.am \
+ hello-java-swing/m4/TestAWT.java \
+ hello-java-swing/m4/TestAWT.class \
+ hello-java-swing/po/Makefile.am \
+ \
+ hello-java-qtjambi/INSTALL \
+ hello-java-qtjambi/BUGS \
+ hello-java-qtjambi/autogen.sh \
+ hello-java-qtjambi/autoclean.sh \
+ hello-java-qtjambi/Hello.java \
+ hello-java-qtjambi/Makefile.am \
+ hello-java-qtjambi/configure.ac \
+ hello-java-qtjambi/m4/Makefile.am \
+ hello-java-qtjambi/m4/Test15.java \
+ hello-java-qtjambi/m4/Test15.class \
+ hello-java-qtjambi/po/Makefile.am \
+ \
+ hello-csharp/INSTALL \
+ hello-csharp/autogen.sh \
+ hello-csharp/autoclean.sh \
+ hello-csharp/hello.cs \
+ hello-csharp/Makefile.am \
+ hello-csharp/configure.ac \
+ hello-csharp/m4/Makefile.am \
+ hello-csharp/po/Makefile.am \
+ \
+ hello-csharp-forms/INSTALL \
+ hello-csharp-forms/README \
+ hello-csharp-forms/BUGS \
+ hello-csharp-forms/autogen.sh \
+ hello-csharp-forms/autoclean.sh \
+ hello-csharp-forms/hello.cs \
+ hello-csharp-forms/Makefile.am \
+ hello-csharp-forms/configure.ac \
+ hello-csharp-forms/m4/Makefile.am \
+ hello-csharp-forms/po/Makefile.am \
+ \
+ hello-gawk/INSTALL \
+ hello-gawk/autogen.sh \
+ hello-gawk/autoclean.sh \
+ hello-gawk/hello.awk \
+ hello-gawk/Makefile.am \
+ hello-gawk/configure.ac \
+ hello-gawk/m4/Makefile.am \
+ hello-gawk/po/Makefile.am \
+ \
+ hello-pascal/INSTALL \
+ hello-pascal/autogen.sh \
+ hello-pascal/autoclean.sh \
+ hello-pascal/hello.pas \
+ hello-pascal/hello.rst \
+ hello-pascal/Makefile.am \
+ hello-pascal/configure.ac \
+ hello-pascal/m4/Makefile.am \
+ hello-pascal/po/Makefile.am \
+ \
+ hello-ycp/INSTALL \
+ hello-ycp/autogen.sh \
+ hello-ycp/autoclean.sh \
+ hello-ycp/hello.ycp \
+ hello-ycp/Makefile.am \
+ hello-ycp/configure.ac \
+ hello-ycp/m4/Makefile.am \
+ hello-ycp/po/Makefile.am \
+ \
+ hello-tcl/INSTALL \
+ hello-tcl/autogen.sh \
+ hello-tcl/autoclean.sh \
+ hello-tcl/hello.tcl \
+ hello-tcl/Makefile.am \
+ hello-tcl/configure.ac \
+ hello-tcl/m4/Makefile.am \
+ hello-tcl/po/Makefile.am \
+ \
+ hello-tcl-tk/INSTALL \
+ hello-tcl-tk/autogen.sh \
+ hello-tcl-tk/autoclean.sh \
+ hello-tcl-tk/hello.tcl \
+ hello-tcl-tk/Makefile.am \
+ hello-tcl-tk/configure.ac \
+ hello-tcl-tk/m4/Makefile.am \
+ hello-tcl-tk/po/Makefile.am \
+ \
+ hello-perl/INSTALL \
+ hello-perl/autogen.sh \
+ hello-perl/autoclean.sh \
+ hello-perl/hello-1.pl.in \
+ hello-perl/hello-2.pl.in \
+ hello-perl/Makefile.am \
+ hello-perl/configure.ac \
+ hello-perl/m4/Makefile.am \
+ hello-perl/po/Makefile.am \
+ \
+ hello-php/INSTALL \
+ hello-php/README \
+ hello-php/autogen.sh \
+ hello-php/autoclean.sh \
+ hello-php/hello.php \
+ hello-php/Makefile.am \
+ hello-php/configure.ac \
+ hello-php/m4/Makefile.am \
+ hello-php/po/Makefile.am \
+ \
+ README
+
+
+# List of examples directories containing a po directory.
+EXAMPLESDIRS = \
+ hello-c \
+ hello-c-gnome \
+ hello-c-gnome3 \
+ hello-c++ \
+ hello-c++-qt \
+ hello-c++-kde \
+ hello-c++-gnome \
+ hello-c++-wxwidgets \
+ hello-objc \
+ hello-objc-gnustep \
+ hello-objc-gnome \
+ hello-sh \
+ hello-python \
+ hello-clisp \
+ hello-librep \
+ hello-guile \
+ hello-smalltalk \
+ hello-java \
+ hello-java-awt \
+ hello-java-swing \
+ hello-java-qtjambi \
+ hello-csharp \
+ hello-csharp-forms \
+ hello-gawk \
+ hello-pascal \
+ hello-ycp \
+ hello-tcl \
+ hello-tcl-tk \
+ hello-perl \
+ hello-php
+
+
+# List of files present in every example's po directory.
+EXAMPLESPOFILES = \
+ LINGUAS \
+ af.po \
+ ast.po \
+ bg.po \
+ ca.po \
+ cs.po \
+ da.po \
+ de.po \
+ el.po \
+ eo.po \
+ es.po \
+ fi.po \
+ fr.po \
+ ga.po \
+ gl.po \
+ hr.po \
+ hu.po \
+ id.po \
+ it.po \
+ ja.po \
+ ky.po \
+ lv.po \
+ ms.po \
+ mt.po \
+ nb.po \
+ nl.po \
+ pl.po \
+ pt.po \
+ pt_BR.po \
+ ro.po \
+ ru.po \
+ sk.po \
+ sl.po \
+ sr.po \
+ sv.po \
+ tr.po \
+ uk.po \
+ vi.po \
+ zh_CN.po \
+ zh_HK.po \
+ zh_TW.po
+
+all: all-recursive
+
+.SUFFIXES:
+am--refresh: Makefile
+ @:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ echo ' $(SHELL) ./config.status'; \
+ $(SHELL) ./config.status;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ $(SHELL) ./config.status --recheck
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ $(am__cd) $(srcdir) && $(AUTOCONF)
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+$(am__aclocal_m4_deps):
+installpaths: $(top_builddir)/config.status $(srcdir)/installpaths.in
+ cd $(top_builddir) && $(SHELL) ./config.status $@
+install-examplesDATA: $(examples_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(examples_DATA)'; test -n "$(examplesdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(examplesdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(examplesdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(examplesdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(examplesdir)" || exit $$?; \
+ done
+
+uninstall-examplesDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(examples_DATA)'; test -n "$(examplesdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(examplesdir)'; $(am__uninstall_files_from_dir)
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run 'make' without going through this Makefile.
+# To change the values of 'make' variables: instead of editing Makefiles,
+# (1) if the variable is set in 'config.status', edit 'config.status'
+# (which will cause the Makefiles to be regenerated when you run 'make');
+# (2) otherwise, pass the desired values on the 'make' command line.
+$(am__recursive_targets):
+ @fail=; \
+ if $(am__make_keepgoing); then \
+ failcom='fail=yes'; \
+ else \
+ failcom='exit 1'; \
+ fi; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscope: cscope.files
+ test ! -s cscope.files \
+ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
+clean-cscope:
+ -rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+ -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
+
+distdir: $(DISTFILES)
+ $(am__remove_distdir)
+ test -d "$(distdir)" || mkdir "$(distdir)"
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ $(am__make_dryrun) \
+ || test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+ $(am__relativize); \
+ new_distdir=$$reldir; \
+ dir1=$$subdir; dir2="$(top_distdir)"; \
+ $(am__relativize); \
+ new_top_distdir=$$reldir; \
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+ ($(am__cd) $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$new_top_distdir" \
+ distdir="$$new_distdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ am__skip_mode_fix=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+ -test -n "$(am__skip_mode_fix)" \
+ || find "$(distdir)" -type d ! -perm -755 \
+ -exec chmod u+rwx,go+rx {} \; -o \
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
+ || chmod -R a+r "$(distdir)"
+dist-gzip: distdir
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__post_remove_distdir)
+
+dist-bzip2: distdir
+ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
+ $(am__post_remove_distdir)
+
+dist-lzip: distdir
+ tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
+ $(am__post_remove_distdir)
+
+dist-xz: distdir
+ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
+ $(am__post_remove_distdir)
+
+dist-tarZ: distdir
+ @echo WARNING: "Support for shar distribution archives is" \
+ "deprecated." >&2
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
+ $(am__post_remove_distdir)
+
+dist-shar: distdir
+ @echo WARNING: "Support for distribution archives compressed with" \
+ "legacy program 'compress' is deprecated." >&2
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+ $(am__post_remove_distdir)
+
+dist-zip: distdir
+ -rm -f $(distdir).zip
+ zip -rq $(distdir).zip $(distdir)
+ $(am__post_remove_distdir)
+
+dist dist-all:
+ $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
+ $(am__post_remove_distdir)
+
+# This target untars the dist file and tries a VPATH configuration. Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+ case '$(DIST_ARCHIVES)' in \
+ *.tar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
+ *.tar.bz2*) \
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
+ *.tar.lz*) \
+ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
+ *.tar.xz*) \
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
+ *.tar.Z*) \
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
+ *.shar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
+ *.zip*) \
+ unzip $(distdir).zip ;;\
+ esac
+ chmod -R a-w $(distdir)
+ chmod u+w $(distdir)
+ mkdir $(distdir)/_build $(distdir)/_inst
+ chmod a-w $(distdir)
+ test -d $(distdir)/_build || exit 0; \
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+ && am__cwd=`pwd` \
+ && $(am__cd) $(distdir)/_build \
+ && ../configure \
+ $(AM_DISTCHECK_CONFIGURE_FLAGS) \
+ $(DISTCHECK_CONFIGURE_FLAGS) \
+ --srcdir=.. --prefix="$$dc_install_base" \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
+ distuninstallcheck \
+ && chmod -R a-w "$$dc_install_base" \
+ && ({ \
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
+ && rm -rf "$$dc_destdir" \
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
+ && rm -rf $(DIST_ARCHIVES) \
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
+ && cd "$$am__cwd" \
+ || exit 1
+ $(am__post_remove_distdir)
+ @(echo "$(distdir) archives ready for distribution: "; \
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
+distuninstallcheck:
+ @test -n '$(distuninstallcheck_dir)' || { \
+ echo 'ERROR: trying to run $@ with an empty' \
+ '$$(distuninstallcheck_dir)' >&2; \
+ exit 1; \
+ }; \
+ $(am__cd) '$(distuninstallcheck_dir)' || { \
+ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
+ exit 1; \
+ }; \
+ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left after uninstall:" ; \
+ if test -n "$(DESTDIR)"; then \
+ echo " (check DESTDIR support)"; \
+ fi ; \
+ $(distuninstallcheck_listfiles) ; \
+ exit 1; } >&2
+distcleancheck: distclean
+ @if test '$(srcdir)' = . ; then \
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+ exit 1 ; \
+ fi
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left in build directory after distclean:" ; \
+ $(distcleancheck_listfiles) ; \
+ exit 1; } >&2
+check-am: all-am
+check: check-recursive
+all-am: Makefile $(DATA)
+installdirs: installdirs-recursive
+installdirs-am: installdirs-local
+ for dir in "$(DESTDIR)$(examplesdir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-generic clean-local mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+html-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am: install-data-local install-examplesDATA
+
+install-dvi: install-dvi-recursive
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-recursive
+
+install-html-am:
+
+install-info: install-info-recursive
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-pdf-am:
+
+install-ps: install-ps-recursive
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf $(top_srcdir)/autom4te.cache
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-examplesDATA uninstall-local
+
+.MAKE: $(am__recursive_targets) install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-am clean clean-cscope clean-generic \
+ clean-local cscope cscopelist-am ctags ctags-am dist dist-all \
+ dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz \
+ dist-zip distcheck distclean distclean-generic distclean-tags \
+ distcleancheck distdir distuninstallcheck dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-data-local install-dvi install-dvi-am \
+ install-examplesDATA install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ installdirs-am installdirs-local maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
+ pdf-am ps ps-am tags tags-am uninstall uninstall-am \
+ uninstall-examplesDATA uninstall-local
+
+
+install-data-local: $(EXAMPLESFILES)
+ $(MKDIR_P) $(DESTDIR)$(examplesdir)
+ for f in $(EXAMPLESFILES); do \
+ d=`echo /$$f | sed -e 's,/[^/]*$$,,'`; \
+ test -z "$$d" || $(MKDIR_P) $(DESTDIR)$(examplesdir)$$d || exit 1; \
+ b=`echo $$f | sed -e 's,^.*/,,'`; \
+ if test $$b = autogen.sh || test $$b = autoclean.sh; then \
+ echo "$(INSTALL_SCRIPT) $(srcdir)/$$f $(DESTDIR)$(examplesdir)/$$f"; \
+ $(INSTALL_SCRIPT) $(srcdir)/$$f $(DESTDIR)$(examplesdir)/$$f; \
+ else \
+ echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(examplesdir)/$$f"; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(examplesdir)/$$f; \
+ fi; \
+ done
+ for f1 in $(EXAMPLESDIRS); do \
+ for f2 in $(EXAMPLESPOFILES); do \
+ f=$$f1/po/$$f2; \
+ test -f $(srcdir)/$$f || { \
+ echo "WARNING: $(srcdir)/$$f doesn't exist; do \"make dist\" to prepare" >&2; \
+ break; \
+ }; \
+ d=`echo /$$f | sed -e 's,/[^/]*$$,,'`; \
+ test -z "$$d" || $(MKDIR_P) $(DESTDIR)$(examplesdir)$$d || exit 1; \
+ b=`echo $$f | sed -e 's,^.*/,,'`; \
+ echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(examplesdir)/$$f"; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(examplesdir)/$$f; \
+ done; \
+ done
+
+installdirs-local:
+ $(MKDIR_P) $(DESTDIR)$(examplesdir)
+ for f in $(EXAMPLESFILES); do \
+ d=`echo /$$f | sed -e 's,/[^/]*$$,,'`; \
+ test -z "$$d" || $(MKDIR_P) $(DESTDIR)$(examplesdir)$$d || exit 1; \
+ done
+ for f1 in $(EXAMPLESDIRS); do \
+ for f2 in $(EXAMPLESPOFILES); do \
+ f=$$f1/po/$$f2; \
+ d=`echo /$$f | sed -e 's,/[^/]*$$,,'`; \
+ test -z "$$d" || $(MKDIR_P) $(DESTDIR)$(examplesdir)$$d || exit 1; \
+ done; \
+ done
+
+uninstall-local:
+ for f in $(EXAMPLESFILES); do \
+ rm -f $(DESTDIR)$(examplesdir)/$$f; \
+ done
+ for f1 in $(EXAMPLESDIRS); do \
+ for f2 in $(EXAMPLESPOFILES); do \
+ f=$$f1/po/$$f2; \
+ rm -f $(DESTDIR)$(examplesdir)/$$f; \
+ done; \
+ done
+
+# Invoked from inside automake's distdir target.
+distdir1:
+ cd po && $(MAKE) update-po all
+ for file in $(EXAMPLESFILES); do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ $(MKDIR_P) "$(distdir)/$$dir"; \
+ fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
+ for f1 in $(EXAMPLESDIRS); do \
+ for f2 in $(EXAMPLESPOFILES); do \
+ file=$$f1/po/$$f2; \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ $(MKDIR_P) "$(distdir)/$$dir"; \
+ fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ done
+
+# Temporary directories created by po/Makefile.
+clean-local:
+ -rm -rf tmp-hello-*
+
+maintainer-update-po: $(top_builddir)/config.status
+ $(SHELL) ./config.status --recheck
+ $(SHELL) ./config.status po/Makefile
+ cd po && $(MAKE) update-po
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/gettext-tools/examples/README b/gettext-tools/examples/README
new file mode 100644
index 0000000..4eff716
--- /dev/null
+++ b/gettext-tools/examples/README
@@ -0,0 +1,50 @@
+This directory contains simple examples of the use of GNU gettext.
+Each example is a simple "hello world" program with a very small message
+catalog, written in a particular programming language for a particular
+environment.
+
+ Example Language GUI Environment
+
+ hello-c C
+ hello-c-gnome C GNOME (obsolete)
+ hello-c-gnome3 C GNOME 3.10 or later
+ hello-c++ C++
+ hello-c++-qt C++ Qt
+ hello-c++-kde C++ KDE
+ hello-c++-gnome C++ GNOME (obsolete)
+ hello-c++-wxwidgets C++ wxWidgets
+ hello-objc ObjectiveC
+ hello-objc-gnustep ObjectiveC GNUstep
+ hello-objc-gnome ObjectiveC GNOME (obsolete)
+ hello-sh Shell
+ hello-python Python
+ hello-clisp Lisp
+ hello-librep librep
+ hello-guile Scheme
+ hello-smalltalk Smalltalk
+ hello-java Java
+ hello-java-awt Java AWT
+ hello-java-swing Java Swing
+ hello-java-qtjambi Java Qt
+ hello-csharp C#
+ hello-csharp-forms C# Forms
+ hello-gawk awk
+ hello-pascal Pascal
+ hello-ycp YCP libyui
+ hello-tcl Tcl
+ hello-tcl-tk Tcl Tk
+ hello-perl Perl
+ hello-php PHP
+
+Before building an example, you need to
+ 1. Build and install the GNU gettext package, as described in the INSTALL
+ file.
+ 2. cd to the example and do
+ ./autogen.sh
+ 3. Then you can build the example as usual:
+ ./configure --prefix=/some/prefix
+ make
+ make install
+ and see it work by executing
+ /some/prefix/bin/hello
+
diff --git a/gettext-tools/examples/aclocal.m4 b/gettext-tools/examples/aclocal.m4
new file mode 100644
index 0000000..a6aa30f
--- /dev/null
+++ b/gettext-tools/examples/aclocal.m4
@@ -0,0 +1,741 @@
+# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
+[m4_warning([this file was generated for autoconf 2.69.
+You have another version of autoconf. It may work, but is not guaranteed to.
+If you have problems, you may need to regenerate the build system entirely.
+To do so, use the procedure documented by the package, typically 'autoreconf'.])])
+
+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_AUTOMAKE_VERSION(VERSION)
+# ----------------------------
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
+# generated from the m4 files accompanying Automake X.Y.
+# (This private macro should not be called outside this file.)
+AC_DEFUN([AM_AUTOMAKE_VERSION],
+[am__api_version='1.14'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version. Point them to the right macro.
+m4_if([$1], [1.14.1], [],
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+
+# _AM_AUTOCONF_VERSION(VERSION)
+# -----------------------------
+# aclocal traces this macro to find the Autoconf version.
+# This is a private macro too. Using m4_define simplifies
+# the logic in aclocal, which can simply ignore this definition.
+m4_define([_AM_AUTOCONF_VERSION], [])
+
+# AM_SET_CURRENT_AUTOMAKE_VERSION
+# -------------------------------
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+[AM_AUTOMAKE_VERSION([1.14.1])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+
+# AM_AUX_DIR_EXPAND -*- Autoconf -*-
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
+# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
+#
+# Of course, Automake must honor this variable whenever it calls a
+# tool from the auxiliary directory. The problem is that $srcdir (and
+# therefore $ac_aux_dir as well) can be either absolute or relative,
+# depending on how configure is run. This is pretty annoying, since
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
+# source directory, any form will work fine, but in subdirectories a
+# relative path needs to be adjusted first.
+#
+# $ac_aux_dir/missing
+# fails when called from a subdirectory if $ac_aux_dir is relative
+# $top_srcdir/$ac_aux_dir/missing
+# fails if $ac_aux_dir is absolute,
+# fails when called from a subdirectory in a VPATH build with
+# a relative $ac_aux_dir
+#
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
+# are both prefixed by $srcdir. In an in-source build this is usually
+# harmless because $srcdir is '.', but things will broke when you
+# start a VPATH build or use an absolute $srcdir.
+#
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
+# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
+# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
+# and then we would define $MISSING as
+# MISSING="\${SHELL} $am_aux_dir/missing"
+# This will work as long as MISSING is not called from configure, because
+# unfortunately $(top_srcdir) has no meaning in configure.
+# However there are other variables, like CC, which are often used in
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
+#
+# Another solution, used here, is to always expand $ac_aux_dir to an
+# absolute PATH. The drawback is that using absolute paths prevent a
+# configured tree to be moved without reconfiguration.
+
+AC_DEFUN([AM_AUX_DIR_EXPAND],
+[dnl Rely on autoconf to set up CDPATH properly.
+AC_PREREQ([2.50])dnl
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+])
+
+# Do all the work for Automake. -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This macro actually does too much. Some checks are only needed if
+# your package does certain things. But this isn't really a big deal.
+
+dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
+m4_define([AC_PROG_CC],
+m4_defn([AC_PROG_CC])
+[_AM_PROG_CC_C_O
+])
+
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
+# AM_INIT_AUTOMAKE([OPTIONS])
+# -----------------------------------------------
+# The call with PACKAGE and VERSION arguments is the old style
+# call (pre autoconf-2.50), which is being phased out. PACKAGE
+# and VERSION should now be passed to AC_INIT and removed from
+# the call to AM_INIT_AUTOMAKE.
+# We support both call styles for the transition. After
+# the next Automake release, Autoconf can make the AC_INIT
+# arguments mandatory, and then we can depend on a new Autoconf
+# release and drop the old call support.
+AC_DEFUN([AM_INIT_AUTOMAKE],
+[AC_PREREQ([2.65])dnl
+dnl Autoconf wants to disallow AM_ names. We explicitly allow
+dnl the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+AC_REQUIRE([AC_PROG_INSTALL])dnl
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+AC_SUBST([CYGPATH_W])
+
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[AC_DIAGNOSE([obsolete],
+ [$0: two- and three-arguments forms are deprecated.])
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+m4_if(
+ m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
+ [ok:ok],,
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
+
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
+AM_MISSING_PROG([AUTOCONF], [autoconf])
+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
+AM_MISSING_PROG([AUTOHEADER], [autoheader])
+AM_MISSING_PROG([MAKEINFO], [makeinfo])
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+ [_AM_PROG_TAR([v7])])])
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
+ [_AM_DEPENDENCIES([CC])],
+ [m4_define([AC_PROG_CC],
+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [_AM_DEPENDENCIES([CXX])],
+ [m4_define([AC_PROG_CXX],
+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+ [_AM_DEPENDENCIES([OBJC])],
+ [m4_define([AC_PROG_OBJC],
+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+ [_AM_DEPENDENCIES([OBJCXX])],
+ [m4_define([AC_PROG_OBJCXX],
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
+])
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_CONFIG_COMMANDS_PRE(dnl
+[m4_provide_if([_AM_COMPILER_EXEEXT],
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
+
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes. So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+ cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present. This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake@gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message. This
+can help us improve future automake versions.
+
+END
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+ echo 'Configuration will proceed anyway, since you have set the' >&2
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+ echo >&2
+ else
+ cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+ AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
+ fi
+fi])
+
+dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
+dnl mangled by Autoconf and run in a shell conditional statement.
+m4_define([_AC_COMPILER_EXEEXT],
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
+
+# When config.status generates a header, we must update the stamp-h file.
+# This file resides in the same directory as the config header
+# that is generated. The stamp files are numbered to have different names.
+
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
+# loop where config.status creates the headers, so we can generate
+# our stamp files there.
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
+[# Compute $1's index in $config_headers.
+_am_arg=$1
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_INSTALL_SH
+# ------------------
+# Define $install_sh.
+AC_DEFUN([AM_PROG_INSTALL_SH],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+AC_SUBST([install_sh])])
+
+# Copyright (C) 2003-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# Check whether the underlying file-system supports filenames
+# with a leading dot. For instance MS-DOS doesn't.
+AC_DEFUN([AM_SET_LEADING_DOT],
+[rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+AC_SUBST([am__leading_dot])])
+
+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
+
+# Copyright (C) 1997-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_MISSING_PROG(NAME, PROGRAM)
+# ------------------------------
+AC_DEFUN([AM_MISSING_PROG],
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
+
+# AM_MISSING_HAS_RUN
+# ------------------
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
+AC_DEFUN([AM_MISSING_HAS_RUN],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([missing])dnl
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
+else
+ am_missing_run=
+ AC_MSG_WARN(['missing' script is too old or missing])
+fi
+])
+
+# Helper functions for option handling. -*- Autoconf -*-
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_MANGLE_OPTION(NAME)
+# -----------------------
+AC_DEFUN([_AM_MANGLE_OPTION],
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+
+# _AM_SET_OPTION(NAME)
+# --------------------
+# Set option NAME. Presently that only means defining a flag for this option.
+AC_DEFUN([_AM_SET_OPTION],
+[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
+
+# _AM_SET_OPTIONS(OPTIONS)
+# ------------------------
+# OPTIONS is a space-separated list of Automake options.
+AC_DEFUN([_AM_SET_OPTIONS],
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
+# -------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+AC_DEFUN([_AM_IF_OPTION],
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+
+# Check to make sure that the build environment is sane. -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_SANITY_CHECK
+# ---------------
+AC_DEFUN([AM_SANITY_CHECK],
+[AC_MSG_CHECKING([whether build environment is sane])
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
+esac
+case $srcdir in
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
+ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$[*]" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
+ alias in your environment])
+ fi
+ if test "$[2]" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
+ test "$[2]" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT([yes])
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+AC_CONFIG_COMMANDS_PRE(
+ [AC_MSG_CHECKING([that generated files are newer than configure])
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ AC_MSG_RESULT([done])])
+rm -f conftest.file
+])
+
+# Copyright (C) 2009-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_SILENT_RULES([DEFAULT])
+# --------------------------
+# Enable less verbose build rules; with the default set to DEFAULT
+# ("yes" being less verbose, "no" or empty being verbose).
+AC_DEFUN([AM_SILENT_RULES],
+[AC_ARG_ENABLE([silent-rules], [dnl
+AS_HELP_STRING(
+ [--enable-silent-rules],
+ [less verbose build output (undo: "make V=1")])
+AS_HELP_STRING(
+ [--disable-silent-rules],
+ [verbose build output (undo: "make V=0")])dnl
+])
+case $enable_silent_rules in @%:@ (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
+esac
+dnl
+dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
+dnl do not support nested variable expansions.
+dnl See automake bug#9928 and bug#10237.
+am_make=${MAKE-make}
+AC_CACHE_CHECK([whether $am_make supports nested variables],
+ [am_cv_make_support_nested_variables],
+ [if AS_ECHO([['TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi])
+if test $am_cv_make_support_nested_variables = yes; then
+ dnl Using '$V' instead of '$(V)' breaks IRIX make.
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AC_SUBST([AM_V])dnl
+AM_SUBST_NOTMAKE([AM_V])dnl
+AC_SUBST([AM_DEFAULT_V])dnl
+AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
+AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
+AM_BACKSLASH='\'
+AC_SUBST([AM_BACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
+])
+
+# Copyright (C) 2001-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_INSTALL_STRIP
+# ---------------------
+# One issue with vendor 'install' (even GNU) is that you can't
+# specify the program used to strip binaries. This is especially
+# annoying in cross-compiling environments, where the build's strip
+# is unlikely to handle the host's binaries.
+# Fortunately install-sh will honor a STRIPPROG variable, so we
+# always use install-sh in "make install-strip", and initialize
+# STRIPPROG with the value of the STRIP variable (set by the user).
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
+if test "$cross_compiling" != no; then
+ AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+
+# Copyright (C) 2006-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_SUBST_NOTMAKE(VARIABLE)
+# ---------------------------
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
+# This macro is traced by Automake.
+AC_DEFUN([_AM_SUBST_NOTMAKE])
+
+# AM_SUBST_NOTMAKE(VARIABLE)
+# --------------------------
+# Public sister of _AM_SUBST_NOTMAKE.
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+
+# Check how to create a tarball. -*- Autoconf -*-
+
+# Copyright (C) 2004-2013 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_PROG_TAR(FORMAT)
+# --------------------
+# Check how to create a tarball in format FORMAT.
+# FORMAT should be one of 'v7', 'ustar', or 'pax'.
+#
+# Substitute a variable $(am__tar) that is a command
+# writing to stdout a FORMAT-tarball containing the directory
+# $tardir.
+# tardir=directory && $(am__tar) > result.tar
+#
+# Substitute a variable $(am__untar) that extract such
+# a tarball read from stdin.
+# $(am__untar) < result.tar
+#
+AC_DEFUN([_AM_PROG_TAR],
+[# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AC_SUBST([AMTAR], ['$${TAR-tar}'])
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+
+m4_if([$1], [v7],
+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
+
+ [m4_case([$1],
+ [ustar],
+ [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
+ # There is notably a 21 bits limit for the UID and the GID. In fact,
+ # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
+ # and bug#13588).
+ am_max_uid=2097151 # 2^21 - 1
+ am_max_gid=$am_max_uid
+ # The $UID and $GID variables are not portable, so we need to resort
+ # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
+ # below are definitely unexpected, so allow the users to see them
+ # (that is, avoid stderr redirection).
+ am_uid=`id -u || echo unknown`
+ am_gid=`id -g || echo unknown`
+ AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
+ if test $am_uid -le $am_max_uid; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ _am_tools=none
+ fi
+ AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
+ if test $am_gid -le $am_max_gid; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ _am_tools=none
+ fi],
+
+ [pax],
+ [],
+
+ [m4_fatal([Unknown tar format])])
+
+ AC_MSG_CHECKING([how to create a $1 tar archive])
+
+ # Go ahead even if we have the value already cached. We do so because we
+ # need to set the values for the 'am__tar' and 'am__untar' variables.
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools}
+
+ for _am_tool in $_am_tools; do
+ case $_am_tool in
+ gnutar)
+ for _am_tar in tar gnutar gtar; do
+ AM_RUN_LOG([$_am_tar --version]) && break
+ done
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+ am__untar="$_am_tar -xf -"
+ ;;
+ plaintar)
+ # Must skip GNU tar: if it does not support --format= it doesn't create
+ # ustar tarball either.
+ (tar --version) >/dev/null 2>&1 && continue
+ am__tar='tar chf - "$$tardir"'
+ am__tar_='tar chf - "$tardir"'
+ am__untar='tar xf -'
+ ;;
+ pax)
+ am__tar='pax -L -x $1 -w "$$tardir"'
+ am__tar_='pax -L -x $1 -w "$tardir"'
+ am__untar='pax -r'
+ ;;
+ cpio)
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+ am__untar='cpio -i -H $1 -d'
+ ;;
+ none)
+ am__tar=false
+ am__tar_=false
+ am__untar=false
+ ;;
+ esac
+
+ # If the value was cached, stop now. We just wanted to have am__tar
+ # and am__untar set.
+ test -n "${am_cv_prog_tar_$1}" && break
+
+ # tar/untar a dummy directory, and stop if the command works.
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ echo GrepMe > conftest.dir/file
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+ rm -rf conftest.dir
+ if test -s conftest.tar; then
+ AM_RUN_LOG([$am__untar <conftest.tar])
+ AM_RUN_LOG([cat conftest.dir/file])
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+ fi
+ done
+ rm -rf conftest.dir
+
+ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+ AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+]) # _AM_PROG_TAR
+
+m4_include([../../m4/fixautomake.m4])
+m4_include([../../gettext-runtime/m4/nls.m4])
+m4_include([../../gettext-runtime/m4/po.m4])
+m4_include([../../gettext-runtime/m4/progtest.m4])
diff --git a/gettext-tools/examples/configure b/gettext-tools/examples/configure
new file mode 100755
index 0000000..851e0da
--- /dev/null
+++ b/gettext-tools/examples/configure
@@ -0,0 +1,4253 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.69 for gettext-examples 0.19.4.
+#
+# Report bugs to <bug-gnu-gettext@gnu.org>.
+#
+#
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
+#
+#
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+# Use a proper internal environment variable to ensure we don't fall
+ # into an infinite loop, continuously re-executing ourselves.
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+ _as_can_reexec=no; export _as_can_reexec;
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+ fi
+ # We don't want this to propagate to other subprocesses.
+ { _as_can_reexec=; unset _as_can_reexec;}
+if test "x$CONFIG_SHELL" = x; then
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
+ setopt NO_GLOB_SUBST
+else
+ case \`(set -o) 2>/dev/null\` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+"
+ as_required="as_fn_return () { (exit \$1); }
+as_fn_success () { as_fn_return 0; }
+as_fn_failure () { as_fn_return 1; }
+as_fn_ret_success () { return 0; }
+as_fn_ret_failure () { return 1; }
+
+exitcode=0
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
+
+else
+ exitcode=1; echo positional parameters were not saved.
+fi
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
+test \$(( 1 + 1 )) = 2 || exit 1"
+ if (eval "$as_required") 2>/dev/null; then :
+ as_have_required=yes
+else
+ as_have_required=no
+fi
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
+
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_found=false
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ as_found=:
+ case $as_dir in #(
+ /*)
+ for as_base in sh bash ksh sh5; do
+ # Try only shells that exist, to save several forks.
+ as_shell=$as_dir/$as_base
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ CONFIG_SHELL=$as_shell as_have_required=yes
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ break 2
+fi
+fi
+ done;;
+ esac
+ as_found=false
+done
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
+ CONFIG_SHELL=$SHELL as_have_required=yes
+fi; }
+IFS=$as_save_IFS
+
+
+ if test "x$CONFIG_SHELL" != x; then :
+ export CONFIG_SHELL
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
+fi
+
+ if test x$as_have_required = xno; then :
+ $as_echo "$0: This script requires a shell more modern than all"
+ $as_echo "$0: the shells that I found on your system."
+ if test x${ZSH_VERSION+set} = xset ; then
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
+ else
+ $as_echo "$0: Please tell bug-autoconf@gnu.org and
+$0: bug-gnu-gettext@gnu.org about your system, including
+$0: any error possibly output before this message. Then
+$0: install a modern shell, or manually run the script
+$0: under such a shell if you do have one."
+ fi
+ exit 1
+fi
+fi
+fi
+SHELL=${CONFIG_SHELL-/bin/sh}
+export SHELL
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
+
+## --------------------- ##
+## M4sh Shell Functions. ##
+## --------------------- ##
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+ # already done that, so ensure we don't try to do so again and fall
+ # in an infinite loop. This has already happened in practice.
+ _as_can_reexec=no; export _as_can_reexec
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
+
+# Name of the host.
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+#
+# Initializations.
+#
+ac_default_prefix=/usr/local
+ac_clean_files=
+ac_config_libobj_dir=.
+LIBOBJS=
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+
+# Identity of this package.
+PACKAGE_NAME='gettext-examples'
+PACKAGE_TARNAME='gettext-examples'
+PACKAGE_VERSION='0.19.4'
+PACKAGE_STRING='gettext-examples 0.19.4'
+PACKAGE_BUGREPORT='bug-gnu-gettext@gnu.org'
+PACKAGE_URL=''
+
+ac_unique_file="installpaths.in"
+ac_subst_vars='LTLIBOBJS
+LIBOBJS
+aclocaldir
+XGETTEXT_EXTRA_OPTIONS
+MSGMERGE
+XGETTEXT_015
+XGETTEXT
+GMSGFMT_015
+MSGFMT_015
+GMSGFMT
+MSGFMT
+GETTEXT_MACRO_VERSION
+USE_NLS
+SED
+AM_BACKSLASH
+AM_DEFAULT_VERBOSITY
+AM_DEFAULT_V
+AM_V
+am__untar
+am__tar
+AMTAR
+am__leading_dot
+SET_MAKE
+AWK
+mkdir_p
+MKDIR_P
+INSTALL_STRIP_PROGRAM
+STRIP
+install_sh
+MAKEINFO
+AUTOHEADER
+AUTOMAKE
+AUTOCONF
+ACLOCAL
+VERSION
+PACKAGE
+CYGPATH_W
+am__isrc
+INSTALL_DATA
+INSTALL_SCRIPT
+INSTALL_PROGRAM
+target_alias
+host_alias
+build_alias
+LIBS
+ECHO_T
+ECHO_N
+ECHO_C
+DEFS
+mandir
+localedir
+libdir
+psdir
+pdfdir
+dvidir
+htmldir
+infodir
+docdir
+oldincludedir
+includedir
+localstatedir
+sharedstatedir
+sysconfdir
+datadir
+datarootdir
+libexecdir
+sbindir
+bindir
+program_transform_name
+prefix
+exec_prefix
+PACKAGE_URL
+PACKAGE_BUGREPORT
+PACKAGE_STRING
+PACKAGE_VERSION
+PACKAGE_TARNAME
+PACKAGE_NAME
+PATH_SEPARATOR
+SHELL'
+ac_subst_files=''
+ac_user_opts='
+enable_option_checking
+enable_silent_rules
+enable_nls
+'
+ ac_precious_vars='build_alias
+host_alias
+target_alias'
+
+
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+ac_unrecognized_opts=
+ac_unrecognized_sep=
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+verbose=
+x_includes=NONE
+x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+# (The list follows the same order as the GNU Coding Standards.)
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datarootdir='${prefix}/share'
+datadir='${datarootdir}'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+infodir='${datarootdir}/info'
+htmldir='${docdir}'
+dvidir='${docdir}'
+pdfdir='${docdir}'
+psdir='${docdir}'
+libdir='${exec_prefix}/lib'
+localedir='${datarootdir}/locale'
+mandir='${datarootdir}/man'
+
+ac_prev=
+ac_dashdash=
+for ac_option
+do
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval $ac_prev=\$ac_option
+ ac_prev=
+ continue
+ fi
+
+ case $ac_option in
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+ *=) ac_optarg= ;;
+ *) ac_optarg=yes ;;
+ esac
+
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+
+ case $ac_dashdash$ac_option in
+ --)
+ ac_dashdash=yes ;;
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir=$ac_optarg ;;
+
+ -build | --build | --buil | --bui | --bu)
+ ac_prev=build_alias ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+ build_alias=$ac_optarg ;;
+
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+ cache_file=$ac_optarg ;;
+
+ --config-cache | -C)
+ cache_file=config.cache ;;
+
+ -datadir | --datadir | --datadi | --datad)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
+ datadir=$ac_optarg ;;
+
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
+ | --dataroo | --dataro | --datar)
+ ac_prev=datarootdir ;;
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
+ datarootdir=$ac_optarg ;;
+
+ -disable-* | --disable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=no ;;
+
+ -docdir | --docdir | --docdi | --doc | --do)
+ ac_prev=docdir ;;
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
+ docdir=$ac_optarg ;;
+
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+ ac_prev=dvidir ;;
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
+ dvidir=$ac_optarg ;;
+
+ -enable-* | --enable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=\$ac_optarg ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix=$ac_optarg ;;
+
+ -gas | --gas | --ga | --g)
+ # Obsolete; use --with-gas.
+ with_gas=yes ;;
+
+ -help | --help | --hel | --he | -h)
+ ac_init_help=long ;;
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+ ac_init_help=recursive ;;
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+ ac_init_help=short ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host_alias ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ host_alias=$ac_optarg ;;
+
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
+ ac_prev=htmldir ;;
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
+ | --ht=*)
+ htmldir=$ac_optarg ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir=$ac_optarg ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir=$ac_optarg ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir=$ac_optarg ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir=$ac_optarg ;;
+
+ -localedir | --localedir | --localedi | --localed | --locale)
+ ac_prev=localedir ;;
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
+ localedir=$ac_optarg ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst | --locals)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
+ localstatedir=$ac_optarg ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir=$ac_optarg ;;
+
+ -nfp | --nfp | --nf)
+ # Obsolete; use --without-fp.
+ with_fp=no ;;
+
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c | -n)
+ no_create=yes ;;
+
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+ no_recursion=yes ;;
+
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+ | --oldin | --oldi | --old | --ol | --o)
+ ac_prev=oldincludedir ;;
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+ oldincludedir=$ac_optarg ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix=$ac_optarg ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix=$ac_optarg ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix=$ac_optarg ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name=$ac_optarg ;;
+
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
+ ac_prev=pdfdir ;;
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
+ pdfdir=$ac_optarg ;;
+
+ -psdir | --psdir | --psdi | --psd | --ps)
+ ac_prev=psdir ;;
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
+ psdir=$ac_optarg ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir=$ac_optarg ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir=$ac_optarg ;;
+
+ -site | --site | --sit)
+ ac_prev=site ;;
+ -site=* | --site=* | --sit=*)
+ site=$ac_optarg ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir=$ac_optarg ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir=$ac_optarg ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target_alias ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target_alias=$ac_optarg ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers | -V)
+ ac_init_version=: ;;
+
+ -with-* | --with-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=\$ac_optarg ;;
+
+ -without-* | --without-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=no ;;
+
+ --x)
+ # Obsolete; use --with-x.
+ with_x=yes ;;
+
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+ | --x-incl | --x-inc | --x-in | --x-i)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes=$ac_optarg ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries=$ac_optarg ;;
+
+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information"
+ ;;
+
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+ case $ac_envvar in #(
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
+ esac
+ eval $ac_envvar=\$ac_optarg
+ export $ac_envvar ;;
+
+ *)
+ # FIXME: should be removed in autoconf 3.0.
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
+ ;;
+
+ esac
+done
+
+if test -n "$ac_prev"; then
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+ as_fn_error $? "missing argument to $ac_option"
+fi
+
+if test -n "$ac_unrecognized_opts"; then
+ case $enable_option_checking in
+ no) ;;
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
+ esac
+fi
+
+# Check all directory arguments for consistency.
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
+ datadir sysconfdir sharedstatedir localstatedir includedir \
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
+ libdir localedir mandir
+do
+ eval ac_val=\$$ac_var
+ # Remove trailing slashes.
+ case $ac_val in
+ */ )
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
+ eval $ac_var=\$ac_val;;
+ esac
+ # Be sure to have absolute directory names.
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* ) continue;;
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
+ esac
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
+done
+
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+# FIXME: To remove some day.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: To remove some day.
+if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
+fi
+
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec 6>/dev/null
+
+
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
+ac_ls_di=`ls -di .` &&
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
+ as_fn_error $? "working directory cannot be determined"
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
+ as_fn_error $? "pwd does not report name of working directory"
+
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then the parent directory.
+ ac_confdir=`$as_dirname -- "$as_myself" ||
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_myself" : 'X\(//\)[^/]' \| \
+ X"$as_myself" : 'X\(//\)$' \| \
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_myself" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ srcdir=$ac_confdir
+ if test ! -r "$srcdir/$ac_unique_file"; then
+ srcdir=..
+ fi
+else
+ ac_srcdir_defaulted=no
+fi
+if test ! -r "$srcdir/$ac_unique_file"; then
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
+fi
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ac_abs_confdir=`(
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
+ pwd)`
+# When building in place, set srcdir=.
+if test "$ac_abs_confdir" = "$ac_pwd"; then
+ srcdir=.
+fi
+# Remove unnecessary trailing slashes from srcdir.
+# Double slashes in file names in object file debugging info
+# mess up M-x gdb in Emacs.
+case $srcdir in
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
+esac
+for ac_var in $ac_precious_vars; do
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_env_${ac_var}_value=\$${ac_var}
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
+done
+
+#
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat <<_ACEOF
+\`configure' configures gettext-examples 0.19.4 to adapt to many kinds of systems.
+
+Usage: $0 [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print \`checking ...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for \`--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
+
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ [$ac_default_prefix]
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ [PREFIX]
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
+ --infodir=DIR info documentation [DATAROOTDIR/info]
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
+ --mandir=DIR man documentation [DATAROOTDIR/man]
+ --docdir=DIR documentation root
+ [DATAROOTDIR/doc/gettext-examples]
+ --htmldir=DIR html documentation [DOCDIR]
+ --dvidir=DIR dvi documentation [DOCDIR]
+ --pdfdir=DIR pdf documentation [DOCDIR]
+ --psdir=DIR ps documentation [DOCDIR]
+_ACEOF
+
+ cat <<\_ACEOF
+
+Program names:
+ --program-prefix=PREFIX prepend PREFIX to installed program names
+ --program-suffix=SUFFIX append SUFFIX to installed program names
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
+_ACEOF
+fi
+
+if test -n "$ac_init_help"; then
+ case $ac_init_help in
+ short | recursive ) echo "Configuration of gettext-examples 0.19.4:";;
+ esac
+ cat <<\_ACEOF
+
+Optional Features:
+ --disable-option-checking ignore unrecognized --enable/--with options
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --enable-silent-rules less verbose build output (undo: "make V=1")
+ --disable-silent-rules verbose build output (undo: "make V=0")
+ --disable-nls do not use Native Language Support
+
+Report bugs to <bug-gnu-gettext@gnu.org>.
+_ACEOF
+ac_status=$?
+fi
+
+if test "$ac_init_help" = "recursive"; then
+ # If there are subdirs, report their specific --help.
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+ test -d "$ac_dir" ||
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
+ continue
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ cd "$ac_dir" || { ac_status=$?; continue; }
+ # Check for guested configure.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
+ elif test -f "$ac_srcdir/configure"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure" --help=recursive
+ else
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+ fi || ac_status=$?
+ cd "$ac_pwd" || { ac_status=$?; break; }
+ done
+fi
+
+test -n "$ac_init_help" && exit $ac_status
+if $ac_init_version; then
+ cat <<\_ACEOF
+gettext-examples configure 0.19.4
+generated by GNU Autoconf 2.69
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
+ exit
+fi
+
+## ------------------------ ##
+## Autoconf initialization. ##
+## ------------------------ ##
+cat >config.log <<_ACEOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by gettext-examples $as_me 0.19.4, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ $ $0 $@
+
+_ACEOF
+exec 5>>config.log
+{
+cat <<_ASUNAME
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
+
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
+
+_ASUNAME
+
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ $as_echo "PATH: $as_dir"
+ done
+IFS=$as_save_IFS
+
+} >&5
+
+cat >&5 <<_ACEOF
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+_ACEOF
+
+
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Strip out --silent because we don't want to record it for future runs.
+# Also quote any args containing shell meta-characters.
+# Make two passes to allow for proper duplicate-argument suppression.
+ac_configure_args=
+ac_configure_args0=
+ac_configure_args1=
+ac_must_keep_next=false
+for ac_pass in 1 2
+do
+ for ac_arg
+ do
+ case $ac_arg in
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ continue ;;
+ *\'*)
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
+ 2)
+ as_fn_append ac_configure_args1 " '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+ case $ac_arg in
+ *=* | --config-cache | -C | -disable-* | --disable-* \
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+ | -with-* | --with-* | -without-* | --without-* | --x)
+ case "$ac_configure_args0 " in
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+ esac
+ ;;
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+ as_fn_append ac_configure_args " '$ac_arg'"
+ ;;
+ esac
+ done
+done
+{ ac_configure_args0=; unset ac_configure_args0;}
+{ ac_configure_args1=; unset ac_configure_args1;}
+
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log. We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+# WARNING: Use '\'' to represent an apostrophe within the trap.
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
+trap 'exit_status=$?
+ # Save into config.log some information that might help in debugging.
+ {
+ echo
+
+ $as_echo "## ---------------- ##
+## Cache variables. ##
+## ---------------- ##"
+ echo
+ # The following way of writing the cache mishandles newlines in values,
+(
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+ (set) 2>&1 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ sed -n \
+ "s/'\''/'\''\\\\'\'''\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
+ ;; #(
+ *)
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+)
+ echo
+
+ $as_echo "## ----------------- ##
+## Output variables. ##
+## ----------------- ##"
+ echo
+ for ac_var in $ac_subst_vars
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+
+ if test -n "$ac_subst_files"; then
+ $as_echo "## ------------------- ##
+## File substitutions. ##
+## ------------------- ##"
+ echo
+ for ac_var in $ac_subst_files
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+ fi
+
+ if test -s confdefs.h; then
+ $as_echo "## ----------- ##
+## confdefs.h. ##
+## ----------- ##"
+ echo
+ cat confdefs.h
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+ $as_echo "$as_me: caught signal $ac_signal"
+ $as_echo "$as_me: exit $exit_status"
+ } >&5
+ rm -f core *.core core.conftest.* &&
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
+ exit $exit_status
+' 0
+for ac_signal in 1 2 13 15; do
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -f -r conftest* confdefs.h
+
+$as_echo "/* confdefs.h */" > confdefs.h
+
+# Predefined preprocessor variables.
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_NAME "$PACKAGE_NAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_STRING "$PACKAGE_STRING"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_URL "$PACKAGE_URL"
+_ACEOF
+
+
+# Let the site file select an alternate cache file if it wants to.
+# Prefer an explicitly selected file to automatically selected ones.
+ac_site_file1=NONE
+ac_site_file2=NONE
+if test -n "$CONFIG_SITE"; then
+ # We do not want a PATH search for config.site.
+ case $CONFIG_SITE in #((
+ -*) ac_site_file1=./$CONFIG_SITE;;
+ */*) ac_site_file1=$CONFIG_SITE;;
+ *) ac_site_file1=./$CONFIG_SITE;;
+ esac
+elif test "x$prefix" != xNONE; then
+ ac_site_file1=$prefix/share/config.site
+ ac_site_file2=$prefix/etc/config.site
+else
+ ac_site_file1=$ac_default_prefix/share/config.site
+ ac_site_file2=$ac_default_prefix/etc/config.site
+fi
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
+do
+ test "x$ac_site_file" = xNONE && continue
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
+ . "$ac_site_file" \
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "failed to load site script $ac_site_file
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+done
+
+if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special files
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in $ac_precious_vars; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ # differences in whitespace do not lead to failure.
+ ac_old_val_w=`echo x $ac_old_val`
+ ac_new_val_w=`echo x $ac_new_val`
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ ac_cache_corrupted=:
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+ eval $ac_var=\$ac_old_val
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
+ fi;;
+ esac
+ # Pass precious variables to config.status.
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *) ac_arg=$ac_var=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
+ esac
+ fi
+done
+if $ac_cache_corrupted; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
+fi
+## -------------------- ##
+## Main body of script. ##
+## -------------------- ##
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+ac_aux_dir=
+for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
+ if test -f "$ac_dir/install-sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+ elif test -f "$ac_dir/install.sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install.sh -c"
+ break
+ elif test -f "$ac_dir/shtool"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/shtool install -c"
+ break
+ fi
+done
+if test -z "$ac_aux_dir"; then
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
+fi
+
+# These three variables are undocumented and unsupported,
+# and are intended to be withdrawn in a future Autoconf release.
+# They can cause serious problems if a builder's source tree is in a directory
+# whose full name contains unusual characters.
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
+
+
+am__api_version='1.14'
+
+# Find a good install program. We prefer a C program (faster),
+# so one script is as good as another. But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AmigaOS /C/install, which installs bootblocks on floppy discs
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# OS/2's system install, which has a completely different semantic
+# ./install, which can be erroneously created by make from ./install.sh.
+# Reject install programs that cannot install multiple files.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
+if test -z "$INSTALL"; then
+if ${ac_cv_path_install+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ # Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in #((
+ ./ | .// | /[cC]/* | \
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
+ /usr/ucb/* ) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ # Don't use installbsd from OSF since it installs stuff as root
+ # by default.
+ for ac_prog in ginstall scoinst install; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
+ if test $ac_prog = install &&
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # AIX install. It has an incompatible calling convention.
+ :
+ elif test $ac_prog = install &&
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # program-specific install script used by HP pwplus--don't use.
+ :
+ else
+ rm -rf conftest.one conftest.two conftest.dir
+ echo one > conftest.one
+ echo two > conftest.two
+ mkdir conftest.dir
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
+ test -s conftest.one && test -s conftest.two &&
+ test -s conftest.dir/conftest.one &&
+ test -s conftest.dir/conftest.two
+ then
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
+ break 3
+ fi
+ fi
+ fi
+ done
+ done
+ ;;
+esac
+
+ done
+IFS=$as_save_IFS
+
+rm -rf conftest.one conftest.two conftest.dir
+
+fi
+ if test "${ac_cv_path_install+set}" = set; then
+ INSTALL=$ac_cv_path_install
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for INSTALL within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ INSTALL=$ac_install_sh
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
+$as_echo "$INSTALL" >&6; }
+
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
+$as_echo_n "checking whether build environment is sane... " >&6; }
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[\\\"\#\$\&\'\`$am_lf]*)
+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
+esac
+case $srcdir in
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$*" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$*" != "X $srcdir/configure conftest.file" \
+ && test "$*" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
+ alias in your environment" "$LINENO" 5
+ fi
+ if test "$2" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
+ test "$2" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ as_fn_error $? "newly created file is older than distributed files!
+Check your system clock" "$LINENO" 5
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+
+rm -f conftest.file
+
+test "$program_prefix" != NONE &&
+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
+# Use a double $ so make ignores it.
+test "$program_suffix" != NONE &&
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
+# Double any \ or $.
+# By default was `s,x,x', remove it if useless.
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
+
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
+else
+ am_missing_run=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
+fi
+
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+if test "$cross_compiling" != no; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+$as_echo "$STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+$as_echo "$ac_ct_STRIP" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
+if test -z "$MKDIR_P"; then
+ if ${ac_cv_path_mkdir+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in mkdir gmkdir; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
+ 'mkdir (GNU coreutils) '* | \
+ 'mkdir (coreutils) '* | \
+ 'mkdir (fileutils) '4.1*)
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
+ break 3;;
+ esac
+ done
+ done
+ done
+IFS=$as_save_IFS
+
+fi
+
+ test -d ./--version && rmdir ./--version
+ if test "${ac_cv_path_mkdir+set}" = set; then
+ MKDIR_P="$ac_cv_path_mkdir -p"
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for MKDIR_P within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ MKDIR_P="$ac_install_sh -d"
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
+$as_echo "$MKDIR_P" >&6; }
+
+for ac_prog in gawk mawk nawk awk
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AWK+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AWK="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$AWK" && break
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
+set x ${MAKE-make}
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.make <<\_ACEOF
+SHELL = /bin/sh
+all:
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
+_ACEOF
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
+ *@@@%%%=?*=@@@%%%*)
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
+ *)
+ eval ac_cv_prog_make_${ac_make}_set=no;;
+esac
+rm -f conftest.make
+fi
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ SET_MAKE=
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+
+# Check whether --enable-silent-rules was given.
+if test "${enable_silent_rules+set}" = set; then :
+ enableval=$enable_silent_rules;
+fi
+
+case $enable_silent_rules in # (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=1;;
+esac
+am_make=${MAKE-make}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
+if ${am_cv_make_support_nested_variables+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if $as_echo 'TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
+if test $am_cv_make_support_nested_variables = yes; then
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AM_BACKSLASH='\'
+
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ am__isrc=' -I$(srcdir)'
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+
+
+# Define the identity of the package.
+ PACKAGE='gettext-examples'
+ VERSION='0.19.4'
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define VERSION "$VERSION"
+_ACEOF
+
+# Some tools Automake needs.
+
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
+
+
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+
+
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
+
+
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+
+
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+mkdir_p='$(MKDIR_P)'
+
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AMTAR='$${TAR-tar}'
+
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar pax cpio none'
+
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
+
+
+
+
+
+
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes. So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+ cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present. This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake@gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message. This
+can help us improve future automake versions.
+
+END
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+ echo 'Configuration will proceed anyway, since you have set the' >&2
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+ echo >&2
+ else
+ cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+ as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
+ fi
+fi
+
+test "$docdir" != '${datarootdir}/doc/${PACKAGE_TARNAME}' || docdir='${datarootdir}/doc/gettext'
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
+$as_echo_n "checking for a sed that does not truncate output... " >&6; }
+if ${ac_cv_path_SED+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
+ for ac_i in 1 2 3 4 5 6 7; do
+ ac_script="$ac_script$as_nl$ac_script"
+ done
+ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
+ { ac_script=; unset ac_script;}
+ if test -z "$SED"; then
+ ac_path_SED_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in sed gsed; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_SED" || continue
+# Check for GNU ac_path_SED and select it if it is found.
+ # Check for GNU $ac_path_SED
+case `"$ac_path_SED" --version 2>&1` in
+*GNU*)
+ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo '' >> "conftest.nl"
+ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_SED_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_SED="$ac_path_SED"
+ ac_path_SED_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_SED_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_SED"; then
+ as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
+ fi
+else
+ ac_cv_path_SED=$SED
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
+$as_echo "$ac_cv_path_SED" >&6; }
+ SED="$ac_cv_path_SED"
+ rm -f conftest.sed
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
+$as_echo_n "checking whether NLS is requested... " >&6; }
+ # Check whether --enable-nls was given.
+if test "${enable_nls+set}" = set; then :
+ enableval=$enable_nls; USE_NLS=$enableval
+else
+ USE_NLS=yes
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
+$as_echo "$USE_NLS" >&6; }
+
+
+
+
+ GETTEXT_MACRO_VERSION=0.19
+
+
+
+
+# Prepare PATH_SEPARATOR.
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
+ # contains only /bin. Note that ksh looks also at the FPATH variable,
+ # so we have to set that as well for the test.
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
+ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
+ || PATH_SEPARATOR=';'
+ }
+fi
+
+# Find out how to test for executable files. Don't use a zero-byte file,
+# as systems may use methods other than mode bits to determine executability.
+cat >conf$$.file <<_ASEOF
+#! /bin/sh
+exit 0
+_ASEOF
+chmod +x conf$$.file
+if test -x conf$$.file >/dev/null 2>&1; then
+ ac_executable_p="test -x"
+else
+ ac_executable_p="test -f"
+fi
+rm -f conf$$.file
+
+# Extract the first word of "msgfmt", so it can be a program name with args.
+set dummy msgfmt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_MSGFMT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case "$MSGFMT" in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
+ ;;
+ *)
+ ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS="$ac_save_IFS"
+ test -z "$ac_dir" && ac_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
+ echo "$as_me: trying $ac_dir/$ac_word..." >&5
+ if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
+ (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
+ ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
+ break 2
+ fi
+ fi
+ done
+ done
+ IFS="$ac_save_IFS"
+ test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
+ ;;
+esac
+fi
+MSGFMT="$ac_cv_path_MSGFMT"
+if test "$MSGFMT" != ":"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
+$as_echo "$MSGFMT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ # Extract the first word of "gmsgfmt", so it can be a program name with args.
+set dummy gmsgfmt; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_GMSGFMT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $GMSGFMT in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
+ ;;
+esac
+fi
+GMSGFMT=$ac_cv_path_GMSGFMT
+if test -n "$GMSGFMT"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
+$as_echo "$GMSGFMT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+
+ case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
+ *) MSGFMT_015=$MSGFMT ;;
+ esac
+
+ case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
+ *) GMSGFMT_015=$GMSGFMT ;;
+ esac
+
+
+
+# Prepare PATH_SEPARATOR.
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
+ # contains only /bin. Note that ksh looks also at the FPATH variable,
+ # so we have to set that as well for the test.
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
+ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
+ || PATH_SEPARATOR=';'
+ }
+fi
+
+# Find out how to test for executable files. Don't use a zero-byte file,
+# as systems may use methods other than mode bits to determine executability.
+cat >conf$$.file <<_ASEOF
+#! /bin/sh
+exit 0
+_ASEOF
+chmod +x conf$$.file
+if test -x conf$$.file >/dev/null 2>&1; then
+ ac_executable_p="test -x"
+else
+ ac_executable_p="test -f"
+fi
+rm -f conf$$.file
+
+# Extract the first word of "xgettext", so it can be a program name with args.
+set dummy xgettext; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_XGETTEXT+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case "$XGETTEXT" in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
+ ;;
+ *)
+ ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS="$ac_save_IFS"
+ test -z "$ac_dir" && ac_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
+ echo "$as_me: trying $ac_dir/$ac_word..." >&5
+ if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
+ (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
+ ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
+ break 2
+ fi
+ fi
+ done
+ done
+ IFS="$ac_save_IFS"
+ test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
+ ;;
+esac
+fi
+XGETTEXT="$ac_cv_path_XGETTEXT"
+if test "$XGETTEXT" != ":"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
+$as_echo "$XGETTEXT" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ rm -f messages.po
+
+ case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
+ *) XGETTEXT_015=$XGETTEXT ;;
+ esac
+
+
+
+# Prepare PATH_SEPARATOR.
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
+ # contains only /bin. Note that ksh looks also at the FPATH variable,
+ # so we have to set that as well for the test.
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
+ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
+ || PATH_SEPARATOR=';'
+ }
+fi
+
+# Find out how to test for executable files. Don't use a zero-byte file,
+# as systems may use methods other than mode bits to determine executability.
+cat >conf$$.file <<_ASEOF
+#! /bin/sh
+exit 0
+_ASEOF
+chmod +x conf$$.file
+if test -x conf$$.file >/dev/null 2>&1; then
+ ac_executable_p="test -x"
+else
+ ac_executable_p="test -f"
+fi
+rm -f conf$$.file
+
+# Extract the first word of "msgmerge", so it can be a program name with args.
+set dummy msgmerge; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_MSGMERGE+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case "$MSGMERGE" in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
+ ;;
+ *)
+ ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS="$ac_save_IFS"
+ test -z "$ac_dir" && ac_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
+ echo "$as_me: trying $ac_dir/$ac_word..." >&5
+ if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
+ ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
+ break 2
+ fi
+ fi
+ done
+ done
+ IFS="$ac_save_IFS"
+ test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
+ ;;
+esac
+fi
+MSGMERGE="$ac_cv_path_MSGMERGE"
+if test "$MSGMERGE" != ":"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
+$as_echo "$MSGMERGE" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$localedir" || localedir='${datadir}/locale'
+
+
+ test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
+
+
+ ac_config_commands="$ac_config_commands po-directories"
+
+
+
+aclocaldir='${datadir}/aclocal'
+
+
+ac_config_files="$ac_config_files Makefile"
+
+ac_config_files="$ac_config_files installpaths"
+
+ac_config_files="$ac_config_files po/Makefile"
+
+
+cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes: double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ if test "x$cache_file" != "x/dev/null"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+ if test ! -f "$cache_file" || test -h "$cache_file"; then
+ cat confcache >"$cache_file"
+ else
+ case $cache_file in #(
+ */* | ?:*)
+ mv -f confcache "$cache_file"$$ &&
+ mv -f "$cache_file"$$ "$cache_file" ;; #(
+ *)
+ mv -f confcache "$cache_file" ;;
+ esac
+ fi
+ fi
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+
+# Transform confdefs.h into DEFS.
+# Protect against shell expansion while executing Makefile rules.
+# Protect against Makefile macro expansion.
+#
+# If the first sed substitution is executed (which looks for macros that
+# take arguments), then branch to the quote section. Otherwise,
+# look for a macro that doesn't take arguments.
+ac_script='
+:mline
+/\\$/{
+ N
+ s,\\\n,,
+ b mline
+}
+t clear
+:clear
+s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
+t quote
+s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
+t quote
+b any
+:quote
+s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
+s/\[/\\&/g
+s/\]/\\&/g
+s/\$/$$/g
+H
+:any
+${
+ g
+ s/^\n//
+ s/\n/ /g
+ p
+}
+'
+DEFS=`sed -n "$ac_script" confdefs.h`
+
+
+ac_libobjs=
+ac_ltlibobjs=
+U=
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
+ # 1. Remove the extension, and $U if already installed.
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
+ # will be set to the directory where LIBOBJS objects are built.
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
+done
+LIBOBJS=$ac_libobjs
+
+LTLIBOBJS=$ac_ltlibobjs
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
+$as_echo_n "checking that generated files are newer than configure... " >&6; }
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
+$as_echo "done" >&6; }
+
+
+: "${CONFIG_STATUS=./config.status}"
+ac_write_fail=0
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
+as_write_fail=0
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
+
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+exec 6>&1
+## ----------------------------------- ##
+## Main body of $CONFIG_STATUS script. ##
+## ----------------------------------- ##
+_ASEOF
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# Save the log message, to keep $0 and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling.
+ac_log="
+This file was extended by gettext-examples $as_me 0.19.4, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $0 $@
+
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+"
+
+_ACEOF
+
+case $ac_config_files in *"
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
+esac
+
+
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+# Files that config.status was made for.
+config_files="$ac_config_files"
+config_commands="$ac_config_commands"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ac_cs_usage="\
+\`$as_me' instantiates files and other configuration actions
+from templates according to the current configuration. Unless the files
+and actions are specified as TAGs, all are instantiated by default.
+
+Usage: $0 [OPTION]... [TAG]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number and configuration settings, then exit
+ --config print configuration, then exit
+ -q, --quiet, --silent
+ do not print progress messages
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+ --file=FILE[:TEMPLATE]
+ instantiate the configuration file FILE
+
+Configuration files:
+$config_files
+
+Configuration commands:
+$config_commands
+
+Report bugs to <bug-gnu-gettext@gnu.org>."
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
+ac_cs_version="\\
+gettext-examples config.status 0.19.4
+configured by $0, generated by GNU Autoconf 2.69,
+ with options \\"\$ac_cs_config\\"
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+
+ac_pwd='$ac_pwd'
+srcdir='$srcdir'
+INSTALL='$INSTALL'
+MKDIR_P='$MKDIR_P'
+AWK='$AWK'
+test -n "\$AWK" || AWK=awk
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# The default lists apply if the user does not specify any file.
+ac_need_defaults=:
+while test $# != 0
+do
+ case $1 in
+ --*=?*)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
+ ac_shift=:
+ ;;
+ --*=)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=
+ ac_shift=:
+ ;;
+ *)
+ ac_option=$1
+ ac_optarg=$2
+ ac_shift=shift
+ ;;
+ esac
+
+ case $ac_option in
+ # Handling of the options.
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ ac_cs_recheck=: ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+ $as_echo "$ac_cs_version"; exit ;;
+ --config | --confi | --conf | --con | --co | --c )
+ $as_echo "$ac_cs_config"; exit ;;
+ --debug | --debu | --deb | --de | --d | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ '') as_fn_error $? "missing file argument" ;;
+ esac
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --he | --h | --help | --hel | -h )
+ $as_echo "$ac_cs_usage"; exit ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
+ ac_cs_silent=: ;;
+
+ # This is an error.
+ -*) as_fn_error $? "unrecognized option: \`$1'
+Try \`$0 --help' for more information." ;;
+
+ *) as_fn_append ac_config_targets " $1"
+ ac_need_defaults=false ;;
+
+ esac
+ shift
+done
+
+ac_configure_extra_args=
+
+if $ac_cs_silent; then
+ exec 6>/dev/null
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+if \$ac_cs_recheck; then
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+ shift
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
+ CONFIG_SHELL='$SHELL'
+ export CONFIG_SHELL
+ exec "\$@"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+exec 5>>config.log
+{
+ echo
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
+## Running $as_me. ##
+_ASBOX
+ $as_echo "$ac_log"
+} >&5
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+#
+# INIT-COMMANDS
+#
+# Capture the value of obsolete ALL_LINGUAS because we need it to compute
+ # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
+ # from automake < 1.5.
+ eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
+ # Capture the value of LINGUAS because we need it to compute CATALOGS.
+ LINGUAS="${LINGUAS-%UNSET%}"
+
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+
+# Handling of arguments.
+for ac_config_target in $ac_config_targets
+do
+ case $ac_config_target in
+ "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "installpaths") CONFIG_FILES="$CONFIG_FILES installpaths" ;;
+ "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
+
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+ esac
+done
+
+
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used. Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
+fi
+
+# Have a temporary directory for convenience. Make it in the build tree
+# simply because there is no reason against having it here, and in addition,
+# creating and moving files from /tmp can sometimes cause problems.
+# Hook for its removal unless debugging.
+# Note that there is a small window in which the directory will not be cleaned:
+# after its creation but before its name has been assigned to `$tmp'.
+$debug ||
+{
+ tmp= ac_tmp=
+ trap 'exit_status=$?
+ : "${ac_tmp:=$tmp}"
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
+' 0
+ trap 'as_fn_exit 1' 1 2 13 15
+}
+# Create a (secure) tmp directory for tmp files.
+
+{
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
+ test -d "$tmp"
+} ||
+{
+ tmp=./conf$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+ac_tmp=$tmp
+
+# Set up the scripts for CONFIG_FILES section.
+# No need to generate them if there are no CONFIG_FILES.
+# This happens for instance with `./config.status config.h'.
+if test -n "$CONFIG_FILES"; then
+
+
+ac_cr=`echo X | tr X '\015'`
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
+# But we know of no other shell where ac_cr would be empty at this
+# point, so we can use a bashism as a fallback.
+if test "x$ac_cr" = x; then
+ eval ac_cr=\$\'\\r\'
+fi
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
+ ac_cs_awk_cr='\\r'
+else
+ ac_cs_awk_cr=$ac_cr
+fi
+
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
+_ACEOF
+
+
+{
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
+ echo "_ACEOF"
+} >conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+ . ./conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
+ if test $ac_delim_n = $ac_delim_num; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+rm -f conf$$subs.sh
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
+_ACEOF
+sed -n '
+h
+s/^/S["/; s/!.*/"]=/
+p
+g
+s/^[^!]*!//
+:repl
+t repl
+s/'"$ac_delim"'$//
+t delim
+:nl
+h
+s/\(.\{148\}\)..*/\1/
+t more1
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
+p
+n
+b repl
+:more1
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t nl
+:delim
+h
+s/\(.\{148\}\)..*/\1/
+t more2
+s/["\\]/\\&/g; s/^/"/; s/$/"/
+p
+b
+:more2
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t delim
+' <conf$$subs.awk | sed '
+/^[^""]/{
+ N
+ s/\n//
+}
+' >>$CONFIG_STATUS || ac_write_fail=1
+rm -f conf$$subs.awk
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+_ACAWK
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
+ for (key in S) S_is_set[key] = 1
+ FS = ""
+
+}
+{
+ line = $ 0
+ nfields = split(line, field, "@")
+ substed = 0
+ len = length(field[1])
+ for (i = 2; i < nfields; i++) {
+ key = field[i]
+ keylen = length(key)
+ if (S_is_set[key]) {
+ value = S[key]
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
+ len += length(value) + length(field[++i])
+ substed = 1
+ } else
+ len += 1 + keylen
+ }
+
+ print line
+}
+
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
+else
+ cat
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
+_ACEOF
+
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
+# trailing colons and then remove the whole line if VPATH becomes empty
+# (actually we leave an empty line to preserve line numbers).
+if test "x$srcdir" = x.; then
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
+h
+s///
+s/^/:/
+s/[ ]*$/:/
+s/:\$(srcdir):/:/g
+s/:\${srcdir}:/:/g
+s/:@srcdir@:/:/g
+s/^:*//
+s/:*$//
+x
+s/\(=[ ]*\).*/\1/
+G
+s/\n//
+s/^[^=]*=[ ]*$//
+}'
+fi
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+fi # test -n "$CONFIG_FILES"
+
+
+eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
+shift
+for ac_tag
+do
+ case $ac_tag in
+ :[FHLC]) ac_mode=$ac_tag; continue;;
+ esac
+ case $ac_mode$ac_tag in
+ :[FHL]*:*);;
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
+ :[FH]-) ac_tag=-:-;;
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
+ esac
+ ac_save_IFS=$IFS
+ IFS=:
+ set x $ac_tag
+ IFS=$ac_save_IFS
+ shift
+ ac_file=$1
+ shift
+
+ case $ac_mode in
+ :L) ac_source=$1;;
+ :[FH])
+ ac_file_inputs=
+ for ac_f
+ do
+ case $ac_f in
+ -) ac_f="$ac_tmp/stdin";;
+ *) # Look for the file first in the build tree, then in the source tree
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
+ # because $ac_f cannot contain `:'.
+ test -f "$ac_f" ||
+ case $ac_f in
+ [\\/$]*) false;;
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
+ esac ||
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+ esac
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
+ as_fn_append ac_file_inputs " '$ac_f'"
+ done
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ configure_input='Generated from '`
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
+ `' by configure.'
+ if test x"$ac_file" != x-; then
+ configure_input="$ac_file. $configure_input"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
+$as_echo "$as_me: creating $ac_file" >&6;}
+ fi
+ # Neutralize special characters interpreted by sed in replacement strings.
+ case $configure_input in #(
+ *\&* | *\|* | *\\* )
+ ac_sed_conf_input=`$as_echo "$configure_input" |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
+ *) ac_sed_conf_input=$configure_input;;
+ esac
+
+ case $ac_tag in
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
+ esac
+ ;;
+ esac
+
+ ac_dir=`$as_dirname -- "$ac_file" ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ case $ac_mode in
+ :F)
+ #
+ # CONFIG_FILE
+ #
+
+ case $INSTALL in
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
+ esac
+ ac_MKDIR_P=$MKDIR_P
+ case $MKDIR_P in
+ [\\/$]* | ?:[\\/]* ) ;;
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
+ esac
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# If the template does not know about datarootdir, expand it.
+# FIXME: This hack should be removed a few years after 2.60.
+ac_datarootdir_hack=; ac_datarootdir_seen=
+ac_sed_dataroot='
+/datarootdir/ {
+ p
+ q
+}
+/@datadir@/p
+/@docdir@/p
+/@infodir@/p
+/@localedir@/p
+/@mandir@/p'
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
+*datarootdir*) ac_datarootdir_seen=yes;;
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ ac_datarootdir_hack='
+ s&@datadir@&$datadir&g
+ s&@docdir@&$docdir&g
+ s&@infodir@&$infodir&g
+ s&@localedir@&$localedir&g
+ s&@mandir@&$mandir&g
+ s&\\\${datarootdir}&$datarootdir&g' ;;
+esac
+_ACEOF
+
+# Neutralize VPATH when `$srcdir' = `.'.
+# Shell code in configure.ac might set extrasub.
+# FIXME: do we really want to maintain this feature?
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_sed_extra="$ac_vpsub
+$extrasub
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s|@configure_input@|$ac_sed_conf_input|;t t
+s&@top_builddir@&$ac_top_builddir_sub&;t t
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
+s&@srcdir@&$ac_srcdir&;t t
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
+s&@top_srcdir@&$ac_top_srcdir&;t t
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
+s&@builddir@&$ac_builddir&;t t
+s&@abs_builddir@&$ac_abs_builddir&;t t
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
+s&@INSTALL@&$ac_INSTALL&;t t
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
+$ac_datarootdir_hack
+"
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
+ "$ac_tmp/out"`; test -z "$ac_out"; } &&
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&5
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&2;}
+
+ rm -f "$ac_tmp/stdin"
+ case $ac_file in
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
+ esac \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ ;;
+
+
+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
+$as_echo "$as_me: executing $ac_file commands" >&6;}
+ ;;
+ esac
+
+
+ case $ac_file$ac_mode in
+ "po-directories":C)
+ for ac_file in $CONFIG_FILES; do
+ # Support "outfile[:infile[:infile...]]"
+ case "$ac_file" in
+ *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
+ esac
+ # PO directories have a Makefile.in generated from Makefile.in.in.
+ case "$ac_file" in */Makefile.in)
+ # Adjust a relative srcdir.
+ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
+ ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
+ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
+ # In autoconf-2.13 it is called $ac_given_srcdir.
+ # In autoconf-2.50 it is called $srcdir.
+ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
+ case "$ac_given_srcdir" in
+ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
+ /*) top_srcdir="$ac_given_srcdir" ;;
+ *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
+ esac
+ # Treat a directory as a PO directory if and only if it has a
+ # POTFILES.in file. This allows packages to have multiple PO
+ # directories under different names or in different locations.
+ if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
+ rm -f "$ac_dir/POTFILES"
+ test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
+ gt_tab=`printf '\t'`
+ cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
+ POMAKEFILEDEPS="POTFILES.in"
+ # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
+ # on $ac_dir but don't depend on user-specified configuration
+ # parameters.
+ if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
+ # The LINGUAS file contains the set of available languages.
+ if test -n "$OBSOLETE_ALL_LINGUAS"; then
+ test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
+ fi
+ ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
+ # Hide the ALL_LINGUAS assignment from automake < 1.5.
+ eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
+ POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
+ else
+ # The set of available languages was given in configure.in.
+ # Hide the ALL_LINGUAS assignment from automake < 1.5.
+ eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
+ fi
+ # Compute POFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
+ # Compute UPDATEPOFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
+ # Compute DUMMYPOFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
+ # Compute GMOFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
+ case "$ac_given_srcdir" in
+ .) srcdirpre= ;;
+ *) srcdirpre='$(srcdir)/' ;;
+ esac
+ POFILES=
+ UPDATEPOFILES=
+ DUMMYPOFILES=
+ GMOFILES=
+ for lang in $ALL_LINGUAS; do
+ POFILES="$POFILES $srcdirpre$lang.po"
+ UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
+ DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
+ GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
+ done
+ # CATALOGS depends on both $ac_dir and the user's LINGUAS
+ # environment variable.
+ INST_LINGUAS=
+ if test -n "$ALL_LINGUAS"; then
+ for presentlang in $ALL_LINGUAS; do
+ useit=no
+ if test "%UNSET%" != "$LINGUAS"; then
+ desiredlanguages="$LINGUAS"
+ else
+ desiredlanguages="$ALL_LINGUAS"
+ fi
+ for desiredlang in $desiredlanguages; do
+ # Use the presentlang catalog if desiredlang is
+ # a. equal to presentlang, or
+ # b. a variant of presentlang (because in this case,
+ # presentlang can be used as a fallback for messages
+ # which are not translated in the desiredlang catalog).
+ case "$desiredlang" in
+ "$presentlang"*) useit=yes;;
+ esac
+ done
+ if test $useit = yes; then
+ INST_LINGUAS="$INST_LINGUAS $presentlang"
+ fi
+ done
+ fi
+ CATALOGS=
+ if test -n "$INST_LINGUAS"; then
+ for lang in $INST_LINGUAS; do
+ CATALOGS="$CATALOGS $lang.gmo"
+ done
+ fi
+ test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
+ sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
+ for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
+ if test -f "$f"; then
+ case "$f" in
+ *.orig | *.bak | *~) ;;
+ *) cat "$f" >> "$ac_dir/Makefile" ;;
+ esac
+ fi
+ done
+ fi
+ ;;
+ esac
+ done ;;
+ "Makefile":F)
+ sed_script='/mkdir "*\$(distdir)"*$/{a\
+\ $(MAKE) distdir1
+}'
+ sed -e "$sed_script" < $ac_file > $ac_file.tmp
+ mv $ac_file.tmp $ac_file
+ ;;
+ "po/Makefile":F)
+ # When this code is run, in config.status, two variables have already been
+ # set:
+ # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
+ # - LINGUAS is the value of the environment variable LINGUAS at configure
+ # time.
+
+ # Adjust a relative srcdir.
+ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
+ ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
+ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
+ # In autoconf-2.13 it is called $ac_given_srcdir.
+ # In autoconf-2.50 it is called $srcdir.
+ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
+ case "$ac_given_srcdir" in
+ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
+ /*) top_srcdir="$ac_given_srcdir" ;;
+ *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
+ esac
+
+ # Find a way to echo strings without interpreting backslash.
+ if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
+ gt_echo='echo'
+ else
+ if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
+ gt_echo='printf %s\n'
+ else
+ echo_func () {
+ cat <<EOT
+
+EOT
+ }
+ gt_echo='echo_func'
+ fi
+ fi
+
+ # A sed script that extracts the value of VARIABLE from a Makefile.
+ tab=`printf '\t'`
+ sed_x_variable='
+# Test if the hold space is empty.
+x
+s/P/P/
+x
+ta
+# Yes it was empty. Look if we have the expected variable definition.
+/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=/{
+ # Seen the first line of the variable definition.
+ s/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=//
+ ba
+}
+bd
+:a
+# Here we are processing a line from the variable definition.
+# Remove comment, more precisely replace it with a space.
+s/#.*$/ /
+# See if the line ends in a backslash.
+tb
+:b
+s/\\$//
+# Print the line, without the trailing backslash.
+p
+tc
+# There was no trailing backslash. The end of the variable definition is
+# reached. Clear the hold space.
+s/^.*$//
+x
+bd
+:c
+# A trailing backslash means that the variable definition continues in the
+# next line. Put a nonempty string into the hold space to indicate this.
+s/^.*$/P/
+x
+:d
+'
+
+ # Set POTFILES to the value of the Makefile variable POTFILES.
+ sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
+ POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
+ # Compute POTFILES_DEPS as
+ # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+ POTFILES_DEPS=
+ for file in $POTFILES; do
+ POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
+ done
+ POMAKEFILEDEPS=""
+
+ if test -n "$OBSOLETE_ALL_LINGUAS"; then
+ test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
+ fi
+ if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
+ # The LINGUAS file contains the set of available languages.
+ ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
+ POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
+ else
+ # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
+ sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
+ ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
+ fi
+ # Hide the ALL_LINGUAS assignment from automake < 1.5.
+ eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
+ # Compute POFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
+ # Compute UPDATEPOFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
+ # Compute DUMMYPOFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
+ # Compute GMOFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
+ # Compute PROPERTIESFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
+ # Compute CLASSFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
+ # Compute QMFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
+ # Compute MSGFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
+ # Compute RESOURCESDLLFILES
+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
+ case "$ac_given_srcdir" in
+ .) srcdirpre= ;;
+ *) srcdirpre='$(srcdir)/' ;;
+ esac
+ POFILES=
+ UPDATEPOFILES=
+ DUMMYPOFILES=
+ GMOFILES=
+ PROPERTIESFILES=
+ CLASSFILES=
+ QMFILES=
+ MSGFILES=
+ RESOURCESDLLFILES=
+ for lang in $ALL_LINGUAS; do
+ POFILES="$POFILES $srcdirpre$lang.po"
+ UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
+ DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
+ GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
+ PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
+ CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
+ QMFILES="$QMFILES $srcdirpre$lang.qm"
+ frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
+ MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
+ frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
+ RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
+ done
+ # CATALOGS depends on both $ac_dir and the user's LINGUAS
+ # environment variable.
+ INST_LINGUAS=
+ if test -n "$ALL_LINGUAS"; then
+ for presentlang in $ALL_LINGUAS; do
+ useit=no
+ if test "%UNSET%" != "$LINGUAS"; then
+ desiredlanguages="$LINGUAS"
+ else
+ desiredlanguages="$ALL_LINGUAS"
+ fi
+ for desiredlang in $desiredlanguages; do
+ # Use the presentlang catalog if desiredlang is
+ # a. equal to presentlang, or
+ # b. a variant of presentlang (because in this case,
+ # presentlang can be used as a fallback for messages
+ # which are not translated in the desiredlang catalog).
+ case "$desiredlang" in
+ "$presentlang"*) useit=yes;;
+ esac
+ done
+ if test $useit = yes; then
+ INST_LINGUAS="$INST_LINGUAS $presentlang"
+ fi
+ done
+ fi
+ CATALOGS=
+ JAVACATALOGS=
+ QTCATALOGS=
+ TCLCATALOGS=
+ CSHARPCATALOGS=
+ if test -n "$INST_LINGUAS"; then
+ for lang in $INST_LINGUAS; do
+ CATALOGS="$CATALOGS $lang.gmo"
+ JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
+ QTCATALOGS="$QTCATALOGS $lang.qm"
+ frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
+ TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
+ frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
+ CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
+ done
+ fi
+
+ sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
+ tab=`printf '\t'`
+ if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
+ # Add dependencies that cannot be formulated as a simple suffix rule.
+ for lang in $ALL_LINGUAS; do
+ frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
+ cat >> "$ac_file.tmp" <<EOF
+$frobbedlang.msg: $lang.po
+${tab}@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
+${tab}\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
+EOF
+ done
+ fi
+ if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
+ # Add dependencies that cannot be formulated as a simple suffix rule.
+ for lang in $ALL_LINGUAS; do
+ frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
+ cat >> "$ac_file.tmp" <<EOF
+$frobbedlang/\$(DOMAIN).resources.dll: $lang.po
+${tab}@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
+${tab}\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
+EOF
+ done
+ fi
+ if test -n "$POMAKEFILEDEPS"; then
+ cat >> "$ac_file.tmp" <<EOF
+Makefile: $POMAKEFILEDEPS
+EOF
+ fi
+ mv "$ac_file.tmp" "$ac_file"
+ ;;
+
+ esac
+done # for ac_tag
+
+
+as_fn_exit 0
+_ACEOF
+ac_clean_files=$ac_clean_files_save
+
+test $ac_write_fail = 0 ||
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
+
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded. So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status. When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+ ac_cs_success=:
+ ac_config_status_args=
+ test "$silent" = yes &&
+ ac_config_status_args="$ac_config_status_args --quiet"
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || as_fn_exit 1
+fi
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+fi
+
diff --git a/gettext-tools/examples/configure.ac b/gettext-tools/examples/configure.ac
new file mode 100644
index 0000000..ff3eaf1
--- /dev/null
+++ b/gettext-tools/examples/configure.ac
@@ -0,0 +1,40 @@
+dnl Configuration for the gettext-tools/examples directory of GNU gettext
+dnl Copyright (C) 2006, 2009 Free Software Foundation, Inc.
+dnl
+dnl This program is free software: you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation; either version 3 of the License, or
+dnl (at your option) any later version.
+dnl
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+dnl GNU General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+dnl Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.57])
+AC_INIT([gettext-examples],
+ m4_esyscmd([../../build-aux/git-version-gen ../../.tarball-version]),
+ [bug-gnu-gettext@gnu.org])
+AC_CONFIG_SRCDIR([installpaths.in])
+AC_CONFIG_AUX_DIR([../../build-aux])
+AM_INIT_AUTOMAKE([silent-rules])
+
+dnl Installation directories.
+test "$docdir" != '${datarootdir}/doc/${PACKAGE_TARNAME}' || docdir='${datarootdir}/doc/gettext'
+
+AM_PO_SUBDIRS
+
+aclocaldir='${datadir}/aclocal'
+AC_SUBST([aclocaldir])
+
+AC_CONFIG_FILES([Makefile],
+ [FIX_MAKEFILE_TOPDIR_DISTRIB])
+AC_CONFIG_FILES([installpaths])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-c++-gnome/INSTALL b/gettext-tools/examples/hello-c++-gnome/INSTALL
new file mode 100644
index 0000000..45f18a1
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/INSTALL
@@ -0,0 +1,19 @@
+This example relies on:
+ - the GNOME libraries (libgnomeui, libgnome, libgnomesupport, libart_lgpl)
+ and their dependencies: imlib (libgdk_imlib), audiofile (libaudiofile),
+ esound (libesd), zlib (libz).
+ - the GTK libraries (libgtk, libgdk)
+ - the glib libraries (libglib, libgmodule)
+ - the X11 libraries
+ - the GTK / C++ bindings (libgtkmm, libgdkmm)
+ - the C++ signal/slot library (libsigc++)
+ - the C++ runtime libraries (libstdc++)
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-c++-gnome/Makefile.am b/gettext-tools/examples/hello-c++-gnome/Makefile.am
new file mode 100644
index 0000000..7eb62b4
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/Makefile.am
@@ -0,0 +1,29 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign no-dependencies
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_PROGRAMS = hello
+
+# The source files of the 'hello' program.
+hello_SOURCES = hello.cc
+
+# Define a C macro LOCALEDIR indicating where catalogs will be installed.
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
+
+# Make sure the gnome.h include file is found.
+AM_CPPFLAGS = $(GTKMM_CFLAGS) $(GNOME_INCLUDEDIR)
+
+# Link time dependencies.
+LDADD = $(GTKMM_LIBS) $(GNOME_LIBDIR) $(GNOMEUI_LIBS) @LIBINTL@
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-c++-gnome/autoclean.sh b/gettext-tools/examples/hello-c++-gnome/autoclean.sh
new file mode 100755
index 0000000..2968f90
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/autoclean.sh
@@ -0,0 +1,59 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by autopoint.
+rm -f ABOUT-NLS
+rm -f config.rpath
+rm -f m4/codeset.m4
+rm -f m4/gettext.m4
+rm -f m4/glibc2.m4
+rm -f m4/glibc21.m4
+rm -f m4/iconv.m4
+rm -f m4/intdiv0.m4
+rm -f m4/intl.m4
+rm -f m4/intldir.m4
+rm -f m4/intlmacosx.m4
+rm -f m4/intmax.m4
+rm -f m4/inttypes-pri.m4
+rm -f m4/inttypes_h.m4
+rm -f m4/lcmessage.m4
+rm -f m4/lib-ld.m4
+rm -f m4/lib-link.m4
+rm -f m4/lib-prefix.m4
+rm -f m4/lock.m4
+rm -f m4/longlong.m4
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/printf-posix.m4
+rm -f m4/progtest.m4
+rm -f m4/size_max.m4
+rm -f m4/stdint_h.m4
+rm -f m4/uintmax_t.m4
+rm -f m4/visibility.m4
+rm -f m4/wchar_t.m4
+rm -f m4/wint_t.m4
+rm -f m4/xsize.m4
+rm -f po/Makefile.in.in
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f config.guess
+rm -f config.sub
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-c++-gnome/autogen.sh b/gettext-tools/examples/hello-c++-gnome/autogen.sh
new file mode 100755
index 0000000..7fc2283
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/autogen.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+autopoint -f # was: gettextize -f -c
+rm po/Makevars.template
+rm po/Rules-quot
+rm po/boldquot.sed
+rm po/en@boldquot.header
+rm po/en@quot.header
+rm po/insert-header.sin
+rm po/quot.sed
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-c++-gnome/configure.ac b/gettext-tools/examples/hello-c++-gnome/configure.ac
new file mode 100644
index 0000000..3da4221
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/configure.ac
@@ -0,0 +1,25 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.cc)
+AM_INIT_AUTOMAKE(hello-c++-gnome, 0)
+
+AC_PROG_CXX
+
+GNOME_INIT
+GTKMM_CFLAGS=`gtkmm-config --cflags`
+AC_SUBST([GTKMM_CFLAGS])
+GTKMM_LIBS=`gtkmm-config --libs`
+AC_SUBST([GTKMM_LIBS])
+
+AC_CHECK_HEADERS([unistd.h])
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION(0.15)
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile.in])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-c++-gnome/hello.cc b/gettext-tools/examples/hello-c++-gnome/hello.cc
new file mode 100644
index 0000000..6056083
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/hello.cc
@@ -0,0 +1,87 @@
+/* Example for use of GNU gettext.
+ This file is in the public domain.
+
+ Source code of the C++ program. */
+
+
+/* Get GNOME declarations. */
+#include <gnome.h>
+#include <gtk--.h>
+
+/* Get getpid() declaration. */
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
+static Gtk::Main *application;
+
+static gint
+quit_callback (GdkEventAny*)
+{
+ application->quit ();
+}
+
+int
+main (int argc, char *argv[])
+{
+ Gtk::Window *window;
+ Gtk::VBox *panel;
+ Gtk::Label *label1;
+ Gtk::Alignment *label1aligned;
+ Gtk::Label *label2;
+ Gtk::Alignment *label2aligned;
+ Gtk::Button *button;
+ Gtk::HButtonBox *buttonbar;
+
+ /* Initializations. */
+
+ setlocale (LC_ALL, "");
+ application = new Gtk::Main (argc, argv);
+ textdomain ("hello-c++-gnome");
+ bindtextdomain ("hello-c++-gnome", LOCALEDIR);
+
+ /* Create the GUI elements. */
+
+ window = new Gtk::Window (GTK_WINDOW_TOPLEVEL);
+ window->set_title ("Hello example");
+ window->realize ();
+ window->delete_event.connect (SigC::slot (quit_callback));
+
+ label1 = new Gtk::Label (_("Hello, world!"));
+
+ label1aligned = new Gtk::Alignment (0.0, 0.5, 0, 0);
+ label1aligned->add (*label1);
+
+ label2 = new Gtk::Label (g_strdup_printf (_("This program is running as process number %d."), getpid ()));
+
+ label2aligned = new Gtk::Alignment (0.0, 0.5, 0, 0);
+ label2aligned->add (*label2);
+
+ button = new Gtk::Button ("OK");
+ button->clicked.connect (Gtk::Main::quit.slot()); //slot (quit_callback));
+
+ buttonbar = new Gtk::HButtonBox (GTK_BUTTONBOX_END);
+ buttonbar->pack_start (*button);
+
+ panel = new Gtk::VBox (false, GNOME_PAD_SMALL);
+ panel->pack_start (*label1aligned);
+ panel->pack_start (*label2aligned);
+ panel->pack_start (*buttonbar);
+
+ window->add (*panel);
+
+ /* Make the GUI elements visible. */
+
+ label1->show ();
+ label1aligned->show ();
+ label2->show ();
+ label2aligned->show ();
+ button->show ();
+ buttonbar->show ();
+ panel->show ();
+ window->show ();
+
+ /* Start the event loop. */
+
+ application->run ();
+}
diff --git a/gettext-tools/examples/hello-c++-gnome/m4/Makefile.am b/gettext-tools/examples/hello-c++-gnome/m4/Makefile.am
new file mode 100644
index 0000000..9554c61
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/m4/Makefile.am
@@ -0,0 +1,7 @@
+EXTRA_DIST = \
+ codeset.m4 gettext.m4 glibc2.m4 glibc21.m4 iconv.m4 intdiv0.m4 \
+ inttypes_h.m4 inttypes-pri.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 \
+ lib-prefix.m4 lock.m4 nls.m4 po.m4 progtest.m4 stdint_h.m4 \
+ uintmax_t.m4 visibility.m4 \
+ gnome.m4 gnome-gnorba-check.m4 gnome-orbit-check.m4 \
+ gtk.m4 gtk--.m4
diff --git a/gettext-tools/examples/hello-c++-gnome/m4/gnome-gnorba-check.m4 b/gettext-tools/examples/hello-c++-gnome/m4/gnome-gnorba-check.m4
new file mode 100644
index 0000000..dbac0a6
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/m4/gnome-gnorba-check.m4
@@ -0,0 +1,35 @@
+dnl
+dnl GNOME_GNORBA_HOOK (script-if-gnorba-found, failflag)
+dnl
+dnl if failflag is "failure" it aborts if gnorba is not found.
+dnl
+
+AC_DEFUN([GNOME_GNORBA_HOOK],[
+ GNOME_ORBIT_HOOK([],$2)
+ AC_CACHE_CHECK([for gnorba libraries],gnome_cv_gnorba_found,[
+ gnome_cv_gnorba_found=no
+ if test x$gnome_cv_orbit_found = xyes; then
+ GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
+ GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
+ if test -n "$GNORBA_LIBS"; then
+ gnome_cv_gnorba_found=yes
+ fi
+ fi
+ ])
+ AM_CONDITIONAL(HAVE_GNORBA, test x$gnome_cv_gnorba_found = xyes)
+ if test x$gnome_cv_orbit_found = xyes; then
+ $1
+ GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
+ GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
+ AC_SUBST(GNORBA_CFLAGS)
+ AC_SUBST(GNORBA_LIBS)
+ else
+ if test x$2 = xfailure; then
+ AC_MSG_ERROR(gnorba library not installed or installation problem)
+ fi
+ fi
+])
+
+AC_DEFUN([GNOME_GNORBA_CHECK], [
+ GNOME_GNORBA_HOOK([],failure)
+])
diff --git a/gettext-tools/examples/hello-c++-gnome/m4/gnome-orbit-check.m4 b/gettext-tools/examples/hello-c++-gnome/m4/gnome-orbit-check.m4
new file mode 100644
index 0000000..54bf33a
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/m4/gnome-orbit-check.m4
@@ -0,0 +1,33 @@
+dnl
+dnl GNOME_ORBIT_HOOK (script-if-orbit-found, failflag)
+dnl
+dnl if failflag is "failure" it aborts if orbit is not found.
+dnl
+
+AC_DEFUN([GNOME_ORBIT_HOOK],[
+ AC_PATH_PROG(ORBIT_CONFIG,orbit-config,no)
+ AC_PATH_PROG(ORBIT_IDL,orbit-idl,no)
+ AC_CACHE_CHECK([for working ORBit environment],gnome_cv_orbit_found,[
+ if test x$ORBIT_CONFIG = xno -o x$ORBIT_IDL = xno; then
+ gnome_cv_orbit_found=no
+ else
+ gnome_cv_orbit_found=yes
+ fi
+ ])
+ AM_CONDITIONAL(HAVE_ORBIT, test x$gnome_cv_orbit_found = xyes)
+ if test x$gnome_cv_orbit_found = xyes; then
+ $1
+ ORBIT_CFLAGS=`orbit-config --cflags client server`
+ ORBIT_LIBS=`orbit-config --use-service=name --libs client server`
+ AC_SUBST(ORBIT_CFLAGS)
+ AC_SUBST(ORBIT_LIBS)
+ else
+ if test x$2 = xfailure; then
+ AC_MSG_ERROR(ORBit not installed or installation problem)
+ fi
+ fi
+])
+
+AC_DEFUN([GNOME_ORBIT_CHECK], [
+ GNOME_ORBIT_HOOK([],failure)
+])
diff --git a/gettext-tools/examples/hello-c++-gnome/m4/gnome.m4 b/gettext-tools/examples/hello-c++-gnome/m4/gnome.m4
new file mode 100644
index 0000000..659c22c
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/m4/gnome.m4
@@ -0,0 +1,128 @@
+dnl
+dnl GNOME_INIT_HOOK (script-if-gnome-enabled, [failflag], [additional-inits])
+dnl
+dnl if failflag is "fail" then GNOME_INIT_HOOK will abort if gnomeConf.sh
+dnl is not found.
+dnl
+
+AC_DEFUN([GNOME_INIT_HOOK],[
+ AC_SUBST(GNOME_LIBS)
+ AC_SUBST(GNOMEUI_LIBS)
+ AC_SUBST(GNOMEGNORBA_LIBS)
+ AC_SUBST(GTKXMHTML_LIBS)
+ AC_SUBST(ZVT_LIBS)
+ AC_SUBST(GNOME_LIBDIR)
+ AC_SUBST(GNOME_INCLUDEDIR)
+
+ AC_ARG_WITH(gnome-includes,
+ [ --with-gnome-includes Specify location of GNOME headers],[
+ CFLAGS="$CFLAGS -I$withval"
+ ])
+
+ AC_ARG_WITH(gnome-libs,
+ [ --with-gnome-libs Specify location of GNOME libs],[
+ LDFLAGS="$LDFLAGS -L$withval"
+ gnome_prefix=$withval
+ ])
+
+ AC_ARG_WITH(gnome,
+ [ --with-gnome Specify prefix for GNOME files],
+ if test x$withval = xyes; then
+ want_gnome=yes
+ dnl Note that an empty true branch is not
+ dnl valid sh syntax.
+ ifelse([$1], [], :, [$1])
+ else
+ if test "x$withval" = xno; then
+ want_gnome=no
+ else
+ want_gnome=yes
+ LDFLAGS="$LDFLAGS -L$withval/lib"
+ CFLAGS="$CFLAGS -I$withval/include"
+ gnome_prefix=$withval/lib
+ fi
+ fi,
+ want_gnome=yes)
+
+ if test "x$want_gnome" = xyes; then
+
+ AC_PATH_PROG(GNOME_CONFIG,gnome-config,no)
+ if test "$GNOME_CONFIG" = "no"; then
+ no_gnome_config="yes"
+ else
+ AC_MSG_CHECKING(if $GNOME_CONFIG works)
+ if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then
+ AC_MSG_RESULT(yes)
+ GNOME_GNORBA_HOOK([],$2)
+ GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome`"
+ GNOMEUI_LIBS="`$GNOME_CONFIG --libs-only-l gnomeui`"
+ GNOMEGNORBA_LIBS="`$GNOME_CONFIG --libs-only-l gnorba gnomeui`"
+ GTKXMHTML_LIBS="`$GNOME_CONFIG --libs-only-l gtkxmhtml`"
+ ZVT_LIBS="`$GNOME_CONFIG --libs-only-l zvt`"
+ GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
+ GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`"
+ $1
+ else
+ AC_MSG_RESULT(no)
+ no_gnome_config="yes"
+ fi
+ fi
+
+ if test x$exec_prefix = xNONE; then
+ if test x$prefix = xNONE; then
+ gnome_prefix=$ac_default_prefix/lib
+ else
+ gnome_prefix=$prefix/lib
+ fi
+ else
+ gnome_prefix=`eval echo \`echo $libdir\``
+ fi
+
+ if test "$no_gnome_config" = "yes"; then
+ AC_MSG_CHECKING(for gnomeConf.sh file in $gnome_prefix)
+ if test -f $gnome_prefix/gnomeConf.sh; then
+ AC_MSG_RESULT(found)
+ echo "loading gnome configuration from" \
+ "$gnome_prefix/gnomeConf.sh"
+ . $gnome_prefix/gnomeConf.sh
+ $1
+ else
+ AC_MSG_RESULT(not found)
+ if test x$2 = xfail; then
+ AC_MSG_ERROR(Could not find the gnomeConf.sh file that is generated by gnome-libs install)
+ fi
+ fi
+ fi
+ fi
+
+ if test -n "$3"; then
+ n="$3"
+ for i in $n; do
+ AC_MSG_CHECKING(extra library \"$i\")
+ case $i in
+ applets)
+ AC_SUBST(GNOME_APPLETS_LIBS)
+ GNOME_APPLETS_LIBS=`$GNOME_CONFIG --libs-only-l applets`
+ AC_MSG_RESULT($GNOME_APPLETS_LIBS);;
+ docklets)
+ AC_SUBST(GNOME_DOCKLETS_LIBS)
+ GNOME_DOCKLETS_LIBS=`$GNOME_CONFIG --libs-only-l docklets`
+ AC_MSG_RESULT($GNOME_DOCKLETS_LIBS);;
+ capplet)
+ AC_SUBST(GNOME_CAPPLET_LIBS)
+ GNOME_CAPPLET_LIBS=`$GNOME_CONFIG --libs-only-l capplet`
+ AC_MSG_RESULT($GNOME_CAPPLET_LIBS);;
+ *)
+ AC_MSG_RESULT(unknown library)
+ esac
+ done
+ fi
+])
+
+dnl
+dnl GNOME_INIT ([additional-inits])
+dnl
+
+AC_DEFUN([GNOME_INIT],[
+ GNOME_INIT_HOOK([],fail,$1)
+])
diff --git a/gettext-tools/examples/hello-c++-gnome/m4/gtk--.m4 b/gettext-tools/examples/hello-c++-gnome/m4/gtk--.m4
new file mode 100644
index 0000000..896b64d
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/m4/gtk--.m4
@@ -0,0 +1,195 @@
+# Configure paths for GTK--
+# Erik Andersen 30 May 1998
+# Modified by Tero Pulkkinen (added the compiler checks... I hope they work..)
+# Modified by Thomas Langen 16 Jan 2000 (corrected CXXFLAGS)
+
+dnl Test for GTKMM, and define GTKMM_CFLAGS and GTKMM_LIBS
+dnl to be used as follows:
+dnl AM_PATH_GTKMM([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+dnl
+AC_DEFUN([AM_PATH_GTKMM],
+[dnl
+dnl Get the cflags and libraries from the gtkmm-config script
+dnl
+AC_ARG_WITH(gtkmm-prefix,[ --with-gtkmm-prefix=PREFIX
+ Prefix where GTK-- is installed (optional)],
+ gtkmm_config_prefix="$withval", gtkmm_config_prefix="")
+AC_ARG_WITH(gtkmm-exec-prefix,[ --with-gtkmm-exec-prefix=PREFIX
+ Exec prefix where GTK-- is installed (optional)],
+ gtkmm_config_exec_prefix="$withval", gtkmm_config_exec_prefix="")
+AC_ARG_ENABLE(gtkmmtest, [ --disable-gtkmmtest Do not try to compile and run a test GTK-- program],
+ , enable_gtkmmtest=yes)
+
+ if test x$gtkmm_config_exec_prefix != x ; then
+ gtkmm_config_args="$gtkmm_config_args --exec-prefix=$gtkmm_config_exec_prefix"
+ if test x${GTKMM_CONFIG+set} != xset ; then
+ GTKMM_CONFIG=$gtkmm_config_exec_prefix/bin/gtkmm-config
+ fi
+ fi
+ if test x$gtkmm_config_prefix != x ; then
+ gtkmm_config_args="$gtkmm_config_args --prefix=$gtkmm_config_prefix"
+ if test x${GTKMM_CONFIG+set} != xset ; then
+ GTKMM_CONFIG=$gtkmm_config_prefix/bin/gtkmm-config
+ fi
+ fi
+
+ AC_PATH_PROG(GTKMM_CONFIG, gtkmm-config, no)
+ min_gtkmm_version=ifelse([$1], ,0.10.0,$1)
+
+ AC_MSG_CHECKING(for GTK-- - version >= $min_gtkmm_version)
+ AC_LANG_SAVE
+ no_gtkmm=""
+ if test "$GTKMM_CONFIG" = "no" ; then
+ no_gtkmm=yes
+ else
+ AC_LANG_CPLUSPLUS
+
+ GTKMM_CFLAGS=`$GTKMM_CONFIG $gtkmm_config_args --cflags`
+ GTKMM_LIBS=`$GTKMM_CONFIG $gtkmm_config_args --libs`
+ gtkmm_config_major_version=`$GTKMM_CONFIG $gtkmm_config_args --version | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
+ gtkmm_config_minor_version=`$GTKMM_CONFIG $gtkmm_config_args --version | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
+ gtkmm_config_micro_version=`$GTKMM_CONFIG $gtkmm_config_args --version | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
+ if test "x$enable_gtkmmtest" = "xyes" ; then
+ ac_save_CXXFLAGS="$CXXFLAGS"
+ ac_save_LIBS="$LIBS"
+ CXXFLAGS="$CXXFLAGS $GTKMM_CFLAGS"
+ LIBS="$LIBS $GTKMM_LIBS"
+dnl
+dnl Now check if the installed GTK-- is sufficiently new. (Also sanity
+dnl checks the results of gtkmm-config to some extent
+dnl
+ rm -f conf.gtkmmtest
+ AC_TRY_RUN([
+#include <gtk--.h>
+#include <stdio.h>
+#include <stdlib.h>
+
+int
+main ()
+{
+ int major, minor, micro;
+ char *tmp_version;
+
+ system ("touch conf.gtkmmtest");
+
+ /* HP/UX 0 (%@#!) writes to sscanf strings */
+ tmp_version = g_strdup("$min_gtkmm_version");
+ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
+ printf("%s, bad version string\n", "$min_gtkmm_version");
+ exit(1);
+ }
+
+ if ((gtkmm_major_version != $gtkmm_config_major_version) ||
+ (gtkmm_minor_version != $gtkmm_config_minor_version) ||
+ (gtkmm_micro_version != $gtkmm_config_micro_version))
+ {
+ printf("\n*** 'gtkmm-config --version' returned %d.%d.%d, but GTK-- (%d.%d.%d)\n",
+ $gtkmm_config_major_version, $gtkmm_config_minor_version, $gtkmm_config_micro_version,
+ gtkmm_major_version, gtkmm_minor_version, gtkmm_micro_version);
+ printf ("*** was found! If gtkmm-config was correct, then it is best\n");
+ printf ("*** to remove the old version of GTK--. You may also be able to fix the error\n");
+ printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
+ printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
+ printf("*** required on your system.\n");
+ printf("*** If gtkmm-config was wrong, set the environment variable GTKMM_CONFIG\n");
+ printf("*** to point to the correct copy of gtkmm-config, and remove the file config.cache\n");
+ printf("*** before re-running configure\n");
+ }
+/* GTK-- does not have the GTKMM_*_VERSION constants */
+/*
+ else if ((gtkmm_major_version != GTKMM_MAJOR_VERSION) ||
+ (gtkmm_minor_version != GTKMM_MINOR_VERSION) ||
+ (gtkmm_micro_version != GTKMM_MICRO_VERSION))
+ {
+ printf("*** GTK-- header files (version %d.%d.%d) do not match\n",
+ GTKMM_MAJOR_VERSION, GTKMM_MINOR_VERSION, GTKMM_MICRO_VERSION);
+ printf("*** library (version %d.%d.%d)\n",
+ gtkmm_major_version, gtkmm_minor_version, gtkmm_micro_version);
+ }
+*/
+ else
+ {
+ if ((gtkmm_major_version > major) ||
+ ((gtkmm_major_version == major) && (gtkmm_minor_version > minor)) ||
+ ((gtkmm_major_version == major) && (gtkmm_minor_version == minor) && (gtkmm_micro_version >= micro)))
+ {
+ return 0;
+ }
+ else
+ {
+ printf("\n*** An old version of GTK-- (%d.%d.%d) was found.\n",
+ gtkmm_major_version, gtkmm_minor_version, gtkmm_micro_version);
+ printf("*** You need a version of GTK-- newer than %d.%d.%d. The latest version of\n",
+ major, minor, micro);
+ printf("*** GTK-- is always available from ftp://ftp.gtk.org.\n");
+ printf("***\n");
+ printf("*** If you have already installed a sufficiently new version, this error\n");
+ printf("*** probably means that the wrong copy of the gtkmm-config shell script is\n");
+ printf("*** being found. The easiest way to fix this is to remove the old version\n");
+ printf("*** of GTK--, but you can also set the GTKMM_CONFIG environment to point to the\n");
+ printf("*** correct copy of gtkmm-config. (In this case, you will have to\n");
+ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
+ printf("*** so that the correct libraries are found at run-time))\n");
+ }
+ }
+ return 1;
+}
+],, no_gtkmm=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
+ CXXFLAGS="$ac_save_CXXFLAGS"
+ LIBS="$ac_save_LIBS"
+ fi
+ fi
+ if test "x$no_gtkmm" = x ; then
+ AC_MSG_RESULT(yes)
+ ifelse([$2], , :, [$2])
+ else
+ AC_MSG_RESULT(no)
+ if test "$GTKMM_CONFIG" = "no" ; then
+ echo "*** The gtkmm-config script installed by GTK-- could not be found"
+ echo "*** If GTK-- was installed in PREFIX, make sure PREFIX/bin is in"
+ echo "*** your path, or set the GTKMM_CONFIG environment variable to the"
+ echo "*** full path to gtkmm-config."
+ echo "*** The gtkmm-config script was not available in GTK-- versions"
+ echo "*** prior to 0.9.12. Perhaps you need to update your installed"
+ echo "*** version to 0.9.12 or later"
+ else
+ if test -f conf.gtkmmtest ; then
+ :
+ else
+ echo "*** Could not run GTK-- test program, checking why..."
+ CXXFLAGS="$CXXFLAGS $GTKMM_CFLAGS"
+ LIBS="$LIBS $GTKMM_LIBS"
+ AC_TRY_LINK([
+#include <gtk--.h>
+#include <stdio.h>
+], [ return ((gtkmm_major_version) || (gtkmm_minor_version) || (gtkmm_micro_version)); ],
+ [ echo "*** The test program compiled, but did not run. This usually means"
+ echo "*** that the run-time linker is not finding GTK-- or finding the wrong"
+ echo "*** version of GTK--. If it is not finding GTK--, you'll need to set your"
+ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
+ echo "*** to the installed location Also, make sure you have run ldconfig if that"
+ echo "*** is required on your system"
+ echo "***"
+ echo "*** If you have an old version installed, it is best to remove it, although"
+ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
+ [ echo "*** The test program failed to compile or link. See the file config.log for the"
+ echo "*** exact error that occured. This usually means GTK-- was incorrectly installed"
+ echo "*** or that you have moved GTK-- since it was installed. In the latter case, you"
+ echo "*** may want to edit the gtkmm-config script: $GTKMM_CONFIG" ])
+ CXXFLAGS="$ac_save_CXXFLAGS"
+ LIBS="$ac_save_LIBS"
+ fi
+ fi
+ GTKMM_CFLAGS=""
+ GTKMM_LIBS=""
+ ifelse([$3], , :, [$3])
+ fi
+ AC_LANG_RESTORE
+ AC_SUBST(GTKMM_CFLAGS)
+ AC_SUBST(GTKMM_LIBS)
+ rm -f conf.gtkmmtest
+])
+
diff --git a/gettext-tools/examples/hello-c++-gnome/m4/gtk.m4 b/gettext-tools/examples/hello-c++-gnome/m4/gtk.m4
new file mode 100644
index 0000000..f2dd472
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/m4/gtk.m4
@@ -0,0 +1,194 @@
+# Configure paths for GTK+
+# Owen Taylor 97-11-3
+
+dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
+dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
+dnl
+AC_DEFUN([AM_PATH_GTK],
+[dnl
+dnl Get the cflags and libraries from the gtk-config script
+dnl
+AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
+ gtk_config_prefix="$withval", gtk_config_prefix="")
+AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
+ gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
+AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
+ , enable_gtktest=yes)
+
+ for module in . $4
+ do
+ case "$module" in
+ gthread)
+ gtk_config_args="$gtk_config_args gthread"
+ ;;
+ esac
+ done
+
+ if test x$gtk_config_exec_prefix != x ; then
+ gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
+ if test x${GTK_CONFIG+set} != xset ; then
+ GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
+ fi
+ fi
+ if test x$gtk_config_prefix != x ; then
+ gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
+ if test x${GTK_CONFIG+set} != xset ; then
+ GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
+ fi
+ fi
+
+ AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
+ min_gtk_version=ifelse([$1], ,0.99.7,$1)
+ AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
+ no_gtk=""
+ if test "$GTK_CONFIG" = "no" ; then
+ no_gtk=yes
+ else
+ GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
+ GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
+ gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
+ gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
+ gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
+ if test "x$enable_gtktest" = "xyes" ; then
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
+ LIBS="$GTK_LIBS $LIBS"
+dnl
+dnl Now check if the installed GTK is sufficiently new. (Also sanity
+dnl checks the results of gtk-config to some extent
+dnl
+ rm -f conf.gtktest
+ AC_TRY_RUN([
+#include <gtk/gtk.h>
+#include <stdio.h>
+#include <stdlib.h>
+
+int
+main ()
+{
+ int major, minor, micro;
+ char *tmp_version;
+
+ system ("touch conf.gtktest");
+
+ /* HP/UX 9 (%@#!) writes to sscanf strings */
+ tmp_version = g_strdup("$min_gtk_version");
+ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
+ printf("%s, bad version string\n", "$min_gtk_version");
+ exit(1);
+ }
+
+ if ((gtk_major_version != $gtk_config_major_version) ||
+ (gtk_minor_version != $gtk_config_minor_version) ||
+ (gtk_micro_version != $gtk_config_micro_version))
+ {
+ printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
+ $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
+ printf ("*** was found! If gtk-config was correct, then it is best\n");
+ printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
+ printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
+ printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
+ printf("*** required on your system.\n");
+ printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
+ printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
+ printf("*** before re-running configure\n");
+ }
+#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
+ else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
+ (gtk_minor_version != GTK_MINOR_VERSION) ||
+ (gtk_micro_version != GTK_MICRO_VERSION))
+ {
+ printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
+ GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
+ printf("*** library (version %d.%d.%d)\n",
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
+ }
+#endif /* defined (GTK_MAJOR_VERSION) ... */
+ else
+ {
+ if ((gtk_major_version > major) ||
+ ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
+ ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
+ {
+ return 0;
+ }
+ else
+ {
+ printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
+ gtk_major_version, gtk_minor_version, gtk_micro_version);
+ printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
+ major, minor, micro);
+ printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
+ printf("***\n");
+ printf("*** If you have already installed a sufficiently new version, this error\n");
+ printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
+ printf("*** being found. The easiest way to fix this is to remove the old version\n");
+ printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
+ printf("*** correct copy of gtk-config. (In this case, you will have to\n");
+ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
+ printf("*** so that the correct libraries are found at run-time))\n");
+ }
+ }
+ return 1;
+}
+],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
+ CFLAGS="$ac_save_CFLAGS"
+ LIBS="$ac_save_LIBS"
+ fi
+ fi
+ if test "x$no_gtk" = x ; then
+ AC_MSG_RESULT(yes)
+ ifelse([$2], , :, [$2])
+ else
+ AC_MSG_RESULT(no)
+ if test "$GTK_CONFIG" = "no" ; then
+ echo "*** The gtk-config script installed by GTK could not be found"
+ echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
+ echo "*** your path, or set the GTK_CONFIG environment variable to the"
+ echo "*** full path to gtk-config."
+ else
+ if test -f conf.gtktest ; then
+ :
+ else
+ echo "*** Could not run GTK test program, checking why..."
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
+ LIBS="$LIBS $GTK_LIBS"
+ AC_TRY_LINK([
+#include <gtk/gtk.h>
+#include <stdio.h>
+], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
+ [ echo "*** The test program compiled, but did not run. This usually means"
+ echo "*** that the run-time linker is not finding GTK or finding the wrong"
+ echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
+ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
+ echo "*** to the installed location Also, make sure you have run ldconfig if that"
+ echo "*** is required on your system"
+ echo "***"
+ echo "*** If you have an old version installed, it is best to remove it, although"
+ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
+ echo "***"
+ echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
+ echo "*** came with the system with the command"
+ echo "***"
+ echo "*** rpm --erase --nodeps gtk gtk-devel" ],
+ [ echo "*** The test program failed to compile or link. See the file config.log for the"
+ echo "*** exact error that occured. This usually means GTK was incorrectly installed"
+ echo "*** or that you have moved GTK since it was installed. In the latter case, you"
+ echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
+ CFLAGS="$ac_save_CFLAGS"
+ LIBS="$ac_save_LIBS"
+ fi
+ fi
+ GTK_CFLAGS=""
+ GTK_LIBS=""
+ ifelse([$3], , :, [$3])
+ fi
+ AC_SUBST(GTK_CFLAGS)
+ AC_SUBST(GTK_LIBS)
+ rm -f conf.gtktest
+])
diff --git a/gettext-tools/examples/hello-c++-gnome/po/LINGUAS b/gettext-tools/examples/hello-c++-gnome/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-c++-gnome/po/Makevars b/gettext-tools/examples/hello-c++-gnome/po/Makevars
new file mode 100644
index 0000000..7b158ff
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/Makevars
@@ -0,0 +1,67 @@
+# Makefile variables for PO directory in any package using GNU gettext.
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These two variables depend on the location of this directory.
+subdir = po
+top_builddir = ..
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = \
+ --keyword=_ --flag=_:1:pass-c-format \
+ --keyword=N_ --flag=N_:1:pass-c-format \
+ --flag=g_log:3:c-format --flag=g_logv:3:c-format \
+ --flag=g_error:1:c-format --flag=g_message:1:c-format \
+ --flag=g_critical:1:c-format --flag=g_warning:1:c-format \
+ --flag=g_print:1:c-format \
+ --flag=g_printerr:1:c-format \
+ --flag=g_strdup_printf:1:c-format --flag=g_strdup_vprintf:1:c-format \
+ --flag=g_printf_string_upper_bound:1:c-format \
+ --flag=g_snprintf:3:c-format --flag=g_vsnprintf:3:c-format \
+ --flag=g_string_sprintf:2:c-format \
+ --flag=g_string_sprintfa:2:c-format \
+ --flag=g_scanner_error:2:c-format \
+ --flag=g_scanner_warn:2:c-format
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
+# context. Possible values are "yes" and "no". Set this to yes if the
+# package uses functions taking also a message context, like pgettext(), or
+# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
+USE_MSGCTXT = no
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
diff --git a/gettext-tools/examples/hello-c++-gnome/po/POTFILES.in b/gettext-tools/examples/hello-c++-gnome/po/POTFILES.in
new file mode 100644
index 0000000..bd28e81
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/POTFILES.in
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# List of files which contain translatable strings.
+hello.cc
diff --git a/gettext-tools/examples/hello-c++-gnome/po/af.po b/gettext-tools/examples/hello-c++-gnome/po/af.po
new file mode 100644
index 0000000..fda11ee
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Hierdie program loop as prosesnommer %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/ast.po b/gettext-tools/examples/hello-c++-gnome/po/ast.po
new file mode 100644
index 0000000..678d47c
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/bg.po b/gettext-tools/examples/hello-c++-gnome/po/bg.po
new file mode 100644
index 0000000..6c9f691
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-c++-gnome package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Програмата е пусната под процес номер %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/ca.po b/gettext-tools/examples/hello-c++-gnome/po/ca.po
new file mode 100644
index 0000000..1205444
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-c++-gnome.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Aquest programa està corrent amb el número de procés %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/cs.po b/gettext-tools/examples/hello-c++-gnome/po/cs.po
new file mode 100644
index 0000000..d5fb3d0
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tento program běží jako proces číslo %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/da.po b/gettext-tools/examples/hello-c++-gnome/po/da.po
new file mode 100644
index 0000000..b8875b8
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-c++-gnome.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dette program krer som proces nummer %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/de.po b/gettext-tools/examples/hello-c++-gnome/po/de.po
new file mode 100644
index 0000000..dd98e41
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-c++-gnome.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/el.po b/gettext-tools/examples/hello-c++-gnome/po/el.po
new file mode 100644
index 0000000..713f6a7
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-c++-gnome
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/eo.po b/gettext-tools/examples/hello-c++-gnome/po/eo.po
new file mode 100644
index 0000000..7a0b93f
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/es.po b/gettext-tools/examples/hello-c++-gnome/po/es.po
new file mode 100644
index 0000000..5947f68
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está corriendo como el proceso número %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/fi.po b/gettext-tools/examples/hello-c++-gnome/po/fi.po
new file mode 100644
index 0000000..17d3366
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tämän ohjelman prosessinumero on %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/fr.po b/gettext-tools/examples/hello-c++-gnome/po/fr.po
new file mode 100644
index 0000000..54d91c0
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++-gnome 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ce programme est exécuté en tant que processus numéro %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/ga.po b/gettext-tools/examples/hello-c++-gnome/po/ga.po
new file mode 100644
index 0000000..90cbc1c
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-c++-gnome.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-c++-gnome package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "T an clr seo rith mar phriseas %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/gl.po b/gettext-tools/examples/hello-c++-gnome/po/gl.po
new file mode 100644
index 0000000..d1259a6
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-c++-gnome package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa estase executando como o proceso número %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/hr.po b/gettext-tools/examples/hello-c++-gnome/po/hr.po
new file mode 100644
index 0000000..8a4dbfb
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-c++-gnome to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ovaj program je pokrenut kao proces broj %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/hu.po b/gettext-tools/examples/hello-c++-gnome/po/hu.po
new file mode 100644
index 0000000..1a22479
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-c++-gnome.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ez a program a(z) %d folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/id.po b/gettext-tools/examples/hello-c++-gnome/po/id.po
new file mode 100644
index 0000000..0da3dd9
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-c++-gnome-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Program ini berjalan sebagai proses nomor %d"
diff --git a/gettext-tools/examples/hello-c++-gnome/po/it.po b/gettext-tools/examples/hello-c++-gnome/po/it.po
new file mode 100644
index 0000000..a7f6b11
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-c++-gnome.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Questo programma è in esecuzione con numero di processo %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/ja.po b/gettext-tools/examples/hello-c++-gnome/po/ja.po
new file mode 100644
index 0000000..67f0d41
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-c++-gnome' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Υץϥץֹ %d ưƤޤ."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/ky.po b/gettext-tools/examples/hello-c++-gnome/po/ky.po
new file mode 100644
index 0000000..a137282
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-c++-gnome' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Бул программа %d процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/lv.po b/gettext-tools/examples/hello-c++-gnome/po/lv.po
new file mode 100644
index 0000000..3abf515
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-c++-gnome
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Šī programma darbojas kā process ar numuru %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/ms.po b/gettext-tools/examples/hello-c++-gnome/po/ms.po
new file mode 100644
index 0000000..0bfb853
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/ms.po
@@ -0,0 +1,26 @@
+# hello-c++-gnome Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-c++-gnome package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/mt.po b/gettext-tools/examples/hello-c++-gnome/po/mt.po
new file mode 100644
index 0000000..8d5799a
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/mt.po
@@ -0,0 +1,26 @@
+# hello-c++-gnome-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/nb.po b/gettext-tools/examples/hello-c++-gnome/po/nb.po
new file mode 100644
index 0000000..6938eee
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-c++-gnome package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dette programmet kjører som prosess nummer %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/nl.po b/gettext-tools/examples/hello-c++-gnome/po/nl.po
new file mode 100644
index 0000000..8f0927d
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-c++-gnome.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dit programma draait als proces nummer %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/pl.po b/gettext-tools/examples/hello-c++-gnome/po/pl.po
new file mode 100644
index 0000000..7953d55
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-c++-gnome domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ten program działa jako proces o numerze %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/pt.po b/gettext-tools/examples/hello-c++-gnome/po/pt.po
new file mode 100644
index 0000000..7562fb9
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-c++-gnome' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-c++-gnome package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está a ser executado com o número de processo %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/pt_BR.po b/gettext-tools/examples/hello-c++-gnome/po/pt_BR.po
new file mode 100644
index 0000000..b65e813
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está executando com número de processo %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/ro.po b/gettext-tools/examples/hello-c++-gnome/po/ro.po
new file mode 100644
index 0000000..cbe0bda
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-c++-gnome-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-c++-gnome.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Acest program este rulat ca procesul numrul %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/ru.po b/gettext-tools/examples/hello-c++-gnome/po/ru.po
new file mode 100644
index 0000000..e03ce42
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-c++-gnome-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Эта программа выполняется как процесс под номером %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/sk.po b/gettext-tools/examples/hello-c++-gnome/po/sk.po
new file mode 100644
index 0000000..db6d750
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-c++-gnome package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tento program beží ako proces s číslom %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/sl.po b/gettext-tools/examples/hello-c++-gnome/po/sl.po
new file mode 100644
index 0000000..2931d88
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-c++-gnome-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ta program teče kot proces številka %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/sr.po b/gettext-tools/examples/hello-c++-gnome/po/sr.po
new file mode 100644
index 0000000..85da77f
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-c++-gnome.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Овај програм се извршава као процес број %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/sv.po b/gettext-tools/examples/hello-c++-gnome/po/sv.po
new file mode 100644
index 0000000..d1a3d13
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-c++-gnome.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Detta program kör som process nummer %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/tr.po b/gettext-tools/examples/hello-c++-gnome/po/tr.po
new file mode 100644
index 0000000..7a36563
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Bu yazılım, %d süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/uk.po b/gettext-tools/examples/hello-c++-gnome/po/uk.po
new file mode 100644
index 0000000..57950fa
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-c++-gnome
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ця програма виконується як процес з номером %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/vi.po b/gettext-tools/examples/hello-c++-gnome/po/vi.po
new file mode 100644
index 0000000..f6ae141
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %d."
diff --git a/gettext-tools/examples/hello-c++-gnome/po/zh_CN.po b/gettext-tools/examples/hello-c++-gnome/po/zh_CN.po
new file mode 100644
index 0000000..9f5571c
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-c++-gnome.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-c++-gnome package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "此程序正以进程号 %d 运行。"
diff --git a/gettext-tools/examples/hello-c++-gnome/po/zh_HK.po b/gettext-tools/examples/hello-c++-gnome/po/zh_HK.po
new file mode 100644
index 0000000..a1f3d7e
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-c++-gnome.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行中,進程編號為 %d。"
diff --git a/gettext-tools/examples/hello-c++-gnome/po/zh_TW.po b/gettext-tools/examples/hello-c++-gnome/po/zh_TW.po
new file mode 100644
index 0000000..cd88e77
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-c++-gnome.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-gnome 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:50
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行,行程編號為 %d。"
diff --git a/gettext-tools/examples/hello-c++-kde/BUGS b/gettext-tools/examples/hello-c++-kde/BUGS
new file mode 100644
index 0000000..51e1172
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/BUGS
@@ -0,0 +1,4 @@
+The language used by the program is not the one set by the environment variables
+LANG, LC_MESSAGES, LC_ALL, but rather a setting set in the KDE control center.
+The latter may be overridden through the KDE_LANG environment variable, whose
+value should be a locale name.
diff --git a/gettext-tools/examples/hello-c++-kde/INSTALL b/gettext-tools/examples/hello-c++-kde/INSTALL
new file mode 100644
index 0000000..adba43a
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/INSTALL
@@ -0,0 +1,13 @@
+This example relies on:
+ - KDE (libkdeui, libkdecore) and its dependencies
+ - Qt (libqt) and its dependencies: OpenGL (libGL), libpng, zlib (libz)
+ - the C++ runtime libraries (libstdc++)
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-c++-kde/Makefile.am b/gettext-tools/examples/hello-c++-kde/Makefile.am
new file mode 100644
index 0000000..12880b3
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/Makefile.am
@@ -0,0 +1,56 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign no-dependencies
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_PROGRAMS = hello
+
+# The source files of the 'hello' program.
+hello_SOURCES = hello.cc hellowindow.cc
+
+# Use 'moc' for QObject subclasses.
+METASOURCES = AUTO
+
+# Define a C macro LOCALEDIR indicating where catalogs will be installed.
+DEFS = -DPREFIX=\"$(prefix)\" @DEFS@
+
+# Make sure the KDE, Qt, X include file is found.
+AM_CPPFLAGS = $(KDE_INCLUDES) $(QT_INCLUDES) $(X_INCLUDES)
+
+# CXXFLAGS += $(QT_CXXFLAGS) $(PTHREAD_CFLAGS)
+
+# Link time dependencies.
+LDADD = $(KDE_LDFLAGS) $(QT_LDFLAGS)
+LIBS += $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT)
+
+# Generic KDE build mechanism.
+
+$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
+ cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
+
+$(top_srcdir)/subdirs:
+ cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
+
+$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
+ @cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
+
+MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
+
+package-messages:
+ $(MAKE) -f admin/Makefile.common package-messages
+ $(MAKE) -C po merge
+
+dist-hook:
+ cd $(top_distdir) && perl admin/am_edit -padmin
+ cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
+
+# Additional files to be distributed.
+EXTRA_DIST = admin/config.rpath autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-c++-kde/admin/ChangeLog b/gettext-tools/examples/hello-c++-kde/admin/ChangeLog
new file mode 100644
index 0000000..2599e43
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/ChangeLog
@@ -0,0 +1,761 @@
+2002-10-03 Stephan Kulow <coolo@kde.org>
+
+ * made config.h.bot obsolete
+
+2002-04-26 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in removed bogus message
+
+2001-11-07 Walter Tasin <tasin@kdevelop.org>
+
+ * now #MIN_CONFIG tag takes parameters for KDE_USE_QT, too.
+ e.g. #MIN_CONFIG(2.2) for qt 2.2 usage
+
+2000-11-30 David Faure <faure@kde.org>
+
+ * acinclude.m4.in: Added kde_moduledir which points to $prefix/lib/kde2/
+
+2000-07-24 Alex Zepeda <jazepeda@pacbell.net>
+
+ * acinclude.m4.in: Remove the test for malloc.h
+
+2000-04-05 Michael Matz <matz@ifh.de>
+
+ * config.pl : added kludge for compiling regexp's even if
+ perl < 5.005 is installed
+ * conf.change.pl : added support for autoconf 2.14.1
+
+2000-03-27 David Faure <faure@kde.org>
+
+ * acinclude.m4.in, Makefile.common: changed inst-apps semantics
+ If present, only the subdirs it lists will be configured and compiled.
+ If absent, then subdirs is used (and inst-apps isn't generated anymore)
+
+2000-03-22 David Faure <faure@kde.org>
+
+ * am_edit: Added support for KDE_ICON = AUTO
+
+2000-03-18 David Faure <faure@kde.org>
+
+ * Makefile.common: Rewrote the list-of-Makefiles generation to make it
+ simpler and nicer, using create_makefiles' way of doing it.
+ Added support for COMPILE_LAST and COMPILE_FIRST in toplevel Makefile.am
+
+2000-01-05 David Faure <faure@kde.org>
+
+ * Makefile.common: hacked around autoconf bug (setting INSTALL to ".."
+ when calling a subconfigure and INSTALL is already set).
+
+1999-12-15 Waldo Bastian <bastian@kde.org>
+
+ * acinclude.m4.in: Test whether Qt compiles AND LINKS without flags.
+
+1999-06-24 Stephan Kulow <coolo@kde.org>
+
+ * am_edit: generate correct Makefile entries for kde-i18n toplevel directories
+ * am_edit:
+
+1999-06-14 Stephan Kulow <coolo@kde.org>
+
+ * am_edit: remove idl generated files on make clean
+
+1999-06-09 Stephan Kulow <coolo@kde.org>
+
+ * am_edit: skipping programs with variables in sources for final
+
+1999-06-07 Stephan Kulow <coolo@kde.org>
+
+ * am_edit: added support for idl files
+
+1999-06-02 Stephan Kulow <coolo@kde.org>
+
+ * Makefile.common: preserve comments in .pot files to make it
+ possible for programmers and translators to comment them
+
+1999-06-02 Simon Hausmann <hausmann@kde.org>
+
+ * acinclude.m4.in: added kde_servicetypesdir
+
+1999-06-02 David Faure <faure@kde.org>
+
+ * acinclude.m4.in: removed LIB_KFM and LIB_KDEUTIL aliases
+
+1999-05-28 Simon Hausmann <hausmann@kde.org>
+
+ * acinclude.m4.in: added kde_servicesdir
+
+1999-05-27 Stephan Kulow <coolo@kde.org>
+
+ * am_edit: lots of changes for better support of --enable-final
+
+1999-05-22 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: added support for --with-dmalloc
+
+1999-05-19 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: added support for --enable-final
+
+ * am_edit: added support for --enable-final
+
+1999-05-06 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: change the meaning of --disable-debug
+
+1999-05-04 Helge Deller <deller@gmx.de>
+
+ * acinclude.m4.in: the test for the X-includes/directories failed,
+ when compile & link work without special directories (as on HP-UX).
+
+1999-04-20 Stephan Kulow <coolo@kde.org>
+
+ * am_edit: adding DESTDIR replacement for rm and uninstall-local
+ too. Seems very useless, but makes testing for uninstall easier
+
+1999-04-01 David Faure <faure@kde.org>
+
+ * acinclude.m4.in: Added -lkfile to $(LIB_KIO)
+
+1999-03-30 David Faure <faure@kde.org>
+
+ * acinclude.m4.in: Added AC_CHECK_KDEMAXPATHLEN, which defines KDEMAXPATHLEN.
+
+1999-03-29 David Faure <faure@kde.org>
+
+ * acinclude.m4.in: added LIB_X11 to XPMLIB and GLLIB, because
+ on SCO, they need it _after_ themselves.
+
+1999-03-28 David Faure <faure@kde.org>
+
+ * acinclude.m4.in: added LIB_KFM to LIB_KAB alias
+
+1999-03-26 David Faure <faure@kde.org>
+
+ * acinclude.m4.in: made LIB_KFILE use LIB_KIO instead of LIB_KFM
+ added LIB_KFORMULA
+
+1999-03-20 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: check for libXext - for Russel :)
+
+1999-03-16 Stephan Kulow <coolo@kde.org>
+
+ * acinclud3.m4.in: extend the MICO test with a list of possible
+ places where to find CORBA.h
+
+1999-03-15 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: move $QTINC and $QTLIB in search path
+
+1999-03-14 Stephan Kulow <coolo@kde.org>
+
+ * am_edit: install-root is obsolute. Use DESTDIR always
+
+1999-03-03 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: fixing a bug, that $QTDIR was taken before --with-qt*
+ * acinclude.m4.in: added KDE_USE_QT, that you can choose if to
+ use QT 2.0 or KDE 1.0
+
+ * Makefile.common: added target package-merge
+
+ * am_edit: many fixes to the POFILES handeling of am_edit
+
+1999-03-02 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: first look at libjpeg6b (from kdesupport) then
+ for libjpeg
+
+ * config.*, libtool.*: update to the latest FSF tools
+
+1999-02-23 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: error when Sparc CC is used. Better use it in
+ configure and tell him the story then letting him find it while
+ compiling
+
+ * acinclude.m4.in: adding KDE_CHECK_EXTRA_LIBS to all possible tests,
+ so that --with-extra-includes is used when needed.
+
+ * acinclude.m4.in: configure looks for giflib30, so it should say so
+
+ * acinclude.m4.in: don't overwrite x include parameters. Patch by
+ Ari Lemmke <ari.lemmke@regex.fi> (bug report 741)
+
+1999-02-20 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: fixing KDE_CHECK_PATHS for rechecking. In case
+ of defaults (kdelibs) configure didn't cache the results
+
+1999-02-18 David Faure <faure@kde.org>
+
+ * acinclude.m4.in: added AC_CHECK_S_ISSOCK, to fix #706.
+
+1999-02-17 David Faure <faure@kde.org>
+
+ * acinclude.m4.in: added AC_CHECK_RANDOM, just like
+ AC_CHECK_USLEEP, to enable the fake if necessary.
+
+1999-02-13 Kurt Granroth <granroth@kde.org>
+
+ * acinclude.m4.in: look for QT-2.0
+
+1999-02-05 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: in macro KDE_FIND_PATH treat user given dirs
+ and $PATH dirs the same. Added seperate test for to find binary
+ ($5) to replace findperl
+
+1999-01-28 Stephan Kulow <coolo@kde.org>
+
+ * automoc: added patch by jbb to be a little bit more precise about
+ the number of sourcefiles that include the moc file if it's != 1.
+ Besides that automoc will fail with exit code, so the Makefile.cvs
+ process does stop in case a problem accoured.
+
+ * automoc: don't hardcode header suffix, but allow *.h, *.hh and *.H
+
+1999-01-27 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: try qobjcoll.h and qapplication.h before saying
+ OK to qt headers. (I could kill SuSE for splitting into qt-dev
+ and qt-compat)
+
+1991-01-23 Stephan Kulow <coolo@kde.org>
+
+ * automoc: added fixes by JB <jb.nz@writeme.com>
+
+1999-01-21 Stephan Kulow <coolo@kde.org>
+
+ * automoc: added --help and --path (for use in dist-hook)
+
+1999-01-20 Alex Zepeda <garbanzo@hooked.net>
+
+ * ltconfig: added entries for FreeBSD 4.x
+
+1999-01-19 Stephan Kulow <coolo@kde.org>
+
+ * automoc: added a distclean-metasources target which deletes all
+ moc files and let distclean depend on it
+
+1999-01-18 Stephan Kulow <coolo@kde.org>
+
+ * automoc: several fixes (ignore comment lines + join lines
+ with \ )
+
+ * automoc: support META_INCLUDES in case the header files are
+ not in the same dir as the sources.
+
+1999-01-17 Stephan Kulow <coolo@kde.org>
+
+ * automoc: several fixes.
+
+1999-01-16 Stephan Kulow <coolo@kde.org>
+
+ * automoc: added support for included MOC files.
+
+ * acinclude.m4.in: use srcdir for the subdirs stuff as well
+
+ * automoc: added better command line parsing and some preparation
+ for handling "normal" moc files
+
+ * acinclude.m4.in: added aliases for libkio and libkdeutil
+
+1999-01-15 Harri Porten <porten@kde.org>
+
+ * automoc: Carved in stone syntax for Makefile.in:
+ {program}_METASOURCES = USE_AUTOMOC [{suffix}]
+
+1999-01-15 Stephan Kulow <coolo@kde.org>
+
+ * Makefile.common: set top_srcdir to .
+
+1999-01-14 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: don't use config.h.bot any longer
+
+1999-01-08 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: added KDE_CHECK_NEWLIBS
+
+ * acinclude.m4.in: test for Qt even if both --with-qt-headers and
+ --with-qt-libraries are given. They may be wrong.
+
+1999-01-06 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: change the MOC test so it can be used for other
+ tools as well
+
+1998-12-28 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: look for QT-1.42 since kpanel needs it
+
+1998-12-27 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: added /usr/lib for libpython test
+
+ * acinclude.m4.in: take my email address out of it and added a
+ reference to www.kde.org/faq
+
+ * acinclude.m4.in: use Qt >= 1.4
+
+ * acinclude.m4.in: added KDE_CHECK_NAMESPACES
+
+1998-12-18 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: test for directories to exist before saying yes
+ to compilation :)
+
+1998-12-14 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: added CPLUSPLUS for the kimgio test. It's
+ only important for shaman right now, but at least there it is :)
+
+1998-12-12 Stephan Kulow <coolo@kde.org>
+
+ * Makefile.cvs: added common Makefile.cvs
+
+ * acinclude.m4.in: Thomas.Schwarz@pro-sieben.de reported a very ugly
+ bug in AC_PROG_CXXCPP, so I added my own version
+
+ * acinclude.m4.in: added KDE_CREATE_SUBDIRS_LIST to simplify
+ most toplevel configures
+
+1998-12-11 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: added call to AC_PROG_CXXCPP. Not really sure why
+ it never caused problems
+
+ * acinclude.m4.in: moved LIBTIFF alias
+
+ * acinclude.m4.in: only test for the existance of libkimgio if the
+ user wants to. For 99% of the applications it doesn't matter if
+ configure can find libkimgio :)
+
+1998-12-10 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: some changes to the python check to handle $LIBDL
+
+1998-12-09 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: make Alex's tiff test a real one
+
+ * acinclude.m4.in: fix the LIB_TIFF alias to really expand
+
+1998-12-08 Alex Zepeda <garbanzo@hooked.net>
+
+ * acinclude.m4.in: Fix tiff test to use libtiff34 if it exists.
+ This is what the FreeBSD port installs to for whatever reason.
+
+ * acinclude.m4.in: s/kde/KDE/ (at least in some of the
+ descriptions, obviously no variable names were touched.
+
+1998-12-08 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: moved the LIB_QT alias to the Qt check
+
+ * acinclude.m4.in: unset KDEDIR before running conftest
+
+ * acinclude.m4.in: fixed mean typo
+
+ * acinclude.m4.in: added the copyright header for the gettext
+ tests, so that people know we're legal ;)
+
+ * acinclude.m4.in: set language to C++ before testing QIMGIO
+
+1998-12-07 Alex Zepeda <garbanzo@hooked.net>
+
+ * acinclude.m4.in: Fix PNG test to use correct ANSI C code, and
+ not trip up gcc.
+
+1998-12-07 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: don't hardcode -ldl
+
+ * acinclude.m4.in: move the LIB_X11 alias to the X test to make it
+ useful for kdesupport as well
+
+ * acinclude.m4.in: give the word CHECK_KIMGIO a meaning in really
+ checking for it
+
+ * acinclude.m4.in: simple fix to prevent kimgio test from compiling
+ KDE application in kdelibs
+
+1998-12-05 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: let KDE_CHECK_KIMGIO depend on AC_PATH_KDE,
+ otherwise most tests fail. It didn't mean anything to 90% of the
+ packages since they test for KDE before kimgio, but for shaman
+ it does
+
+ * ltconfig: the real fix for the Solaris && gcc problem.
+ Thanks Kurt for reporting it and Alexandre for fixing it :)
+
+1998-12-04 Stephan Kulow <coolo@kde.org>
+
+ * libtool.*: update again
+
+ * acinclude.m4.in: changed the function to test for libnsl to
+ inet_ntoa since UnixWare 7's version did not have gethostbyname,
+ but needs libnsl
+
+1998-12-02 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: fixed the MOC test (again) to use the PATH variable
+ correctly (with the correct seperator)
+
+ * config.guess: update from the soon to be released autoconf-2.13
+
+1998-12-01 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: fixes for the MOC test. Use PATH now when found
+
+1998-11-30 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: extended the MOC test. It checks now for the
+ first line of the output of "moc --help" and looks for Qt in it.
+
+1998-11-27 Stephan Kulow <coolo@kde.org>
+
+ * ltconfig: another libtool update. Fixes an ugly bug on Solaris,
+ when GNU ld is in path before Solaris ld, but gcc uses the later
+
+1998-11-26 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: made the Qt test more advance to check for qt
+ 1.41 - I still need to make it better, but there shouldn't be too
+ many qt releases in a row, would there? ;)
+
+ * ltconfig: libtool update with better BSD/OS support
+
+1998-11-22 Stephan Kulow <coolo@kde.org>
+
+ * ltconfig: cool - libtool uses g++ now to link libraries on Solaris.
+ This means, static objects become usuable on that plattforms (some
+ others as well).
+
+1998-11-20 Stephan Kulow <coolo@kde.org>
+
+ * ltmain.sh: updated libtool from their CVS - fixes bugs we haven't
+ found and adds some more features, that we do not need ;-)
+
+1998-11-19 David Faure <faure@kde.org>
+
+ * acinclude.m4.in: added AC_CHECK_UTMP_FILE, taken from kdebase
+
+1998-11-16 Harri Porten <porten@kde.org>
+
+ * automoc: take care of "ar" object files, too.
+
+1998-11-16 Stephan Kulow <coolo@kde.org>
+
+ * libtool.m4.in: revised my --silent patch. The solution
+ Alexandre suggested is much better.
+
+1998-11-15 Stephan Kulow <coolo@kde.org>
+
+ * ltconfig.in: done some tweakings to support -export-dynamic
+ with egcs
+
+ * config.sub: wow - BeOS support :)
+
+1998-11-14 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: don't use rpath for test program, if rpath is
+ disabled for applications
+
+ * ltconfig: patched libtool to make it silent without making
+ ltconfig silent
+
+ * acinclude.m4.in: make libtool silent again
+
+ * libtool.m4.in: update to libtool-981114 (untested stuff, but
+ we have to test it to make it tested - sounds that logical? :-)
+
+ * libtool.m4.in: moved the self stricked libtool tests to "our"
+ file.
+
+ * acinclude.m4.in: moved ChangeLog of kdebase which I used to
+ maintain acinclude.m4.in logs to kde-common/admin. Hopefully I
+ will maintain it more often from now on :)
+
+1998-07-27 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: fixed some things in the MOC test
+
+ * acinclude.m4.in: fixed this damn msgfmt test
+
+1998-06-02 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: ignore msgfmt, if not GNU gettext
+
+1998-05-28 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: fixed KDE_CHECK_STL. Checks for HP and SGI type
+
+ * acinclude.m4.in: embraced every variable with "" to make
+ it consistent
+
+ * acinclude.m4.in: various fixes for the koffice checks
+ (mico, ministl and python)
+
+1998-05-16 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: don't use KDE_CHECK_QT_DIRECT, when
+ --with-qt-libs are given
+
+1998-04-21 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: cool, I found the trick to suppress the ls
+ errors
+
+1998-04-20 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: rewrote the qt checking test, since it
+ didn't work under FreeBSD, since it relied on the .so link.
+ The new version is a little bit buggy, but I need some testing
+ to make it perfect
+
+ * acinclude.m4.in: fixed the side effects of the PAM test
+
+1998-04-18 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: hopefully fixed the PAM test (I rewrote it)
+
+1998-04-16 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: extended the getsockname test inspired
+ by a patch by Martin Baulig
+
+ * configure.in: added test for utmp file
+
+ * acinclude.m4.in: made --without-pam default
+
+
+1998-04-06 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: don't test compiling, linking, running in
+ one step. This proved to be too dangerous for my mail box.
+
+1998-03-21 Stephan Kulow <coolo@kde.org>
+
+ * libtool.m4.in: created some new macros to work around this
+ ugly (because long) help of configure --enable-shared/static
+
+1998-03-05 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: set language to C++ before trying the ksize_t
+ test
+
+ * configure.in: sorted the Makefile entries alphabeticly (and all
+ together: we love xemacs! we love xemacs! ;)
+
+ * configure.in: added sk
+
+ * acinclude.m4.in: substitute x_libraries to fix the empty -rpath
+
+1998-03-03 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: add a rpath for every shared library, that is
+ linked too (especially X11 libraries)
+
+Tue Feb 24 22:04:59 1998 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: added kde_sounddir and set kde_minidir to
+ kde_icondir/mini to break not too much
+
+Sun Feb 15 18:25:50 1998 Stephan Kulow <coolo@kde.org>
+
+ * configure.in: added bugfix by Bob Miller <kbob@engr.sgi.com>
+ (correct reset of IFS)
+
+Wed Feb 11 00:53:11 1998 Stephan Kulow <coolo@kde.org>
+
+ * configure.in: made shadow under Linux default, since the
+ binaries will work also under non-shadow systems. The only problem
+ left is PAM, so I disabled shadow in case, PAM is present
+
+Tue Feb 10 16:46:32 1998 Stephan Kulow <coolo@kde.org>
+
+ * configure.in: added test for nice to find out, if the option
+ -nice works for the screensavers
+
+ * acinclude.m4.in: port to LynxOS. For this I moved all library
+ search routines in KDE_MISC_TESTS, so I don't need to write this
+ in every package
+
+ * README: some grammar fixes
+
+ * acinclude.m4.in: search for the libs in the exec_prefix, when
+ it's present
+
+Sun Feb 8 14:07:23 1998 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: updated all packages
+
+ * libtool.m4.in: applied patch for libtool.m4.in to show the
+ correct default for shared and static
+
+
+Sat Feb 7 10:56:00 1998 Stephan Kulow <coolo@kde.org>
+
+ * configure.in: good news - KDE is relocatable again.
+
+ * libtool.m4.in: updated to latest libtool 1.0i
+
+Fri Feb 6 21:26:51 1998 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: added a AC_PROVIDE for AC_PROG_CC and
+ AC_PROG_CPP to KDE_CHECK_COMPILERS
+
+Thu Feb 5 16:27:47 1998 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: put $QTDIR/bin before /usr/bin in the path to
+ look for moc. I don't know why, but I got a report, that configure
+ found /usr/bin/moc under Solaris
+
+Fri Jan 30 15:47:50 1998 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: export LIBRARY_PATH after reset to the saved
+ value
+
+ * acinclude.m4.in: unset the LIBRARY_PATH to get a relieable
+ result when trying to find, if Qt compiles without -L
+
+Sat Jan 24 00:45:52 1998 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: fixed another bug in AC_PATH_KDE
+
+Thu Jan 22 14:46:15 1998 Stephan Kulow <coolo@kde.org>
+
+ * configure.in: fixed an ugly bug in AC_BASE_PATH_KDE
+
+ * kappfinder/kappfinder.in: let kappfinder create by configure to
+ allow the use of the kde_ paths
+
+Wed Jan 21 22:19:35 1998 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in: - added a install_root prefix to all paths, if
+ set, to enable package managers to move the whole installation at once
+ - added --with-install-root to set the install_root prefix
+
+Tue Jan 20 22:41:04 1998 Stephan Kulow <coolo@kde.org>
+
+ * configure.in: added NOOPT_CXXFLAGS to allow kioslave to be
+ compiled without -O2
+
+Mon Jan 19 21:55:21 1998 Stephan Kulow <coolo@kde.org>
+
+ * configure.in: some little fixes for the Makefiles
+
+ * acinclude.m4.in: --prefix will no longer override the search for
+ libraries. If they are present somewhere, they are used (through
+ the methodes in KApplication)
+
+Mon Jan 12 00:30:36 1998 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in fixed an ugly bug, that accoured, when
+ qt_libraries is not set (empty/equals X11/not necessary)
+
+ * acinclude.m4.in moved the remove of the files after the error
+ detection
+
+
+Sun Jan 11 17:27:53 1998 Stephan Kulow <coolo@kde.org>
+
+ * acinclude.m4.in added a new macro KDE_CHECK_QT_DIRECT to unset
+ the Qt library path, if a Qt program compiles without them
+
+ * acinclude.m4.in added a return value in the CREATE_KFSSTND
+ macro. Perhaps this has caused the problems
+
+Sat Jan 10 17:40:44 1998 Stephan Kulow <coolo@kde.org>
+
+ * ChangeLog started to maintain a ChangeLog file again
+ * acinclude.m4.in the AC_CREATE_KFSSTND to get better debug output
+ to find the problem
+
+
+Old logs, Stephan Kulow made:
+
+0.1 : first steps with libkde
+0.2 : first release with libkde, khtmlw, kdehelp, acli, kwm, kpanel
+0.3 : added kfm and bugfixes
+0.4 : updated khtmlw, kdehelp, kwm, changed install in all subdirs
+0.5 : support libtool (chooseable shared libs)
+0.6 : split libkde in kdecore and kdeui
+0.6.1 : Bugfixes
+0.7 : added code from Janos Farkas (configure)
+ : added @{kde,qt}_{includes,libraries}@
+0.7.1: Bugfixes
+0.7.2: Bugfixes
+0.7.3: added @all_includes@ and @all_libraries@
+ replaced all incompatible flags like $(CC) and -DHAVE_UNISTD_H
+0.7.4: changed support for libkde (back in it's own)
+ added kpat
+ updated kpanel, kwm, kghostview
+0.8: removed a bug in kghostview
+ lifted installation process of several apps
+ splitt kdebase into kdelibs and kdeapps
+ updated khtmlw, kfm and kdehelp
+ added kcalc and kpaint
+ updated kdisplay
+ added kscreensaver
+ added --enable-kscreensaver
+ added --enable-debug (and @CXXFLAGS@ to all Makefile.ins)
+ updated kwm to 0.4.7
+ added make uninstall to every app
+ added kvt
+ added khexdit
+ added .kdelnk for kmines, kedit, ktetris
+ put kwm, kfind's .kdelnk in the right directories
+ replaced --enable-kscreensaver by --disable-kscreensaver
+ updated kpanel to 0.15
+ some bugfixes (thanks Marco)
+ some bugfixes (thanks Martin)
+ changed acinclude.m4, because aclocal won't
+ updated kwm to 0.4.8 (patched it again for Qt-1.2)
+ updated kvt to 0.13 (patch from Matthias)
+ patched kvt and kwm
+ updated kwm to 0.5.0
+ updated kvt for 0.14 (again and again :-)
+ updated kview to 0.10
+ updated kfm to 0.6.3
+ patched kscreensaver for FreeBSD (thanks Marc)
+0.9: updated kdisplay to 0.5.3
+ added klogout
+ patches from Matthias
+ updated kfm to 0.6.4
+ updated kghostview to 0.4
+ added QTINC and QTLIB
+ updated kdehelp to 0.4.11
+ patched kfm to support ktoolbar
+ updated kedit to kedit+
+ added kfontmanager 0.2.1
+0.9.1: changed kpaint's make style
+ bugfixing
+ updated kmines to 0.6.5
+ updated ktetris to 0.2.4
+ changed to Makefiles to depend on Makefile.in
+ changed the Makefiles to let install depend on all
+ added kjots-0.2.2
+ updated kjots-0.2.3
+ updated kfm to 0.6.6
+ updated kjots-0.2.4
+ updated kpaint-0.2
+ updated kedit to 0.5
+ updated kfontmanager to 0.2.2
+ updated kfm to 0.6.7
+ updated ktetris to 0.2.5
+ updated kjots to 0.2.5
+0.10: added HAVE_SQRTL
+ added HAVE_CRYPT_H
+ updated kfind
+ updated kfm to kfm-0.8.1
+ re-introduced automake to kdebase
+ bugfixes for the configure.in
+ added XPM, GL and PAM tests to configure
+ added morph3d to kscreensavers
+ updated kfind to 0.3.2
+ added some patches for SGI
+... lost the time to maintain a Changelog ;)
diff --git a/gettext-tools/examples/hello-c++-kde/admin/Doxyfile.am b/gettext-tools/examples/hello-c++-kde/admin/Doxyfile.am
new file mode 100644
index 0000000..4697887
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/Doxyfile.am
@@ -0,0 +1,163 @@
+## generate API documentation with doxygen
+apidox-am-yes:
+ @if test "$(subdir)" != "."; then \
+ $(mkinstalldirs) $(top_builddir)/apidocs/$(subdir) ;\
+ if test ! -x $(top_builddir)/apidocs/common; then \
+ if test -d $(top_srcdir)/doc/common; then \
+ common_dir=`cd $(top_srcdir)/doc/common && pwd` ;\
+ else \
+ common_dir=$(kde_libs_htmldir)/en/common ;\
+ fi ;\
+ $(LN_S) $$common_dir $(top_builddir)/apidocs/common; \
+ fi ;\
+ cp $(top_srcdir)/admin/Doxyfile.global Doxyfile; \
+ echo "PROJECT_NAME = \"$(subdir) Library\"" >> Doxyfile; \
+ echo "PROJECT_NUMBER = \"Version $(VERSION)\"" >> Doxyfile; \
+ echo "INPUT = $(srcdir)" >> Doxyfile; \
+ echo "IMAGE_PATH = $(top_srcdir)/doc/api" >> Doxyfile ;\
+ echo "OUTPUT_DIRECTORY = $(top_builddir)/apidocs" >> Doxyfile; \
+ echo "HTML_OUTPUT = $(subdir)/html" >> Doxyfile; \
+ echo "LATEX_OUTPUT = $(subdir)/latex" >> Doxyfile; \
+ echo "RTF_OUTPUT = $(subdir)/rtf" >> Doxyfile; \
+ echo "MAN_OUTPUT = $(subdir)/man" >> Doxyfile; \
+ echo "GENERATE_HTML = $(GENERATE_FLAG)" >> Doxyfile ;\
+ echo "GENERATE_MAN = $(GENERATE_FLAG)" >> Doxyfile ;\
+ echo "GENERATE_LATEX = $(GENERATE_FLAG)" >> Doxyfile ;\
+ if test -n "$(DOXYGEN_EXCLUDE)"; then \
+ echo "EXCLUDE_PATTERNS += $(DOXYGEN_EXCLUDE)" >> Doxyfile; \
+ fi ;\
+ echo "TAGFILES = \\" >> Doxyfile; \
+ tags='$(DOXYGEN_REFERENCES) qt'; for tag in $$tags; do \
+ tagpath= ;\
+ path="../../$$tag" ;\
+ if test -f $(top_builddir)/apidocs/$$tag/$$tag.tag; then \
+ tagpath="$(top_builddir)/apidocs/$$tag/$$tag.tag" ;\
+ else \
+ tagpath=`ls -1 $(kde_htmldir)/en/*-apidocs/$$tag/$$tag.tag 2> /dev/null` ;\
+ if test -n "$$tagpath"; then \
+ path=`echo $$tagpath | sed -e "s,.*/\([^/]*-apidocs\)/$$tag/$$tag.tag,../../../\1/$$tag,"` ;\
+ fi ;\
+ fi ;\
+ if test "$$tag" = qt; then \
+ echo $$tagpath=$(QTDOCDIR) >> Doxyfile ;\
+ else if test -n "$$tagpath"; then \
+ echo "$$tagpath=$$path/html \\" >> Doxyfile ;\
+ fi ;\
+ fi ;\
+ done ;\
+ echo "GENERATE_TAGFILE = $(top_builddir)/apidocs/$(subdir)/$(subdir).tag" >> Doxyfile ;\
+ echo "IGNORE_PREFIX = K" >> Doxyfile ;\
+ echo "HAVE_DOT = $(KDE_HAVE_DOT)" >> Doxyfile ;\
+ $(DOXYGEN) Doxyfile ;\
+ fi
+
+apidox-am-no:
+
+install-data-local: install-apidox
+
+## install API documentation
+install-apidox:
+ @if test "$(subdir)" != "."; then \
+ $(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html ; \
+ if test -f $(top_builddir)/apidocs/$(subdir)/$(subdir).tag; then \
+ echo $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/$(subdir).tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
+ $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/$(subdir).tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
+ fi; \
+ if test -d $(top_builddir)/apidocs/$(subdir)/html; then \
+ list=`ls $(top_builddir)/apidocs/$(subdir)/html`; \
+ for file in $$list; do \
+ echo $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/html/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html; \
+ $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/html/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html; \
+ done; \
+ fi; \
+ rm -f $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/common; \
+ $(LN_S) $(kde_libs_htmldir)/en/common $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/common; \
+ else\
+ if test -d $(top_builddir)/apidocs; then \
+ $(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs ;\
+ list=`cd $(top_builddir)/apidocs && ls -1`; \
+ for file in $$list; do \
+ if test -f $(top_builddir)/apidocs/$$file; then \
+ echo $(INSTALL_DATA) $(top_builddir)/apidocs/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
+ $(INSTALL_DATA) $(top_builddir)/apidocs/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
+ fi; \
+ done ; fi; \
+ fi
+
+uninstall-local: uninstall-apidox
+
+## uninstall API documentation
+uninstall-apidox:
+ @if test "$(subdir)" != "."; then \
+ if test -d $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); then \
+ rm -rfv $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
+ fi\
+ else\
+ if test -d $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; then \
+ rm -rfv $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
+ fi\
+ fi
+
+apidox:
+ @if test "$(subdir)" != "."; then \
+ $(MAKE) apidox-am-@KDE_HAS_DOXYGEN@ ;\
+ else \
+ $(MAKE) apidox-am-toplevel-@KDE_HAS_DOXYGEN@ ;\
+ fi
+ @set fnord $(MAKEFLAGS); amf=$$2; if test -n '$(SUBDIRS)'; then \
+ list='$(SUBDIRS)'; \
+ for subdir in $$list; do \
+ if grep '^include .*Doxyfile.am' $(srcdir)/$$subdir/Makefile.am; then \
+ echo "Making apidox in $$subdir"; \
+ if test "$$subdir" != "."; then \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) GENERATE_FLAG=no apidox) || exit 1; \
+ fi ; fi ;\
+ done; \
+ for subdir in $$list; do \
+ if grep '^include .*Doxyfile.am' $(srcdir)/$$subdir/Makefile.am; then \
+ echo "Making apidox in $$subdir"; \
+ if test "$$subdir" != "."; then \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) GENERATE_FLAG=yes apidox) || exit 1; \
+ fi ; fi ;\
+ done; \
+ fi
+
+apidox-am-toplevel-no:
+apidox-am-toplevel-yes:
+ @echo "*** Creating API documentation main page"; \
+ cp $(top_srcdir)/admin/Doxyfile.global Doxyfile; \
+ echo "PROJECT_NAME = $(DOXYGEN_PROJECT_NAME)" >> Doxyfile ; \
+ echo "PROJECT_NUMBER = $(DOXYGEN_PROJECT_NUMBER)" >> Doxyfile ; \
+ echo "INPUT = $(top_srcdir)" >> Doxyfile ; \
+ echo "OUTPUT_DIRECTORY = $(top_builddir)/apidocs" >> Doxyfile ; \
+ echo "FILE_PATTERNS = *.dox" >> Doxyfile ; \
+ echo "RECURSIVE = NO" >> Doxyfile ; \
+ echo "SOURCE_BROWSER = NO" >> Doxyfile ; \
+ echo "ALPHABETICAL_INDEX = NO" >> Doxyfile ; \
+ echo "HTML_OUTPUT = ." >> Doxyfile ; \
+ echo "HTML_HEADER = apidocs/common/mainheader.html" >> Doxyfile ; \
+ echo "HTML_FOOTER = apidocs/common/mainfooter.html" >> Doxyfile ; \
+ echo "HTML_STYLESHEET = apidocs/common/doxygen.css" >> Doxyfile ; \
+ echo "GENERATE_LATEX = NO" >> Doxyfile ; \
+ echo "GENERATE_RTF = NO" >> Doxyfile ; \
+ echo "GENERATE_MAN = NO" >> Doxyfile ; \
+ echo "GENERATE_XML = NO" >> Doxyfile ; \
+ echo "GENERATE_AUTOGEN_DEF = NO" >> Doxyfile ; \
+ echo "ENABLE_PREPROCESSING = NO" >> Doxyfile ; \
+ echo "CLASS_DIAGRAMS = NO" >> Doxyfile ; \
+ echo "HAVE_DOT = NO" >> Doxyfile ; \
+ echo "GENERATE_HTML = YES" >> Doxyfile ;\
+ $(mkinstalldirs) $(top_builddir)/apidocs ; \
+ rm -f $(top_builddir)/apidocs/common ; \
+ if test -d $(top_srcdir)/doc/common; then \
+ common_dir=`cd $(top_srcdir)/doc/common && pwd` ;\
+ else \
+ common_dir=$(kde_libs_htmldir)/en/common ;\
+ fi ;\
+ $(LN_S) $$common_dir $(top_builddir)/apidocs/common ;\
+ doxygen Doxyfile; \
+ rm -f Doxyfile
+
+# Local Variables:
+# mode: makefile
+# End:
diff --git a/gettext-tools/examples/hello-c++-kde/admin/Doxyfile.global b/gettext-tools/examples/hello-c++-kde/admin/Doxyfile.global
new file mode 100644
index 0000000..2ecb694
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/Doxyfile.global
@@ -0,0 +1,950 @@
+# Doxyfile 1.2.15
+
+# This file describes the settings to be used by the documentation system
+# doxygen (www.doxygen.org) for a project
+#
+# All text after a hash (#) is considered a comment and will be ignored
+# The format is:
+# TAG = value [value, ...]
+# For lists items can also be appended using:
+# TAG += value [value, ...]
+# Values that contain spaces should be placed between quotes (" ")
+
+#---------------------------------------------------------------------------
+# General configuration options
+#---------------------------------------------------------------------------
+
+# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
+# by quotes) that should identify the project.
+
+PROJECT_NAME =
+
+# The PROJECT_NUMBER tag can be used to enter a project or revision number.
+# This could be handy for archiving the generated documentation or
+# if some version control system is used.
+
+PROJECT_NUMBER = "Version 3.0"
+
+# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
+# base path where the generated documentation will be put.
+# If a relative path is entered, it will be relative to the location
+# where doxygen was started. If left blank the current directory will be used.
+
+OUTPUT_DIRECTORY = ../apidocs/
+
+# The OUTPUT_LANGUAGE tag is used to specify the language in which all
+# documentation generated by doxygen is written. Doxygen will use this
+# information to generate all constant output in the proper language.
+# The default language is English, other supported languages are:
+# Brazilian, Chinese, Croatian, Czech, Danish, Dutch, Finnish, French,
+# German, Greek, Hungarian, Italian, Japanese, Korean, Norwegian, Polish,
+# Portuguese, Romanian, Russian, Slovak, Slovene, Spanish and Swedish.
+
+OUTPUT_LANGUAGE = English
+
+# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
+# documentation are documented, even if no documentation was available.
+# Private class members and static file members will be hidden unless
+# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
+
+EXTRACT_ALL = NO
+
+# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
+# will be included in the documentation.
+
+EXTRACT_PRIVATE = NO
+
+# If the EXTRACT_STATIC tag is set to YES all static members of a file
+# will be included in the documentation.
+
+EXTRACT_STATIC = YES
+
+# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
+# defined locally in source files will be included in the documentation.
+# If set to NO only classes defined in header files are included.
+
+EXTRACT_LOCAL_CLASSES = NO
+
+# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
+# undocumented members of documented classes, files or namespaces.
+# If set to NO (the default) these members will be included in the
+# various overviews, but no documentation section is generated.
+# This option has no effect if EXTRACT_ALL is enabled.
+
+HIDE_UNDOC_MEMBERS = NO
+
+# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
+# undocumented classes that are normally visible in the class hierarchy.
+# If set to NO (the default) these class will be included in the various
+# overviews. This option has no effect if EXTRACT_ALL is enabled.
+
+HIDE_UNDOC_CLASSES = YES
+
+# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
+# include brief member descriptions after the members that are listed in
+# the file and class documentation (similar to JavaDoc).
+# Set to NO to disable this.
+
+BRIEF_MEMBER_DESC = YES
+
+# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
+# the brief description of a member or function before the detailed description.
+# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
+# brief descriptions will be completely suppressed.
+
+REPEAT_BRIEF = YES
+
+# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
+# Doxygen will generate a detailed section even if there is only a brief
+# description.
+
+ALWAYS_DETAILED_SEC = YES
+
+# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited
+# members of a class in the documentation of that class as if those members were
+# ordinary class members. Constructors, destructors and assignment operators of
+# the base classes will not be shown.
+
+INLINE_INHERITED_MEMB = NO
+
+# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
+# path before files name in the file list and in the header files. If set
+# to NO the shortest path that makes the file name unique will be used.
+
+FULL_PATH_NAMES = NO
+
+# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
+# can be used to strip a user defined part of the path. Stripping is
+# only done if one of the specified strings matches the left-hand part of
+# the path. It is allowed to use relative paths in the argument list.
+
+STRIP_FROM_PATH =
+
+# The INTERNAL_DOCS tag determines if documentation
+# that is typed after a \internal command is included. If the tag is set
+# to NO (the default) then the documentation will be excluded.
+# Set it to YES to include the internal documentation.
+
+INTERNAL_DOCS = NO
+
+# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct
+# doxygen to hide any special comment blocks from generated source code
+# fragments. Normal C and C++ comments will always remain visible.
+
+STRIP_CODE_COMMENTS = YES
+
+# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
+# file names in lower case letters. If set to YES upper case letters are also
+# allowed. This is useful if you have classes or files whose names only differ
+# in case and if your file system supports case sensitive file names. Windows
+# users are adviced to set this option to NO.
+
+CASE_SENSE_NAMES = YES
+
+# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
+# (but less readable) file names. This can be useful is your file systems
+# doesn't support long names like on DOS, Mac, or CD-ROM.
+
+SHORT_NAMES = NO
+
+# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
+# will show members with their full class and namespace scopes in the
+# documentation. If set to YES the scope will be hidden.
+
+HIDE_SCOPE_NAMES = NO
+
+# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen
+# will generate a verbatim copy of the header file for each class for
+# which an include is specified. Set to NO to disable this.
+
+VERBATIM_HEADERS = YES
+
+# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
+# will put list of the files that are included by a file in the documentation
+# of that file.
+
+SHOW_INCLUDE_FILES = YES
+
+# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
+# will interpret the first line (until the first dot) of a JavaDoc-style
+# comment as the brief description. If set to NO, the JavaDoc
+# comments will behave just like the Qt-style comments (thus requiring an
+# explict @brief command for a brief description.
+
+JAVADOC_AUTOBRIEF = YES
+
+# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
+# member inherits the documentation from any documented member that it
+# reimplements.
+
+INHERIT_DOCS = YES
+
+# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
+# is inserted in the documentation for inline members.
+
+INLINE_INFO = YES
+
+# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
+# will sort the (detailed) documentation of file and class members
+# alphabetically by member name. If set to NO the members will appear in
+# declaration order.
+
+SORT_MEMBER_DOCS = NO
+
+# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
+# tag is set to YES, then doxygen will reuse the documentation of the first
+# member in the group (if any) for the other members of the group. By default
+# all members of a group must be documented explicitly.
+
+DISTRIBUTE_GROUP_DOC = NO
+
+# The TAB_SIZE tag can be used to set the number of spaces in a tab.
+# Doxygen uses this value to replace tabs by spaces in code fragments.
+
+TAB_SIZE = 4
+
+# The GENERATE_TODOLIST tag can be used to enable (YES) or
+# disable (NO) the todo list. This list is created by putting \todo
+# commands in the documentation.
+
+GENERATE_TODOLIST = NO
+
+# The GENERATE_TESTLIST tag can be used to enable (YES) or
+# disable (NO) the test list. This list is created by putting \test
+# commands in the documentation.
+
+GENERATE_TESTLIST = NO
+
+# The GENERATE_BUGLIST tag can be used to enable (YES) or
+# disable (NO) the bug list. This list is created by putting \bug
+# commands in the documentation.
+
+GENERATE_BUGLIST = YES
+
+# This tag can be used to specify a number of aliases that acts
+# as commands in the documentation. An alias has the form "name=value".
+# For example adding "sideeffect=\par Side Effects:\n" will allow you to
+# put the command \sideeffect (or @sideeffect) in the documentation, which
+# will result in a user defined paragraph with heading "Side Effects:".
+# You can put \n's in the value part of an alias to insert newlines.
+
+ALIASES = libdoc=@mainpage \
+ sect=<p><b> \
+ reimplemented= \
+ "deprecated=<b>This class or method is obsolete, it is provided for compatibility only.</b>" \
+ obsolete=@deprecated
+
+# The ENABLED_SECTIONS tag can be used to enable conditional
+# documentation sections, marked by \if sectionname ... \endif.
+
+ENABLED_SECTIONS =
+
+# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
+# the initial value of a variable or define consist of for it to appear in
+# the documentation. If the initializer consists of more lines than specified
+# here it will be hidden. Use a value of 0 to hide initializers completely.
+# The appearance of the initializer of individual variables and defines in the
+# documentation can be controlled using \showinitializer or \hideinitializer
+# command in the documentation regardless of this setting.
+
+MAX_INITIALIZER_LINES = 30
+
+# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
+# only. Doxygen will then generate output that is more tailored for C.
+# For instance some of the names that are used will be different. The list
+# of all members will be omitted, etc.
+
+OPTIMIZE_OUTPUT_FOR_C = NO
+
+# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources
+# only. Doxygen will then generate output that is more tailored for Java.
+# For instance namespaces will be presented as packages, qualified scopes
+# will look different, etc.
+
+OPTIMIZE_OUTPUT_JAVA = NO
+
+# Set the SHOW_USED_FILES tag to NO to disable the list of files generated
+# at the bottom of the documentation of classes and structs. If set to YES the
+# list will mention the files that were used to generate the documentation.
+
+SHOW_USED_FILES = YES
+
+#---------------------------------------------------------------------------
+# configuration options related to warning and progress messages
+#---------------------------------------------------------------------------
+
+# The QUIET tag can be used to turn on/off the messages that are generated
+# by doxygen. Possible values are YES and NO. If left blank NO is used.
+
+QUIET = YES
+
+# The WARNINGS tag can be used to turn on/off the warning messages that are
+# generated by doxygen. Possible values are YES and NO. If left blank
+# NO is used.
+
+WARNINGS = YES
+
+# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
+# for undocumented members. If EXTRACT_ALL is set to YES then this flag will
+# automatically be disabled.
+
+WARN_IF_UNDOCUMENTED = NO
+
+# The WARN_FORMAT tag determines the format of the warning messages that
+# doxygen can produce. The string should contain the $file, $line, and $text
+# tags, which will be replaced by the file and line number from which the
+# warning originated and the warning text.
+
+WARN_FORMAT =
+
+# The WARN_LOGFILE tag can be used to specify a file to which warning
+# and error messages should be written. If left blank the output is written
+# to stderr.
+
+WARN_LOGFILE =
+
+#---------------------------------------------------------------------------
+# configuration options related to the input files
+#---------------------------------------------------------------------------
+
+# The INPUT tag can be used to specify the files and/or directories that contain
+# documented source files. You may enter file names like "myfile.cpp" or
+# directories like "/usr/src/myproject". Separate the files or directories
+# with spaces.
+
+INPUT =
+
+# If the value of the INPUT tag contains directories, you can use the
+# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
+# and *.h) to filter out the source-files in the directories. If left
+# blank the following patterns are tested:
+# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp
+# *.h++ *.idl *.odl
+
+FILE_PATTERNS = *.h \
+ *.cpp \
+ *.cc \
+ *.hpp
+
+# The RECURSIVE tag can be used to turn specify whether or not subdirectories
+# should be searched for input files as well. Possible values are YES and NO.
+# If left blank NO is used.
+
+RECURSIVE = YES
+
+# The EXCLUDE tag can be used to specify files and/or directories that should
+# excluded from the INPUT source files. This way you can easily exclude a
+# subdirectory from a directory tree whose root is specified with the INPUT tag.
+
+EXCLUDE =
+
+# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories
+# that are symbolic links (a Unix filesystem feature) are excluded from the input.
+
+EXCLUDE_SYMLINKS = NO
+
+# If the value of the INPUT tag contains directories, you can use the
+# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
+# certain files from those directories.
+
+EXCLUDE_PATTERNS = *.moc.* \
+ moc* \
+ *.all_cpp.* \
+ *unload.* \
+ */test/* \
+ */tests/*
+
+# The EXAMPLE_PATH tag can be used to specify one or more files or
+# directories that contain example code fragments that are included (see
+# the \include command).
+
+EXAMPLE_PATH =
+
+# If the value of the EXAMPLE_PATH tag contains directories, you can use the
+# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
+# and *.h) to filter out the source-files in the directories. If left
+# blank all files are included.
+
+EXAMPLE_PATTERNS =
+
+# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
+# searched for input files to be used with the \include or \dontinclude
+# commands irrespective of the value of the RECURSIVE tag.
+# Possible values are YES and NO. If left blank NO is used.
+
+EXAMPLE_RECURSIVE = NO
+
+# The IMAGE_PATH tag can be used to specify one or more files or
+# directories that contain image that are included in the documentation (see
+# the \image command).
+
+IMAGE_PATH =
+
+# The INPUT_FILTER tag can be used to specify a program that doxygen should
+# invoke to filter for each input file. Doxygen will invoke the filter program
+# by executing (via popen()) the command <filter> <input-file>, where <filter>
+# is the value of the INPUT_FILTER tag, and <input-file> is the name of an
+# input file. Doxygen will then use the output that the filter program writes
+# to standard output.
+
+INPUT_FILTER =
+
+# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
+# INPUT_FILTER) will be used to filter the input files when producing source
+# files to browse.
+
+FILTER_SOURCE_FILES = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to source browsing
+#---------------------------------------------------------------------------
+
+# If the SOURCE_BROWSER tag is set to YES then a list of source files will
+# be generated. Documented entities will be cross-referenced with these sources.
+
+SOURCE_BROWSER = YES
+
+# Setting the INLINE_SOURCES tag to YES will include the body
+# of functions and classes directly in the documentation.
+
+INLINE_SOURCES = NO
+
+# If the REFERENCED_BY_RELATION tag is set to YES (the default)
+# then for each documented function all documented
+# functions referencing it will be listed.
+
+REFERENCED_BY_RELATION = YES
+
+# If the REFERENCES_RELATION tag is set to YES (the default)
+# then for each documented function all documented entities
+# called/used by that function will be listed.
+
+REFERENCES_RELATION = YES
+
+#---------------------------------------------------------------------------
+# configuration options related to the alphabetical class index
+#---------------------------------------------------------------------------
+
+# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
+# of all compounds will be generated. Enable this if the project
+# contains a lot of classes, structs, unions or interfaces.
+
+ALPHABETICAL_INDEX = YES
+
+# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then
+# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
+# in which this list will be split (can be a number in the range [1..20])
+
+COLS_IN_ALPHA_INDEX = 3
+
+# In case all classes in a project start with a common prefix, all
+# classes will be put under the same header in the alphabetical index.
+# The IGNORE_PREFIX tag can be used to specify one or more prefixes that
+# should be ignored while generating the index headers.
+
+IGNORE_PREFIX = K
+
+#---------------------------------------------------------------------------
+# configuration options related to the HTML output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_HTML tag is set to YES (the default) Doxygen will
+# generate HTML output.
+
+GENERATE_HTML = NO
+
+# The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `html' will be used as the default path.
+
+HTML_OUTPUT =
+
+# The HTML_FILE_EXTENSION tag can be used to specify the file extension for
+# each generated HTML page (for example: .htm,.php,.asp). If it is left blank
+# doxygen will generate files with .html extension.
+
+HTML_FILE_EXTENSION = .html
+
+# The HTML_HEADER tag can be used to specify a personal HTML header for
+# each generated HTML page. If it is left blank doxygen will generate a
+# standard header.
+
+HTML_HEADER = ../apidocs/common/header.html
+
+# The HTML_FOOTER tag can be used to specify a personal HTML footer for
+# each generated HTML page. If it is left blank doxygen will generate a
+# standard footer.
+
+HTML_FOOTER = ../apidocs/common/footer.html
+
+# The HTML_STYLESHEET tag can be used to specify a user defined cascading
+# style sheet that is used by each HTML page. It can be used to
+# fine-tune the look of the HTML output. If the tag is left blank doxygen
+# will generate a default style sheet
+
+HTML_STYLESHEET = ../apidocs/common/doxygen.css
+
+# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
+# files or namespaces will be aligned in HTML using tables. If set to
+# NO a bullet list will be used.
+
+HTML_ALIGN_MEMBERS = YES
+
+# If the GENERATE_HTMLHELP tag is set to YES, additional index files
+# will be generated that can be used as input for tools like the
+# Microsoft HTML help workshop to generate a compressed HTML help file (.chm)
+# of the generated HTML documentation.
+
+GENERATE_HTMLHELP = NO
+
+# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
+# controls if a separate .chi index file is generated (YES) or that
+# it should be included in the master .chm file (NO).
+
+GENERATE_CHI = NO
+
+# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag
+# controls whether a binary table of contents is generated (YES) or a
+# normal table of contents (NO) in the .chm file.
+
+BINARY_TOC = NO
+
+# The TOC_EXPAND flag can be set to YES to add extra items for group members
+# to the contents of the Html help documentation and to the tree view.
+
+TOC_EXPAND = NO
+
+# The DISABLE_INDEX tag can be used to turn on/off the condensed index at
+# top of each HTML page. The value NO (the default) enables the index and
+# the value YES disables it.
+
+DISABLE_INDEX = YES
+
+# This tag can be used to set the number of enum values (range [1..20])
+# that doxygen will group on one line in the generated HTML documentation.
+
+ENUM_VALUES_PER_LINE = 4
+
+# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be
+# generated containing a tree-like index structure (just like the one that
+# is generated for HTML Help). For this to work a browser that supports
+# JavaScript and frames is required (for instance Mozilla, Netscape 4.0+,
+# or Internet explorer 4.0+). Note that for large projects the tree generation
+# can take a very long time. In such cases it is better to disable this feature.
+# Windows users are probably better off using the HTML help feature.
+
+GENERATE_TREEVIEW = NO
+
+# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
+# used to set the initial width (in pixels) of the frame in which the tree
+# is shown.
+
+TREEVIEW_WIDTH = 250
+
+#---------------------------------------------------------------------------
+# configuration options related to the LaTeX output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
+# generate Latex output.
+
+GENERATE_LATEX = NO
+
+# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `latex' will be used as the default path.
+
+LATEX_OUTPUT =
+
+# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be invoked. If left blank `latex' will be used as the default command name.
+
+LATEX_CMD_NAME = latex
+
+# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to
+# generate index for LaTeX. If left blank `makeindex' will be used as the
+# default command name.
+
+MAKEINDEX_CMD_NAME = makeindex
+
+# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
+# LaTeX documents. This may be useful for small projects and may help to
+# save some trees in general.
+
+COMPACT_LATEX = NO
+
+# The PAPER_TYPE tag can be used to set the paper type that is used
+# by the printer. Possible values are: a4, a4wide, letter, legal and
+# executive. If left blank a4wide will be used.
+
+PAPER_TYPE = a4wide
+
+# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
+# packages that should be included in the LaTeX output.
+
+EXTRA_PACKAGES =
+
+# The LATEX_HEADER tag can be used to specify a personal LaTeX header for
+# the generated latex document. The header should contain everything until
+# the first chapter. If it is left blank doxygen will generate a
+# standard header. Notice: only use this tag if you know what you are doing!
+
+LATEX_HEADER =
+
+# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated
+# is prepared for conversion to pdf (using ps2pdf). The pdf file will
+# contain links (just like the HTML output) instead of page references
+# This makes the output suitable for online browsing using a pdf viewer.
+
+PDF_HYPERLINKS = NO
+
+# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
+# plain latex in the generated Makefile. Set this option to YES to get a
+# higher quality PDF documentation.
+
+USE_PDFLATEX = NO
+
+# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
+# command to the generated LaTeX files. This will instruct LaTeX to keep
+# running if errors occur, instead of asking the user for help.
+# This option is also used when generating formulas in HTML.
+
+LATEX_BATCHMODE = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to the RTF output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output
+# The RTF output is optimised for Word 97 and may not look very pretty with
+# other RTF readers or editors.
+
+GENERATE_RTF = NO
+
+# The RTF_OUTPUT tag is used to specify where the RTF docs will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `rtf' will be used as the default path.
+
+RTF_OUTPUT =
+
+# If the COMPACT_RTF tag is set to YES Doxygen generates more compact
+# RTF documents. This may be useful for small projects and may help to
+# save some trees in general.
+
+COMPACT_RTF = NO
+
+# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated
+# will contain hyperlink fields. The RTF file will
+# contain links (just like the HTML output) instead of page references.
+# This makes the output suitable for online browsing using WORD or other
+# programs which support those fields.
+# Note: wordpad (write) and others do not support links.
+
+RTF_HYPERLINKS = NO
+
+# Load stylesheet definitions from file. Syntax is similar to doxygen's
+# config file, i.e. a series of assigments. You only have to provide
+# replacements, missing definitions are set to their default value.
+
+RTF_STYLESHEET_FILE =
+
+# Set optional variables used in the generation of an rtf document.
+# Syntax is similar to doxygen's config file.
+
+RTF_EXTENSIONS_FILE =
+
+#---------------------------------------------------------------------------
+# configuration options related to the man page output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_MAN tag is set to YES (the default) Doxygen will
+# generate man pages
+
+GENERATE_MAN = NO
+
+# The MAN_OUTPUT tag is used to specify where the man pages will be put.
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be
+# put in front of it. If left blank `man' will be used as the default path.
+
+MAN_OUTPUT =
+
+# The MAN_EXTENSION tag determines the extension that is added to
+# the generated man pages (default is the subroutine's section .3)
+
+MAN_EXTENSION = .kde3
+
+# If the MAN_LINKS tag is set to YES and Doxygen generates man output,
+# then it will generate one additional man file for each entity
+# documented in the real man page(s). These additional files
+# only source the real man page, but without them the man command
+# would be unable to find the correct page. The default is NO.
+
+MAN_LINKS = YES
+
+#---------------------------------------------------------------------------
+# configuration options related to the XML output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_XML tag is set to YES Doxygen will
+# generate an XML file that captures the structure of
+# the code including all documentation. Note that this
+# feature is still experimental and incomplete at the
+# moment.
+
+GENERATE_XML = NO
+
+#---------------------------------------------------------------------------
+# configuration options for the AutoGen Definitions output
+#---------------------------------------------------------------------------
+
+# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will
+# generate an AutoGen Definitions (see autogen.sf.net) file
+# that captures the structure of the code including all
+# documentation. Note that this feature is still experimental
+# and incomplete at the moment.
+
+GENERATE_AUTOGEN_DEF = NO
+
+#---------------------------------------------------------------------------
+# Configuration options related to the preprocessor
+#---------------------------------------------------------------------------
+
+# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will
+# evaluate all C-preprocessor directives found in the sources and include
+# files.
+
+ENABLE_PREPROCESSING = YES
+
+# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
+# names in the source code. If set to NO (the default) only conditional
+# compilation will be performed. Macro expansion can be done in a controlled
+# way by setting EXPAND_ONLY_PREDEF to YES.
+
+MACRO_EXPANSION = NO
+
+# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
+# then the macro expansion is limited to the macros specified with the
+# PREDEFINED and EXPAND_AS_PREDEFINED tags.
+
+EXPAND_ONLY_PREDEF = NO
+
+# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
+# in the INCLUDE_PATH (see below) will be search if a #include is found.
+
+SEARCH_INCLUDES = YES
+
+# The INCLUDE_PATH tag can be used to specify one or more directories that
+# contain include files that are not input files but should be processed by
+# the preprocessor.
+
+INCLUDE_PATH =
+
+# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
+# patterns (like *.h and *.hpp) to filter out the header-files in the
+# directories. If left blank, the patterns specified with FILE_PATTERNS will
+# be used.
+
+INCLUDE_FILE_PATTERNS =
+
+# The PREDEFINED tag can be used to specify one or more macro names that
+# are defined before the preprocessor is started (similar to the -D option of
+# gcc). The argument of the tag is a list of macros of the form: name
+# or name=definition (no spaces). If the definition and the = are
+# omitted =1 is assumed.
+
+PREDEFINED = QT_VERSION=305
+
+# If the MACRO_EXPANSION and EXPAND_PREDEF_ONLY tags are set to YES then
+# this tag can be used to specify a list of macro names that should be expanded.
+# The macro definition that is found in the sources will be used.
+# Use the PREDEFINED tag if you want to use a different macro definition.
+
+EXPAND_AS_DEFINED =
+
+# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
+# doxygen's preprocessor will remove all function-like macros that are alone
+# on a line and do not end with a semicolon. Such function macros are typically
+# used for boiler-plate code, and will confuse the parser if not removed.
+
+SKIP_FUNCTION_MACROS = YES
+
+#---------------------------------------------------------------------------
+# Configuration::addtions related to external references
+#---------------------------------------------------------------------------
+
+# The TAGFILES tag can be used to specify one or more tagfiles.
+
+TAGFILES =
+
+# When a file name is specified after GENERATE_TAGFILE, doxygen will create
+# a tag file that is based on the input files it reads.
+
+GENERATE_TAGFILE =
+
+# If the ALLEXTERNALS tag is set to YES all external classes will be listed
+# in the class index. If set to NO only the inherited external classes
+# will be listed.
+
+ALLEXTERNALS = NO
+
+# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed
+# in the modules index. If set to NO, only the current project's groups will
+# be listed.
+
+EXTERNAL_GROUPS = NO
+
+# The PERL_PATH should be the absolute path and name of the perl script
+# interpreter (i.e. the result of `which perl').
+
+PERL_PATH =
+
+#---------------------------------------------------------------------------
+# Configuration options related to the dot tool
+#---------------------------------------------------------------------------
+
+# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
+# generate a inheritance diagram (in Html, RTF and LaTeX) for classes with base or
+# super classes. Setting the tag to NO turns the diagrams off. Note that this
+# option is superceded by the HAVE_DOT option below. This is only a fallback. It is
+# recommended to install and use dot, since it yield more powerful graphs.
+
+CLASS_DIAGRAMS = YES
+
+# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
+# available from the path. This tool is part of Graphviz, a graph visualization
+# toolkit from AT&T and Lucent Bell Labs. The other options in this section
+# have no effect if this option is set to NO (the default)
+
+HAVE_DOT = NO
+
+# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
+# will generate a graph for each documented class showing the direct and
+# indirect inheritance relations. Setting this tag to YES will force the
+# the CLASS_DIAGRAMS tag to NO.
+
+CLASS_GRAPH = YES
+
+# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen
+# will generate a graph for each documented class showing the direct and
+# indirect implementation dependencies (inheritance, containment, and
+# class references variables) of the class with other documented classes.
+
+COLLABORATION_GRAPH = YES
+
+# If set to YES, the inheritance and collaboration graphs will show the
+# relations between templates and their instances.
+
+TEMPLATE_RELATIONS = YES
+
+# If set to YES, the inheritance and collaboration graphs will hide
+# inheritance and usage relations if the target is undocumented
+# or is not a class.
+
+HIDE_UNDOC_RELATIONS = NO
+
+# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
+# tags are set to YES then doxygen will generate a graph for each documented
+# file showing the direct and indirect include dependencies of the file with
+# other documented files.
+
+INCLUDE_GRAPH = YES
+
+# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
+# HAVE_DOT tags are set to YES then doxygen will generate a graph for each
+# documented header file showing the documented files that directly or
+# indirectly include this file.
+
+INCLUDED_BY_GRAPH = YES
+
+# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
+# will graphical hierarchy of all classes instead of a textual one.
+
+GRAPHICAL_HIERARCHY = NO
+
+# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
+# generated by dot. Possible values are png, jpg, or gif
+# If left blank png will be used.
+
+DOT_IMAGE_FORMAT = png
+
+# The tag DOT_PATH can be used to specify the path where the dot tool can be
+# found. If left blank, it is assumed the dot tool can be found on the path.
+
+DOT_PATH =
+
+# The DOTFILE_DIRS tag can be used to specify one or more directories that
+# contain dot files that are included in the documentation (see the
+# \dotfile command).
+
+DOTFILE_DIRS =
+
+# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width
+# (in pixels) of the graphs generated by dot. If a graph becomes larger than
+# this value, doxygen will try to truncate the graph, so that it fits within
+# the specified constraint. Beware that most browsers cannot cope with very
+# large images.
+
+MAX_DOT_GRAPH_WIDTH = 800
+
+# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height
+# (in pixels) of the graphs generated by dot. If a graph becomes larger than
+# this value, doxygen will try to truncate the graph, so that it fits within
+# the specified constraint. Beware that most browsers cannot cope with very
+# large images.
+
+MAX_DOT_GRAPH_HEIGHT = 1024
+
+# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
+# generate a legend page explaining the meaning of the various boxes and
+# arrows in the dot generated graphs.
+
+GENERATE_LEGEND = YES
+
+# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
+# remove the intermedate dot files that are used to generate
+# the various graphs.
+
+DOT_CLEANUP = YES
+
+#---------------------------------------------------------------------------
+# Configuration::addtions related to the search engine
+#---------------------------------------------------------------------------
+
+# The SEARCHENGINE tag specifies whether or not a search engine should be
+# used. If set to NO the values of all tags below this one will be ignored.
+
+SEARCHENGINE = NO
+
+# The CGI_NAME tag should be the name of the CGI script that
+# starts the search engine (doxysearch) with the correct parameters.
+# A script with this name will be generated by doxygen.
+
+CGI_NAME =
+
+# The CGI_URL tag should be the absolute URL to the directory where the
+# cgi binaries are located. See the documentation of your http daemon for
+# details.
+
+CGI_URL =
+
+# The DOC_URL tag should be the absolute URL to the directory where the
+# documentation is located. If left blank the absolute path to the
+# documentation, with file:// prepended to it, will be used.
+
+DOC_URL =
+
+# The DOC_ABSPATH tag should be the absolute path to the directory where the
+# documentation is located. If left blank the directory on the local machine
+# will be used.
+
+DOC_ABSPATH =
+
+# The BIN_ABSPATH tag must point to the directory where the doxysearch binary
+# is installed.
+
+BIN_ABSPATH =
+
+# The EXT_DOC_PATHS tag can be used to specify one or more paths to
+# documentation generated for other projects. This allows doxysearch to search
+# the documentation for these projects as well.
+
+EXT_DOC_PATHS =
diff --git a/gettext-tools/examples/hello-c++-kde/admin/Makefile.common b/gettext-tools/examples/hello-c++-kde/admin/Makefile.common
new file mode 100644
index 0000000..d5c4d85
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/Makefile.common
@@ -0,0 +1,34 @@
+### Makefile.common
+###
+### Copyright (C) 2002 by the KDE developers
+
+### All the real work is done by the shellscript cvs.sh
+
+SHELL=/bin/sh
+
+cvs dist cvs-clean configure.in configure.files subdirs package-messages package-merge:
+ @admindir=$(admindir); \
+ if test "x$$admindir" = x; then \
+ admindir=.; until test -f $$admindir/admin/cvs.sh; do \
+ admindir=$$admindir/..; \
+ if test `cd $$admindir && pwd` = / ; then break; fi; \
+ done; \
+ admindir=$$admindir/admin; \
+ if test -f $$admindir/cvs.sh; then :; else \
+ echo "Can't find the admin/ directory in any parent of the"; \
+ echo "current directory. Please set it with admindir=..."; \
+ exit 1; \
+ fi; \
+ fi; \
+ if test "$@" = "package-merge"; then \
+ MAKE=$(MAKE) POFILES="$(POFILES)" PACKAGE="$(PACKAGE)" \
+ $(SHELL) $$admindir/cvs.sh package-merge ;\
+ else MAKE=$(MAKE) $(SHELL) $$admindir/cvs.sh $@ ;\
+ fi
+
+configure.in: configure.files $(shell test -f configure.files && cat configure.files) subdirs
+configure.files: subdirs
+
+.SILENT:
+
+.PHONY: cvs dist cvs-clean package-merge package-messages
diff --git a/gettext-tools/examples/hello-c++-kde/admin/acinclude.m4.in b/gettext-tools/examples/hello-c++-kde/admin/acinclude.m4.in
new file mode 100644
index 0000000..18ca709
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/acinclude.m4.in
@@ -0,0 +1,5395 @@
+## -*- autoconf -*-
+
+dnl This file is part of the KDE libraries/packages
+dnl Copyright (C) 1997 Janos Farkas (chexum@shadow.banki.hu)
+dnl (C) 1997,98,99 Stephan Kulow (coolo@kde.org)
+
+dnl This file is free software; you can redistribute it and/or
+dnl modify it under the terms of the GNU Library General Public
+dnl License as published by the Free Software Foundation; either
+dnl version 2 of the License, or (at your option) any later version.
+
+dnl This library is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+dnl Library General Public License for more details.
+
+dnl You should have received a copy of the GNU Library General Public License
+dnl along with this library; see the file COPYING.LIB. If not, write to
+dnl the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+dnl Boston, MA 02111-1307, USA.
+
+dnl IMPORTANT NOTE:
+dnl Please do not modify this file unless you expect your modifications to be
+dnl carried into every other module in the repository.
+dnl
+dnl Single-module modifications are best placed in configure.in for kdelibs
+dnl and kdebase or configure.in.in if present.
+
+dnl ------------------------------------------------------------------------
+dnl Forward compatibility macros (make autoconf 2.13 look like 2.50),
+dnl thanks to Raja R Harinath.
+dnl ------------------------------------------------------------------------
+dnl
+ifdef([_AC_PATH_X_XMKMF],[],
+ [AC_DEFUN([_AC_PATH_X_XMKMF],[AC_PATH_X_XMKMF])])
+ifdef([AC_OUTPUT_SUBDIRS],[],
+ [AC_DEFUN([AC_OUTPUT_SUBDIRS],[subdirs=$1; _AC_OUTPUT_SUBDIRS])])
+
+# KDE_PATH_X_DIRECT
+dnl Internal subroutine of AC_PATH_X.
+dnl Set ac_x_includes and/or ac_x_libraries.
+AC_DEFUN(KDE_PATH_X_DIRECT,
+[
+AC_REQUIRE([KDE_CHECK_LIB64])
+
+if test "$ac_x_includes" = NO; then
+ # Guess where to find include files, by looking for this one X11 .h file.
+ test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
+
+ # First, try using that file with no special directory specified.
+AC_TRY_CPP([#include <$x_direct_test_include>],
+[# We can compile using X headers with no special include directory.
+ac_x_includes=],
+[# Look for the header file in a standard set of common directories.
+# Check X11 before X11Rn because it is often a symlink to the current release.
+ for ac_dir in \
+ /usr/X11/include \
+ /usr/X11R6/include \
+ /usr/X11R5/include \
+ /usr/X11R4/include \
+ \
+ /usr/include/X11 \
+ /usr/include/X11R6 \
+ /usr/include/X11R5 \
+ /usr/include/X11R4 \
+ \
+ /usr/local/X11/include \
+ /usr/local/X11R6/include \
+ /usr/local/X11R5/include \
+ /usr/local/X11R4/include \
+ \
+ /usr/local/include/X11 \
+ /usr/local/include/X11R6 \
+ /usr/local/include/X11R5 \
+ /usr/local/include/X11R4 \
+ \
+ /usr/X386/include \
+ /usr/x386/include \
+ /usr/XFree86/include/X11 \
+ \
+ /usr/include \
+ /usr/local/include \
+ /usr/unsupported/include \
+ /usr/athena/include \
+ /usr/local/x11r5/include \
+ /usr/lpp/Xamples/include \
+ \
+ /usr/openwin/include \
+ /usr/openwin/share/include \
+ ; \
+ do
+ if test -r "$ac_dir/$x_direct_test_include"; then
+ ac_x_includes=$ac_dir
+ break
+ fi
+ done])
+fi # $ac_x_includes = NO
+
+if test "$ac_x_libraries" = NO; then
+ # Check for the libraries.
+
+ test -z "$x_direct_test_library" && x_direct_test_library=Xt
+ test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
+
+ # See if we find them without any special options.
+ # Don't add to $LIBS permanently.
+ ac_save_LIBS="$LIBS"
+ LIBS="-l$x_direct_test_library $LIBS"
+AC_TRY_LINK(, [${x_direct_test_function}()],
+[LIBS="$ac_save_LIBS"
+# We can link X programs with no special library path.
+ac_x_libraries=],
+[LIBS="$ac_save_LIBS"
+# First see if replacing the include by lib works.
+# Check X11 before X11Rn because it is often a symlink to the current release.
+for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
+ /usr/X11/lib${kdelibsuff} \
+ /usr/X11R6/lib${kdelibsuff} \
+ /usr/X11R5/lib${kdelibsuff} \
+ /usr/X11R4/lib${kdelibsuff} \
+ \
+ /usr/lib${kdelibsuff}/X11 \
+ /usr/lib${kdelibsuff}/X11R6 \
+ /usr/lib${kdelibsuff}/X11R5 \
+ /usr/lib${kdelibsuff}/X11R4 \
+ \
+ /usr/local/X11/lib${kdelibsuff} \
+ /usr/local/X11R6/lib${kdelibsuff} \
+ /usr/local/X11R5/lib${kdelibsuff} \
+ /usr/local/X11R4/lib${kdelibsuff} \
+ \
+ /usr/local/lib${kdelibsuff}/X11 \
+ /usr/local/lib${kdelibsuff}/X11R6 \
+ /usr/local/lib${kdelibsuff}/X11R5 \
+ /usr/local/lib${kdelibsuff}/X11R4 \
+ \
+ /usr/X386/lib${kdelibsuff} \
+ /usr/x386/lib${kdelibsuff} \
+ /usr/XFree86/lib${kdelibsuff}/X11 \
+ \
+ /usr/lib${kdelibsuff} \
+ /usr/local/lib${kdelibsuff} \
+ /usr/unsupported/lib${kdelibsuff} \
+ /usr/athena/lib${kdelibsuff} \
+ /usr/local/x11r5/lib${kdelibsuff} \
+ /usr/lpp/Xamples/lib${kdelibsuff} \
+ /lib/usr/lib${kdelibsuff}/X11 \
+ \
+ /usr/openwin/lib${kdelibsuff} \
+ /usr/openwin/share/lib${kdelibsuff} \
+ ; \
+do
+dnl Don't even attempt the hair of trying to link an X program!
+ for ac_extension in a so sl; do
+ if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
+ ac_x_libraries=$ac_dir
+ break 2
+ fi
+ done
+done])
+fi # $ac_x_libraries = NO
+])
+
+
+dnl ------------------------------------------------------------------------
+dnl Find a file (or one of more files in a list of dirs)
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN(AC_FIND_FILE,
+[
+$3=NO
+for i in $2;
+do
+ for j in $1;
+ do
+ echo "configure: __oline__: $i/$j" >&AC_FD_CC
+ if test -r "$i/$j"; then
+ echo "taking that" >&AC_FD_CC
+ $3=$i
+ break 2
+ fi
+ done
+done
+])
+
+dnl KDE_FIND_PATH(programm-name, variable-name, list of directories,
+dnl if-not-found, test-parameter)
+AC_DEFUN(KDE_FIND_PATH,
+[
+ AC_MSG_CHECKING([for $1])
+ if test -n "$$2"; then
+ kde_cv_path="$$2";
+ else
+ kde_cache=`echo $1 | sed 'y%./+-%__p_%'`
+
+ AC_CACHE_VAL(kde_cv_path_$kde_cache,
+ [
+ kde_cv_path="NONE"
+ dirs="$3"
+ kde_save_IFS=$IFS
+ IFS=':'
+ for dir in $PATH; do
+ dirs="$dirs $dir"
+ done
+ IFS=$kde_save_IFS
+
+ for dir in $dirs; do
+ if test -x "$dir/$1"; then
+ if test -n "$5"
+ then
+ evalstr="$dir/$1 $5 2>&1 "
+ if eval $evalstr; then
+ kde_cv_path="$dir/$1"
+ break
+ fi
+ else
+ kde_cv_path="$dir/$1"
+ break
+ fi
+ fi
+ done
+
+ eval "kde_cv_path_$kde_cache=$kde_cv_path"
+
+ ])
+
+ eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+
+ fi
+
+ if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+ AC_MSG_RESULT(not found)
+ $4
+ else
+ AC_MSG_RESULT($kde_cv_path)
+ $2=$kde_cv_path
+
+ fi
+])
+
+AC_DEFUN(KDE_MOC_ERROR_MESSAGE,
+[
+ AC_MSG_ERROR([No Qt meta object compiler (moc) found!
+Please check whether you installed Qt correctly.
+You need to have a running moc binary.
+configure tried to run $ac_cv_path_moc and the test didn't
+succeed. If configure shouldn't have tried this one, set
+the environment variable MOC to the right one before running
+configure.
+])
+])
+
+AC_DEFUN(KDE_UIC_ERROR_MESSAGE,
+[
+ AC_MSG_WARN([No Qt ui compiler (uic) found!
+Please check whether you installed Qt correctly.
+You need to have a running uic binary.
+configure tried to run $ac_cv_path_uic and the test didn't
+succeed. If configure shouldn't have tried this one, set
+the environment variable UIC to the right one before running
+configure.
+])
+])
+
+
+AC_DEFUN(KDE_CHECK_UIC_FLAG,
+[
+ AC_MSG_CHECKING([whether uic supports -$1 ])
+ kde_cache=`echo $1 | sed 'y% .=/+-%____p_%'`
+ AC_CACHE_VAL(kde_cv_prog_uic_$kde_cache,
+ [
+ cat >conftest.ui <<EOT
+ <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
+EOT
+ ac_uic_testrun="$UIC_PATH -$1 $2 conftest.ui >/dev/null"
+ if AC_TRY_EVAL(ac_uic_testrun); then
+ eval "kde_cv_prog_uic_$kde_cache=yes"
+ else
+ eval "kde_cv_prog_uic_$kde_cache=no"
+ fi
+ rm -f conftest*
+ ])
+
+ if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
+ AC_MSG_RESULT([yes])
+ :
+ $3
+ else
+ AC_MSG_RESULT([no])
+ :
+ $4
+ fi
+])
+
+
+dnl ------------------------------------------------------------------------
+dnl Find the meta object compiler and the ui compiler in the PATH,
+dnl in $QTDIR/bin, and some more usual places
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN(AC_PATH_QT_MOC_UIC,
+[
+ qt_bindirs=""
+ for dir in $kde_qt_dirs; do
+ qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
+ done
+ qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
+ if test ! "$ac_qt_bindir" = "NO"; then
+ qt_bindirs="$ac_qt_bindir $qt_bindirs"
+ fi
+
+ KDE_FIND_PATH(moc, MOC, [$qt_bindirs], [KDE_MOC_ERROR_MESSAGE])
+ if test -z "$UIC_NOT_NEEDED"; then
+ KDE_FIND_PATH(uic, UIC_PATH, [$qt_bindirs], [UIC_PATH=""])
+ if test -z "$UIC_PATH" ; then
+ KDE_UIC_ERROR_MESSAGE
+ exit 1
+ elif test $kde_qtver = 3; then
+ KDE_CHECK_UIC_FLAG(L,[/nonexistant],ac_uic_supports_libpath=yes,ac_uic_supports_libpath=no)
+ KDE_CHECK_UIC_FLAG(nounload,,ac_uic_supports_nounload=yes,ac_uic_supports_nounload=no)
+
+ UIC=$UIC_PATH
+ if test x$ac_uic_supports_libpath = xyes; then
+ UIC="$UIC -L \$(kde_widgetdir)"
+ fi
+ if test x$ac_uic_supports_nounload = xyes; then
+ UIC="$UIC -nounload"
+ fi
+ fi
+ else
+ UIC="echo uic not available: "
+ fi
+
+ AC_SUBST(MOC)
+ AC_SUBST(UIC)
+
+ UIC_TR="i18n"
+ if test $kde_qtver = 3; then
+ UIC_TR="tr2i18n"
+ fi
+
+ AC_SUBST(UIC_TR)
+])
+
+AC_DEFUN(KDE_1_CHECK_PATHS,
+[
+ KDE_1_CHECK_PATH_HEADERS
+
+ KDE_TEST_RPATH=
+
+ if test -n "$USE_RPATH"; then
+
+ if test -n "$kde_libraries"; then
+ KDE_TEST_RPATH="-R $kde_libraries"
+ fi
+
+ if test -n "$qt_libraries"; then
+ KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
+ fi
+
+ if test -n "$x_libraries"; then
+ KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
+ fi
+
+ KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
+ fi
+
+AC_MSG_CHECKING([for KDE libraries installed])
+ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'
+
+if AC_TRY_EVAL(ac_link) && test -s conftest; then
+ AC_MSG_RESULT(yes)
+else
+ AC_MSG_ERROR([your system fails at linking a small KDE application!
+Check, if your compiler is installed correctly and if you have used the
+same compiler to compile Qt and kdelibs as you did use now.
+For more details about this problem, look at the end of config.log.])
+fi
+
+if eval `KDEDIR= ./conftest 2>&5`; then
+ kde_result=done
+else
+ kde_result=problems
+fi
+
+KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
+kde_have_all_paths=yes
+
+KDE_SET_PATHS($kde_result)
+
+])
+
+AC_DEFUN(KDE_SET_PATHS,
+[
+ kde_cv_all_paths="kde_have_all_paths=\"yes\" \
+ kde_htmldir=\"$kde_htmldir\" \
+ kde_appsdir=\"$kde_appsdir\" \
+ kde_icondir=\"$kde_icondir\" \
+ kde_sounddir=\"$kde_sounddir\" \
+ kde_datadir=\"$kde_datadir\" \
+ kde_locale=\"$kde_locale\" \
+ kde_cgidir=\"$kde_cgidir\" \
+ kde_confdir=\"$kde_confdir\" \
+ kde_mimedir=\"$kde_mimedir\" \
+ kde_toolbardir=\"$kde_toolbardir\" \
+ kde_wallpaperdir=\"$kde_wallpaperdir\" \
+ kde_templatesdir=\"$kde_templatesdir\" \
+ kde_bindir=\"$kde_bindir\" \
+ kde_servicesdir=\"$kde_servicesdir\" \
+ kde_servicetypesdir=\"$kde_servicetypesdir\" \
+ kde_moduledir=\"$kde_moduledir\" \
+ kde_styledir=\"$kde_styledir\" \
+ kde_widgetdir=\"$kde_widgetdir\" \
+ kde_result=$1"
+])
+
+AC_DEFUN(KDE_SET_DEFAULT_PATHS,
+[
+if test "$1" = "default"; then
+
+ if test -z "$kde_htmldir"; then
+ kde_htmldir='\${prefix}/share/doc/HTML'
+ fi
+ if test -z "$kde_appsdir"; then
+ kde_appsdir='\${prefix}/share/applnk'
+ fi
+ if test -z "$kde_icondir"; then
+ kde_icondir='\${prefix}/share/icons'
+ fi
+ if test -z "$kde_sounddir"; then
+ kde_sounddir='\${prefix}/share/sounds'
+ fi
+ if test -z "$kde_datadir"; then
+ kde_datadir='\${prefix}/share/apps'
+ fi
+ if test -z "$kde_locale"; then
+ kde_locale='\${prefix}/share/locale'
+ fi
+ if test -z "$kde_cgidir"; then
+ kde_cgidir='\${exec_prefix}/cgi-bin'
+ fi
+ if test -z "$kde_confdir"; then
+ kde_confdir='\${prefix}/share/config'
+ fi
+ if test -z "$kde_mimedir"; then
+ kde_mimedir='\${prefix}/share/mimelnk'
+ fi
+ if test -z "$kde_toolbardir"; then
+ kde_toolbardir='\${prefix}/share/toolbar'
+ fi
+ if test -z "$kde_wallpaperdir"; then
+ kde_wallpaperdir='\${prefix}/share/wallpapers'
+ fi
+ if test -z "$kde_templatesdir"; then
+ kde_templatesdir='\${prefix}/share/templates'
+ fi
+ if test -z "$kde_bindir"; then
+ kde_bindir='\${exec_prefix}/bin'
+ fi
+ if test -z "$kde_servicesdir"; then
+ kde_servicesdir='\${prefix}/share/services'
+ fi
+ if test -z "$kde_servicetypesdir"; then
+ kde_servicetypesdir='\${prefix}/share/servicetypes'
+ fi
+ if test -z "$kde_moduledir"; then
+ if test "$kde_qtver" = "2"; then
+ kde_moduledir='\${libdir}/kde2'
+ else
+ kde_moduledir='\${libdir}/kde3'
+ fi
+ fi
+ if test -z "$kde_styledir"; then
+ kde_styledir='\${libdir}/kde3/plugins/styles'
+ fi
+ if test -z "$kde_widgetdir"; then
+ kde_widgetdir='\${libdir}/kde3/plugins/designer'
+ fi
+
+ KDE_SET_PATHS(defaults)
+
+else
+
+ if test $kde_qtver = 1; then
+ AC_MSG_RESULT([compiling])
+ KDE_1_CHECK_PATHS
+ else
+ AC_MSG_ERROR([path checking not yet supported for KDE 2])
+ fi
+
+fi
+])
+
+AC_DEFUN(KDE_CHECK_PATHS_FOR_COMPLETENESS,
+[ if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
+ test -z "$kde_icondir" || test -z "$kde_sounddir" ||
+ test -z "$kde_datadir" || test -z "$kde_locale" ||
+ test -z "$kde_cgidir" || test -z "$kde_confdir" ||
+ test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
+ test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
+ test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
+ test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
+ test -z "$kde_styledir" || test -z "kde_widgetdir"
+ test "x$kde_have_all_paths" != "xyes"; then
+ kde_have_all_paths=no
+ fi
+])
+
+AC_DEFUN(KDE_MISSING_PROG_ERROR,
+[
+ AC_MSG_ERROR([The important program $1 was not found!
+Please check whether you installed KDE correctly.
+])
+])
+
+AC_DEFUN(KDE_MISSING_ARTS_ERROR,
+[
+ AC_MSG_ERROR([The important program $1 was not found!
+Please check whether you installed aRts correctly.
+])
+])
+
+AC_DEFUN(KDE_SUBST_PROGRAMS,
+[
+
+ kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
+ test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
+ if test -n "$KDEDIRS"; then
+ kde_save_IFS=$IFS
+ IFS=:
+ for dir in $KDEDIRS; do
+ kde_default_bindirs="$dir/bin $kde_default_bindirs "
+ done
+ IFS=$kde_save_IFS
+ fi
+ kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_default_bindirs"
+ KDE_FIND_PATH(dcopidl, DCOPIDL, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidl)])
+ KDE_FIND_PATH(dcopidl2cpp, DCOPIDL2CPP, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidl2cpp)])
+ KDE_FIND_PATH(mcopidl, MCOPIDL, [$kde_default_bindirs], [KDE_MISSING_ARTS_ERROR(mcopidl)])
+ KDE_FIND_PATH(artsc-config, ARTSCCONFIG, [$kde_default_bindirs], [KDE_MISSING_ARTS_ERROR(artsc-config)])
+ KDE_FIND_PATH(kde-config, KDECONFIG, [$kde_default_bindirs])
+ KDE_FIND_PATH(meinproc, MEINPROC, [$kde_default_bindirs])
+
+ if test -n "$MEINPROC" && test ! "$MEINPROC" = "compiled"; then
+ kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
+ test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
+ AC_FIND_FILE(apps/ksgmltools2/customization/kde-chunk.xsl, $kde_sharedirs, KDE_XSL_STYLESHEET)
+ if test "$KDE_XSL_STYLESHEET" = "NO"; then
+ KDE_XSL_STYLESHEET=""
+ else
+ KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
+ fi
+ fi
+
+ DCOP_DEPENDENCIES='$(DCOPIDL)'
+ AC_SUBST(DCOPIDL)
+ AC_SUBST(DCOPIDL2CPP)
+ AC_SUBST(DCOP_DEPENDENCIES)
+ AC_SUBST(MCOPIDL)
+ AC_SUBST(ARTSCCONFIG)
+ AC_SUBST(KDECONFIG)
+ AC_SUBST(MEINPROC)
+ AC_SUBST(KDE_XSL_STYLESHEET)
+
+ if test -x "$KDECONFIG"; then # it can be "compiled"
+ kde_libs_prefix=`$KDECONFIG --prefix`
+ if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
+ AC_MSG_ERROR([$KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
+ This means it has been moved since you installed it.
+ This won't work. Please recompile kdelibs for the new prefix.
+ ])
+ fi
+ kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
+ else
+ kde_libs_prefix='$(prefix)'
+ kde_libs_htmldir='$(kde_htmldir)'
+ fi
+ AC_SUBST(kde_libs_prefix)
+ AC_SUBST(kde_libs_htmldir)
+])dnl
+
+AC_DEFUN(AC_CREATE_KFSSTND,
+[
+AC_REQUIRE([AC_CHECK_RPATH])
+
+AC_MSG_CHECKING([for KDE paths])
+kde_result=""
+kde_cached_paths=yes
+AC_CACHE_VAL(kde_cv_all_paths,
+[
+ KDE_SET_DEFAULT_PATHS($1)
+ kde_cached_paths=no
+])
+eval "$kde_cv_all_paths"
+KDE_CHECK_PATHS_FOR_COMPLETENESS
+if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then
+ # wrong values were cached, may be, we can set better ones
+ kde_result=
+ kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir=
+ kde_datadir= kde_locale= kde_cgidir= kde_confdir=
+ kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir=
+ kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir=
+ kde_have_all_paths=
+ kde_styledir=
+ kde_widgetdir=
+ KDE_SET_DEFAULT_PATHS($1)
+ eval "$kde_cv_all_paths"
+ KDE_CHECK_PATHS_FOR_COMPLETENESS
+ kde_result="$kde_result (cache overridden)"
+fi
+if test "$kde_have_all_paths" = "no"; then
+ AC_MSG_ERROR([configure could not run a little KDE program to test the environment.
+Since it had compiled and linked before, it must be a strange problem on your system.
+Look at config.log for details. If you are not able to fix this, look at
+http://www.kde.org/faq/installation.html or any www.kde.org mirror.
+(If you're using an egcs version on Linux, you may update binutils!)
+])
+else
+ rm -f conftest*
+ AC_MSG_RESULT($kde_result)
+fi
+
+bindir=$kde_bindir
+
+KDE_SUBST_PROGRAMS
+
+])
+
+AC_DEFUN(AC_SUBST_KFSSTND,
+[
+AC_SUBST(kde_htmldir)
+AC_SUBST(kde_appsdir)
+AC_SUBST(kde_icondir)
+AC_SUBST(kde_sounddir)
+AC_SUBST(kde_datadir)
+AC_SUBST(kde_locale)
+AC_SUBST(kde_confdir)
+AC_SUBST(kde_mimedir)
+AC_SUBST(kde_wallpaperdir)
+AC_SUBST(kde_bindir)
+dnl for KDE 2
+AC_SUBST(kde_templatesdir)
+AC_SUBST(kde_servicesdir)
+AC_SUBST(kde_servicetypesdir)
+AC_SUBST(kde_moduledir)
+AC_SUBST(kde_styledir)
+AC_SUBST(kde_widgetdir)
+if test "$kde_qtver" = 1; then
+ kde_minidir="$kde_icondir/mini"
+else
+# for KDE 1 - this breaks KDE2 apps using minidir, but
+# that's the plan ;-/
+ kde_minidir="/dev/null"
+fi
+dnl AC_SUBST(kde_minidir)
+dnl AC_SUBST(kde_cgidir)
+dnl AC_SUBST(kde_toolbardir)
+])
+
+AC_DEFUN(KDE_MISC_TESTS,
+[
+ AC_LANG_C
+ dnl Checks for libraries.
+ AC_CHECK_LIB(util, main, [LIBUTIL="-lutil"]) dnl for *BSD
+ AC_SUBST(LIBUTIL)
+ AC_CHECK_LIB(compat, main, [LIBCOMPAT="-lcompat"]) dnl for *BSD
+ AC_SUBST(LIBCOMPAT)
+ kde_have_crypt=
+ AC_CHECK_LIB(crypt, crypt, [LIBCRYPT="-lcrypt"; kde_have_crypt=yes],
+ AC_CHECK_LIB(c, crypt, [kde_have_crypt=yes], [
+ AC_MSG_WARN([you have no crypt in either libcrypt or libc.
+You should install libcrypt from another source or configure with PAM
+support])
+ kde_have_crypt=no
+ ]))
+ AC_SUBST(LIBCRYPT)
+ if test $kde_have_crypt = yes; then
+ AC_DEFINE_UNQUOTED(HAVE_CRYPT, 1, [Defines if your system has the crypt function])
+ fi
+ AC_CHECK_SOCKLEN_T
+ AC_LANG_C
+ AC_CHECK_LIB(dnet, dnet_ntoa, [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"])
+ if test $ac_cv_lib_dnet_dnet_ntoa = no; then
+ AC_CHECK_LIB(dnet_stub, dnet_ntoa,
+ [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"])
+ fi
+ AC_CHECK_FUNC(inet_ntoa)
+ if test $ac_cv_func_inet_ntoa = no; then
+ AC_CHECK_LIB(nsl, inet_ntoa, X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl")
+ fi
+ AC_CHECK_FUNC(connect)
+ if test $ac_cv_func_connect = no; then
+ AC_CHECK_LIB(socket, connect, X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS", ,
+ $X_EXTRA_LIBS)
+ fi
+
+ AC_CHECK_FUNC(remove)
+ if test $ac_cv_func_remove = no; then
+ AC_CHECK_LIB(posix, remove, X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix")
+ fi
+
+ # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
+ AC_CHECK_FUNC(shmat, ,
+ AC_CHECK_LIB(ipc, shmat, X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"))
+
+ # darwin needs this to initialize the environment
+ AC_CHECK_HEADERS(crt_externs.h)
+ AC_CHECK_FUNC(_NSGetEnviron, [AC_DEFINE(HAVE_NSGETENVIRON, 1, [Define if your system needs _NSGetEnviron to set up the environment])])
+
+ # more headers that need to be explicitly included on darwin
+ AC_CHECK_HEADERS(sys/types.h stdint.h)
+
+ # darwin requires a poll emulation library
+ AC_CHECK_LIB(poll, poll, LIB_POLL="-lpoll")
+
+ # CoreAudio framework
+ AC_CHECK_HEADER(CoreAudio/CoreAudio.h, [
+ AC_DEFINE(HAVE_COREAUDIO, 1, [Define if you have the CoreAudio API])
+ FRAMEWORK_COREAUDIO="-framework CoreAudio"
+ ])
+
+ AC_CHECK_RES_INIT
+ AC_SUBST(LIB_POLL)
+ AC_SUBST(FRAMEWORK_COREAUDIO)
+ LIBSOCKET="$X_EXTRA_LIBS"
+ AC_SUBST(LIBSOCKET)
+ AC_SUBST(X_EXTRA_LIBS)
+ AC_CHECK_LIB(ucb, killpg, [LIBUCB="-lucb"]) dnl for Solaris2.4
+ AC_SUBST(LIBUCB)
+
+ case $host in dnl this *is* LynxOS specific
+ *-*-lynxos* )
+ AC_MSG_CHECKING([LynxOS header file wrappers])
+ [CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"]
+ AC_MSG_RESULT(disabled)
+ AC_CHECK_LIB(bsd, gethostbyname, [LIBSOCKET="-lbsd"]) dnl for LynxOS
+ ;;
+ esac
+
+ KDE_CHECK_TYPES
+ KDE_CHECK_LIBDL
+
+AH_VERBATIM(_AIX_STRINGS_H_BZERO,
+[
+/*
+ * AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
+ * that defines bzero.
+ */
+
+#if defined(_AIX)
+#include <strings.h>
+#endif
+])
+
+AC_CHECK_FUNCS([vsnprintf snprintf])
+
+AH_VERBATIM(_TRU64,[
+/*
+ * On HP-UX, the declaration of vsnprintf() is needed every time !
+ */
+
+#if !defined(HAVE_VSNPRINTF) || defined(hpux)
+#if __STDC__
+#include <stdarg.h>
+#include <stdlib.h>
+#else
+#include <varargs.h>
+#endif
+#ifdef __cplusplus
+extern "C"
+#endif
+int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
+#ifdef __cplusplus
+extern "C"
+#endif
+int snprintf(char *str, size_t n, char const *fmt, ...);
+#endif
+])
+
+])
+
+dnl ------------------------------------------------------------------------
+dnl Find the header files and libraries for X-Windows. Extended the
+dnl macro AC_PATH_X
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN(K_PATH_X,
+[
+AC_REQUIRE([KDE_MISC_TESTS])dnl
+AC_REQUIRE([KDE_CHECK_LIB64])
+
+AC_ARG_ENABLE(
+ embedded,
+ [ --enable-embedded link to Qt-embedded, don't use X],
+ kde_use_qt_emb=$enableval,
+ kde_use_qt_emb=no
+)
+
+AC_ARG_ENABLE(
+ qtopia,
+ [ --enable-qtopia link to Qt-embedded, link to the Qtopia Environment],
+ kde_use_qt_emb_palm=$enableval,
+ kde_use_qt_emb_palm=no
+)
+
+if test "$kde_use_qt_emb" = "no"; then
+
+AC_MSG_CHECKING(for X)
+AC_LANG_SAVE
+AC_LANG_C
+AC_CACHE_VAL(kde_cv_have_x,
+[# One or both of the vars are not set, and there is no cached value.
+if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then
+ kde_x_includes=NO
+else
+ kde_x_includes=$x_includes
+fi
+if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then
+ kde_x_libraries=NO
+else
+ kde_x_libraries=$x_libraries
+fi
+
+# below we use the standard autoconf calls
+ac_x_libraries=$kde_x_libraries
+ac_x_includes=$kde_x_includes
+
+KDE_PATH_X_DIRECT
+dnl AC_PATH_X_XMKMF picks /usr/lib as the path for the X libraries.
+dnl Unfortunately, if compiling with the N32 ABI, this is not the correct
+dnl location. The correct location is /usr/lib32 or an undefined value
+dnl (the linker is smart enough to pick the correct default library).
+dnl Things work just fine if you use just AC_PATH_X_DIRECT.
+dnl Solaris has a similar problem. AC_PATH_X_XMKMF forces x_includes to
+dnl /usr/openwin/include, which doesn't work. /usr/include does work, so
+dnl x_includes should be left alone.
+case "$host" in
+mips-sgi-irix6*)
+ ;;
+*-*-solaris*)
+ ;;
+*)
+ _AC_PATH_X_XMKMF
+ if test -z "$ac_x_includes"; then
+ ac_x_includes="."
+ fi
+ if test -z "$ac_x_libraries"; then
+ ac_x_libraries="/usr/lib${kdelibsuff}"
+ fi
+esac
+#from now on we use our own again
+
+# when the user already gave --x-includes, we ignore
+# what the standard autoconf macros told us.
+if test "$kde_x_includes" = NO; then
+ kde_x_includes=$ac_x_includes
+fi
+
+# for --x-libraries too
+if test "$kde_x_libraries" = NO; then
+ kde_x_libraries=$ac_x_libraries
+fi
+
+if test "$kde_x_includes" = NO; then
+ AC_MSG_ERROR([Can't find X includes. Please check your installation and add the correct paths!])
+fi
+
+if test "$kde_x_libraries" = NO; then
+ AC_MSG_ERROR([Can't find X libraries. Please check your installation and add the correct paths!])
+fi
+
+# Record where we found X for the cache.
+kde_cv_have_x="have_x=yes \
+ kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries"
+])dnl
+
+eval "$kde_cv_have_x"
+
+if test "$have_x" != yes; then
+ AC_MSG_RESULT($have_x)
+ no_x=yes
+else
+ AC_MSG_RESULT([libraries $kde_x_libraries, headers $kde_x_includes])
+fi
+
+if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
+ X_INCLUDES=""
+ x_includes="."; dnl better than nothing :-
+ else
+ x_includes=$kde_x_includes
+ X_INCLUDES="-I$x_includes"
+fi
+
+if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE; then
+ X_LDFLAGS=""
+ x_libraries="/usr/lib"; dnl better than nothing :-
+ else
+ x_libraries=$kde_x_libraries
+ X_LDFLAGS="-L$x_libraries"
+fi
+all_includes="$X_INCLUDES"
+all_libraries="$X_LDFLAGS"
+
+AC_SUBST(X_INCLUDES)
+AC_SUBST(X_LDFLAGS)
+AC_SUBST(x_libraries)
+AC_SUBST(x_includes)
+
+# Check for libraries that X11R6 Xt/Xaw programs need.
+ac_save_LDFLAGS="$LDFLAGS"
+LDFLAGS="$LDFLAGS $X_LDFLAGS"
+# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
+# check for ICE first), but we must link in the order -lSM -lICE or
+# we get undefined symbols. So assume we have SM if we have ICE.
+# These have to be linked with before -lX11, unlike the other
+# libraries we check for below, so use a different variable.
+# --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
+AC_CHECK_LIB(ICE, IceConnectionNumber,
+ [LIBSM="-lSM -lICE"], , $X_EXTRA_LIBS)
+AC_SUBST(LIBSM)
+LDFLAGS="$ac_save_LDFLAGS"
+
+AC_SUBST(X_PRE_LIBS)
+
+LIB_X11='-lX11 $(LIBSOCKET)'
+AC_SUBST(LIB_X11)
+
+AC_MSG_CHECKING(for libXext)
+AC_CACHE_VAL(kde_cv_have_libXext,
+[
+kde_ldflags_safe="$LDFLAGS"
+kde_libs_safe="$LIBS"
+
+LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
+LIBS="-lXext -lX11 $LIBSOCKET"
+
+AC_TRY_LINK([
+#include <stdio.h>
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+#endif
+],
+[
+printf("hello Xext\n");
+],
+kde_cv_have_libXext=yes,
+kde_cv_have_libXext=no
+ )
+
+LDFLAGS=$kde_ldflags_safe
+LIBS=$kde_libs_safe
+ ])
+
+AC_MSG_RESULT($kde_cv_have_libXext)
+
+if test "$kde_cv_have_libXext" = "no"; then
+ AC_MSG_ERROR([We need a working libXext to proceed. Since configure
+can't find it itself, we stop here assuming that make wouldn't find
+them either.])
+fi
+
+AC_MSG_CHECKING(for Xinerama)
+
+ AC_ARG_WITH(xinerama,
+ [ --with-xinerama enable support for Xinerama ],
+ [
+ no_xinerama=no
+ ], [
+ no_xinerama=yes
+ ]
+)
+
+kde_save_LDFLAGS="$LDFLAGS"
+kde_save_CFLAGS="$CFLAGS"
+kde_save_LIBS="$LIBS"
+LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
+CFLAGS="$CFLAGS -I$x_includes"
+LIBS="-lXinerama -lXext"
+
+if test "x$no_xinerama" = "xno"; then
+
+ AC_CACHE_VAL(ac_cv_have_xinerama,
+ [
+ AC_TRY_LINK([#include <X11/Xlib.h>
+ #include <X11/extensions/Xinerama.h>],
+ [XineramaIsActive(NULL);],
+ [ac_cv_have_xinerama="yes"],
+ [ac_cv_have_xinerama="no"])
+ ])
+else
+ ac_cv_have_xinerama=no;
+fi
+
+AC_MSG_RESULT($ac_cv_have_xinerama)
+
+LIBXINERAMA=""
+
+if test "$ac_cv_have_xinerama" = "yes"; then
+ AC_DEFINE(HAVE_XINERAMA, 1, [Define if you want Xinerama support])
+ LIBXINERAMA="-lXinerama"
+fi
+
+AC_SUBST(LIBXINERAMA)
+
+LDFLAGS="$kde_save_LDFLAGS"
+CFLAGS="$kde_save_CFLAGS"
+LIBS="$kde_save_LIBS"
+
+LIB_XEXT="-lXext"
+QTE_NORTTI=""
+
+else
+ dnl We're using QT Embedded
+ CPPFLAGS=-DQWS
+ CXXFLAGS="$CXXFLAGS -fno-rtti"
+ QTE_NORTTI="-fno-rtti -DQWS"
+ X_PRE_LIBS=""
+ LIB_X11=""
+ LIB_XEXT=""
+ LIBSM=""
+ X_INCLUDES=""
+ X_LDFLAGS=""
+ x_includes=""
+ x_libraries=""
+ AC_SUBST(X_PRE_LIBS)
+ AC_SUBST(LIB_X11)
+ AC_SUBST(LIBSM)
+ AC_SUBST(X_INCLUDES)
+ AC_SUBST(X_LDFLAGS)
+ AC_SUBST(x_includes)
+ AC_SUBST(x_libraries)
+fi
+AC_SUBST(QTE_NORTTI)
+AC_SUBST(LIB_XEXT)
+
+
+AC_LANG_RESTORE
+
+])
+
+AC_DEFUN(KDE_PRINT_QT_PROGRAM,
+[
+AC_REQUIRE([KDE_USE_QT])
+cat > conftest.$ac_ext <<EOF
+#include "confdefs.h"
+#include <qglobal.h>
+#include <qapplication.h>
+EOF
+if test "$kde_qtver" = "2"; then
+cat >> conftest.$ac_ext <<EOF
+#include <qevent.h>
+#include <qstring.h>
+#include <qstyle.h>
+EOF
+
+if test $kde_qtsubver -gt 0; then
+cat >> conftest.$ac_ext <<EOF
+#if QT_VERSION < 210
+#error 1
+#endif
+EOF
+fi
+fi
+
+if test "$kde_qtver" = "3"; then
+cat >> conftest.$ac_ext <<EOF
+#include <qcursor.h>
+#include <qstylefactory.h>
+#include <private/qucomextra_p.h>
+EOF
+fi
+
+echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
+cat >> conftest.$ac_ext <<EOF
+#error 1
+#endif
+
+int main() {
+EOF
+if test "$kde_qtver" = "2"; then
+cat >> conftest.$ac_ext <<EOF
+ QStringList *t = new QStringList();
+ Q_UNUSED(t);
+EOF
+if test $kde_qtsubver -gt 0; then
+cat >> conftest.$ac_ext <<EOF
+ QString s;
+ s.setLatin1("Elvis is alive", 14);
+EOF
+fi
+fi
+if test "$kde_qtver" = "3"; then
+cat >> conftest.$ac_ext <<EOF
+ (void)QStyleFactory::create(QString::null);
+ QCursor c(Qt::WhatsThisCursor);
+EOF
+fi
+cat >> conftest.$ac_ext <<EOF
+ return 0;
+}
+EOF
+])
+
+AC_DEFUN(KDE_USE_QT,
+[
+if test -z "$1"; then
+ # Current default Qt version: 3.1
+ kde_qtver=3
+ kde_qtsubver=1
+else
+ kde_qtsubver=`echo "$1" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
+ # following is the check if subversion isnt found in passed argument
+ if test "$kde_qtsubver" = "$1"; then
+ kde_qtsubver=1
+ fi
+ kde_qtver=`echo "$1" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
+ if test "$kde_qtver" = "1"; then
+ kde_qtsubver=42
+ fi
+fi
+
+if test -z "$2"; then
+ if test "$kde_qtver" = "2"; then
+ if test $kde_qtsubver -gt 0; then
+ kde_qt_minversion=">= Qt 2.2.2"
+ else
+ kde_qt_minversion=">= Qt 2.0.2"
+ fi
+ fi
+ if test "$kde_qtver" = "3"; then
+ if test $kde_qtsubver -gt 0; then
+ kde_qt_minversion=">= Qt 3.1.0"
+ else
+ kde_qt_minversion=">= Qt 3.0"
+ fi
+ fi
+ if test "$kde_qtver" = "1"; then
+ kde_qt_minversion=">= 1.42 and < 2.0"
+ fi
+else
+ kde_qt_minversion=$2
+fi
+
+if test -z "$3"; then
+ if test $kde_qtver = 3; then
+ if test $kde_qtsubver -gt 0; then
+ kde_qt_verstring="QT_VERSION >= 0x030100"
+ else
+ kde_qt_verstring="QT_VERSION >= 300"
+ fi
+ fi
+ if test $kde_qtver = 2; then
+ if test $kde_qtsubver -gt 0; then
+ kde_qt_verstring="QT_VERSION >= 222"
+ else
+ kde_qt_verstring="QT_VERSION >= 200"
+ fi
+ fi
+ if test $kde_qtver = 1; then
+ kde_qt_verstring="QT_VERSION >= 142 && QT_VERSION < 200"
+ fi
+else
+ kde_qt_verstring=$3
+fi
+
+if test $kde_qtver = 3; then
+ kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
+fi
+if test $kde_qtver = 2; then
+ kde_qt_dirs="$QTDIR /usr/lib/qt2 /usr/lib/qt"
+fi
+if test $kde_qtver = 1; then
+ kde_qt_dirs="$QTDIR /usr/lib/qt"
+fi
+])
+
+AC_DEFUN(KDE_CHECK_QT_DIRECT,
+[
+AC_REQUIRE([KDE_USE_QT])
+AC_MSG_CHECKING([if Qt compiles without flags])
+AC_CACHE_VAL(kde_cv_qt_direct,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+ac_LD_LIBRARY_PATH_safe=$LD_LIBRARY_PATH
+ac_LIBRARY_PATH="$LIBRARY_PATH"
+ac_cxxflags_safe="$CXXFLAGS"
+ac_ldflags_safe="$LDFLAGS"
+ac_libs_safe="$LIBS"
+
+CXXFLAGS="$CXXFLAGS -I$qt_includes"
+LDFLAGS="$LDFLAGS $X_LDFLAGS"
+if test "x$kde_use_qt_emb" != "xyes"; then
+LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
+else
+LIBS="$LIBQT $LIBSOCKET"
+fi
+LD_LIBRARY_PATH=
+export LD_LIBRARY_PATH
+LIBRARY_PATH=
+export LIBRARY_PATH
+
+KDE_PRINT_QT_PROGRAM
+
+if AC_TRY_EVAL(ac_link) && test -s conftest; then
+ kde_cv_qt_direct="yes"
+else
+ kde_cv_qt_direct="no"
+ echo "configure: failed program was:" >&AC_FD_CC
+ cat conftest.$ac_ext >&AC_FD_CC
+fi
+
+rm -f conftest*
+CXXFLAGS="$ac_cxxflags_safe"
+LDFLAGS="$ac_ldflags_safe"
+LIBS="$ac_libs_safe"
+
+LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe"
+export LD_LIBRARY_PATH
+LIBRARY_PATH="$ac_LIBRARY_PATH"
+export LIBRARY_PATH
+AC_LANG_RESTORE
+])
+
+if test "$kde_cv_qt_direct" = "yes"; then
+ AC_MSG_RESULT(yes)
+ $1
+else
+ AC_MSG_RESULT(no)
+ $2
+fi
+])
+
+dnl ------------------------------------------------------------------------
+dnl Try to find the Qt headers and libraries.
+dnl $(QT_LDFLAGS) will be -Lqtliblocation (if needed)
+dnl and $(QT_INCLUDES) will be -Iqthdrlocation (if needed)
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN(AC_PATH_QT_1_3,
+[
+AC_REQUIRE([K_PATH_X])
+AC_REQUIRE([KDE_USE_QT])
+AC_REQUIRE([KDE_CHECK_LIB64])
+
+dnl ------------------------------------------------------------------------
+dnl Add configure flag to enable linking to MT version of Qt library.
+dnl ------------------------------------------------------------------------
+
+AC_ARG_ENABLE(
+ mt,
+ [ --disable-mt link to non-threaded Qt (deprecated)],
+ kde_use_qt_mt=$enableval,
+ [
+ if test $kde_qtver = 3; then
+ kde_use_qt_mt=yes
+ else
+ kde_use_qt_mt=no
+ fi
+ ]
+)
+
+USING_QT_MT=""
+
+dnl ------------------------------------------------------------------------
+dnl If we not get --disable-qt-mt then adjust some vars for the host.
+dnl ------------------------------------------------------------------------
+
+KDE_MT_LDFLAGS=
+KDE_MT_LIBS=
+if test "x$kde_use_qt_mt" = "xyes"; then
+ KDE_CHECK_THREADING
+ if test "x$kde_use_threading" = "xyes"; then
+ CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS"
+ KDE_MT_LDFLAGS="$USE_THREADS"
+ KDE_MT_LIBS="$LIBPTHREAD"
+ else
+ kde_use_qt_mt=no
+ fi
+fi
+AC_SUBST(KDE_MT_LDFLAGS)
+AC_SUBST(KDE_MT_LIBS)
+
+kde_qt_was_given=yes
+
+dnl ------------------------------------------------------------------------
+dnl If we haven't been told how to link to Qt, we work it out for ourselves.
+dnl ------------------------------------------------------------------------
+if test -z "$LIBQT_GLOB"; then
+ if test "x$kde_use_qt_emb" = "xyes"; then
+ LIBQT_GLOB="libqte.*"
+ else
+ LIBQT_GLOB="libqt.*"
+ fi
+fi
+
+if test -z "$LIBQT"; then
+dnl ------------------------------------------------------------
+dnl If we got --enable-embedded then adjust the Qt library name.
+dnl ------------------------------------------------------------
+ if test "x$kde_use_qt_emb" = "xyes"; then
+ qtlib="qte"
+ else
+ qtlib="qt"
+ fi
+
+ kde_int_qt="-l$qtlib"
+else
+ kde_int_qt="$LIBQT"
+ kde_lib_qt_set=yes
+fi
+
+if test -z "$LIBQPE"; then
+dnl ------------------------------------------------------------
+dnl If we got --enable-palmtop then add -lqpe to the link line
+dnl ------------------------------------------------------------
+ if test "x$kde_use_qt_emb" = "xyes"; then
+ if test "x$kde_use_qt_emb_palm" = "xyes"; then
+ LIB_QPE="-lqpe"
+ else
+ LIB_QPE=""
+ fi
+ else
+ LIB_QPE=""
+ fi
+fi
+
+dnl ------------------------------------------------------------------------
+dnl If we got --enable-qt-mt then adjust the Qt library name for the host.
+dnl ------------------------------------------------------------------------
+
+if test "x$kde_use_qt_mt" = "xyes"; then
+ if test -z "$LIBQT"; then
+ LIBQT="-l$qtlib-mt"
+ kde_int_qt="-l$qtlib-mt"
+ else
+ LIBQT="$qtlib-mt"
+ kde_int_qt="$qtlib-mt"
+ fi
+ LIBQT_GLOB="lib$qtlib-mt.*"
+ USING_QT_MT="using -mt"
+else
+ LIBQT="-l$qtlib"
+fi
+
+if test $kde_qtver != 1; then
+
+ AC_REQUIRE([AC_FIND_PNG])
+ AC_REQUIRE([AC_FIND_JPEG])
+ LIBQT="$LIBQT $LIBPNG $LIBJPEG"
+fi
+
+if test $kde_qtver = 3; then
+ AC_REQUIRE([KDE_CHECK_LIBDL])
+ LIBQT="$LIBQT $LIBDL"
+fi
+
+AC_MSG_CHECKING([for Qt])
+
+if test "x$kde_use_qt_emb" != "xyes"; then
+LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
+fi
+ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
+qt_libraries=""
+qt_includes=""
+AC_ARG_WITH(qt-dir,
+ [ --with-qt-dir=DIR where the root of Qt is installed ],
+ [ ac_qt_includes="$withval"/include
+ ac_qt_libraries="$withval"/lib${kdelibsuff}
+ ac_qt_bindir="$withval"/bin
+ ])
+
+AC_ARG_WITH(qt-includes,
+ [ --with-qt-includes=DIR where the Qt includes are. ],
+ [
+ ac_qt_includes="$withval"
+ ])
+
+kde_qt_libs_given=no
+
+AC_ARG_WITH(qt-libraries,
+ [ --with-qt-libraries=DIR where the Qt library is installed.],
+ [ ac_qt_libraries="$withval"
+ kde_qt_libs_given=yes
+ ])
+
+AC_CACHE_VAL(ac_cv_have_qt,
+[#try to guess Qt locations
+
+qt_incdirs=""
+for dir in $kde_qt_dirs; do
+ qt_incdirs="$qt_incdirs $dir/include $dir"
+done
+qt_incdirs="$QTINC $qt_incdirs /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/X11R6/include/qt2 $x_includes"
+if test ! "$ac_qt_includes" = "NO"; then
+ qt_incdirs="$ac_qt_includes $qt_incdirs"
+fi
+
+if test "$kde_qtver" != "1"; then
+ kde_qt_header=qstyle.h
+else
+ kde_qt_header=qglobal.h
+fi
+
+AC_FIND_FILE($kde_qt_header, $qt_incdirs, qt_incdir)
+ac_qt_includes="$qt_incdir"
+
+qt_libdirs=""
+for dir in $kde_qt_dirs; do
+ qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir"
+done
+qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
+if test ! "$ac_qt_libraries" = "NO"; then
+ qt_libdir=$ac_qt_libraries
+else
+ qt_libdirs="$ac_qt_libraries $qt_libdirs"
+ # if the Qt was given, the chance is too big that libqt.* doesn't exist
+ qt_libdir=NONE
+ for dir in $qt_libdirs; do
+ try="ls -1 $dir/${LIBQT_GLOB}"
+ if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&AC_FD_CC ; fi
+ done
+fi
+
+ac_qt_libraries="$qt_libdir"
+
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+
+ac_cxxflags_safe="$CXXFLAGS"
+ac_ldflags_safe="$LDFLAGS"
+ac_libs_safe="$LIBS"
+
+CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
+LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
+LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
+
+KDE_PRINT_QT_PROGRAM
+
+if AC_TRY_EVAL(ac_link) && test -s conftest; then
+ rm -f conftest*
+else
+ echo "configure: failed program was:" >&AC_FD_CC
+ cat conftest.$ac_ext >&AC_FD_CC
+ ac_qt_libraries="NO"
+fi
+rm -f conftest*
+CXXFLAGS="$ac_cxxflags_safe"
+LDFLAGS="$ac_ldflags_safe"
+LIBS="$ac_libs_safe"
+
+AC_LANG_RESTORE
+if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then
+ ac_cv_have_qt="have_qt=no"
+ ac_qt_notfound=""
+ missing_qt_mt=""
+ if test "$ac_qt_includes" = NO; then
+ if test "$ac_qt_libraries" = NO; then
+ ac_qt_notfound="(headers and libraries)";
+ else
+ ac_qt_notfound="(headers)";
+ fi
+ else
+ if test "x$kde_use_qt_mt" = "xyes"; then
+ missing_qt_mt="
+Make sure that you have compiled Qt with thread support!"
+ ac_qt_notfound="(library $qtlib-mt)";
+ else
+ ac_qt_notfound="(library $qtlib)";
+ fi
+ fi
+
+ AC_MSG_ERROR([Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
+For more details about this problem, look at the end of config.log.$missing_qt_mt])
+else
+ have_qt="yes"
+fi
+])
+
+eval "$ac_cv_have_qt"
+
+if test "$have_qt" != yes; then
+ AC_MSG_RESULT([$have_qt]);
+else
+ ac_cv_have_qt="have_qt=yes \
+ ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
+ AC_MSG_RESULT([libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT])
+
+ qt_libraries="$ac_qt_libraries"
+ qt_includes="$ac_qt_includes"
+fi
+
+if test ! "$kde_qt_libs_given" = "yes"; then
+KDE_CHECK_QT_DIRECT(qt_libraries= ,[])
+fi
+
+AC_SUBST(qt_libraries)
+AC_SUBST(qt_includes)
+
+if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then
+ QT_INCLUDES=""
+else
+ QT_INCLUDES="-I$qt_includes"
+ all_includes="$QT_INCLUDES $all_includes"
+fi
+
+if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then
+ QT_LDFLAGS=""
+else
+ QT_LDFLAGS="-L$qt_libraries"
+ all_libraries="$all_libraries $QT_LDFLAGS"
+fi
+test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS"
+
+AC_SUBST(QT_INCLUDES)
+AC_SUBST(QT_LDFLAGS)
+AC_PATH_QT_MOC_UIC
+
+KDE_CHECK_QT_JPEG
+
+if test "x$kde_use_qt_emb" != "xyes"; then
+LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBPNG) -lXext $(LIB_X11) $(LIBSM)'
+else
+LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBPNG)'
+fi
+test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS"
+
+AC_SUBST(LIB_QT)
+AC_SUBST(LIB_QPE)
+
+AC_SUBST(kde_qtver)
+])
+
+AC_DEFUN(AC_PATH_QT,
+[
+AC_PATH_QT_1_3
+])
+
+AC_DEFUN(KDE_CHECK_UIC_PLUGINS,
+[
+AC_REQUIRE([AC_PATH_QT_MOC_UIC])
+
+if test x$ac_uic_supports_libpath = xyes; then
+
+AC_MSG_CHECKING([if UIC has KDE plugins available])
+AC_CACHE_VAL(kde_cv_uic_plugins,
+[
+cat > actest.ui << EOF
+<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
+<class>NewConnectionDialog</class>
+<widget class="QDialog">
+ <widget class="KLineEdit">
+ <property name="name">
+ <cstring>testInput</cstring>
+ </property>
+ </widget>
+</widget>
+</UI>
+EOF
+
+
+
+kde_cv_uic_plugins=no
+kde_line="$UIC_PATH -L $kde_widgetdir"
+if test x$ac_uic_supports_nounload = xyes; then
+ kde_line="$kde_line -nounload"
+fi
+kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
+if AC_TRY_EVAL(kde_line); then
+ if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
+ kde_cv_uic_plugins=yes
+ fi
+fi
+rm -f actest.ui actest.cpp
+])
+
+if test "$kde_cv_uic_plugins" = yes; then
+ AC_MSG_RESULT([yes])
+else
+ AC_MSG_ERROR([not found - you need to install kdelibs first.])
+fi
+fi
+])
+
+AC_DEFUN(KDE_CHECK_FINAL,
+[
+ AC_ARG_ENABLE(final, [ --enable-final build size optimized apps (experimental - needs lots of memory)],
+ kde_use_final=$enableval, kde_use_final=no)
+
+ KDE_COMPILER_REPO
+ if test "x$kde_use_final" = "xyes"; then
+ KDE_USE_FINAL_TRUE=""
+ KDE_USE_FINAL_FALSE="#"
+ else
+ KDE_USE_FINAL_TRUE="#"
+ KDE_USE_FINAL_FALSE=""
+ fi
+ AC_SUBST(KDE_USE_FINAL_TRUE)
+ AC_SUBST(KDE_USE_FINAL_FALSE)
+
+ AC_ARG_ENABLE(closure, [ --disable-closure don't delay template instantiation],
+ kde_use_closure=$enableval, kde_use_closure=yes)
+
+ if test "x$kde_use_closure" = "xyes"; then
+ KDE_USE_CLOSURE_TRUE=""
+ KDE_USE_CLOSURE_FALSE="#"
+# CXXFLAGS="$CXXFLAGS $REPO"
+ else
+ KDE_USE_CLOSURE_TRUE="#"
+ KDE_USE_CLOSURE_FALSE=""
+ fi
+ AC_SUBST(KDE_USE_CLOSURE_TRUE)
+ AC_SUBST(KDE_USE_CLOSURE_FALSE)
+])
+
+dnl ------------------------------------------------------------------------
+dnl Now, the same with KDE
+dnl $(KDE_LDFLAGS) will be the kdeliblocation (if needed)
+dnl and $(kde_includes) will be the kdehdrlocation (if needed)
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN(AC_BASE_PATH_KDE,
+[
+AC_PREREQ([2.13])
+AC_REQUIRE([AC_PATH_QT])dnl
+AC_REQUIRE([KDE_CHECK_LIB64])
+
+AC_CHECK_RPATH
+AC_MSG_CHECKING([for KDE])
+
+if test "${prefix}" != NONE; then
+ kde_includes=${prefix}/include
+ ac_kde_includes=$prefix/include
+
+ if test "${exec_prefix}" != NONE; then
+ kde_libraries=${libdir}
+ ac_kde_libraries=$libdir
+ if test "$ac_kde_libraries" = '${exec_prefix}/lib'${kdelibsuff}; then
+ ac_kde_libraries=$exec_prefix/lib${kdelibsuff}
+ fi
+ else
+ kde_libraries=${prefix}/lib${kdelibsuff}
+ ac_kde_libraries=$prefix/lib${kdelibsuff}
+ fi
+else
+ ac_kde_includes=
+ ac_kde_libraries=
+ kde_libraries=""
+ kde_includes=""
+fi
+
+AC_CACHE_VAL(ac_cv_have_kde,
+[#try to guess kde locations
+
+if test "$kde_qtver" = 1; then
+ kde_check_header="ksock.h"
+ kde_check_lib="libkdecore.la"
+else
+ kde_check_header="ksharedptr.h"
+ kde_check_lib="libkio.la"
+fi
+
+if test -z "$1"; then
+
+kde_incdirs="/usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
+test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
+kde_incdirs="$ac_kde_includes $kde_incdirs"
+AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir)
+ac_kde_includes="$kde_incdir"
+
+if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then
+ AC_MSG_ERROR([
+in the prefix, you've chosen, are no KDE headers installed. This will fail.
+So, check this please and use another prefix!])
+fi
+
+kde_libdirs="/usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
+test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
+kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
+AC_FIND_FILE($kde_check_lib, $kde_libdirs, kde_libdir)
+ac_kde_libraries="$kde_libdir"
+
+kde_widgetdir=NO
+dnl this might be somewhere else
+AC_FIND_FILE("kde3/plugins/designer/kdewidgets.la", $kde_libdirs, kde_widgetdir)
+
+if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
+AC_MSG_ERROR([
+in the prefix, you've chosen, are no KDE libraries installed. This will fail.
+So, check this please and use another prefix!])
+fi
+
+if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
+AC_MSG_ERROR([
+I can't find the designer plugins. These are required and should have been installed
+by kdelibs])
+fi
+
+if test -n "$kde_widgetdir"; then
+ kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
+fi
+
+
+if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then
+ ac_cv_have_kde="have_kde=no"
+else
+ ac_cv_have_kde="have_kde=yes \
+ ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
+fi
+
+else dnl test -z $1
+
+ ac_cv_have_kde="have_kde=no"
+
+fi
+])dnl
+
+eval "$ac_cv_have_kde"
+
+if test "$have_kde" != "yes"; then
+ if test "${prefix}" = NONE; then
+ ac_kde_prefix="$ac_default_prefix"
+ else
+ ac_kde_prefix="$prefix"
+ fi
+ if test "$exec_prefix" = NONE; then
+ ac_kde_exec_prefix="$ac_kde_prefix"
+ AC_MSG_RESULT([will be installed in $ac_kde_prefix])
+ else
+ ac_kde_exec_prefix="$exec_prefix"
+ AC_MSG_RESULT([will be installed in $ac_kde_prefix and $ac_kde_exec_prefix])
+ fi
+
+ kde_libraries="${libdir}"
+ kde_includes=${ac_kde_prefix}/include
+
+else
+ ac_cv_have_kde="have_kde=yes \
+ ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
+ AC_MSG_RESULT([libraries $ac_kde_libraries, headers $ac_kde_includes])
+
+ kde_libraries="$ac_kde_libraries"
+ kde_includes="$ac_kde_includes"
+fi
+AC_SUBST(kde_libraries)
+AC_SUBST(kde_includes)
+
+if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes" || test "$kde_includes" = "/usr/include"; then
+ KDE_INCLUDES=""
+else
+ KDE_INCLUDES="-I$kde_includes"
+ all_includes="$KDE_INCLUDES $all_includes"
+fi
+
+KDE_LDFLAGS="-L$kde_libraries"
+if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
+ all_libraries="$all_libraries $KDE_LDFLAGS"
+fi
+
+AC_SUBST(KDE_LDFLAGS)
+AC_SUBST(KDE_INCLUDES)
+
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+
+all_libraries="$all_libraries $USER_LDFLAGS"
+all_includes="$all_includes $USER_INCLUDES"
+AC_SUBST(all_includes)
+AC_SUBST(all_libraries)
+
+if test -z "$1"; then
+KDE_CHECK_UIC_PLUGINS
+fi
+
+ac_kde_libraries="$kde_libdir"
+
+AC_SUBST(AUTODIRS)
+
+
+])
+
+AC_DEFUN(KDE_CHECK_EXTRA_LIBS,
+[
+AC_MSG_CHECKING(for extra includes)
+AC_ARG_WITH(extra-includes, [ --with-extra-includes=DIR
+ adds non standard include paths],
+ kde_use_extra_includes="$withval",
+ kde_use_extra_includes=NONE
+)
+kde_extra_includes=
+if test -n "$kde_use_extra_includes" && \
+ test "$kde_use_extra_includes" != "NONE"; then
+
+ ac_save_ifs=$IFS
+ IFS=':'
+ for dir in $kde_use_extra_includes; do
+ kde_extra_includes="$kde_extra_includes $dir"
+ USER_INCLUDES="$USER_INCLUDES -I$dir"
+ done
+ IFS=$ac_save_ifs
+ kde_use_extra_includes="added"
+else
+ kde_use_extra_includes="no"
+fi
+AC_SUBST(USER_INCLUDES)
+
+AC_MSG_RESULT($kde_use_extra_includes)
+
+kde_extra_libs=
+AC_MSG_CHECKING(for extra libs)
+AC_ARG_WITH(extra-libs, [ --with-extra-libs=DIR adds non standard library paths],
+ kde_use_extra_libs=$withval,
+ kde_use_extra_libs=NONE
+)
+if test -n "$kde_use_extra_libs" && \
+ test "$kde_use_extra_libs" != "NONE"; then
+
+ ac_save_ifs=$IFS
+ IFS=':'
+ for dir in $kde_use_extra_libs; do
+ kde_extra_libs="$kde_extra_libs $dir"
+ KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir"
+ USER_LDFLAGS="$USER_LDFLAGS -L$dir"
+ done
+ IFS=$ac_save_ifs
+ kde_use_extra_libs="added"
+else
+ kde_use_extra_libs="no"
+fi
+
+AC_SUBST(USER_LDFLAGS)
+
+AC_MSG_RESULT($kde_use_extra_libs)
+
+])
+
+AC_DEFUN(KDE_1_CHECK_PATH_HEADERS,
+[
+ AC_MSG_CHECKING([for KDE headers installed])
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+cat > conftest.$ac_ext <<EOF
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+#endif
+#include <stdio.h>
+#include "confdefs.h"
+#include <kapp.h>
+
+int main() {
+ printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
+ printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
+ printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
+ printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
+ printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
+ printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
+ printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
+ printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
+ printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
+ printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
+ printf("kde_wallpaperdir=\\"%s\\"\n",
+ KApplication::kde_wallpaperdir().data());
+ printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
+ printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
+ printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
+ printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
+ printf("kde_moduledir=\\"/tmp/dummy\\"\n");
+ printf("kde_styledir=\\"/tmp/dummy\\"\n");
+ printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
+ return 0;
+ }
+EOF
+
+ ac_compile='${CXX-g++} -c $CXXFLAGS $all_includes $CPPFLAGS conftest.$ac_ext'
+ if AC_TRY_EVAL(ac_compile); then
+ AC_MSG_RESULT(yes)
+ else
+ AC_MSG_ERROR([your system is not able to compile a small KDE application!
+Check, if you installed the KDE header files correctly.
+For more details about this problem, look at the end of config.log.])
+ fi
+
+ AC_LANG_RESTORE
+])
+
+AC_DEFUN(KDE_CHECK_KDEQTADDON,
+[
+AC_MSG_CHECKING(for kde-qt-addon)
+AC_CACHE_VAL(kde_cv_have_kdeqtaddon,
+[
+ kde_ldflags_safe="$LDFLAGS"
+ kde_libs_safe="$LIBS"
+ kde_cxxflags_safe="$CXXFLAGS"
+
+ LIBS="-lkde-qt-addon $LIBQT $LIBS"
+ CXXFLAGS="$CXXFLAGS -I$prefix/include -I$prefix/include/kde $all_includes"
+ LDFLAGS="$LDFLAGS $all_libraries $USER_LDFLAGS"
+
+ AC_TRY_LINK([
+ #include <qdom.h>
+ ],
+ [
+ QDomDocument doc;
+ ],
+ kde_cv_have_kdeqtaddon=yes,
+ kde_cv_have_kdeqtaddon=no
+ )
+
+ LDFLAGS=$kde_ldflags_safe
+ LIBS=$kde_libs_safe
+ CXXFLAGS=$kde_cxxflags_safe
+])
+
+AC_MSG_RESULT($kde_cv_have_kdeqtaddon)
+
+if test "$kde_cv_have_kdeqtaddon" = "no"; then
+ AC_MSG_ERROR([Can't find libkde-qt-addon. You need to install it first.
+It is a separate package (and CVS module) named kde-qt-addon.])
+fi
+])
+
+AC_DEFUN(KDE_CHECK_KIMGIO,
+[
+ AC_REQUIRE([AC_BASE_PATH_KDE])
+ AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+ AC_REQUIRE([AC_FIND_TIFF])
+ AC_REQUIRE([AC_FIND_JPEG])
+ AC_REQUIRE([AC_FIND_PNG])
+ AC_REQUIRE([KDE_CREATE_LIBS_ALIASES])
+
+ if test "$1" = "existance"; then
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ kde_save_LIBS="$LIBS"
+ LIBS="$LIBS $all_libraries $LIBJPEG $LIBTIFF $LIBPNG $LIBQT -lm"
+ AC_CHECK_LIB(kimgio, kimgioRegister, [
+ LIBKIMGIO_EXISTS=yes],LIBKIMGIO_EXISTS=no)
+ LIBS="$kde_save_LIBS"
+ AC_LANG_RESTORE
+ else
+ LIBKIMGIO_EXISTS=yes
+ fi
+
+ if test "$LIBKIMGIO_EXISTS" = "yes"; then
+ LIB_KIMGIO='-lkimgio'
+ else
+ LIB_KIMGIO=''
+ fi
+ AC_SUBST(LIB_KIMGIO)
+])
+
+AC_DEFUN(KDE_CREATE_LIBS_ALIASES,
+[
+ AC_REQUIRE([KDE_MISC_TESTS])
+ AC_REQUIRE([KDE_CHECK_LIBDL])
+ AC_REQUIRE([K_PATH_X])
+
+if test $kde_qtver = 3; then
+ AC_SUBST(LIB_KDECORE, "-lkdecore")
+ AC_SUBST(LIB_KDEUI, "-lkdeui")
+ AC_SUBST(LIB_KIO, "-lkio")
+ AC_SUBST(LIB_SMB, "-lsmb")
+ AC_SUBST(LIB_KAB, "-lkab")
+ AC_SUBST(LIB_KABC, "-lkabc")
+ AC_SUBST(LIB_KHTML, "-lkhtml")
+ AC_SUBST(LIB_KSPELL, "-lkspell")
+ AC_SUBST(LIB_KPARTS, "-lkparts")
+ AC_SUBST(LIB_KDEPRINT, "-lkdeprint")
+# these are for backward compatibility
+ AC_SUBST(LIB_KSYCOCA, "-lkio")
+ AC_SUBST(LIB_KFILE, "-lkio")
+elif test $kde_qtver = 2; then
+ AC_SUBST(LIB_KDECORE, "-lkdecore")
+ AC_SUBST(LIB_KDEUI, "-lkdeui")
+ AC_SUBST(LIB_KIO, "-lkio")
+ AC_SUBST(LIB_KSYCOCA, "-lksycoca")
+ AC_SUBST(LIB_SMB, "-lsmb")
+ AC_SUBST(LIB_KFILE, "-lkfile")
+ AC_SUBST(LIB_KAB, "-lkab")
+ AC_SUBST(LIB_KHTML, "-lkhtml")
+ AC_SUBST(LIB_KSPELL, "-lkspell")
+ AC_SUBST(LIB_KPARTS, "-lkparts")
+ AC_SUBST(LIB_KDEPRINT, "-lkdeprint")
+else
+ AC_SUBST(LIB_KDECORE, "-lkdecore -lXext $(LIB_QT)")
+ AC_SUBST(LIB_KDEUI, "-lkdeui $(LIB_KDECORE)")
+ AC_SUBST(LIB_KFM, "-lkfm $(LIB_KDECORE)")
+ AC_SUBST(LIB_KFILE, "-lkfile $(LIB_KFM) $(LIB_KDEUI)")
+ AC_SUBST(LIB_KAB, "-lkab $(LIB_KIMGIO) $(LIB_KDECORE)")
+fi
+])
+
+AC_DEFUN(AC_PATH_KDE,
+[
+ AC_BASE_PATH_KDE
+ AC_ARG_ENABLE(path-check, [ --disable-path-check don't try to find out, where to install],
+ [
+ if test "$enableval" = "no";
+ then ac_use_path_checking="default"
+ else ac_use_path_checking=""
+ fi
+ ],
+ [
+ if test "$kde_qtver" = 1;
+ then ac_use_path_checking=""
+ else ac_use_path_checking="default"
+ fi
+ ]
+ )
+
+ AC_CREATE_KFSSTND($ac_use_path_checking)
+
+ AC_SUBST_KFSSTND
+ KDE_CREATE_LIBS_ALIASES
+])
+
+dnl KDE_CHECK_FUNC_EXT(<func>, [headers], [sample-use], [C prototype], [autoheader define], [call if found])
+AC_DEFUN(KDE_CHECK_FUNC_EXT,
+[
+AC_MSG_CHECKING(for $1)
+AC_CACHE_VAL(kde_cv_func_$1,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+save_CXXFLAGS="$CXXFLAGS"
+kde_safe_LIBS="$LIBS"
+LIBS="$LIBS $X_EXTRA_LIBS"
+if test "$GXX" = "yes"; then
+ CXXFLAGS="$CXXFLAGS -pedantic-errors"
+fi
+AC_TRY_COMPILE([
+$2
+],
+[
+$3
+],
+kde_cv_func_$1=yes,
+kde_cv_func_$1=no)
+CXXFLAGS="$save_CXXFLAGS"
+LIBS=$kde_safe_LIBS
+AC_LANG_RESTORE
+])
+
+AC_MSG_RESULT($kde_cv_func_$1)
+
+AC_MSG_CHECKING([if $1 needs custom prototype])
+AC_CACHE_VAL(kde_cv_proto_$1,
+[
+if test "x$kde_cv_func_$1" = xyes; then
+ kde_cv_proto_$1=no
+else
+ case "$1" in
+ setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
+ kde_cv_proto_$1="yes - in libkdefakes"
+ ;;
+ *)
+ kde_cv_proto_$1=unknown
+ ;;
+ esac
+fi
+
+if test "x$kde_cv_proto_$1" = xunknown; then
+
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+ kde_safe_libs=$LIBS
+ LIBS="$LIBS $X_EXTRA_LIBS"
+ AC_TRY_LINK([
+$2
+
+extern "C" $4;
+],
+[
+$3
+],
+[ kde_cv_func_$1=yes
+ kde_cv_proto_$1=yes ],
+ [kde_cv_proto_$1="$1 unavailable"]
+)
+LIBS=$kde_safe_libs
+AC_LANG_RESTORE
+fi
+])
+AC_MSG_RESULT($kde_cv_proto_$1)
+
+if test "x$kde_cv_func_$1" = xyes; then
+ AC_DEFINE(HAVE_$5, 1, [Define if you have $1])
+ $6
+fi
+if test "x$kde_cv_proto_$1" = xno; then
+ AC_DEFINE(HAVE_$5_PROTO, 1,
+ [Define if you have the $1 prototype])
+fi
+
+AH_VERBATIM([_HAVE_$5_PROTO],
+[
+#if !defined(HAVE_$5_PROTO)
+#ifdef __cplusplus
+extern "C"
+#endif
+$4;
+#endif
+])
+])
+
+AC_DEFUN(AC_CHECK_SETENV,
+[
+ KDE_CHECK_FUNC_EXT(setenv, [
+#include <stdlib.h>
+],
+ [setenv("VAR", "VALUE", 1);],
+ [int setenv (const char *, const char *, int)],
+ [SETENV])
+])
+
+AC_DEFUN(AC_CHECK_UNSETENV,
+[
+ KDE_CHECK_FUNC_EXT(unsetenv, [
+#include <stdlib.h>
+],
+ [unsetenv("VAR");],
+ [void unsetenv (const char *)],
+ [UNSETENV])
+])
+
+AC_DEFUN(AC_CHECK_GETDOMAINNAME,
+[
+ KDE_CHECK_FUNC_EXT(getdomainname, [
+#include <stdlib.h>
+#include <unistd.h>
+],
+ [
+char buffer[200];
+getdomainname(buffer, 200);
+],
+ [int getdomainname (char *, unsigned int)],
+ [GETDOMAINNAME])
+])
+
+AC_DEFUN(AC_CHECK_GETHOSTNAME,
+[
+ KDE_CHECK_FUNC_EXT(gethostname, [
+#include <stdlib.h>
+#include <unistd.h>
+],
+ [
+char buffer[200];
+gethostname(buffer, 200);
+],
+ [int gethostname (char *, unsigned int)],
+ [GETHOSTNAME])
+])
+
+AC_DEFUN(AC_CHECK_USLEEP,
+[
+ KDE_CHECK_FUNC_EXT(usleep, [
+#include <unistd.h>
+],
+ [
+usleep(200);
+],
+ [int usleep (unsigned int)],
+ [USLEEP])
+])
+
+
+AC_DEFUN(AC_CHECK_RANDOM,
+[
+ KDE_CHECK_FUNC_EXT(random, [
+#include <stdlib.h>
+],
+ [
+random();
+],
+ [long int random(void)],
+ [RANDOM])
+
+ KDE_CHECK_FUNC_EXT(srandom, [
+#include <stdlib.h>
+],
+ [
+srandom(27);
+],
+ [void srandom(unsigned int)],
+ [SRANDOM])
+
+])
+
+AC_DEFUN(AC_CHECK_INITGROUPS,
+[
+ KDE_CHECK_FUNC_EXT(initgroups, [
+#include <sys/types.h>
+#include <unistd.h>
+#include <grp.h>
+],
+ [
+char buffer[200];
+initgroups(buffer, 27);
+],
+ [int initgroups(const char *, gid_t)],
+ [INITGROUPS])
+])
+
+AC_DEFUN(AC_CHECK_MKSTEMP,
+[
+ KDE_CHECK_FUNC_EXT(mkstemp, [
+#include <stdlib.h>
+],
+ [
+mkstemp("/tmp/aaaXXXXXX");
+],
+ [int mkstemp(char *)],
+ [MKSTEMP])
+])
+
+AC_DEFUN(AC_CHECK_MKSTEMPS,
+[
+ KDE_CHECK_FUNC_EXT(mkstemps, [
+#include <stdlib.h>
+#include <unistd.h>
+],
+ [
+mkstemps("/tmp/aaaXXXXXX", 6);
+],
+ [int mkstemps(char *, int)],
+ [MKSTEMPS])
+])
+
+AC_DEFUN(AC_CHECK_RES_INIT,
+[
+ AC_MSG_CHECKING([if res_init needs -lresolv])
+ kde_libs_safe="$LIBS"
+ LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
+ AC_TRY_LINK(
+ [
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
+#include <resolv.h>
+ ],
+ [
+ res_init();
+ ],
+ [
+ LIBRESOLV="-lresolv"
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_RES_INIT, 1, [Define if you have the res_init function])
+ ],
+ [ AC_MSG_RESULT(no) ]
+ )
+ LIBS="$kde_libs_safe"
+ AC_SUBST(LIBRESOLV)
+
+ AC_MSG_CHECKING([if res_init is available])
+ AC_TRY_COMPILE(
+ [
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
+#include <resolv.h>
+ ],
+ [
+ res_init();
+ ],
+ [
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_RES_INIT, 1, [Define if you have the res_init function])
+ ],
+ [ AC_MSG_RESULT(no) ]
+ )
+])
+
+AC_DEFUN(AC_CHECK_STRLCPY,
+[
+ KDE_CHECK_FUNC_EXT(strlcpy, [
+#include <string.h>
+],
+[ char buf[20];
+ strlcpy(buf, "KDE function test", sizeof(buf));
+],
+ [unsigned long strlcpy(char*, const char*, unsigned long)],
+ [STRLCPY])
+])
+
+AC_DEFUN(AC_CHECK_STRLCAT,
+[
+ KDE_CHECK_FUNC_EXT(strlcat, [
+#include <string.h>
+],
+[ char buf[20];
+ buf[0]='\0';
+ strlcat(buf, "KDE function test", sizeof(buf));
+],
+ [unsigned long strlcat(char*, const char*, unsigned long)],
+ [STRLCAT])
+])
+
+AC_DEFUN(AC_FIND_GIF,
+ [AC_MSG_CHECKING([for giflib])
+AC_CACHE_VAL(ac_cv_lib_gif,
+[ac_save_LIBS="$LIBS"
+if test "x$kde_use_qt_emb" != "xyes"; then
+LIBS="$all_libraries -lgif -lX11 $LIBSOCKET"
+else
+LIBS="$all_libraries -lgif"
+fi
+AC_TRY_LINK(dnl
+[
+#ifdef __cplusplus
+extern "C" {
+#endif
+int GifLastError(void);
+#ifdef __cplusplus
+}
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+],
+ [return GifLastError();],
+ eval "ac_cv_lib_gif=yes",
+ eval "ac_cv_lib_gif=no")
+LIBS="$ac_save_LIBS"
+])dnl
+if eval "test \"`echo $ac_cv_lib_gif`\" = yes"; then
+ AC_MSG_RESULT(yes)
+ AC_DEFINE_UNQUOTED(HAVE_LIBGIF, 1, [Define if you have libgif])
+else
+ AC_MSG_ERROR(You need giflib30. Please install the kdesupport package)
+fi
+])
+
+AC_DEFUN(KDE_FIND_JPEG_HELPER,
+[
+AC_MSG_CHECKING([for libjpeg$2])
+AC_CACHE_VAL(ac_cv_lib_jpeg_$1,
+[
+AC_LANG_C
+ac_save_LIBS="$LIBS"
+LIBS="$all_libraries $USER_LDFLAGS -ljpeg$2 -lm"
+ac_save_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
+AC_TRY_LINK(
+[/* Override any gcc2 internal prototype to avoid an error. */
+struct jpeg_decompress_struct;
+typedef struct jpeg_decompress_struct * j_decompress_ptr;
+typedef int size_t;
+#ifdef __cplusplus
+extern "C" {
+#endif
+ void jpeg_CreateDecompress(j_decompress_ptr cinfo,
+ int version, size_t structsize);
+#ifdef __cplusplus
+}
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+],
+ [jpeg_CreateDecompress(0L, 0, 0);],
+ eval "ac_cv_lib_jpeg_$1=-ljpeg$2",
+ eval "ac_cv_lib_jpeg_$1=no")
+LIBS="$ac_save_LIBS"
+CFLAGS="$ac_save_CFLAGS"
+])
+
+if eval "test ! \"`echo $ac_cv_lib_jpeg_$1`\" = no"; then
+ LIBJPEG="$ac_cv_lib_jpeg_$1"
+ AC_MSG_RESULT($ac_cv_lib_jpeg_$1)
+else
+ AC_MSG_RESULT(no)
+ $3
+fi
+
+])
+
+AC_DEFUN(AC_FIND_JPEG,
+[
+dnl first look for libraries
+KDE_FIND_JPEG_HELPER(6b, 6b,
+ KDE_FIND_JPEG_HELPER(normal, [],
+ [
+ LIBJPEG=
+ ]
+ )
+)
+
+dnl then search the headers (can't use simply AC_TRY_xxx, as jpeglib.h
+dnl requires system dependent includes loaded before it)
+jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes"
+AC_FIND_FILE(jpeglib.h, $jpeg_incdirs, jpeg_incdir)
+test "x$jpeg_incdir" = xNO && jpeg_incdir=
+
+dnl if headers _and_ libraries are missing, this is no error, and we
+dnl continue with a warning (the user will get no jpeg support in khtml)
+dnl if only one is missing, it means a configuration error, but we still
+dnl only warn
+if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
+ AC_DEFINE_UNQUOTED(HAVE_LIBJPEG, 1, [Define if you have libjpeg])
+else
+ if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then
+ AC_MSG_WARN([
+There is an installation error in jpeg support. You seem to have only one
+of either the headers _or_ the libraries installed. You may need to either
+provide correct --with-extra-... options, or the development package of
+libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
+Disabling JPEG support.
+])
+ else
+ AC_MSG_WARN([libjpeg not found. disable JPEG support.])
+ fi
+ jpeg_incdir=
+ LIBJPEG=
+fi
+
+AC_SUBST(LIBJPEG)
+AH_VERBATIM(_AC_CHECK_JPEG,
+[/*
+ * jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
+ * headers and I'm too lazy to write a configure test as long as only
+ * unixware is related
+ */
+#ifdef _UNIXWARE
+#define HAVE_BOOLEAN
+#endif
+])
+])
+
+AC_DEFUN(KDE_CHECK_QT_JPEG,
+[
+AC_MSG_CHECKING([if Qt needs $LIBJPEG])
+AC_CACHE_VAL(kde_cv_qt_jpeg,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+ac_save_LIBS="$LIBS"
+LIBS="$all_libraries $USER_LDFLAGS $LIBQT"
+LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
+ac_save_CXXFLAGS="$CXXFLAGS"
+CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
+AC_TRY_LINK(
+[#include <qapplication.h>],
+ [
+ int argc;
+ char** argv;
+ QApplication app(argc, argv);],
+ eval "kde_cv_qt_jpeg=no",
+ eval "kde_cv_qt_jpeg=yes")
+LIBS="$ac_save_LIBS"
+CXXFLAGS="$ac_save_CXXFLAGS"
+AC_LANG_RESTORE
+])
+
+if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
+ AC_MSG_RESULT(yes)
+ LIBJPEG_QT='$(LIBJPEG)'
+else
+ AC_MSG_RESULT(no)
+ LIBJPEG_QT=
+fi
+
+])
+
+AC_DEFUN(AC_FIND_ZLIB,
+[
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+AC_MSG_CHECKING([for libz])
+AC_CACHE_VAL(ac_cv_lib_z,
+[
+AC_LANG_C
+kde_save_LIBS="$LIBS"
+LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET"
+kde_save_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
+AC_TRY_LINK(dnl
+[
+#include<zlib.h>
+],
+ [return (zlibVersion() == ZLIB_VERSION); ],
+ eval "ac_cv_lib_z='-lz'",
+ eval "ac_cv_lib_z=no")
+LIBS="$kde_save_LIBS"
+CFLAGS="$kde_save_CFLAGS"
+])dnl
+if test ! "$ac_cv_lib_z" = no; then
+ AC_DEFINE_UNQUOTED(HAVE_LIBZ, 1, [Define if you have libz])
+ LIBZ="$ac_cv_lib_z"
+ AC_SUBST(LIBZ)
+ AC_MSG_RESULT($ac_cv_lib_z)
+else
+ AC_MSG_ERROR(not found. Check your installation and look into config.log)
+ LIBZ=""
+ AC_SUBST(LIBZ)
+fi
+])
+
+AC_DEFUN(KDE_TRY_TIFFLIB,
+[
+AC_MSG_CHECKING([for libtiff $1])
+
+AC_CACHE_VAL(kde_cv_libtiff_$1,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+kde_save_LIBS="$LIBS"
+if test "x$kde_use_qt_emb" != "xyes"; then
+LIBS="$all_libraries $USER_LDFLAGS -l$1 $LIBJPEG $LIBZ -lX11 $LIBSOCKET -lm"
+else
+LIBS="$all_libraries $USER_LDFLAGS -l$1 $LIBJPEG $LIBZ -lm"
+fi
+kde_save_CXXFLAGS="$CXXFLAGS"
+CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
+
+AC_TRY_LINK(dnl
+[
+#include<tiffio.h>
+],
+ [return (TIFFOpen( "", "r") == 0); ],
+[
+ kde_cv_libtiff_$1="-l$1 $LIBJPEG $LIBZ"
+], [
+ kde_cv_libtiff_$1=no
+])
+
+LIBS="$kde_save_LIBS"
+CXXFLAGS="$kde_save_CXXFLAGS"
+AC_LANG_RESTORE
+])
+
+if test "$kde_cv_libtiff_$1" = "no"; then
+ AC_MSG_RESULT(no)
+ LIBTIFF=""
+ $3
+else
+ LIBTIFF="$kde_cv_libtiff_$1"
+ AC_MSG_RESULT(yes)
+ AC_DEFINE_UNQUOTED(HAVE_LIBTIFF, 1, [Define if you have libtiff])
+ $2
+fi
+
+])
+
+AC_DEFUN(AC_FIND_TIFF,
+[
+AC_REQUIRE([K_PATH_X])
+AC_REQUIRE([AC_FIND_ZLIB])
+AC_REQUIRE([AC_FIND_JPEG])
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+
+KDE_TRY_TIFFLIB(tiff, [],
+ KDE_TRY_TIFFLIB(tiff34))
+
+AC_SUBST(LIBTIFF)
+])
+
+
+AC_DEFUN(AC_FIND_PNG,
+[
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+AC_REQUIRE([AC_FIND_ZLIB])
+AC_MSG_CHECKING([for libpng])
+AC_CACHE_VAL(ac_cv_lib_png,
+[
+kde_save_LIBS="$LIBS"
+if test "x$kde_use_qt_emb" != "xyes"; then
+LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET"
+else
+LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm"
+fi
+kde_save_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
+AC_LANG_C
+AC_TRY_LINK(dnl
+ [
+ #include<png.h>
+ ],
+ [
+ png_structp png_ptr = png_create_read_struct( /* image ptr */
+ PNG_LIBPNG_VER_STRING, 0, 0, 0 );
+ return( png_ptr != 0 );
+ ],
+ eval "ac_cv_lib_png='-lpng $LIBZ -lm'",
+ eval "ac_cv_lib_png=no"
+)
+LIBS="$kde_save_LIBS"
+CFLAGS="$kde_save_CFLAGS"
+])dnl
+if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then
+ AC_DEFINE_UNQUOTED(HAVE_LIBPNG, 1, [Define if you have libpng])
+ LIBPNG="$ac_cv_lib_png"
+ AC_SUBST(LIBPNG)
+ AC_MSG_RESULT($ac_cv_lib_png)
+else
+ AC_MSG_RESULT(no)
+ LIBPNG=""
+ AC_SUBST(LIBPNG)
+fi
+])
+
+AC_DEFUN(AC_CHECK_BOOL,
+[
+ AC_DEFINE_UNQUOTED(HAVE_BOOL, 1, [You _must_ have bool])
+])
+
+AC_DEFUN(AC_CHECK_GNU_EXTENSIONS,
+[
+AC_MSG_CHECKING(if you need GNU extensions)
+AC_CACHE_VAL(ac_cv_gnu_extensions,
+[
+cat > conftest.c << EOF
+#include <features.h>
+
+#ifdef __GNU_LIBRARY__
+yes
+#endif
+EOF
+
+if (eval "$ac_cpp conftest.c") 2>&5 |
+ egrep "yes" >/dev/null 2>&1; then
+ rm -rf conftest*
+ ac_cv_gnu_extensions=yes
+else
+ ac_cv_gnu_extensions=no
+fi
+])
+
+AC_MSG_RESULT($ac_cv_gnu_extensions)
+if test "$ac_cv_gnu_extensions" = "yes"; then
+ AC_DEFINE_UNQUOTED(_GNU_SOURCE, 1, [Define if you need to use the GNU extensions])
+fi
+])
+
+AC_DEFUN(KDE_CHECK_COMPILER_FLAG,
+[
+AC_MSG_CHECKING(whether $CXX supports -$1)
+kde_cache=`echo $1 | sed 'y% .=/+-%____p_%'`
+AC_CACHE_VAL(kde_cv_prog_cxx_$kde_cache,
+[
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -$1"
+ AC_TRY_LINK([],[ return 0; ], [eval "kde_cv_prog_cxx_$kde_cache=yes"], [])
+ CXXFLAGS="$save_CXXFLAGS"
+ AC_LANG_RESTORE
+])
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ AC_MSG_RESULT(yes)
+ :
+ $2
+else
+ AC_MSG_RESULT(no)
+ :
+ $3
+fi
+])
+
+dnl AC_REMOVE_FORBIDDEN removes forbidden arguments from variables
+dnl use: AC_REMOVE_FORBIDDEN(CC, [-forbid -bad-option whatever])
+dnl it's all white-space separated
+AC_DEFUN(AC_REMOVE_FORBIDDEN,
+[ __val=$$1
+ __forbid=" $2 "
+ if test -n "$__val"; then
+ __new=""
+ ac_save_IFS=$IFS
+ IFS=" "
+ for i in $__val; do
+ case "$__forbid" in
+ *" $i "*) AC_MSG_WARN([found forbidden $i in $1, removing it]) ;;
+ *) # Careful to not add spaces, where there were none, because otherwise
+ # libtool gets confused, if we change e.g. CXX
+ if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
+ esac
+ done
+ IFS=$ac_save_IFS
+ $1=$__new
+ fi
+])
+
+dnl AC_VALIDIFY_CXXFLAGS checks for forbidden flags the user may have given
+AC_DEFUN(AC_VALIDIFY_CXXFLAGS,
+[dnl
+if test "x$kde_use_qt_emb" != "xyes"; then
+ AC_REMOVE_FORBIDDEN(CXX, [-fno-rtti -rpath])
+ AC_REMOVE_FORBIDDEN(CXXFLAGS, [-fno-rtti -rpath])
+else
+ AC_REMOVE_FORBIDDEN(CXX, [-rpath])
+ AC_REMOVE_FORBIDDEN(CXXFLAGS, [-rpath])
+fi
+])
+
+AC_DEFUN(AC_CHECK_COMPILERS,
+[
+ AC_ARG_ENABLE(debug,[ --enable-debug[=ARG] enables debug symbols (yes|no|full) [default=no]],
+ [
+ case $enableval in
+ yes)
+ kde_use_debug_code="yes"
+ kde_use_debug_define=no
+ ;;
+ full)
+ kde_use_debug_code="full"
+ kde_use_debug_define=no
+ ;;
+ *)
+ kde_use_debug_code="no"
+ kde_use_debug_define=yes
+ ;;
+ esac
+ ],
+ [kde_use_debug_code="no"
+ kde_use_debug_define=no
+ ])
+
+ dnl Just for configure --help
+ AC_ARG_ENABLE(dummyoption,[ --disable-debug disables debug output and debug symbols [default=no]],[],[])
+
+ AC_ARG_ENABLE(strict,[ --enable-strict compiles with strict compiler options (may not work!)],
+ [
+ if test $enableval = "no"; then
+ kde_use_strict_options="no"
+ else
+ kde_use_strict_options="yes"
+ fi
+ ], [kde_use_strict_options="no"])
+
+ AC_ARG_ENABLE(warnings,[ --disable-warnings disables compilation with -Wall and similiar],
+ [
+ if test $enableval = "no"; then
+ kde_use_warnings="no"
+ else
+ kde_use_warnings="yes"
+ fi
+ ], [kde_use_warnings="yes"])
+
+ dnl enable warnings for debug build
+ if test "$kde_use_debug_code" != "no"; then
+ kde_use_warnings=yes
+ fi
+
+ AC_ARG_ENABLE(profile,[ --enable-profile creates profiling infos [default=no]],
+ [kde_use_profiling=$enableval],
+ [kde_use_profiling="no"]
+ )
+
+ AC_ARG_ENABLE(gcov,[ --enable-gcov enables gcov test coverage support [default=no]],
+ [kde_use_gcov=$enableval],
+ [kde_use_gcov=no]
+ )
+
+ dnl this prevents stupid AC_PROG_CC to add "-g" to the default CFLAGS
+ CFLAGS=" $CFLAGS"
+
+ AC_PROG_CC
+
+ AC_PROG_CPP
+
+ if test "$GCC" = "yes"; then
+ if test "$kde_use_debug_code" != "no"; then
+ if test $kde_use_debug_code = "full" || test $kde_use_gcov = "yes"; then
+ CFLAGS="-g3 $CFLAGS"
+ else
+ CFLAGS="-g -O2 $CFLAGS"
+ fi
+ else
+ CFLAGS="-O2 $CFLAGS"
+ fi
+ fi
+
+ if test "$kde_use_debug_define" = "yes"; then
+ CFLAGS="-DNDEBUG $CFLAGS"
+ fi
+
+
+ case "$host" in
+ *-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";;
+ *-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";;
+ esac
+
+ if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then
+ LDFLAGS=""
+ fi
+
+ CXXFLAGS=" $CXXFLAGS"
+
+ AC_PROG_CXX
+
+ if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
+ if test "$kde_use_debug_code" != "no"; then
+ if test "$CXX" = "KCC"; then
+ CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
+ else
+ if test "$kde_use_debug_code" = "full"; then
+ CXXFLAGS="-g3 $CXXFLAGS"
+ else
+ CXXFLAGS="-g -O2 $CXXFLAGS"
+ fi
+ fi
+ KDE_CHECK_COMPILER_FLAG(fno-builtin,[CXXFLAGS="-fno-builtin $CXXFLAGS"])
+
+ dnl convenience compiler flags
+ KDE_CHECK_COMPILER_FLAG(Woverloaded-virtual, [WOVERLOADED_VIRTUAL="-Woverloaded-virtual"], [WOVERLOADED_VRITUAL=""])
+ AC_SUBST(WOVERLOADED_VIRTUAL)
+ else
+ if test "$CXX" = "KCC"; then
+ CXXFLAGS="+K3 $CXXFLAGS"
+ else
+ CXXFLAGS="-O2 $CXXFLAGS"
+ fi
+ fi
+ fi
+
+ if test "$kde_use_debug_define" = "yes"; then
+ CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS"
+ fi
+
+ if test "$kde_use_profiling" = "yes"; then
+ KDE_CHECK_COMPILER_FLAG(pg,
+ [
+ CFLAGS="-pg $CFLAGS"
+ CXXFLAGS="-pg $CXXFLAGS"
+ ])
+ fi
+
+ if test "$kde_use_gcov" = "yes"; then
+ KDE_CHECK_COMPILER_FLAG(fprofile-arcs,
+ [
+ CFLAGS="-fprofile-arcs -ftest-coverage $CFLAGS"
+ CXXFLAGS="-fprofile-arcs -ftest-coverage $CXXFLAGS"
+ ])
+ fi
+
+ if test "$kde_use_warnings" = "yes"; then
+ if test "$GCC" = "yes"; then
+ case $host in
+ *-*-linux-gnu)
+ CFLAGS="-ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
+ CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion $CXXFLAGS"
+ ;;
+ esac
+ CXXFLAGS="-Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
+ KDE_CHECK_COMPILER_FLAG(Wundef,[CXXFLAGS="-Wundef $CXXFLAGS"])
+ KDE_CHECK_COMPILER_FLAG(Wno-long-long,[CXXFLAGS="-Wno-long-long $CXXFLAGS"])
+ KDE_CHECK_COMPILER_FLAG(Wnon-virtual-dtor,[CXXFLAGS="-Wnon-virtual-dtor $CXXFLAGS"])
+ fi
+ fi
+
+ if test "$GCC" = "yes" && test "$kde_use_strict_options" = "yes"; then
+ CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
+ fi
+
+ if test "$GXX" = "yes"; then
+ KDE_CHECK_COMPILER_FLAG(fno-exceptions,[CXXFLAGS="$CXXFLAGS -fno-exceptions"])
+ KDE_CHECK_COMPILER_FLAG(fno-check-new, [CXXFLAGS="$CXXFLAGS -fno-check-new"])
+ KDE_CHECK_COMPILER_FLAG(fexceptions, [USE_EXCEPTIONS="-fexceptions"], USE_EXCEPTIONS= )
+ fi
+ if test "$CXX" = "KCC"; then
+ dnl unfortunately we currently cannot disable exception support in KCC
+ dnl because doing so is binary incompatible and Qt by default links with exceptions :-(
+ dnl KDE_CHECK_COMPILER_FLAG(-no_exceptions,[CXXFLAGS="$CXXFLAGS --no_exceptions"])
+ dnl KDE_CHECK_COMPILER_FLAG(-exceptions, [USE_EXCEPTIONS="--exceptions"], USE_EXCEPTIONS= )
+
+ AC_ARG_ENABLE(pch,[ --enable-pch enables precompiled header support (currently only KCC) [default=no]],
+ [
+ kde_use_pch=$enableval
+ ],[kde_use_pch=no])
+
+ if test "$kde_use_pch" = "yes"; then
+ dnl TODO: support --pch-dir!
+ KDE_CHECK_COMPILER_FLAG(-pch,[CXXFLAGS="$CXXFLAGS --pch"])
+ dnl the below works (but the dir must exist), but it's
+ dnl useless for a whole package.
+ dnl The are precompiled headers for each source file, so when compiling
+ dnl from scratch, it doesn't make a difference, and they take up
+ dnl around ~5Mb _per_ sourcefile.
+ dnl KDE_CHECK_COMPILER_FLAG(-pch_dir /tmp,
+ dnl [CXXFLAGS="$CXXFLAGS --pch_dir `pwd`/pcheaders"])
+ fi
+ dnl this flag controls inlining. by default KCC inlines in optimisation mode
+ dnl all implementations that are defined inside the class {} declaration.
+ dnl because of templates-compatibility with broken gcc compilers, this
+ dnl can cause excessive inlining. This flag limits it to a sane level
+ KDE_CHECK_COMPILER_FLAG(-inline_keyword_space_time=6,[CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"])
+ KDE_CHECK_COMPILER_FLAG(-inline_auto_space_time=2,[CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"])
+ KDE_CHECK_COMPILER_FLAG(-inline_implicit_space_time=2.0,[CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"])
+ KDE_CHECK_COMPILER_FLAG(-inline_generated_space_time=2.0,[CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"])
+ dnl Some source files are shared between multiple executables
+ dnl (or libraries) and some of those need template instantiations.
+ dnl In that case KCC needs to compile those sources with
+ dnl --one_instantiation_per_object. To make it easy for us we compile
+ dnl _all_ objects with that flag (--one_per is a shorthand).
+ KDE_CHECK_COMPILER_FLAG(-one_per, [CXXFLAGS="$CXXFLAGS --one_per"])
+ fi
+ AC_SUBST(USE_EXCEPTIONS)
+ dnl obsolete macro - provided to keep things going
+ USE_RTTI=
+ AC_SUBST(USE_RTTI)
+
+ case "$host" in
+ *-*-irix*) test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
+ *-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";;
+ *-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";;
+ *-*-solaris*)
+ if test "$GXX" = yes; then
+ libstdcpp=`$CXX -print-file-name=libstdc++.so`
+ if test ! -f $libstdcpp; then
+ AC_MSG_ERROR([You've compiled gcc without --enable-shared. This doesn't work with KDE. Please recompile gcc with --enable-shared to receive a libstdc++.so])
+ fi
+ fi
+ ;;
+ esac
+
+ AC_VALIDIFY_CXXFLAGS
+
+ AC_PROG_CXXCPP
+
+ if test "$GCC" = yes; then
+ NOOPT_CXXFLAGS=-O0
+ NOOPT_CFLAGS=-O0
+ fi
+
+ AC_SUBST(NOOPT_CXXFLAGS)
+ AC_SUBST(NOOPT_CFLAGS)
+
+ KDE_CHECK_FINAL
+
+ ifdef([AM_DEPENDENCIES], AC_REQUIRE([KDE_ADD_DEPENDENCIES]), [])
+])
+
+AC_DEFUN(KDE_ADD_DEPENDENCIES,
+[
+ [A]M_DEPENDENCIES(CC)
+ [A]M_DEPENDENCIES(CXX)
+])
+
+dnl just a wrapper to clean up configure.in
+AC_DEFUN(KDE_PROG_LIBTOOL,
+[
+AC_REQUIRE([AC_CHECK_COMPILERS])
+AC_REQUIRE([AC_ENABLE_SHARED])
+AC_REQUIRE([AC_ENABLE_STATIC])
+
+AC_REQUIRE([AC_LIBTOOL_DLOPEN])
+AC_REQUIRE([KDE_CHECK_LIB64])
+
+AC_LANG_SAVE
+AC_LANG_C
+AC_OBJEXT
+AC_EXEEXT
+AC_LANG_RESTORE
+
+AM_PROG_LIBTOOL
+AC_LIBTOOL_CXX
+
+LIBTOOL_SHELL="/bin/sh ./libtool"
+# LIBTOOL="$LIBTOOL --silent"
+KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
+AC_SUBST(KDE_PLUGIN)
+
+AC_ARG_ENABLE(objprelink, [ --enable-objprelink prelink apps using objprelink (obsolete)],
+ kde_use_objprelink=$enableval, kde_use_objprelink=no)
+ if test "x$kde_use_objprelink" = "xyes"; then
+ AC_MSG_WARN([
+------------------------------------------------------------
+Configuration option --enable-objprelink is no longer useful.
+See http:://objprelink.sourceforge.net for details:
+1- Recent binutils are fast enough to do without objprelink.
+2- Newer versions of objprelink do not need this option.
+------------------------------------------------------------
+])
+ fi
+])
+
+AC_DEFUN(KDE_CHECK_LIB64,
+[
+ kdelibsuff=none
+ AC_ARG_ENABLE(libsuffix,
+ AC_HELP_STRING([--enable-libsuffix],
+ [/lib directory suffix (64,32,none[=default])]),
+ kdelibsuff=$enableval)
+ # TODO: add an auto case that compiles a little C app to check
+ # where the glibc is
+ if test "$kdelibsuff" = "none"; then
+ kdelibsuff=
+ fi
+ if test -z "$kdelibsuff"; then
+ AC_MSG_RESULT([not using lib directory suffix])
+ AC_DEFINE(KDELIBSUFF, [""], Suffix for lib directories)
+ else
+ if test "$libdir" = '${exec_prefix}/lib'; then
+ libdir="$libdir${kdelibsuff}"
+ AC_SUBST([libdir], ["$libdir"]) dnl ugly hack for lib64 platforms
+ fi
+ AC_DEFINE_UNQUOTED(KDELIBSUFF, ["\"${kdelibsuff}\""], Suffix for lib directories)
+ AC_MSG_RESULT([using lib directory suffix $kdelibsuff])
+ fi
+])
+
+AC_DEFUN(KDE_CHECK_TYPES,
+[ AC_CHECK_SIZEOF(int, 4)dnl
+ AC_CHECK_SIZEOF(long, 4)dnl
+ AC_CHECK_SIZEOF(char *, 4)dnl
+ AC_CHECK_SIZEOF(char, 1)dnl
+])dnl
+
+AC_DEFUN(KDE_DO_IT_ALL,
+[
+AC_CANONICAL_SYSTEM
+AC_ARG_PROGRAM
+AM_INIT_AUTOMAKE($1, $2)
+AM_DISABLE_LIBRARIES
+AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde})
+AC_CHECK_COMPILERS
+KDE_PROG_LIBTOOL
+AM_KDE_WITH_NLS
+AC_PATH_KDE
+])
+
+AC_DEFUN(AC_CHECK_RPATH,
+[
+AC_MSG_CHECKING(for rpath)
+AC_ARG_ENABLE(rpath,
+ [ --disable-rpath do not use the rpath feature of ld],
+ USE_RPATH=$enableval, USE_RPATH=yes)
+
+if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
+
+ KDE_RPATH="-R \$(kde_libraries)"
+
+ if test -n "$qt_libraries"; then
+ KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
+ fi
+ dnl $x_libraries is set to /usr/lib in case
+ if test -n "$X_LDFLAGS"; then
+ X_RPATH="-R \$(x_libraries)"
+ KDE_RPATH="$KDE_RPATH $X_RPATH"
+ fi
+ if test -n "$KDE_EXTRA_RPATH"; then
+ KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
+ fi
+fi
+AC_SUBST(KDE_EXTRA_RPATH)
+AC_SUBST(KDE_RPATH)
+AC_SUBST(X_RPATH)
+AC_MSG_RESULT($USE_RPATH)
+])
+
+dnl Check for the type of the third argument of getsockname
+AC_DEFUN(AC_CHECK_SOCKLEN_T, [
+ AC_MSG_CHECKING(for socklen_t)
+ AC_CACHE_VAL(ac_cv_socklen_t, [
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ AC_TRY_COMPILE([
+#include <sys/types.h>
+#include <sys/socket.h>
+ ],[
+socklen_t a=0;
+getsockname(0,(struct sockaddr*)0, &a);
+ ],
+ ac_cv_socklen_t=socklen_t,
+ AC_TRY_COMPILE([
+#include <sys/types.h>
+#include <sys/socket.h>
+ ],[
+int a=0;
+getsockname(0,(struct sockaddr*)0, &a);
+ ],
+ ac_cv_socklen_t=int,
+ ac_cv_socklen_t=size_t
+ )
+ )
+ AC_LANG_RESTORE
+ ])
+
+ AC_MSG_RESULT($ac_cv_socklen_t)
+ if test "$ac_cv_socklen_t" != "socklen_t"; then
+ AC_DEFINE_UNQUOTED(socklen_t, $ac_cv_socklen_t,
+ [Define the real type of socklen_t])
+ fi
+ AC_DEFINE_UNQUOTED(ksize_t, socklen_t, [Compatibility define])
+
+])
+
+dnl This is a merge of some macros out of the gettext aclocal.m4
+dnl since we don't need anything, I took the things we need
+dnl the copyright for them is:
+dnl >
+dnl Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+dnl This Makefile.in is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+dnl PARTICULAR PURPOSE.
+dnl >
+dnl for this file it is relicensed under LGPL
+
+AC_DEFUN(AM_KDE_WITH_NLS,
+ [
+ dnl If we use NLS figure out what method
+
+ AM_PATH_PROG_WITH_TEST_KDE(MSGFMT, msgfmt,
+ [test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"], msgfmt)
+ AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
+
+ if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
+ AC_MSG_RESULT([found msgfmt program is not GNU msgfmt; ignore it])
+ GMSGFMT=":"
+ fi
+ MSGFMT=$GMSGFMT
+ AC_SUBST(GMSGFMT)
+ AC_SUBST(MSGFMT)
+
+ AM_PATH_PROG_WITH_TEST_KDE(XGETTEXT, xgettext,
+ [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
+
+ dnl Test whether we really found GNU xgettext.
+ if test "$XGETTEXT" != ":"; then
+ dnl If it is no GNU xgettext we define it as : so that the
+ dnl Makefiles still can work.
+ if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
+ : ;
+ else
+ AC_MSG_RESULT(
+ [found xgettext programs is not GNU xgettext; ignore it])
+ XGETTEXT=":"
+ fi
+ fi
+ AC_SUBST(XGETTEXT)
+
+ ])
+
+# Search path for a program which passes the given test.
+# Ulrich Drepper <drepper@cygnus.com>, 1996.
+
+# serial 1
+# Stephan Kulow: I appended a _KDE against name conflicts
+
+dnl AM_PATH_PROG_WITH_TEST_KDE(VARIABLE, PROG-TO-CHECK-FOR,
+dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
+AC_DEFUN(AM_PATH_PROG_WITH_TEST_KDE,
+[# Extract the first word of "$2", so it can be a program name with args.
+set dummy $2; ac_word=[$]2
+AC_MSG_CHECKING([for $ac_word])
+AC_CACHE_VAL(ac_cv_path_$1,
+[case "[$]$1" in
+ /*)
+ ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
+ ;;
+ *)
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in ifelse([$5], , $PATH, [$5]); do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ if [$3]; then
+ ac_cv_path_$1="$ac_dir/$ac_word"
+ break
+ fi
+ fi
+ done
+ IFS="$ac_save_ifs"
+dnl If no 4th arg is given, leave the cache variable unset,
+dnl so AC_PATH_PROGS will keep looking.
+ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
+])dnl
+ ;;
+esac])dnl
+$1="$ac_cv_path_$1"
+if test -n "[$]$1"; then
+ AC_MSG_RESULT([$]$1)
+else
+ AC_MSG_RESULT(no)
+fi
+AC_SUBST($1)dnl
+])
+
+
+# Check whether LC_MESSAGES is available in <locale.h>.
+# Ulrich Drepper <drepper@cygnus.com>, 1995.
+
+# serial 1
+
+AC_DEFUN(AM_LC_MESSAGES,
+ [if test $ac_cv_header_locale_h = yes; then
+ AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
+ [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
+ am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
+ if test $am_cv_val_LC_MESSAGES = yes; then
+ AC_DEFINE(HAVE_LC_MESSAGES, 1, [Define if your locale.h file contains LC_MESSAGES])
+ fi
+ fi])
+
+dnl From Jim Meyering.
+dnl FIXME: migrate into libit.
+
+AC_DEFUN([AM_FUNC_OBSTACK],
+[AC_CACHE_CHECK([for obstacks], am_cv_func_obstack,
+ [AC_TRY_LINK([#include "obstack.h"],
+ [struct obstack *mem;obstack_free(mem,(char *) 0)],
+ am_cv_func_obstack=yes,
+ am_cv_func_obstack=no)])
+ if test $am_cv_func_obstack = yes; then
+ AC_DEFINE(HAVE_OBSTACK)
+ else
+ LIBOBJS="$LIBOBJS obstack.o"
+ fi
+])
+
+dnl From Jim Meyering. Use this if you use the GNU error.[ch].
+dnl FIXME: Migrate into libit
+
+AC_DEFUN([AM_FUNC_ERROR_AT_LINE],
+[AC_CACHE_CHECK([for error_at_line], am_cv_lib_error_at_line,
+ [AC_TRY_LINK([],[error_at_line(0, 0, "", 0, "");],
+ am_cv_lib_error_at_line=yes,
+ am_cv_lib_error_at_line=no)])
+ if test $am_cv_lib_error_at_line = no; then
+ LIBOBJS="$LIBOBJS error.o"
+ fi
+ AC_SUBST(LIBOBJS)dnl
+])
+
+# Macro to add for using GNU gettext.
+# Ulrich Drepper <drepper@cygnus.com>, 1995.
+
+# serial 1
+# Stephan Kulow: I put a KDE in it to avoid name conflicts
+
+AC_DEFUN(AM_KDE_GNU_GETTEXT,
+ [AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+ AC_REQUIRE([AC_PROG_RANLIB])dnl
+ AC_REQUIRE([AC_HEADER_STDC])dnl
+ AC_REQUIRE([AC_TYPE_OFF_T])dnl
+ AC_REQUIRE([AC_TYPE_SIZE_T])dnl
+ AC_REQUIRE([AC_FUNC_ALLOCA])dnl
+ AC_REQUIRE([AC_FUNC_MMAP])dnl
+ AC_REQUIRE([AM_KDE_WITH_NLS])dnl
+ AC_CHECK_HEADERS([limits.h locale.h nl_types.h string.h values.h alloca.h])
+ AC_CHECK_FUNCS([getcwd munmap putenv setlocale strchr strcasecmp \
+__argz_count __argz_stringify __argz_next])
+
+ AC_MSG_CHECKING(for stpcpy)
+ AC_CACHE_VAL(kde_cv_func_stpcpy,
+ [
+ kde_safe_cxxflags=$CXXFLAGS
+ CXXFLAGS="-Werror"
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ AC_TRY_COMPILE([
+ #include <string.h>
+ ],
+ [
+ char buffer[200];
+ stpcpy(buffer, buffer);
+ ],
+ kde_cv_func_stpcpy=yes,
+ kde_cv_func_stpcpy=no)
+ AC_LANG_RESTORE
+ CXXFLAGS=$kde_safe_cxxflags
+ ])
+ AC_MSG_RESULT($kde_cv_func_stpcpy)
+ if eval "test \"`echo $kde_cv_func_stpcpy`\" = yes"; then
+ AC_DEFINE(HAVE_STPCPY, 1, [Define if you have stpcpy])
+ fi
+
+ AM_LC_MESSAGES
+
+ if test "x$CATOBJEXT" != "x"; then
+ if test "x$ALL_LINGUAS" = "x"; then
+ LINGUAS=
+ else
+ AC_MSG_CHECKING(for catalogs to be installed)
+ NEW_LINGUAS=
+ for lang in ${LINGUAS=$ALL_LINGUAS}; do
+ case "$ALL_LINGUAS" in
+ *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
+ esac
+ done
+ LINGUAS=$NEW_LINGUAS
+ AC_MSG_RESULT($LINGUAS)
+ fi
+
+ dnl Construct list of names of catalog files to be constructed.
+ if test -n "$LINGUAS"; then
+ for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
+ fi
+ fi
+
+ ])
+
+AC_DEFUN(AC_HAVE_XPM,
+ [AC_REQUIRE_CPP()dnl
+ AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+
+ test -z "$XPM_LDFLAGS" && XPM_LDFLAGS=
+ test -z "$XPM_INCLUDE" && XPM_INCLUDE=
+
+ AC_ARG_WITH(xpm, [ --without-xpm disable color pixmap XPM tests],
+ xpm_test=$withval, xpm_test="yes")
+ if test "x$xpm_test" = xno; then
+ ac_cv_have_xpm=no
+ else
+ AC_MSG_CHECKING(for XPM)
+ AC_CACHE_VAL(ac_cv_have_xpm,
+ [
+ AC_LANG_C
+ ac_save_ldflags="$LDFLAGS"
+ ac_save_cflags="$CFLAGS"
+ if test "x$kde_use_qt_emb" != "xyes"; then
+ LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS $LDFLAGS $XPM_LDFLAGS $all_libraries -lXpm -lX11 -lXext $LIBZ $LIBSOCKET"
+ else
+ LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS $LDFLAGS $XPM_LDFLAGS $all_libraries -lXpm $LIBZ $LIBSOCKET"
+ fi
+ CFLAGS="$CFLAGS $X_INCLUDES $USER_INCLUDES"
+ test -n "$XPM_INCLUDE" && CFLAGS="-I$XPM_INCLUDE $CFLAGS"
+ AC_TRY_LINK([#include <X11/xpm.h>],[],
+ ac_cv_have_xpm="yes",ac_cv_have_xpm="no")
+ LDFLAGS="$ac_save_ldflags"
+ CFLAGS="$ac_save_cflags"
+ ])dnl
+
+ if test "$ac_cv_have_xpm" = no; then
+ AC_MSG_RESULT(no)
+ XPM_LDFLAGS=""
+ XPMINC=""
+ $2
+ else
+ AC_DEFINE(HAVE_XPM, 1, [Define if you have XPM support])
+ if test "$XPM_LDFLAGS" = ""; then
+ XPMLIB='-lXpm $(LIB_X11)'
+ else
+ XPMLIB="-L$XPM_LDFLAGS -lXpm "'$(LIB_X11)'
+ fi
+ if test "$XPM_INCLUDE" = ""; then
+ XPMINC=""
+ else
+ XPMINC="-I$XPM_INCLUDE"
+ fi
+ AC_MSG_RESULT(yes)
+ $1
+ fi
+ fi
+ AC_SUBST(XPMINC)
+ AC_SUBST(XPMLIB)
+])
+
+AC_DEFUN(AC_HAVE_DPMS,
+ [AC_REQUIRE_CPP()dnl
+ AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+
+ test -z "$DPMS_LDFLAGS" && DPMS_LDFLAGS=
+ test -z "$DPMS_INCLUDE" && DPMS_INCLUDE=
+ DPMS_LIB=
+
+ AC_ARG_WITH(dpms, [ --without-dpms disable DPMS power saving],
+ dpms_test=$withval, dpms_test="yes")
+ if test "x$dpms_test" = xno; then
+ ac_cv_have_dpms=no
+ else
+ AC_MSG_CHECKING(for DPMS)
+ dnl Note: ac_cv_have_dpms can be no, yes, or -lXdpms.
+ dnl 'yes' means DPMS_LIB="", '-lXdpms' means DPMS_LIB="-lXdpms".
+ AC_CACHE_VAL(ac_cv_have_dpms,
+ [
+ if test "x$kde_use_qt_emb" = "xyes"; then
+ AC_MSG_RESULT(no)
+ ac_cv_have_dpms="no"
+ else
+ AC_LANG_C
+ ac_save_ldflags="$LDFLAGS"
+ ac_save_cflags="$CFLAGS"
+ ac_save_libs="$LIBS"
+ LDFLAGS="$LDFLAGS $DPMS_LDFLAGS $all_libraries -lX11 -lXext $LIBSOCKET"
+ CFLAGS="$CFLAGS $X_INCLUDES"
+ test -n "$DPMS_INCLUDE" && CFLAGS="-I$DPMS_INCLUDE $CFLAGS"
+ AC_TRY_LINK([
+ #include <X11/Xproto.h>
+ #include <X11/X.h>
+ #include <X11/Xlib.h>
+ #include <X11/extensions/dpms.h>
+ int foo_test_dpms()
+ { return DPMSSetTimeouts( 0, 0, 0, 0 ); }],[],
+ ac_cv_have_dpms="yes", [
+ LDFLAGS="$ac_save_ldflags"
+ CFLAGS="$ac_save_cflags"
+ LDFLAGS="$LDFLAGS $DPMS_LDFLAGS $all_libraries -lX11 -lXext $LIBSOCKET"
+ LIBS="$LIBS -lXdpms"
+ CFLAGS="$CFLAGS $X_INCLUDES"
+ test -n "$DPMS_INCLUDE" && CFLAGS="-I$DPMS_INCLUDE $CFLAGS"
+ AC_TRY_LINK([
+ #include <X11/Xproto.h>
+ #include <X11/X.h>
+ #include <X11/Xlib.h>
+ #include <X11/extensions/dpms.h>
+ int foo_test_dpms()
+ { return DPMSSetTimeouts( 0, 0, 0, 0 ); }],[],
+ [
+ ac_cv_have_dpms="-lXdpms"
+ ],ac_cv_have_dpms="no")
+ ])
+ LDFLAGS="$ac_save_ldflags"
+ CFLAGS="$ac_save_cflags"
+ LIBS="$ac_save_libs"
+ fi
+ ])dnl
+
+ if test "$ac_cv_have_dpms" = no; then
+ AC_MSG_RESULT(no)
+ DPMS_LDFLAGS=""
+ DPMSINC=""
+ $2
+ else
+ AC_DEFINE(HAVE_DPMS, 1, [Define if you have DPMS support])
+ if test "$ac_cv_have_dpms" = "-lXdpms"; then
+ DPMS_LIB="-lXdpms"
+ fi
+ if test "$DPMS_LDFLAGS" = ""; then
+ DPMSLIB="$DPMS_LIB "'$(LIB_X11)'
+ else
+ DPMSLIB="$DPMS_LDFLAGS $DPMS_LIB "'$(LIB_X11)'
+ fi
+ if test "$DPMS_INCLUDE" = ""; then
+ DPMSINC=""
+ else
+ DPMSINC="-I$DPMS_INCLUDE"
+ fi
+ AC_MSG_RESULT(yes)
+ $1
+ fi
+ fi
+ AC_SUBST(DPMSINC)
+ AC_SUBST(DPMSLIB)
+])
+
+AC_DEFUN(AC_HAVE_GL,
+ [AC_REQUIRE_CPP()dnl
+ AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+
+ test -z "$GL_LDFLAGS" && GL_LDFLAGS=
+ test -z "$GL_INCLUDE" && GL_INCLUDE=
+
+ AC_ARG_WITH(gl, [ --without-gl disable 3D GL modes],
+ gl_test=$withval, gl_test="yes")
+ if test "x$kde_use_qt_emb" = "xyes"; then
+ # GL and Qt Embedded is a no-go for now.
+ ac_cv_have_gl=no
+ elif test "x$gl_test" = xno; then
+ ac_cv_have_gl=no
+ else
+ AC_MSG_CHECKING(for GL)
+ AC_CACHE_VAL(ac_cv_have_gl,
+ [
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ ac_save_ldflags="$LDFLAGS"
+ ac_save_cxxflags="$CXXFLAGS"
+ LDFLAGS="$LDFLAGS $GL_LDFLAGS $X_LDFLAGS $all_libraries -lMesaGL -lMesaGLU"
+ test "x$kde_use_qt_emb" != xyes && LDFLAGS="$LDFLAGS -lX11"
+ LDFLAGS="$LDFLAGS $LIB_XEXT -lm $LIBSOCKET"
+ CXXFLAGS="$CFLAGS $X_INCLUDES"
+ test -n "$GL_INCLUDE" && CFLAGS="-I$GL_INCLUDE $CFLAGS"
+ AC_TRY_LINK([#include <GL/gl.h>
+#include <GL/glu.h>
+], [],
+ ac_cv_have_gl="mesa", ac_cv_have_gl="no")
+ if test "x$ac_cv_have_gl" = "xno"; then
+ LDFLAGS="$ac_save_ldflags $X_LDFLAGS $GL_LDFLAGS $all_libraries -lGLU -lGL"
+ test "x$kde_use_qt_emb" != xyes && LDFLAGS="$LDFLAGS -lX11"
+ LDFLAGS="$LDFLAGS $LIB_XEXT -lm $LIBSOCKET"
+ CXXFLAGS="$ac_save_cflags $X_INCLUDES"
+ test -n "$GL_INCLUDE" && CFLAGS="-I$GL_INCLUDE $CFLAGS"
+ AC_TRY_LINK([#include <GL/gl.h>
+#include <GL/glu.h>
+], [],
+ ac_cv_have_gl="yes", ac_cv_have_gl="no")
+ fi
+ AC_LANG_RESTORE
+ LDFLAGS="$ac_save_ldflags"
+ CXXFLAGS="$ac_save_cxxflags"
+ ])dnl
+
+ if test "$ac_cv_have_gl" = "no"; then
+ AC_MSG_RESULT(no)
+ GL_LDFLAGS=""
+ GLINC=""
+ $2
+ else
+ AC_DEFINE(HAVE_GL, 1, [Defines if you have GL (Mesa, OpenGL, ...)])
+ if test "$GL_LDFLAGS" = ""; then
+ if test "$ac_cv_have_gl" = "mesa"; then
+ GLLIB='-lMesaGLU -lMesaGL $(LIB_X11)'
+ else
+ GLLIB='-lGLU -lGL $(LIB_X11)'
+ fi
+ else
+ if test "$ac_cv_have_gl" = "mesa"; then
+ GLLIB="$GL_LDFLAGS -lMesaGLU -lMesaGL "'$(LIB_X11)'
+ else
+ GLLIB="$GL_LDFLAGS -lGLU -lGL "'$(LIB_X11)'
+ fi
+ fi
+ if test "$GL_INCLUDE" = ""; then
+ GLINC=""
+ else
+ GLINC="-I$GL_INCLUDE"
+ fi
+ AC_MSG_RESULT($ac_cv_have_gl)
+ $1
+ fi
+ fi
+ AC_SUBST(GLINC)
+ AC_SUBST(GLLIB)
+])
+
+
+ dnl shadow password and PAM magic - maintained by ossi@kde.org
+
+AC_DEFUN(KDE_PAM, [
+ AC_REQUIRE([KDE_CHECK_LIBDL])
+
+ AC_ARG_WITH(pam,
+ [ --with-pam[=ARG] enable support for PAM: ARG=[yes|no|service name]],
+ [ if test "x$withval" = "xyes"; then
+ use_pam=yes
+ pam_service=kde
+ elif test "x$withval" = "xno"; then
+ use_pam=no
+ else
+ use_pam=yes
+ pam_service=$withval
+ fi
+ ac_cv_path_pam="use_pam=$use_pam pam_service=$pam_service"
+ ], [
+ AC_CACHE_VAL(ac_cv_path_pam,
+ [ use_pam=no
+ AC_CHECK_LIB(pam, pam_start,
+ [ AC_CHECK_HEADER(security/pam_appl.h,
+ [ use_pam=yes
+ pam_service=kde ])
+ ], , $LIBDL)
+ ac_cv_path_pam="use_pam=$use_pam pam_service=$pam_service"
+ ])
+ ])
+ eval "$ac_cv_path_pam"
+
+ AC_MSG_CHECKING(for PAM)
+ if test "x$use_pam" = xno; then
+ AC_MSG_RESULT(no)
+ PAMLIBS=""
+ else
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_PAM, 1, [Defines if you have PAM (Pluggable Authentication Modules)])
+ PAMLIBS="$PAM_MISC_LIB -lpam $LIBDL"
+
+ dnl test whether struct pam_message is const (Linux) or not (Sun)
+ AC_MSG_CHECKING(for const pam_message)
+ AC_EGREP_HEADER([struct pam_message], security/pam_appl.h,
+ [ AC_EGREP_HEADER([const struct pam_message], security/pam_appl.h,
+ [AC_MSG_RESULT([const: Linux-type PAM])],
+ [AC_MSG_RESULT([nonconst: Sun-type PAM])
+ AC_DEFINE(PAM_MESSAGE_NONCONST, 1, [Define if your PAM support takes non-const arguments (Solaris)])]
+ )],
+ [AC_MSG_RESULT([not found - assume const, Linux-type PAM])])
+ fi
+
+ AC_SUBST(PAMLIBS)
+])
+
+dnl DEF_PAM_SERVICE(arg name, full name, define name)
+AC_DEFUN(DEF_PAM_SERVICE, [
+ AC_ARG_WITH($1-pam,
+ [ --with-$1-pam=[val] override PAM service from --with-pam for $2],
+ [ if test "x$use_pam" = xyes; then
+ $3_PAM_SERVICE="$withval"
+ else
+ AC_MSG_ERROR([Cannot use use --with-$1-pam, as no PAM was detected.
+You may want to enforce it by using --with-pam.])
+ fi
+ ],
+ [ if test "x$use_pam" = xyes; then
+ $3_PAM_SERVICE="$pam_service"
+ fi
+ ])
+ if test -n "$$3_PAM_SERVICE"; then
+ AC_MSG_RESULT([The PAM service used by $2 will be $$3_PAM_SERVICE])
+ AC_DEFINE_UNQUOTED($3_PAM_SERVICE, "$$3_PAM_SERVICE", [The PAM service to be used by $2])
+ fi
+ AC_SUBST($3_PAM_SERVICE)
+])
+
+AC_DEFUN(KDE_SHADOWPASSWD, [
+ AC_REQUIRE([KDE_PAM])
+
+ AC_CHECK_LIB(shadow, getspent,
+ [ LIBSHADOW="-lshadow"
+ ac_use_shadow=yes
+ ],
+ [ dnl for UnixWare
+ AC_CHECK_LIB(gen, getspent,
+ [ LIBGEN="-lgen"
+ ac_use_shadow=yes
+ ],
+ [ AC_CHECK_FUNC(getspent,
+ [ ac_use_shadow=yes ],
+ [ ac_use_shadow=no ])
+ ])
+ ])
+ AC_SUBST(LIBSHADOW)
+ AC_SUBST(LIBGEN)
+
+ AC_MSG_CHECKING([for shadow passwords])
+
+ AC_ARG_WITH(shadow,
+ [ --with-shadow If you want shadow password support ],
+ [ if test "x$withval" != "xno"; then
+ use_shadow=yes
+ else
+ use_shadow=no
+ fi
+ ], [
+ use_shadow="$ac_use_shadow"
+ ])
+
+ if test "x$use_shadow" = xyes; then
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_SHADOW, 1, [Define if you use shadow passwords])
+ else
+ AC_MSG_RESULT(no)
+ LIBSHADOW=
+ LIBGEN=
+ fi
+
+ dnl finally make the relevant binaries setuid root, if we have shadow passwds.
+ dnl this still applies, if we could use it indirectly through pam.
+ if test "x$use_shadow" = xyes ||
+ ( test "x$use_pam" = xyes && test "x$ac_use_shadow" = xyes ); then
+ case $host in
+ *-*-freebsd* | *-*-netbsd* | *-*-openbsd*)
+ SETUIDFLAGS="-m 4755 -o root";;
+ *)
+ SETUIDFLAGS="-m 4755";;
+ esac
+ fi
+ AC_SUBST(SETUIDFLAGS)
+
+])
+
+AC_DEFUN(KDE_PASSWDLIBS, [
+ AC_REQUIRE([KDE_MISC_TESTS]) dnl for LIBCRYPT
+ AC_REQUIRE([KDE_PAM])
+ AC_REQUIRE([KDE_SHADOWPASSWD])
+
+ if test "x$use_pam" = "xyes"; then
+ PASSWDLIBS="$PAMLIBS"
+ else
+ PASSWDLIBS="$LIBCRYPT $LIBSHADOW $LIBGEN"
+ fi
+
+ dnl FreeBSD uses a shadow-like setup, where /etc/passwd holds the users, but
+ dnl /etc/master.passwd holds the actual passwords. /etc/master.passwd requires
+ dnl root to read, so kcheckpass needs to be root (even when using pam, since pam
+ dnl may need to read /etc/master.passwd).
+ case $host in
+ *-*-freebsd*)
+ SETUIDFLAGS="-m 4755 -o root"
+ ;;
+ *)
+ ;;
+ esac
+
+ AC_SUBST(PASSWDLIBS)
+])
+
+AC_DEFUN(KDE_CHECK_LIBDL,
+[
+AC_CHECK_LIB(dl, dlopen, [
+LIBDL="-ldl"
+ac_cv_have_dlfcn=yes
+])
+
+AC_CHECK_LIB(dld, shl_unload, [
+LIBDL="-ldld"
+ac_cv_have_shload=yes
+])
+
+AC_SUBST(LIBDL)
+])
+
+AC_DEFUN(KDE_CHECK_DLOPEN,
+[
+KDE_CHECK_LIBDL
+AC_CHECK_HEADERS(dlfcn.h dl.h)
+if test "$ac_cv_header_dlfcn_h" = "no"; then
+ ac_cv_have_dlfcn=no
+fi
+
+if test "$ac_cv_header_dl_h" = "no"; then
+ ac_cv_have_shload=no
+fi
+
+dnl XXX why change enable_dlopen? its already set by autoconf's AC_ARG_ENABLE
+dnl (MM)
+AC_ARG_ENABLE(dlopen,
+[ --disable-dlopen link statically [default=no]] ,
+enable_dlopen=$enableval,
+enable_dlopen=yes)
+
+# override the user's opinion, if we know it better ;)
+if test "$ac_cv_have_dlfcn" = "no" && test "$ac_cv_have_shload" = "no"; then
+ enable_dlopen=no
+fi
+
+if test "$ac_cv_have_dlfcn" = "yes"; then
+ AC_DEFINE_UNQUOTED(HAVE_DLFCN, 1, [Define if you have dlfcn])
+fi
+
+if test "$ac_cv_have_shload" = "yes"; then
+ AC_DEFINE_UNQUOTED(HAVE_SHLOAD, 1, [Define if you have shload])
+fi
+
+if test "$enable_dlopen" = no ; then
+ test -n "$1" && eval $1
+else
+ test -n "$2" && eval $2
+fi
+
+])
+
+AC_DEFUN(KDE_CHECK_DYNAMIC_LOADING,
+[
+KDE_CHECK_DLOPEN(libtool_enable_shared=yes, libtool_enable_static=no)
+KDE_PROG_LIBTOOL
+AC_MSG_CHECKING([dynamic loading])
+eval "`egrep '^build_libtool_libs=' libtool`"
+if test "$build_libtool_libs" = "yes" && test "$enable_dlopen" = "yes"; then
+ dynamic_loading=yes
+ AC_DEFINE_UNQUOTED(HAVE_DYNAMIC_LOADING)
+else
+ dynamic_loading=no
+fi
+AC_MSG_RESULT($dynamic_loading)
+if test "$dynamic_loading" = "yes"; then
+ $1
+else
+ $2
+fi
+])
+
+AC_DEFUN(KDE_ADD_INCLUDES,
+[
+if test -z "$1"; then
+ test_include="Pix.h"
+else
+ test_include="$1"
+fi
+
+AC_MSG_CHECKING([for libg++ ($test_include)])
+
+AC_CACHE_VAL(kde_cv_libgpp_includes,
+[
+kde_cv_libgpp_includes=no
+
+ for ac_dir in \
+ \
+ /usr/include/g++ \
+ /usr/include \
+ /usr/unsupported/include \
+ /opt/include \
+ $extra_include \
+ ; \
+ do
+ if test -r "$ac_dir/$test_include"; then
+ kde_cv_libgpp_includes=$ac_dir
+ break
+ fi
+ done
+])
+
+AC_MSG_RESULT($kde_cv_libgpp_includes)
+if test "$kde_cv_libgpp_includes" != "no"; then
+ all_includes="-I$kde_cv_libgpp_includes $all_includes $USER_INCLUDES"
+fi
+])
+])
+
+
+AC_DEFUN(KDE_CHECK_MICO,
+[
+AC_REQUIRE([KDE_CHECK_LIBDL])
+AC_REQUIRE([KDE_MISC_TESTS])
+AC_MSG_CHECKING(for MICO)
+
+if test -z "$MICODIR"; then
+ kde_micodir=/usr/local
+ else
+ kde_micodir="$MICODIR"
+fi
+
+AC_ARG_WITH(micodir,
+ [ --with-micodir=micodir where mico is installed ],
+ kde_micodir=$withval,
+ kde_micodir=$kde_micodir
+)
+
+AC_CACHE_VAL(kde_cv_mico_incdir,
+[
+ mico_incdirs="$kde_micodir/include /usr/include /usr/local/include /usr/local/include /opt/local/include $kde_extra_includes"
+AC_FIND_FILE(CORBA.h, $mico_incdirs, kde_cv_mico_incdir)
+
+])
+kde_micodir=`echo $kde_cv_mico_incdir | sed -e 's#/include##'`
+
+if test ! -r $kde_micodir/include/CORBA.h; then
+ AC_MSG_ERROR([No CORBA.h found, specify another micodir])
+fi
+
+AC_MSG_RESULT($kde_micodir)
+
+MICO_INCLUDES=-I$kde_micodir/include
+AC_SUBST(MICO_INCLUDES)
+MICO_LDFLAGS=-L$kde_micodir/lib
+AC_SUBST(MICO_LDFLAGS)
+micodir=$kde_micodir
+AC_SUBST(micodir)
+
+AC_MSG_CHECKING([for MICO version])
+AC_CACHE_VAL(kde_cv_mico_version,
+[
+AC_LANG_C
+cat >conftest.$ac_ext <<EOF
+#include <stdio.h>
+#include <mico/version.h>
+int main() {
+
+ printf("MICO_VERSION=%s\n",MICO_VERSION);
+ return (0);
+}
+EOF
+ac_compile='${CC-gcc} $CFLAGS $MICO_INCLUDES conftest.$ac_ext -o conftest'
+if AC_TRY_EVAL(ac_compile); then
+ if eval `./conftest 2>&5`; then
+ kde_cv_mico_version=$MICO_VERSION
+ else
+ AC_MSG_ERROR([your system is not able to execute a small application to
+ find MICO version! Check $kde_micodir/include/mico/version.h])
+ fi
+else
+ AC_MSG_ERROR([your system is not able to compile a small application to
+ find MICO version! Check $kde_micodir/include/mico/version.h])
+fi
+])
+
+dnl installed MICO version
+mico_v_maj=`echo $kde_cv_mico_version | sed -e 's/^\(.*\)\..*\..*$/\1/'`
+mico_v_mid=`echo $kde_cv_mico_version | sed -e 's/^.*\.\(.*\)\..*$/\1/'`
+mico_v_min=`echo $kde_cv_mico_version | sed -e 's/^.*\..*\.\(.*\)$/\1/'`
+
+if test "x$1" = "x"; then
+ req_version="2.3.0"
+else
+ req_version=$1
+fi
+
+dnl required MICO version
+req_v_maj=`echo $req_version | sed -e 's/^\(.*\)\..*\..*$/\1/'`
+req_v_mid=`echo $req_version | sed -e 's/^.*\.\(.*\)\..*$/\1/'`
+req_v_min=`echo $req_version | sed -e 's/^.*\..*\.\(.*\)$/\1/'`
+
+if test "$mico_v_maj" -lt "$req_v_maj" || \
+ ( test "$mico_v_maj" -eq "$req_v_maj" && \
+ test "$mico_v_mid" -lt "$req_v_mid" ) || \
+ ( test "$mico_v_mid" -eq "$req_v_mid" && \
+ test "$mico_v_min" -lt "$req_v_min" )
+
+then
+ AC_MSG_ERROR([found MICO version $kde_cv_mico_version but version $req_version \
+at least is required. You should upgrade MICO.])
+else
+ AC_MSG_RESULT([$kde_cv_mico_version (minimum version $req_version, ok)])
+fi
+
+LIBMICO="-lmico$kde_cv_mico_version $LIBCRYPT $LIBSOCKET $LIBDL"
+AC_SUBST(LIBMICO)
+if test -z "$IDL"; then
+ IDL='$(kde_bindir)/cuteidl'
+fi
+AC_SUBST(IDL)
+IDL_DEPENDENCIES='$(kde_includes)/CUTE.h'
+AC_SUBST(IDL_DEPENDENCIES)
+
+idldir="\$(includedir)/idl"
+AC_SUBST(idldir)
+
+])
+
+AC_DEFUN(KDE_CHECK_MINI_STL,
+[
+AC_REQUIRE([KDE_CHECK_MICO])
+
+AC_MSG_CHECKING(if we use mico's mini-STL)
+AC_CACHE_VAL(kde_cv_have_mini_stl,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+kde_save_cxxflags="$CXXFLAGS"
+CXXFLAGS="$CXXFLAGS $MICO_INCLUDES"
+AC_TRY_COMPILE(
+[
+#include <mico/config.h>
+],
+[
+#ifdef HAVE_MINI_STL
+#error "nothing"
+#endif
+],
+kde_cv_have_mini_stl=no,
+kde_cv_have_mini_stl=yes)
+CXXFLAGS="$kde_save_cxxflags"
+AC_LANG_RESTORE
+])
+
+if test "x$kde_cv_have_mini_stl" = "xyes"; then
+ AC_MSG_RESULT(yes)
+ $1
+else
+ AC_MSG_RESULT(no)
+ $2
+fi
+])
+
+])
+
+
+AC_DEFUN(KDE_CHECK_LIBPTHREAD,
+[
+AC_CHECK_LIB(pthread, pthread_create, [LIBPTHREAD="-lpthread"] )
+AC_SUBST(LIBPTHREAD)
+])
+
+AC_DEFUN(KDE_CHECK_PTHREAD_OPTION,
+[
+ AC_ARG_ENABLE(kernel-threads, [ --enable-kernel-threads Enable the use of the LinuxThreads port on FreeBSD/i386 only.],
+ kde_use_kernthreads=$enableval, kde_use_kernthreads=no)
+
+ if test "$kde_use_kernthreads" = "yes"; then
+ ac_save_CXXFLAGS="$CXXFLAGS"
+ ac_save_CFLAGS="$CFLAGS"
+ CXXFLAGS="-I/usr/local/include/pthread/linuxthreads $CXXFLAGS"
+ CFLAGS="-I/usr/local/include/pthread/linuxthreads $CFLAGS"
+ AC_CHECK_HEADERS(pthread/linuxthreads/pthread.h)
+ CXXFLAGS="$ac_save_CXXFLAGS"
+ CFLAGS="$ac_save_CFLAGS"
+ if test "$ac_cv_header_pthread_linuxthreads_pthread_h" = "no"; then
+ kde_use_kernthreads=no
+ else
+ dnl Add proper -I and -l statements
+ AC_CHECK_LIB(lthread, pthread_join, [LIBPTHREAD="-llthread -llgcc_r"]) dnl for FreeBSD
+ if test "x$LIBPTHREAD" = "x"; then
+ kde_use_kernthreads=no
+ else
+ USE_THREADS="-D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads"
+ fi
+ fi
+ else
+ USE_THREADS=""
+ if test -z "$LIBPTHREAD"; then
+ KDE_CHECK_COMPILER_FLAG(pthread, [USE_THREADS="-pthread"] )
+ fi
+ fi
+
+ AH_VERBATIM(__svr_define, [
+#if defined(__SVR4) && !defined(__svr4__)
+#define __svr4__ 1
+#endif
+])
+ case $host_os in
+ solaris*)
+ KDE_CHECK_COMPILER_FLAG(mt, [USE_THREADS="-mt"])
+ CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
+ ;;
+ freebsd*)
+ CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
+ ;;
+ aix*)
+ CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
+ LIBPTHREAD="$LIBPTHREAD -lc_r"
+ ;;
+ linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT"
+ if test "$CXX" = "KCC"; then
+ CXXFLAGS="$CXXFLAGS --thread_safe"
+ NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe"
+ fi
+ ;;
+ *)
+ ;;
+ esac
+ AC_SUBST(USE_THREADS)
+ AC_SUBST(LIBPTHREAD)
+])
+
+AC_DEFUN(KDE_CHECK_THREADING,
+[
+ AC_REQUIRE([KDE_CHECK_LIBPTHREAD])
+ AC_REQUIRE([KDE_CHECK_PTHREAD_OPTION])
+ dnl default is yes if libpthread is found and no if no libpthread is available
+ if test -z "$LIBPTHREAD"; then
+ if test -z "$USE_THREADS"; then
+ kde_check_threading_default=no
+ else
+ kde_check_threading_default=yes
+ fi
+ else
+ kde_check_threading_default=yes
+ fi
+ AC_ARG_ENABLE(threading, [ --disable-threading disables threading even if libpthread found ],
+ kde_use_threading=$enableval, kde_use_threading=$kde_check_threading_default)
+ if test "x$kde_use_threading" = "xyes"; then
+ AC_DEFINE(HAVE_LIBPTHREAD, 1, [Define if you have a working libpthread (will enable threaded code)])
+ fi
+])
+
+AC_DEFUN(KDE_TRY_LINK_PYTHON,
+[
+if test "$kde_python_link_found" = no; then
+
+if test "$1" = normal; then
+ AC_MSG_CHECKING(if a Python application links)
+else
+ AC_MSG_CHECKING(if Python depends on $2)
+fi
+
+AC_CACHE_VAL(kde_cv_try_link_python_$1,
+[
+AC_LANG_SAVE
+AC_LANG_C
+kde_save_cflags="$CFLAGS"
+CFLAGS="$CFLAGS $PYTHONINC"
+kde_save_libs="$LIBS"
+LIBS="$LIBS $LIBPYTHON $2 $LIBDL $LIBSOCKET"
+kde_save_ldflags="$LDFLAGS"
+LDFLAGS="$LDFLAGS $PYTHONLIB"
+
+AC_TRY_LINK(
+[
+#include <Python.h>
+],[
+ PySys_SetArgv(1, 0);
+],
+ [kde_cv_try_link_python_$1=yes],
+ [kde_cv_try_link_python_$1=no]
+)
+CFLAGS="$kde_save_cflags"
+LIBS="$kde_save_libs"
+LDFLAGS="$kde_save_ldflags"
+])
+
+if test "$kde_cv_try_link_python_$1" = "yes"; then
+ AC_MSG_RESULT(yes)
+ kde_python_link_found=yes
+ if test ! "$1" = normal; then
+ LIBPYTHON="$LIBPYTHON $2"
+ fi
+ $3
+else
+ AC_MSG_RESULT(no)
+ $4
+fi
+AC_LANG_RESTORE
+
+fi
+
+])
+
+AC_DEFUN(KDE_CHECK_PYTHON_DIR,
+[
+AC_MSG_CHECKING([for Python directory])
+
+AC_CACHE_VAL(kde_cv_pythondir,
+[
+ if test -z "$PYTHONDIR"; then
+ kde_cv_pythondir=/usr/local
+ else
+ kde_cv_pythondir="$PYTHONDIR"
+ fi
+])
+
+AC_ARG_WITH(pythondir,
+[ --with-pythondir=pythondir use python installed in pythondir ],
+[
+ ac_python_dir=$withval
+], ac_python_dir=$kde_cv_pythondir
+)
+
+AC_MSG_RESULT($ac_python_dir)
+])
+
+AC_DEFUN(KDE_CHECK_PYTHON_INTERN,
+[
+AC_REQUIRE([KDE_CHECK_LIBDL])
+AC_REQUIRE([KDE_CHECK_LIBPTHREAD])
+AC_REQUIRE([KDE_CHECK_PYTHON_DIR])
+
+if test -z "$1"; then
+ version="1.5"
+else
+ version="$1"
+fi
+
+AC_MSG_CHECKING([for Python$version])
+
+python_incdirs="$ac_python_dir/include /usr/include /usr/local/include/ $kde_extra_includes"
+AC_FIND_FILE(Python.h, $python_incdirs, python_incdir)
+if test ! -r $python_incdir/Python.h; then
+ AC_FIND_FILE(python$version/Python.h, $python_incdirs, python_incdir)
+ python_incdir=$python_incdir/python$version
+ if test ! -r $python_incdir/Python.h; then
+ python_incdir=no
+ fi
+fi
+
+PYTHONINC=-I$python_incdir
+
+python_libdirs="$ac_python_dir/lib /usr/lib /usr/local /usr/lib $kde_extra_libs"
+AC_FIND_FILE(libpython$version.a, $python_libdirs, python_libdir)
+if test ! -r $python_libdir/libpython$version.a; then
+ AC_FIND_FILE(python$version/config/libpython$version.a, $python_libdirs, python_libdir)
+ python_libdir=$python_libdir/python$version/config
+ if test ! -r $python_libdir/libpython$version.a; then
+ python_libdir=no
+ fi
+fi
+
+PYTHONLIB=-L$python_libdir
+kde_orig_LIBPYTHON=$LIBPYTHON
+if test -z "$LIBPYTHON"; then
+ LIBPYTHON=-lpython$version
+fi
+
+python_libdirs="$ac_python_dir/lib /usr/lib /usr/local /usr/lib $kde_extra_libs"
+AC_FIND_FILE(python$version/copy.py, $python_libdirs, python_moddir)
+python_moddir=$python_moddir/python$version
+if test ! -r $python_moddir/copy.py; then
+ python_moddir=no
+fi
+
+PYTHONMODDIR=$python_moddir
+
+AC_MSG_RESULT(header $python_incdir library $python_libdir modules $python_moddir)
+
+if test x$python_incdir = xno || test x$python_libdir = xno || test x$python_moddir = xno; then
+ LIBPYTHON=$kde_orig_LIBPYTHON
+ test "x$PYTHONLIB" = "x-Lno" && PYTHONLIB=""
+ test "x$PYTHONINC" = "x-Ino" && PYTHONINC=""
+ $2
+else
+ dnl Note: this test is very weak
+ kde_python_link_found=no
+ KDE_TRY_LINK_PYTHON(normal)
+ KDE_TRY_LINK_PYTHON(m, -lm)
+ KDE_TRY_LINK_PYTHON(pthread, $LIBPTHREAD)
+ KDE_TRY_LINK_PYTHON(tcl, -ltcl)
+ KDE_TRY_LINK_PYTHON(db2, -ldb2)
+ KDE_TRY_LINK_PYTHON(m_and_thread, [$LIBPTHREAD -lm])
+ KDE_TRY_LINK_PYTHON(m_and_thread_and_util, [$LIBPTHREAD -lm -lutil])
+ KDE_TRY_LINK_PYTHON(m_and_thread_and_db3, [$LIBPTHREAD -lm -ldb-3 -lutil])
+ KDE_TRY_LINK_PYTHON(pthread_and_db3, [$LIBPTHREAD -ldb-3])
+ KDE_TRY_LINK_PYTHON(m_and_thread_and_db, [$LIBPTHREAD -lm -ldb -ltermcap -lutil])
+ KDE_TRY_LINK_PYTHON(pthread_and_dl, [$LIBPTHREAD $LIBDL -lutil -lreadline -lncurses -lm])
+ KDE_TRY_LINK_PYTHON(m_and_thread_and_db_special, [$LIBPTHREAD -lm -ldb -lutil], [],
+ [AC_MSG_WARN([it seems, Python depends on another library.
+ Pleae set LIBPYTHON to '-lpython$version -lotherlib' before calling configure to fix this
+ and contact the authors to let them know about this problem])
+ ])
+
+ LIBPYTHON="$LIBPYTHON $LIBDL $LIBSOCKET"
+ AC_SUBST(PYTHONINC)
+ AC_SUBST(PYTHONLIB)
+ AC_SUBST(LIBPYTHON)
+ AC_SUBST(PYTHONMODDIR)
+ AC_DEFINE(HAVE_PYTHON, 1, [Define if you have the development files for python])
+fi
+
+])
+
+
+AC_DEFUN(KDE_CHECK_PYTHON,
+[
+ KDE_CHECK_PYTHON_INTERN("2.3",
+ [KDE_CHECK_PYTHON_INTERN("2.2",
+ [KDE_CHECK_PYTHON_INTERN("2.1",
+ [KDE_CHECK_PYTHON_INTERN("2.0", [ KDE_CHECK_PYTHON_INTERN($1, $2) ])
+ ])])])
+])
+
+AC_DEFUN(KDE_CHECK_STL_SGI,
+[
+ AC_MSG_CHECKING([if STL implementation is SGI like])
+ AC_CACHE_VAL(kde_cv_stl_type_sgi,
+ [
+ AC_TRY_COMPILE([
+#include <string>
+using namespace std;
+],[
+ string astring="Hallo Welt.";
+ astring.erase(0, 6); // now astring is "Welt"
+ return 0;
+], kde_cv_stl_type_sgi=yes,
+ kde_cv_stl_type_sgi=no)
+])
+
+ AC_MSG_RESULT($kde_cv_stl_type_sgi)
+
+ if test "$kde_cv_stl_type_sgi" = "yes"; then
+ AC_DEFINE_UNQUOTED(HAVE_SGI_STL, 1, [Define if you have a STL implementation by SGI])
+ fi
+])
+
+AC_DEFUN(KDE_CHECK_STL_HP,
+[
+ AC_MSG_CHECKING([if STL implementation is HP like])
+ AC_CACHE_VAL(kde_cv_stl_type_hp,
+ [
+ AC_TRY_COMPILE([
+#include <string>
+using namespace std;
+],[
+ string astring="Hello World";
+ astring.remove(0, 6); // now astring is "World"
+ return 0;
+], kde_cv_stl_type_hp=yes,
+ kde_cv_stl_type_hp=no)
+])
+ AC_MSG_RESULT($kde_cv_stl_type_hp)
+
+ if test "$kde_cv_stl_type_hp" = "yes"; then
+ AC_DEFINE_UNQUOTED(HAVE_HP_STL, 1, [Define if you have a STL implementation by HP])
+ fi
+])
+
+AC_DEFUN(KDE_CHECK_STL,
+[
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ ac_save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`"
+ KDE_CHECK_STL_SGI
+
+ if test "$kde_cv_stl_type_sgi" = "no"; then
+ KDE_CHECK_STL_HP
+
+ if test "$kde_cv_stl_type_hp" = "no"; then
+ AC_MSG_ERROR("no known STL type found - did you forget to install libstdc++[-devel] ?")
+ fi
+ fi
+
+ CXXFLAGS="$ac_save_CXXFLAGS"
+ AC_LANG_RESTORE
+])
+
+AC_DEFUN(AC_FIND_QIMGIO,
+ [AC_REQUIRE([AC_FIND_JPEG])
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+AC_MSG_CHECKING([for qimgio])
+AC_CACHE_VAL(ac_cv_lib_qimgio,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+ac_save_LIBS="$LIBS"
+ac_save_CXXFLAGS="$CXXFLAGS"
+LIBS="$all_libraries -lqimgio -lpng -lz $LIBJPEG $LIBQT"
+CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
+AC_TRY_RUN(dnl
+[
+#include <qimageio.h>
+#include <qstring.h>
+int main() {
+ QString t = "hallo";
+ t.fill('t');
+ qInitImageIO();
+}
+],
+ ac_cv_lib_qimgio=yes,
+ ac_cv_lib_qimgio=no,
+ ac_cv_lib_qimgio=no)
+LIBS="$ac_save_LIBS"
+CXXFLAGS="$ac_save_CXXFLAGS"
+AC_LANG_RESTORE
+])dnl
+if eval "test \"`echo $ac_cv_lib_qimgio`\" = yes"; then
+ LIBQIMGIO="-lqimgio -lpng -lz $LIBJPEG"
+ AC_MSG_RESULT(yes)
+ AC_DEFINE_UNQUOTED(HAVE_QIMGIO, 1, [Define if you have the Qt extension qimgio available])
+ AC_SUBST(LIBQIMGIO)
+else
+ AC_MSG_RESULT(not found)
+fi
+])
+
+AC_DEFUN(KDE_CHECK_ANSI,
+[
+])
+
+AC_DEFUN(KDE_CHECK_INSURE,
+[
+ AC_ARG_ENABLE(insure, [ --enable-insure use insure++ for debugging [default=no]],
+ [
+ if test $enableval = "no"; dnl
+ then ac_use_insure="no"
+ else ac_use_insure="yes"
+ fi
+ ], [ac_use_insure="no"])
+
+ AC_MSG_CHECKING(if we will use Insure++ to debug)
+ AC_MSG_RESULT($ac_use_insure)
+ if test "$ac_use_insure" = "yes"; dnl
+ then CC="insure"; CXX="insure"; dnl CFLAGS="$CLAGS -fno-rtti -fno-exceptions "????
+ fi
+])
+
+AC_DEFUN(AM_DISABLE_LIBRARIES,
+[
+ AC_PROVIDE([AM_ENABLE_STATIC])
+ AC_PROVIDE([AM_ENABLE_SHARED])
+ enable_static=no
+ enable_shared=yes
+])
+
+
+AC_DEFUN(AC_CHECK_UTMP_FILE,
+[
+ AC_MSG_CHECKING([for utmp file])
+
+ AC_CACHE_VAL(kde_cv_utmp_file,
+ [
+ kde_cv_utmp_file=no
+
+ for ac_file in \
+ \
+ /var/run/utmp \
+ /var/adm/utmp \
+ /etc/utmp \
+ ; \
+ do
+ if test -r "$ac_file"; then
+ kde_cv_utmp_file=$ac_file
+ break
+ fi
+ done
+ ])
+
+ if test "$kde_cv_utmp_file" != "no"; then
+ AC_DEFINE_UNQUOTED(UTMP, "$kde_cv_utmp_file", [Define the file for utmp entries])
+ $1
+ AC_MSG_RESULT($kde_cv_utmp_file)
+ else
+ $2
+ AC_MSG_RESULT([non found])
+ fi
+])
+
+
+AC_DEFUN(KDE_CREATE_SUBDIRSLIST,
+[
+
+DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
+
+if test ! -s $srcdir/subdirs; then
+ dnl Note: Makefile.common creates subdirs, so this is just a fallback
+ TOPSUBDIRS=""
+ files=`cd $srcdir && ls -1`
+ dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
+ for i in $dirs; do
+ echo $i >> $srcdir/subdirs
+ done
+fi
+
+if test -s $srcdir/inst-apps; then
+ ac_topsubdirs="`cat $srcdir/inst-apps`"
+else
+ ac_topsubdirs="`cat $srcdir/subdirs`"
+fi
+
+for i in $ac_topsubdirs; do
+ AC_MSG_CHECKING([if $i should be compiled])
+ if test -d $srcdir/$i; then
+ install_it="yes"
+ for j in $DO_NOT_COMPILE; do
+ if test $i = $j; then
+ install_it="no"
+ fi
+ done
+ else
+ install_it="no"
+ fi
+ AC_MSG_RESULT($install_it)
+ vari=`echo $i | sed -e 's,[[-+.]],_,g'`
+ if test $install_it = "yes"; then
+ TOPSUBDIRS="$TOPSUBDIRS $i"
+ eval "$vari""_SUBDIR_included=yes"
+ else
+ eval "$vari""_SUBDIR_included=no"
+ fi
+done
+
+AC_SUBST(TOPSUBDIRS)
+])
+
+AC_DEFUN(KDE_CHECK_NAMESPACES,
+[
+AC_MSG_CHECKING(whether C++ compiler supports namespaces)
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+AC_TRY_COMPILE([
+],
+[
+namespace Foo {
+ extern int i;
+ namespace Bar {
+ extern int i;
+ }
+}
+
+int Foo::i = 0;
+int Foo::Bar::i = 1;
+],[
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_NAMESPACES)
+], [
+AC_MSG_RESULT(no)
+])
+AC_LANG_RESTORE
+])
+
+AC_DEFUN(KDE_CHECK_NEWLIBS,
+[
+
+])
+
+dnl ------------------------------------------------------------------------
+dnl Check for S_ISSOCK macro. Doesn't exist on Unix SCO. faure@kde.org
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN(AC_CHECK_S_ISSOCK,
+[
+AC_MSG_CHECKING(for S_ISSOCK)
+AC_CACHE_VAL(ac_cv_have_s_issock,
+[
+AC_LANG_SAVE
+AC_LANG_C
+AC_TRY_LINK(
+[
+#include <sys/stat.h>
+],
+[
+struct stat buff;
+int b = S_ISSOCK( buff.st_mode );
+],
+ac_cv_have_s_issock=yes,
+ac_cv_have_s_issock=no)
+AC_LANG_RESTORE
+])
+AC_MSG_RESULT($ac_cv_have_s_issock)
+if test "$ac_cv_have_s_issock" = "yes"; then
+ AC_DEFINE_UNQUOTED(HAVE_S_ISSOCK, 1, [Define if sys/stat.h declares S_ISSOCK.])
+fi
+
+AH_VERBATIM(_ISSOCK,
+[
+#ifndef HAVE_S_ISSOCK
+#define HAVE_S_ISSOCK
+#define S_ISSOCK(mode) (1==0)
+#endif
+])
+
+])
+
+dnl ------------------------------------------------------------------------
+dnl Check for MAXPATHLEN macro, defines KDEMAXPATHLEN. faure@kde.org
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN(AC_CHECK_KDEMAXPATHLEN,
+[
+AC_MSG_CHECKING(for MAXPATHLEN)
+AC_CACHE_VAL(ac_cv_maxpathlen,
+[
+AC_LANG_C
+cat > conftest.$ac_ext <<EOF
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+#endif
+#include <stdio.h>
+#include <sys/param.h>
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 1024
+#endif
+
+KDE_HELLO MAXPATHLEN
+
+EOF
+
+ac_try="$ac_cpp conftest.$ac_ext 2>/dev/null | grep '^KDE_HELLO' >conftest.out"
+
+if AC_TRY_EVAL(ac_try) && test -s conftest.out; then
+ ac_cv_maxpathlen=`sed 's#KDE_HELLO ##' conftest.out`
+else
+ ac_cv_maxpathlen=1024
+fi
+
+rm conftest.*
+
+])
+AC_MSG_RESULT($ac_cv_maxpathlen)
+AC_DEFINE_UNQUOTED(KDEMAXPATHLEN,$ac_cv_maxpathlen, [Define a safe value for MAXPATHLEN] )
+])
+
+dnl -------------------------------------------------------------------------
+dnl See if the compiler supports a template repository bero@redhat.de
+dnl -------------------------------------------------------------------------
+AC_DEFUN(KDE_COMPILER_REPO,
+[
+ REPO=""
+ NOREPO=""
+
+ KDE_CHECK_COMPILER_FLAG(frepo,
+ [
+ REPO="-frepo"
+ NOREPO="-fno-repo"
+ ])
+
+ if test -z "$REPO"; then
+ KDE_CHECK_COMPILER_FLAG(instances=explicit,
+ [
+ REPO="-instances=explicit"
+ NOREPO="-instances=extern"
+ ])
+ fi
+
+ if test -n "$REPO"; then
+ AC_DEFINE_UNQUOTED(HAVE_TEMPLATE_REPOSITORY, 1,
+ [C++ compiler supports template repository])
+ $1
+ fi
+
+ AC_SUBST(REPO)
+ AC_SUBST(NOREPO)
+])
+
+AC_DEFUN(KDE_CHECK_HEADER,
+[
+ AC_LANG_SAVE
+ kde_safe_cppflags=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $all_includes"
+ AC_LANG_CPLUSPLUS
+ AC_CHECK_HEADER($1, $2, $3, $4)
+ CPPFLAGS=$kde_safe_cppflags
+ AC_LANG_RESTORE
+])
+
+AC_DEFUN(KDE_CHECK_HEADERS,
+[
+ AH_CHECK_HEADERS([$1])
+ AC_LANG_SAVE
+ kde_safe_cppflags=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $all_includes"
+ AC_LANG_CPLUSPLUS
+ AC_CHECK_HEADERS([$1], [$2], [$3], [$4])
+ CPPFLAGS=$kde_safe_cppflags
+ AC_LANG_RESTORE
+])
+
+AC_DEFUN(KDE_FAST_CONFIGURE,
+[
+ dnl makes configure fast (needs perl)
+ AC_ARG_ENABLE(fast-perl, [ --disable-fast-perl disable fast Makefile generation (needs perl)],
+ with_fast_perl=$enableval, with_fast_perl=yes)
+])
+
+AC_DEFUN(KDE_CONF_FILES,
+[
+ val=
+ if test -f $srcdir/configure.files ; then
+ val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files`
+ fi
+ CONF_FILES=
+ if test -n "$val" ; then
+ for i in $val ; do
+ CONF_FILES="$CONF_FILES $i"
+ done
+ fi
+ AC_SUBST(CONF_FILES)
+])dnl
+
+AC_DEFUN(KDE_SET_PREFIX,
+[
+ unset CDPATH
+ dnl make $KDEDIR the default for the installation
+ AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde})
+
+ if test "x$prefix" = "xNONE"; then
+ prefix=$ac_default_prefix
+ ac_configure_args="$ac_configure_args --prefix=$prefix"
+ fi
+ # And delete superflous '/' to make compares easier
+ prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
+ exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
+ KDE_FAST_CONFIGURE
+ KDE_CONF_FILES
+])
+
+pushdef([AC_PROG_INSTALL],
+[
+ dnl our own version, testing for a -p flag
+ popdef([AC_PROG_INSTALL])
+ dnl as AC_PROG_INSTALL works as it works we first have
+ dnl to save if the user didn't specify INSTALL, as the
+ dnl autoconf one overwrites INSTALL and we have no chance to find
+ dnl out afterwards
+ test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
+ test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM
+ test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT
+ AC_PROG_INSTALL
+
+ if test -z "$kde_save_INSTALL_given" ; then
+ # OK, user hasn't given any INSTALL, autoconf found one for us
+ # now we test, if it supports the -p flag
+ AC_MSG_CHECKING(for -p flag to install)
+ rm -f confinst.$$.* > /dev/null 2>&1
+ echo "Testtest" > confinst.$$.orig
+ ac_res=no
+ if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
+ if test -f confinst.$$.new ; then
+ # OK, -p seems to do no harm to install
+ INSTALL="${INSTALL} -p"
+ ac_res=yes
+ fi
+ fi
+ rm -f confinst.$$.*
+ AC_MSG_RESULT($ac_res)
+ fi
+ dnl the following tries to resolve some signs and wonders coming up
+ dnl with different autoconf/automake versions
+ dnl e.g.:
+ dnl *automake 1.4 install-strip sets A_M_INSTALL_PROGRAM_FLAGS to -s
+ dnl and has INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(A_M_INSTALL_PROGRAM_FLAGS)
+ dnl it header-vars.am, so there the actual INSTALL_PROGRAM gets the -s
+ dnl *automake 1.4a (and above) use INSTALL_STRIP_FLAG and only has
+ dnl INSTALL_PROGRAM = @INSTALL_PROGRAM@ there, but changes the
+ dnl install-@DIR@PROGRAMS targets to explicitly use that flag
+ dnl *autoconf 2.13 is dumb, and thinks it can use INSTALL_PROGRAM as
+ dnl INSTALL_SCRIPT, which breaks with automake <= 1.4
+ dnl *autoconf >2.13 (since 10.Apr 1999) has not that failure
+ dnl *sometimes KDE does not use the install-@DIR@PROGRAM targets from
+ dnl automake (due to broken Makefile.am or whatever) to install programs,
+ dnl and so does not see the -s flag in automake > 1.4
+ dnl to clean up that mess we:
+ dnl +set INSTALL_PROGRAM to use INSTALL_STRIP_FLAG
+ dnl which cleans KDE's program with automake > 1.4;
+ dnl +set INSTALL_SCRIPT to only use INSTALL, to clean up autoconf's problems
+ dnl with automake<=1.4
+ dnl note that dues to this sometimes two '-s' flags are used (if KDE
+ dnl properly uses install-@DIR@PROGRAMS, but I don't care
+ dnl
+ dnl And to all this comes, that I even can't write in comments variable
+ dnl names used by automake, because it is so stupid to think I wanted to
+ dnl _use_ them, therefor I have written A_M_... instead of AM_
+ dnl hmm, I wanted to say something ... ahh yes: Arghhh.
+
+ if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
+ INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
+ fi
+ if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
+ INSTALL_SCRIPT='${INSTALL}'
+ fi
+])dnl
+
+AC_DEFUN(KDE_LANG_CPLUSPLUS,
+[AC_LANG_CPLUSPLUS
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&AC_FD_CC'
+pushdef([AC_LANG_CPLUSPLUS], [popdef([AC_LANG_CPLUSPLUS]) KDE_LANG_CPLUSPLUS])
+])
+
+pushdef([AC_LANG_CPLUSPLUS],
+[popdef([AC_LANG_CPLUSPLUS])
+KDE_LANG_CPLUSPLUS
+])
+
+AC_DEFUN(KDE_CHECK_LONG_LONG,
+[
+AC_MSG_CHECKING(for long long)
+AC_CACHE_VAL(kde_cv_c_long_long,
+[
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ AC_TRY_LINK([], [
+ long long foo = 0;
+ foo = foo+1;
+ ],
+ kde_cv_c_long_long=yes, kde_cv_c_long_long=no)
+ AC_LANG_RESTORE
+])
+AC_MSG_RESULT($kde_cv_c_long_long)
+if test "$kde_cv_c_long_long" = yes; then
+ AC_DEFINE(HAVE_LONG_LONG, 1, [Define if you have long long as datatype])
+fi
+])
+
+AC_DEFUN(KDE_CHECK_LIB,
+[
+ kde_save_LDFLAGS="$LDFLAGS"
+ dnl AC_CHECK_LIB modifies LIBS, so save it here
+ kde_save_LIBS="$LIBS"
+ LDFLAGS="$LDFLAGS $all_libraries"
+ case $host_os in
+ aix*) LDFLAGS="-brtl $LDFLAGS"
+ test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
+ ;;
+ esac
+ AC_CHECK_LIB($1, $2, $3, $4, $5)
+ LDFLAGS="$kde_save_LDFLAGS"
+ LIBS="$kde_save_LIBS"
+])
+
+AC_DEFUN(KDE_JAVA_PREFIX,
+[
+ dir=`dirname "$1"`
+ base=`basename "$1"`
+ list=`ls -1 $dir 2> /dev/null`
+ for entry in $list; do
+ if test -d $dir/$entry/bin; then
+ case $entry in
+ $base)
+ javadirs="$javadirs $dir/$entry/bin"
+ ;;
+ esac
+ elif test -d $dir/$entry/jre/bin; then
+ case $entry in
+ $base)
+ javadirs="$javadirs $dir/$entry/jre/bin"
+ ;;
+ esac
+ fi
+ done
+])
+
+dnl KDE_CHEC_JAVA_DIR(onlyjre)
+AC_DEFUN(KDE_CHECK_JAVA_DIR,
+[
+
+AC_ARG_WITH(java,
+[ --with-java=javadir use java installed in javadir, --without-java disables ],
+[ ac_java_dir=$withval
+], ac_java_dir=""
+)
+
+AC_MSG_CHECKING([for Java])
+
+dnl at this point ac_java_dir is either a dir, 'no' to disable, or '' to say look in $PATH
+if test "x$ac_java_dir" = "xno"; then
+ kde_java_bindir=no
+ kde_java_includedir=no
+ kde_java_libjvmdir=no
+ kde_java_libhpidir=no
+else
+ if test "x$ac_java_dir" = "x"; then
+
+
+ dnl No option set -> look in $PATH
+ KDE_JAVA_PREFIX(/usr/j2se)
+ KDE_JAVA_PREFIX(/usr/j*dk*)
+ KDE_JAVA_PREFIX(/usr/lib/j*dk*)
+ KDE_JAVA_PREFIX(/opt/j*sdk*)
+ KDE_JAVA_PREFIX(/usr/lib/java*)
+ KDE_JAVA_PREFIX(/usr/java*)
+ KDE_JAVA_PREFIX(/usr/java/j*dk*)
+ KDE_JAVA_PREFIX(/usr/java/j*re*)
+ KDE_JAVA_PREFIX(/usr/lib/SunJava2*)
+ KDE_JAVA_PREFIX(/usr/lib/SunJava*)
+ KDE_JAVA_PREFIX(/usr/lib/IBMJava2*)
+ KDE_JAVA_PREFIX(/usr/lib/IBMJava*)
+ KDE_JAVA_PREFIX(/opt/java*)
+
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ for dir in $PATH; do
+ javadirs="$javadirs $dir"
+ done
+ IFS=$kde_save_IFS
+ jredirs=
+
+ for dir in $javadirs; do
+ if test ! -d $dir; then break; fi
+ if test -x "$dir/java"; then
+ libjvmdir=`find $dir/.. -name libjvm.so | sed 's,libjvm.so,,'|head -n 1`
+ if test ! -f $libjvmdir/libjvm.so; then continue; fi
+ jredirs="$jredirs $dir"
+ fi
+ done
+
+ JAVAC=
+ JAVA=
+ kde_java_bindir=no
+ for dir in $jredirs; do
+ JAVA="$dir/java"
+ kde_java_bindir=$dir
+ if test -x "$dir/javac"; then
+ JAVAC="$dir/javac"
+ break
+ fi
+ done
+
+ if test -n "$JAVAC"; then
+ dnl this substitution might not work - well, we test for jni.h below
+ kde_java_includedir=`echo $JAVAC | sed -e 's,bin/javac$,include/,'`
+ else
+ kde_java_includedir=no
+ fi
+ else
+ dnl config option set
+ kde_java_bindir=$ac_java_dir/bin
+ if test -x $ac_java_dir/bin/java && test ! -x $ac_java_dir/bin/javac; then
+ kde_java_includedir=no
+ else
+ kde_java_includedir=$ac_java_dir/include
+ fi
+ fi
+fi
+
+dnl At this point kde_java_bindir and kde_java_includedir are either set or "no"
+if test "x$kde_java_bindir" != "xno"; then
+
+ dnl Look for libjvm.so
+ kde_java_libjvmdir=`find $kde_java_bindir/.. -name libjvm.so | sed 's,libjvm.so,,'|head -n 1`
+ dnl Look for libhpi.so and avoid green threads
+ kde_java_libhpidir=`find $kde_java_bindir/.. -name libhpi.so | grep -v green | sed 's,libhpi.so,,' | head -n 1`
+
+ dnl Now check everything's fine under there
+ dnl the include dir is our flag for having the JDK
+ if test -d "$kde_java_includedir"; then
+ if test ! -x "$kde_java_bindir/javac"; then
+ AC_MSG_ERROR([javac not found under $kde_java_bindir - it seems you passed a wrong --with-java.])
+ fi
+ if test ! -x "$kde_java_bindir/javah"; then
+ AC_MSG_ERROR([javah not found under $kde_java_bindir. javac was found though! Use --with-java or --without-java.])
+ fi
+ if test ! -x "$kde_java_bindir/jar"; then
+ AC_MSG_ERROR([jar not found under $kde_java_bindir. javac was found though! Use --with-java or --without-java.])
+ fi
+ if test ! -r "$kde_java_includedir/jni.h"; then
+ AC_MSG_ERROR([jni.h not found under $kde_java_includedir. Use --with-java or --without-java.])
+ fi
+
+ jni_includes="-I$kde_java_includedir"
+ dnl Strange thing, jni.h requires jni_md.h which is under genunix here..
+ dnl and under linux here..
+ test -d "$kde_java_includedir/linux" && jni_includes="$jni_includes -I$kde_java_includedir/linux"
+ test -d "$kde_java_includedir/solaris" && jni_includes="$jni_includes -I$kde_java_includedir/solaris"
+ test -d "$kde_java_includedir/genunix" && jni_includes="$jni_includes -I$kde_java_includedir/genunix"
+
+ else
+ JAVAC=
+ jni_includes=
+ fi
+
+ if test ! -r "$kde_java_libjvmdir/libjvm.so"; then
+ AC_MSG_ERROR([libjvm.so not found under $kde_java_libjvmdir. Use --without-java.])
+ fi
+
+ if test ! -x "$kde_java_bindir/java"; then
+ AC_MSG_ERROR([java not found under $kde_java_bindir. javac was found though! Use --with-java or --without-java.])
+ fi
+
+ if test ! -r "$kde_java_libhpidir/libhpi.so"; then
+ AC_MSG_ERROR([libhpi.so not found under $kde_java_libhpidir. Use --without-java.])
+ fi
+
+ if test -n "$jni_includes"; then
+ dnl Check for JNI version
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ ac_cxxflags_safe="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS $all_includes $jni_includes"
+
+ AC_TRY_COMPILE([
+ #include <jni.h>
+ ],
+ [
+ #ifndef JNI_VERSION_1_2
+ Syntax Error
+ #endif
+ ],[ kde_jni_works=yes ],
+ [ kde_jni_works=no ])
+
+ if test $kde_jni_works = no; then
+ AC_MSG_ERROR([Incorrect version of $kde_java_includedir/jni.h.
+ You need to have Java Development Kit (JDK) version 1.2.
+
+ Use --with-java to specify another location.
+ Use --without-java to configure without java support.
+ Or download a newer JDK and try again.
+ See e.g. http://java.sun.com/products/jdk/1.2 ])
+ fi
+
+ CXXFLAGS="$ac_cxxflags_safe"
+ AC_LANG_RESTORE
+
+ dnl All tests ok, inform and subst the variables
+
+ JAVAC=$kde_java_bindir/javac
+ JAVAH=$kde_java_bindir/javah
+ JAR=$kde_java_bindir/jar
+ AC_DEFINE_UNQUOTED(PATH_JAVA, "$kde_java_bindir/java", [Define where your java executable is])
+ JVMLIBS="-L$kde_java_libjvmdir -ljvm -L$kde_java_libhpidir -lhpi"
+ AC_MSG_RESULT([java JDK in $kde_java_bindir])
+
+ else
+ AC_DEFINE_UNQUOTED(PATH_JAVA, "$kde_java_bindir/java", [Define where your java executable is])
+ AC_MSG_RESULT([java JRE in $kde_java_bindir])
+ fi
+else # no
+ AC_MSG_RESULT([none found])
+fi
+
+AC_SUBST(JAVAC)
+AC_SUBST(JAVAH)
+AC_SUBST(JAR)
+AC_SUBST(JVMLIBS)
+AC_SUBST(jni_includes)
+
+# for backward compat
+kde_cv_java_includedir=$kde_java_includedir
+kde_cv_java_bindir=$kde_java_bindir
+])
+
+dnl this is a redefinition of autoconf 2.5x's INCOMPATIBLE_FOREACH.
+dnl When the argument list becomes big, as in KDE for AC_OUTPUT in
+dnl big packages, m4_foreach is dog-slow. So use our own version of
+dnl it. (matz@kde.org)
+m4_define([mm_foreach],
+[m4_pushdef([$1])_mm_foreach($@)m4_popdef([$1])])
+m4_define([mm_car], [[$1]])
+m4_define([mm_car2], [[$@]])
+m4_define([_mm_foreach],
+[m4_if(m4_quote($2), [], [],
+ [m4_define([$1], [mm_car($2)])$3[]_mm_foreach([$1],
+ mm_car2(m4_shift($2)),
+ [$3])])])
+m4_define([INCOMPATIBLE_FOREACH],
+[mm_foreach([$1], m4_split(m4_normalize([$2])), [$3])])
+
+AC_DEFUN(KDE_NEED_FLEX,
+[
+kde_libs_safe=$LIBS
+LIBS="$LIBS $USER_LDFLAGS"
+AM_PROG_LEX
+LIBS=$kde_libs_safe
+if test -z "$LEXLIB"; then
+ AC_MSG_ERROR([You need to have flex installed.])
+fi
+AC_SUBST(LEXLIB)
+])
+
+AC_DEFUN(AC_PATH_QTOPIA,
+[
+ dnl TODO: use AC_CACHE_VAL
+
+ if test -z "$1"; then
+ qtopia_minver_maj=1
+ qtopia_minver_min=5
+ qtopia_minver_pat=0
+ else
+ qtopia_minver_maj=`echo "$1" | sed -e "s/^\(.*\)\..*\..*$/\1/"`
+ qtopia_minver_min=`echo "$1" | sed -e "s/^.*\.\(.*\)\..*$/\1/"`
+ qtopia_minver_pat=`echo "$1" | sed -e "s/^.*\..*\.\(.*\)$/\1/"`
+ fi
+
+ qtopia_minver="$qtopia_minver_maj$qtopia_minver_min$qtopia_minver_pat"
+ qtopia_minverstr="$qtopia_minver_maj.$qtopia_minver_min.$qtopia_minver_pat"
+
+ AC_REQUIRE([AC_PATH_QT])
+
+ AC_MSG_CHECKING([for Qtopia])
+
+ LIB_QTOPIA="-lqpe"
+ AC_SUBST(LIB_QTOPIA)
+
+ kde_qtopia_dirs="$QPEDIR /opt/Qtopia"
+
+ ac_qtopia_incdir=NO
+
+ AC_ARG_WITH(qtopia-dir,
+ [ --with-qtopia-dir=DIR where the root of Qtopia is installed ],
+ [ ac_qtopia_incdir="$withval"/include] )
+
+ qtopia_incdirs=""
+ for dir in $kde_qtopia_dirs; do
+ qtopia_incdirs="$qtopia_incdirs $dir/include"
+ done
+
+ if test ! "$ac_qtopia_incdir" = "NO"; then
+ qtopia_incdirs="$ac_qtopia_incdir $qtopia_incdirs"
+ fi
+
+ qtopia_incdir=""
+ AC_FIND_FILE(qpe/qpeapplication.h, $qtopia_incdirs, qtopia_incdir)
+ ac_qtopia_incdir="$qtopia_incdir"
+
+ if test -z "$qtopia_incdir"; then
+ AC_MSG_ERROR([Cannot find Qtopia headers. Please check your installation.])
+ fi
+
+ qtopia_ver_maj=`cat $qtopia_incdir/qpe/version.h | sed -n -e 's,.*QPE_VERSION "\(.*\)\..*\..*".*,\1,p'`;
+ qtopia_ver_min=`cat $qtopia_incdir/qpe/version.h | sed -n -e 's,.*QPE_VERSION ".*\.\(.*\)\..*".*,\1,p'`;
+ qtopia_ver_pat=`cat $qtopia_incdir/qpe/version.h | sed -n -e 's,.*QPE_VERSION ".*\..*\.\(.*\)".*,\1,p'`;
+
+ qtopia_ver="$qtopia_ver_maj$qtopia_ver_min$qtopia_ver_pat"
+ qtopia_verstr="$qtopia_ver_maj.$qtopia_ver_min.$qtopia_ver_pat"
+ if test "$qtopia_ver" -lt "$qtopia_minver"; then
+ AC_MSG_ERROR([found Qtopia version $qtopia_verstr but version $qtopia_minverstr
+is required.])
+ fi
+
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+
+ ac_cxxflags_safe="$CXXFLAGS"
+ ac_ldflags_safe="$LDFLAGS"
+ ac_libs_safe="$LIBS"
+
+ CXXFLAGS="$CXXFLAGS -I$qtopia_incdir $all_includes"
+ LDFLAGS="$LDFLAGS $QT_LDFLAGS $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
+ LIBS="$LIBS $LIB_QTOPIA $LIBQT"
+
+ cat > conftest.$ac_ext <<EOF
+#include "confdefs.h"
+#include <qpe/qpeapplication.h>
+#include <qpe/version.h>
+
+int main( int argc, char **argv )
+{
+ QPEApplication app( argc, argv );
+ return 0;
+}
+EOF
+
+ if AC_TRY_EVAL(ac_link) && test -s conftest; then
+ rm -f conftest*
+ else
+ rm -f conftest*
+ AC_MSG_ERROR([Cannot link small Qtopia Application. For more details look at
+the end of config.log])
+ fi
+
+ CXXFLAGS="$ac_cxxflags_safe"
+ LDFLAGS="$ac_ldflags_safe"
+ LIBS="$ac_libs_safe"
+
+ AC_LANG_RESTORE
+
+ QTOPIA_INCLUDES="-I$qtopia_incdir"
+ AC_SUBST(QTOPIA_INCLUDES)
+
+ AC_MSG_RESULT([found version $qtopia_verstr with headers at $qtopia_incdir])
+])
+
+
+AC_DEFUN(KDE_INIT_DOXYGEN,
+[
+AC_MSG_CHECKING([for Qt docs])
+kde_qtdir=
+if test "${with_qt_dir+set}" = set; then
+ kde_qtdir="$with_qt_dir"
+fi
+
+AC_FIND_FILE(qsql.html, [ $kde_qtdir/doc/html $QTDIR/doc/html /usr/share/doc/packages/qt3/html /usr/lib/qt/doc /usr/lib/qt3/doc /usr/lib/qt3/doc/html /usr/doc/qt3/html /usr/doc/qt3 /usr/share/doc/qt3-doc /usr/share/qt3/doc/html ], QTDOCDIR)
+AC_MSG_RESULT($QTDOCDIR)
+
+AC_SUBST(QTDOCDIR)
+
+KDE_FIND_PATH(dot, DOT, [], [])
+if test -n "$DOT"; then
+ KDE_HAVE_DOT="YES"
+else
+ KDE_HAVE_DOT="NO"
+fi
+AC_SUBST(KDE_HAVE_DOT)
+KDE_FIND_PATH(doxygen, DOXYGEN, [], [])
+AC_SUBST(DOXYGEN)
+
+DOXYGEN_PROJECT_NAME="$1"
+DOXYGEN_PROJECT_NUMBER="$2"
+AC_SUBST(DOXYGEN_PROJECT_NAME)
+AC_SUBST(DOXYGEN_PROJECT_NUMBER)
+
+KDE_HAS_DOXYGEN=no
+if test -n "$DOXYGEN" && test -x "$DOXYGEN" && test -f $QTDOCDIR/qsql.html; then
+ KDE_HAS_DOXYGEN=yes
+fi
+AC_SUBST(KDE_HAS_DOXYGEN)
+
+])
+
+
+AC_DEFUN(AC_FIND_BZIP2,
+[
+AC_MSG_CHECKING([for bzDecompress in libbz2])
+AC_CACHE_VAL(ac_cv_lib_bzip2,
+[
+AC_LANG_C
+kde_save_LIBS="$LIBS"
+LIBS="$all_libraries $USER_LDFLAGS -lbz2 $LIBSOCKET"
+kde_save_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
+AC_TRY_LINK(dnl
+[
+#define BZ_NO_STDIO
+#include<bzlib.h>
+],
+ [ bz_stream s; (void) bzDecompress(&s); ],
+ eval "ac_cv_lib_bzip2='-lbz2'",
+ eval "ac_cv_lib_bzip2=no")
+LIBS="$kde_save_LIBS"
+CFLAGS="$kde_save_CFLAGS"
+])dnl
+AC_MSG_RESULT($ac_cv_lib_bzip2)
+
+if test ! "$ac_cv_lib_bzip2" = no; then
+ BZIP2DIR=bzip2
+
+ LIBBZ2="$ac_cv_lib_bzip2"
+ AC_SUBST(LIBBZ2)
+
+else
+
+ cxx_shared_flag=
+ ld_shared_flag=
+ KDE_CHECK_COMPILER_FLAG(shared, [
+ ld_shared_flag="-shared"
+ ])
+ KDE_CHECK_COMPILER_FLAG(fPIC, [
+ cxx_shared_flag="-fPIC"
+ ])
+
+ AC_MSG_CHECKING([for BZ2_bzDecompress in (shared) libbz2])
+ AC_CACHE_VAL(ac_cv_lib_bzip2_prefix,
+ [
+ AC_LANG_CPLUSPLUS
+ kde_save_LIBS="$LIBS"
+ LIBS="$all_libraries $USER_LDFLAGS $ld_shared_flag -lbz2 $LIBSOCKET"
+ kde_save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CFLAGS $cxx_shared_flag $all_includes $USER_INCLUDES"
+
+ AC_TRY_LINK(dnl
+ [
+ #define BZ_NO_STDIO
+ #include<bzlib.h>
+ ],
+ [ bz_stream s; (void) BZ2_bzDecompress(&s); ],
+ eval "ac_cv_lib_bzip2_prefix='-lbz2'",
+ eval "ac_cv_lib_bzip2_prefix=no")
+ LIBS="$kde_save_LIBS"
+ CXXFLAGS="$kde_save_CXXFLAGS"
+ ])dnl
+
+ AC_MSG_RESULT($ac_cv_lib_bzip2_prefix)
+
+
+
+ if test ! "$ac_cv_lib_bzip2_prefix" = no; then
+ BZIP2DIR=bzip2
+
+ LIBBZ2="$ac_cv_lib_bzip2_prefix"
+ AC_SUBST(LIBBZ2)
+
+ AC_DEFINE(NEED_BZ2_PREFIX, 1, [Define if the libbz2 functions need the BZ2_ prefix])
+ dnl else, we just ignore this
+ fi
+
+fi
+AM_CONDITIONAL(include_BZIP2, test -n "$BZIP2DIR")
+])
+
+dnl ------------------------------------------------------------------------
+dnl Try to find the SSL headers and libraries.
+dnl $(SSL_LDFLAGS) will be -Lsslliblocation (if needed)
+dnl and $(SSL_INCLUDES) will be -Isslhdrlocation (if needed)
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN(KDE_CHECK_SSL,
+[
+LIBSSL="-lssl -lcrypto"
+AC_REQUIRE([KDE_CHECK_LIB64])
+
+ac_ssl_includes=NO ac_ssl_libraries=NO
+ssl_libraries=""
+ssl_includes=""
+AC_ARG_WITH(ssl-dir,
+ [ --with-ssl-dir=DIR where the root of OpenSSL is installed],
+ [ ac_ssl_includes="$withval"/include
+ ac_ssl_libraries="$withval"/lib$kdelibsuff
+ ])
+
+want_ssl=yes
+AC_ARG_WITH(ssl,
+ [ --without-ssl disable SSL checks],
+ [want_ssl=$withval])
+
+if test $want_ssl = yes; then
+
+AC_MSG_CHECKING(for OpenSSL)
+
+AC_CACHE_VAL(ac_cv_have_ssl,
+[#try to guess OpenSSL locations
+
+ ssl_incdirs="/usr/include /usr/local/include /usr/ssl/include /usr/local/ssl/include $prefix/include $kde_extra_includes"
+ ssl_incdirs="$ac_ssl_includes $ssl_incdirs"
+ AC_FIND_FILE(openssl/ssl.h, $ssl_incdirs, ssl_incdir)
+ ac_ssl_includes="$ssl_incdir"
+
+ ssl_libdirs="/usr/lib$kdelibsuff /usr/local/lib$kdelibsuff /usr/ssl/lib$kdelibsuff /usr/local/ssl/lib$kdelibsuff $libdir $prefix/lib$kdelibsuff $exec_prefix/lib$kdelibsuff $kde_extra_libs"
+ if test ! "$ac_ssl_libraries" = "NO"; then
+ ssl_libdirs="$ac_ssl_libraries $ssl_libdirs"
+ fi
+
+ test=NONE
+ ssl_libdir=NONE
+ for dir in $ssl_libdirs; do
+ try="ls -1 $dir/libssl*"
+ if test=`eval $try 2> /dev/null`; then ssl_libdir=$dir; break; else echo "tried $dir" >&AC_FD_CC ; fi
+ done
+
+ ac_ssl_libraries="$ssl_libdir"
+
+ AC_LANG_SAVE
+ AC_LANG_C
+
+ ac_cflags_safe="$CFLAGS"
+ ac_ldflags_safe="$LDFLAGS"
+ ac_libs_safe="$LIBS"
+
+ CFLAGS="$CFLAGS -I$ssl_incdir $all_includes"
+ LDFLAGS="$LDFLAGS -L$ssl_libdir $all_libraries"
+ LIBS="$LIBS $LIBSSL -lRSAglue -lrsaref"
+
+ AC_TRY_LINK(,void RSAPrivateEncrypt(void);RSAPrivateEncrypt();,
+ ac_ssl_rsaref="yes"
+ ,
+ ac_ssl_rsaref="no"
+ )
+
+ CFLAGS="$ac_cflags_safe"
+ LDFLAGS="$ac_ldflags_safe"
+ LIBS="$ac_libs_safe"
+
+ AC_LANG_RESTORE
+
+ if test "$ac_ssl_includes" = NO || test "$ac_ssl_libraries" = NO; then
+ have_ssl=no
+ else
+ have_ssl=yes;
+ fi
+
+ ])
+
+ eval "$ac_cv_have_ssl"
+
+ AC_MSG_RESULT([libraries $ac_ssl_libraries, headers $ac_ssl_includes])
+
+ AC_MSG_CHECKING([whether OpenSSL uses rsaref])
+ AC_MSG_RESULT($ac_ssl_rsaref)
+
+ AC_MSG_CHECKING([for easter eggs])
+ AC_MSG_RESULT([none found])
+
+else
+ have_ssl=no
+fi
+
+if test "$have_ssl" = yes; then
+ AC_MSG_CHECKING(for OpenSSL version)
+ dnl Check for SSL version
+ AC_CACHE_VAL(ac_cv_ssl_version,
+ [
+ AC_LANG_SAVE
+ AC_LANG_C
+
+ cat >conftest.$ac_ext <<EOF
+#include <openssl/opensslv.h>
+#include <stdio.h>
+ int main() {
+
+#ifndef OPENSSL_VERSION_NUMBER
+ printf("ssl_version=\\"error\\"\n");
+#else
+ if (OPENSSL_VERSION_NUMBER < 0x00906000)
+ printf("ssl_version=\\"old\\"\n");
+ else
+ printf("ssl_version=\\"ok\\"\n");
+#endif
+ return (0);
+ }
+EOF
+
+ ac_compile='${CC-gcc} $CFLAGS -I$ac_ssl_includes conftest.$ac_ext -o conftest'
+ if AC_TRY_EVAL(ac_compile); then
+
+ if eval `./conftest 2>&5`; then
+ if test $ssl_version = error; then
+ AC_MSG_ERROR([$ssl_incdir/openssl/opensslv.h doesn't define OPENSSL_VERSION_NUMBER !])
+ else
+ if test $ssl_version = old; then
+ AC_MSG_WARN([OpenSSL version too old. Upgrade to 0.9.6 at least, see http://www.openssl.org. SSL support disabled.])
+ have_ssl=no
+ fi
+ fi
+ ac_cv_ssl_version="ssl_version=$ssl_version"
+ else
+ AC_MSG_ERROR([Your system couldn't run a small SSL test program.
+ Check config.log, and if you can't figure it out, send a mail to
+ David Faure <faure@kde.org>, attaching your config.log])
+ fi
+
+ else
+ AC_MSG_ERROR([Your system couldn't link a small SSL test program.
+ Check config.log, and if you can't figure it out, send a mail to
+ David Faure <faure@kde.org>, attaching your config.log])
+ fi
+
+ AC_LANG_RESTORE
+
+ ])
+
+ eval "$ac_cv_ssl_version"
+ AC_MSG_RESULT($ssl_version)
+fi
+
+if test "$have_ssl" != yes; then
+ LIBSSL="";
+else
+ AC_DEFINE(HAVE_SSL, 1, [If we are going to use OpenSSL])
+ ac_cv_have_ssl="have_ssl=yes \
+ ac_ssl_includes=$ac_ssl_includes ac_ssl_libraries=$ac_ssl_libraries ac_ssl_rsaref=$ac_ssl_rsaref"
+
+
+ ssl_libraries="$ac_ssl_libraries"
+ ssl_includes="$ac_ssl_includes"
+
+ if test "$ac_ssl_rsaref" = yes; then
+ LIBSSL="-lssl -lcrypto -lRSAglue -lrsaref"
+ fi
+
+ if test $ssl_version = "old"; then
+ AC_DEFINE(HAVE_OLD_SSL_API, 1, [Define if you have OpenSSL < 0.9.6])
+ fi
+fi
+
+if test "$ssl_includes" = "/usr/include" || test "$ssl_includes" = "/usr/local/include" || test -z "$ssl_includes"; then
+ SSL_INCLUDES="";
+else
+ SSL_INCLUDES="-I$ssl_includes"
+fi
+
+if test "$ssl_libraries" = "/usr/lib" || test "$ssl_libraries" = "/usr/local/lib" || test -z "$ssl_libraries"; then
+ SSL_LDFLAGS=""
+else
+ SSL_LDFLAGS="-L$ssl_libraries -R$ssl_libraries"
+fi
+
+AC_SUBST(SSL_INCLUDES)
+AC_SUBST(SSL_LDFLAGS)
+AC_SUBST(LIBSSL)
+])
+
+AC_DEFUN(KDE_CHECK_STRLCPY,
+[
+ AC_CHECK_STRLCPY
+ AC_CHECK_STRLCAT
+ AC_CHECK_SIZEOF(size_t)
+ AC_CHECK_SIZEOF(unsigned long)
+
+ AC_MSG_CHECKING([sizeof(size_t) == sizeof(unsigned long)])
+ AC_TRY_COMPILE(,[
+ #if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG
+ choke me
+ #endif
+ ],[AC_MSG_RESULT([yes])],[
+ AC_MSG_RESULT([no])
+ AC_MSG_ERROR([
+ Apparently on your system our assumption sizeof(size_t) == sizeof(unsigned long)
+ does not apply. Please mail kde-devel@kde.org with a description of your system!
+ ])
+ ])
+])
+
diff --git a/gettext-tools/examples/hello-c++-kde/admin/am_edit b/gettext-tools/examples/hello-c++-kde/admin/am_edit
new file mode 100644
index 0000000..a618de1
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/am_edit
@@ -0,0 +1,2037 @@
+#!/usr/bin/perl -w
+
+# Expands the specialised KDE tags in Makefile.in to (hopefully) valid
+# make syntax.
+# When called without file parameters, we work recursively on all Makefile.in
+# in and below the current subdirectory. When called with file parameters,
+# only those Makefile.in are changed.
+# The currently supported tags are
+#
+# {program}_METASOURCES
+# where you have a choice of two styles
+# {program}_METASOURCES = name1.moc name2.moc ... [\]
+# {program}_METASOURCES = AUTO
+# The second style requires other tags as well.
+#
+# To install icons :
+# KDE_ICON = iconname iconname2 ...
+# KDE_ICON = AUTO
+#
+# For documentation :
+# http://developer.kde.org/documentation/other/developer-faq.html
+#
+# and more new tags TBD!
+#
+# The concept (and base code) for this program came from automoc,
+# supplied by the following
+#
+# Matthias Ettrich <ettrich@kde.org> (The originator)
+# Kalle Dalheimer <kalle@kde.org> (The original implementator)
+# Harri Porten <porten@tu-harburg.de>
+# Alex Zepeda <jazepeda@pacbell.net>
+# David Faure <faure@kde.org>
+# Stephan Kulow <coolo@kde.org>
+
+use Cwd;
+use File::Find;
+use File::Basename;
+
+# Prototype the functions
+sub initialise ();
+sub processMakefile ($);
+sub updateMakefile ();
+sub restoreMakefile ();
+
+sub removeLine ($$);
+sub appendLines ($);
+sub substituteLine ($$);
+
+sub findMocCandidates ();
+sub pruneMocCandidates ($);
+sub checkMocCandidates ();
+sub addMocRules ();
+
+sub tag_AUTOMAKE ();
+sub tag_META_INCLUDES ();
+sub tag_METASOURCES ();
+sub tag_POFILES ();
+sub tag_DOCFILES ();
+sub tag_LOCALINSTALL();
+sub tag_IDLFILES();
+sub tag_UIFILES();
+sub tag_SUBDIRS();
+sub tag_ICON();
+sub tag_CLOSURE();
+sub tag_DIST();
+
+# Some global globals...
+$verbose = 0; # a debug flag
+$thisProg = "$0"; # This programs name
+$topdir = cwd(); # The current directory
+@makefiles = (); # Contains all the files we'll process
+@foreignfiles = ();
+$start = (times)[0]; # some stats for testing - comment out for release
+$version = "v0.2";
+$errorflag = 0;
+$cppExt = "(cpp|cc|cxx|C|c\\+\\+)";
+$hExt = "(h|H|hh|hxx|hpp|h\\+\\+)";
+$progId = "KDE tags expanded automatically by " . basename($thisProg);
+$automkCall = "\n";
+$printname = ""; # used to display the directory the Makefile is in
+$use_final = 1; # create code for --enable-final
+$cleantarget = "clean";
+$dryrun = 0;
+$pathoption = 0;
+$foreign_libtool = 0;
+
+while (defined ($ARGV[0]))
+{
+ $_ = shift;
+ if (/^--version$/)
+ {
+ print STDOUT "\n";
+ print STDOUT basename($thisProg), " $version\n",
+ "This is really free software, unencumbered by the GPL.\n",
+ "You can do anything you like with it except sueing me.\n",
+ "Copyright 1998 Kalle Dalheimer <kalle\@kde.org>\n",
+ "Concept, design and unnecessary questions about perl\n",
+ " by Matthias Ettrich <ettrich\@kde.org>\n\n",
+ "Making it useful by Stephan Kulow <coolo\@kde.org> and\n",
+ "Harri Porten <porten\@kde.org>\n",
+ "Updated (Feb-1999), John Birch <jb.nz\@writeme.com>\n",
+ "Current Maintainer Stephan Kulow\n\n";
+ exit 0;
+ }
+ elsif (/^--verbose$|^-v$/)
+ {
+ $verbose = 1; # Oh is there a problem...?
+ }
+ elsif (/^-p(.+)$|^--path=(.+)$/)
+ {
+ $thisProg = "$1/".basename($thisProg) if($1);
+ $thisProg = "$2/".basename($thisProg) if($2);
+ warn ("$thisProg doesn't exist\n") if (!(-f $thisProg));
+ $pathoption=1;
+ }
+ elsif (/^--help$|^-h$/)
+ {
+ print STDOUT "Usage $thisProg [OPTION] ... [dir/Makefile.in]...\n",
+ "\n",
+ "Patches dir/Makefile.in generated by automake\n",
+ "(where dir can be an absolute or relative directory name)\n",
+ "\n",
+ " -v, --verbose verbosely list files processed\n",
+ " -h, --help print this help, then exit\n",
+ " --version print version number, then exit\n",
+ " -p, --path= use the path to am_edit if the path\n",
+ " called from is not the one to be used\n",
+ " --no-final don't patch for --enable-final\n";
+
+ exit 0;
+ }
+ elsif (/^--no-final$/)
+ {
+ $use_final = 0;
+ $thisProg .= " --no-final";
+ }
+ elsif (/^--foreign-libtool$/)
+ {
+ $foreign_libtool = 1;
+ $thisProg .= " --foreign-libtool";
+ }
+ elsif (/^-n$/)
+ {
+ $dryrun = 1;
+ }
+ else
+ {
+ # user selects what input files to check
+ # add full path if relative path is given
+ $_ = cwd()."/".$_ if (! /^\//);
+ print "User wants $_\n" if ($verbose);
+ push (@makefiles, $_);
+ }
+}
+
+if ($thisProg =~ /^\// && !$pathoption )
+{
+ print STDERR "Illegal full pathname call performed...\n",
+ "The call to \"$thisProg\"\nwould be inserted in some Makefile.in.\n",
+ "Please use option --path.\n";
+ exit 1;
+}
+
+# Only scan for files when the user hasn't entered data
+if (!@makefiles)
+{
+ print STDOUT "Scanning for Makefile.in\n" if ($verbose);
+ find (\&add_makefile, cwd());
+ #chdir('$topdir');
+} else {
+ print STDOUT "Using input files specified by user\n" if ($verbose);
+}
+
+foreach $makefile (sort(@makefiles))
+{
+ processMakefile ($makefile);
+ last if ($errorflag);
+}
+
+# Just some debug statistics - comment out for release as it uses printf.
+printf STDOUT "Time %.2f CPU sec\n", (times)[0] - $start if ($verbose);
+
+exit $errorflag; # causes make to fail if erroflag is set
+
+#-----------------------------------------------------------------------------
+
+# In conjunction with the "find" call, this builds the list of input files
+sub add_makefile ()
+{
+ push (@makefiles, $File::Find::name) if (/Makefile.in$/);
+}
+
+#-----------------------------------------------------------------------------
+
+# Processes a single make file
+# The parameter contains the full path name of the Makefile.in to use
+sub processMakefile ($)
+{
+ # some useful globals for the subroutines called here
+ local ($makefile) = @_;
+ local @headerdirs = ('.');
+ local $haveAutomocTag = 0;
+ local $MakefileData = "";
+
+ local $cxxsuffix = "KKK";
+
+ local @programs = (); # lists the names of programs and libraries
+ local $program = "";
+
+ local %realObjs = (); # lists the objects compiled into $program
+ local %sources = (); # lists the sources used for $program
+ local %finalObjs = (); # lists the objects compiled when final
+ local %realname = (); # the binary name of program variable
+ local %idlfiles = (); # lists the idl files used for $program
+ local %globalmocs = ();# list of all mocfiles (in %mocFiles format)
+ local %important = (); # list of files to be generated asap
+ local %uiFiles = ();
+
+ local $allidls = "";
+ local $idl_output = "";# lists all idl generated files for cleantarget
+ local $ui_output = "";# lists all uic generated files for cleantarget
+
+ local %depedmocs = ();
+
+ local $metasourceTags = 0;
+ local $dep_files = "";
+ local $dep_finals = "";
+ local %target_adds = (); # the targets to add
+ local $kdelang = "";
+ local @cleanfiles = ();
+ local $cleanMoc = "";
+ local $closure_output = "";
+
+ local %varcontent = ();
+
+ $makefileDir = dirname($makefile);
+ chdir ($makefileDir);
+ $printname = $makefile;
+ $printname =~ s/^\Q$topdir\E\///;
+ $makefile = basename($makefile);
+
+ print STDOUT "Processing makefile $printname\n" if ($verbose);
+
+ # Setup and see if we need to do this.
+ return if (!initialise());
+
+ tag_AUTOMAKE (); # Allows a "make" to redo the Makefile.in
+ tag_META_INCLUDES (); # Supplies directories for src locations
+
+ foreach $program (@programs) {
+ $sources_changed{$program} = 0;
+ $depedmocs{$program} = "";
+ $important{$program} = "";
+ tag_IDLFILES(); # Sorts out idl rules
+ tag_CLOSURE();
+ tag_UIFILES(); # Sorts out ui rules
+ tag_METASOURCES (); # Sorts out the moc rules
+ if ($sources_changed{$program}) {
+ my $lookup = "$program" . '_SOURCES\s*=\s*(.*)';
+ substituteLine($lookup, "$program\_SOURCES=" . $sources{$program});
+ }
+ if ($important{$program}) {
+ local %source_dict = ();
+ for $source (split(/[\034\s]+/, $sources{$program})) {
+ $source_dict{$source} = 1;
+ }
+ for $source (@cleanfiles) {
+ $source_dict{$source} = 0;
+ }
+ for $source (keys %source_dict) {
+ next if (!$source);
+ if ($source_dict{$source}) {
+ # sanity check
+ if (! -f $source) {
+ print STDERR "Error: $source is listed in a _SOURCE line in $printname, but doesn't exist yet. Put it in DISTCLEANFILES!\n";
+ } else {
+ $target_adds{"\$(srcdir)/$source"} .= $important{$program};
+ }
+ }
+ }
+ }
+ }
+ if ($cleanMoc) {
+ # Always add dist clean tag
+ # Add extra *.moc.cpp files created for USE_AUTOMOC because they
+ # aren't included in the normal *.moc clean rules.
+ appendLines ("$cleantarget-metasources:\n\t-rm -f $cleanMoc\n");
+ $target_adds{"$cleantarget-am"} .= "$cleantarget-metasources ";
+ }
+
+ tag_DIST() unless ($kdeopts{"noautodist"});
+
+ if ($idl_output) {
+ appendLines ("$cleantarget-idl:\n\t-rm -f $idl_output\n");
+ $target_adds{"$cleantarget-am"} .= "$cleantarget-idl ";
+ }
+
+ if ($ui_output) {
+ appendLines ("$cleantarget-ui:\n\t-rm -f $ui_output\n");
+ $target_adds{"$cleantarget-am"} .= "$cleantarget-ui ";
+ }
+
+ if ($closure_output) {
+ appendLines ("$cleantarget-closures:\n\t-rm -f $closure_output\n");
+ $target_adds{"$cleantarget-am"} .= "$cleantarget-closures ";
+ }
+
+ if ($MakefileData =~ /\nKDE_LANG\s*=\s*(\S*)\s*\n/) {
+ $kdelang = '$(KDE_LANG)'
+ } else {
+ $kdelang = '';
+ }
+
+ tag_POFILES (); # language rules for po directory
+ tag_DOCFILES (); # language rules for doc directories
+ tag_LOCALINSTALL(); # add $(DESTDIR) before all kde_ dirs
+ tag_ICON();
+ tag_SUBDIRS();
+
+ my $tmp = "force-reedit:\n";
+ $tmp .= "\t$automkCall\n\tcd \$(top_srcdir) && perl $thisProg $printname\n\n";
+ appendLines($tmp);
+
+ make_meta_classes();
+ tag_COMPILE_FIRST();
+ tag_FINAL() if (!$kdeopts{"nofinal"});
+
+ my $final_lines = "final:\n\t\$(MAKE) ";
+ my $final_install_lines = "final-install:\n\t\$(MAKE) ";
+ my $nofinal_lines = "no-final:\n\t\$(MAKE) ";
+ my $nofinal_install_lines = "no-final-install:\n\t\$(MAKE) ";
+
+ foreach $program (@programs) {
+
+ my $lookup = "$program\_OBJECTS.*=[^\n]*";
+
+ my $new = "";
+
+ my @list = split(/[\034\s]+/, $realObjs{$program});
+
+ if (!$kdeopts{"nofinal"} && @list > 1 && $finalObjs{$program}) {
+
+ $new .= "$program\_final\_OBJECTS = " . $finalObjs{$program};
+ $new .= "\n$program\_nofinal\_OBJECTS = " . $realObjs{$program};
+ $new .= "\n\@KDE_USE_FINAL_FALSE\@$program\_OBJECTS = \$($program\_nofinal\_OBJECTS)";
+ $new .= "\n\@KDE_USE_FINAL_TRUE\@$program\_OBJECTS = \$($program\_final\_OBJECTS)";
+
+ $final_lines .= "$program\_OBJECTS=\"\$($program\_final_OBJECTS)\" ";
+ $final_install_lines .= "$program\_OBJECTS=\"\$($program\_final_OBJECTS)\" ";
+ $nofinal_lines .= "$program\_OBJECTS=\"\$($program\_nofinal\_OBJECTS)\" ";
+ $nofinal_install_lines .= "$program\_OBJECTS=\"\$($program\_nofinal_OBJECTS)\" ";
+ } else {
+ $new = "$program\_OBJECTS = " . $realObjs{$program};
+ }
+ substituteLine ($lookup, $new);
+ }
+ appendLines($final_lines . "all-am");
+ appendLines($final_install_lines . "install-am");
+ appendLines($nofinal_lines . "all-am");
+ appendLines($nofinal_install_lines . "install-am");
+
+ my $lookup = '(\@\S+\@)?DEP_FILES\s*=([^\n]*)';
+ if ($MakefileData =~ /\n$lookup\n/o) {
+ my $condition = $1;
+ my $depfiles = $2;
+ my $workfiles;
+
+ if ($dep_finals) {
+ # Add the conditions on every line, since
+ # there may be line continuations in the list.
+ $workfiles = "$dep_files $dep_finals $depfiles";
+ $workfiles =~ s/\034/\034$condition\@KDE_USE_FINAL_TRUE\@\t/g;
+ $lines = "$condition\@KDE_USE_FINAL_TRUE\@DEP_FILES = $workfiles\n";
+ $workfiles = "$dep_files $depfiles";
+ $workfiles =~ s/\034/\034$condition\@KDE_USE_FINAL_FALSE\@\t/g;
+ $lines .= "$condition\@KDE_USE_FINAL_FALSE\@DEP_FILES = $workfiles\n";
+ } else {
+ $workfiles = "$dep_files $depfiles";
+ $workfiles =~ s/\034/\034$condition\t/g;
+ $lines = $condition . "DEP_FILES = $workfiles\n";
+ }
+ substituteLine($lookup, $lines);
+ }
+
+ my $cvs_lines = "cvs-clean:\n";
+ $cvs_lines .= "\t\$(MAKE) admindir=\$(top_srcdir)/admin -f \$(top_srcdir)/admin/Makefile.common cvs-clean\n";
+ appendLines($cvs_lines);
+
+ $cvs_lines = "kde-rpo-clean:\n";
+ $cvs_lines .= "\t-rm -f *.rpo\n";
+ appendLines($cvs_lines);
+ $target_adds{"clean"} .= "kde-rpo-clean ";
+
+ my %target_dels = ("install-data-am" => "");
+
+ # some strange people like to do a install-exec, and expect that also
+ # all modules are installed. automake doesn't know this, so we need to move
+ # this here from install-data to install-exec.
+ if ($MakefileData =~ m/\nkde_module_LTLIBRARIES\s*=/) {
+# $target_adds{"install-exec-am"} .= "install-kde_moduleLTLIBRARIES ";
+# don't use $target_adds here because we need to append the dependency, not
+# prepend it. Fixes #44342 , when a module depends on a lib in the same dir
+# and libtool needs it during relinking upon install (Simon)
+ my $lookup = "install-exec-am:([^\n]*)";
+ if($MakefileData =~ /\n$lookup\n/) {
+ substituteLine("$lookup", "install-exec-am: $1 install-kde_moduleLTLIBRARIES");
+ }
+ $target_dels{"install-data-am"} .= "install-kde_moduleLTLIBRARIES ";
+ $target_adds{"install-data-am"} .= " ";
+ }
+
+ my $lines = "";
+
+ foreach $add (keys %target_adds) {
+ my $lookup = quotemeta($add) . ':([^\n]*)';
+ if ($MakefileData =~ /\n$lookup\n/) {
+ my $newlines = $1;
+ my $oldlines = $lookup;
+ if (defined $target_dels{$add}) {
+ foreach $del (split(' ', $target_dels{$add})) {
+ $newlines =~ s/\s*$del\s*/ /g;
+ }
+ }
+ substituteLine($oldlines, "$add: " . $target_adds{$add} . $newlines);
+ } else {
+ $lines .= "$add: " . $target_adds{$add} . "\n";
+ }
+ }
+ if ($lines) {
+ appendLines($lines);
+ }
+
+ my $found = 1;
+
+ while ($found) {
+ if ($MakefileData =~ m/\n(.*)\$\(CXXFLAGS\)(.*)\n/) {
+ my $vor = $1; # "vor" means before in German
+ my $nach = $2; # "nach" means after in German
+ my $lookup = quotemeta("$1\$(CXXFLAGS)$2");
+ my $replacement = "$1\$(KCXXFLAGS)$2";
+ $MakefileData =~ s/$lookup/$replacement/;
+ $lookup =~ s/\\\$\\\(CXXFLAGS\\\)/\\\$\\\(KCXXFLAGS\\\)/;
+ $replacement = "$vor\$(KCXXFLAGS) \$(KDE_CXXFLAGS)$nach";
+ substituteLine($lookup, $replacement);
+ } else {
+ $found = 0;
+ }
+ }
+
+ if($foreign_libtool == 0) {
+ $lookup = '(\n[^#].*\$\(LIBTOOL\) --mode=link) (\$\(CXXLD\).*\$\(KCXXFLAGS\))';
+
+ if ($MakefileData =~ m/$lookup/ ) {
+ $MakefileData =~ s/$lookup/$1 --tag=CXX $2/;
+ }
+
+ $lookup = '(\n[^#].*\$\(LIBTOOL\) --mode=compile)\s+(\$\(CXX\)\s+)';
+ if ($MakefileData =~ m/$lookup/ ) {
+ $MakefileData =~ s/$lookup/$1 --tag=CXX $2/;
+ }
+ }
+
+ $MakefileData =~ s/\$\(KCXXFLAGS\)/\$\(CXXFLAGS\)/g;
+
+ $lookup = '(.*)cp -pr \$\$/\$\$file \$\(distdir\)/\$\$file(.*)';
+ if ($MakefileData =~ m/\n$lookup\n/) {
+ substituteLine($lookup, "$1cp -pr \$\$d/\$\$file \$(distdir)/\$\$file$2");
+ }
+
+ # Always update the Makefile.in
+ updateMakefile ();
+ return;
+}
+
+#-----------------------------------------------------------------------------
+
+# Beware: This procedure is not complete. E.g. it also parses lines
+# containing a '=' in rules (for instance setting shell vars). For our
+# usage this us enough, though.
+sub read_variables ()
+{
+ while ($MakefileData =~ /\n\s*(\S+)\s*=([^\n]*)/g) {
+ $varcontent{$1} = $2;
+ }
+}
+
+# Check to see whether we should process this make file.
+# This is where we look for tags that we need to process.
+# A small amount of initialising on the tags is also done here.
+# And of course we open and/or create the needed make files.
+sub initialise ()
+{
+ if (! -r "Makefile.am") {
+ print STDOUT "found Makefile.in without Makefile.am\n" if ($verbose);
+ return 0;
+ }
+
+ # Checking for files to process...
+ open (FILEIN, $makefile)
+ || die "Could not open $makefileDir/$makefile: $!\n";
+ # Read the file
+ # stat(FILEIN)[7] might look more elegant, but is slower as it
+ # requires stat'ing the file
+ seek(FILEIN, 0, 2);
+ my $fsize = tell(FILEIN);
+ seek(FILEIN, 0, 0);
+ read FILEIN, $MakefileData, $fsize;
+ close FILEIN;
+ print "DOS CRLF within $makefileDir/$makefile!\n" if($MakefileData =~ y/\r//d);
+
+ # Remove the line continuations, but keep them marked
+ # Note: we lose the trailing spaces but that's ok.
+ # Don't mangle line-leading spaces (usually tabs)
+ # since they're important.
+ $MakefileData =~ s/\\\s*\n/\034/g;
+
+ # If we've processed the file before...
+ restoreMakefile () if ($MakefileData =~ /$progId/);
+
+ foreach $dir (@foreignfiles) {
+ if (substr($makefileDir,0,length($dir)) eq $dir) {
+ return 0;
+ }
+ }
+
+ %kdeopts = ();
+ $kdeopts{"foreign"} = 0;
+ $kdeopts{"qtonly"} = 0;
+ $kdeopts{"noautodist"} = 0;
+ $kdeopts{"foreign-libtool"} = $foreign_libtool;
+ $kdeopts{"nofinal"} = !$use_final; # default
+
+ read_variables();
+
+ if ($MakefileData =~ /\nKDE_OPTIONS\s*=\s*([^\n]*)\n/) {
+ my $kde_options_str = $1;
+ local @kde_options = split(/[\034\s]+/, $kde_options_str);
+ if (grep(/^foreign$/, @kde_options)) {
+ push(@foreignfiles, $makefileDir . "/");
+ return 0; # don't touch me
+ }
+ for $opt (@kde_options) {
+ if (!defined $kdeopts{$opt}) {
+ print STDERR "Warning: unknown option $opt in $printname\n";
+ } else {
+ $kdeopts{$opt} = 1;
+ }
+ }
+ }
+
+ # Look for the tags that mean we should process this file.
+ $metasourceTags = 0;
+ $metasourceTags++ while ($MakefileData =~ /\n[^=\#]*METASOURCES\s*=/g);
+
+ my $pofileTag = 0;
+ $pofileTag++ while ($MakefileData =~ /\nPOFILES\s*=/g);
+ if ($pofileTag > 1)
+ {
+ print STDERR "Error: Only one POFILES tag allowed\n";
+ $errorflag = 1;
+ }
+
+ while ($MakefileData =~ /\n\.SUFFIXES:([^\n]+)\n/g) {
+ my $suffixes_str = $1;
+ my @list=split(' ', $suffixes_str);
+ foreach $ext (@list) {
+ if ($ext =~ /^\.$cppExt$/) {
+ $cxxsuffix = $ext;
+ $cxxsuffix =~ s/\.//g;
+ print STDOUT "will use suffix $cxxsuffix\n" if ($verbose);
+ last;
+ }
+ }
+ }
+
+ while ($MakefileData =~ /\n(\S*)_OBJECTS\s*=[\034\s]*([^\n]*)\n/g) {
+
+ my $program = $1;
+ my $objs = $2; # safe them
+
+ my $ocv = 0;
+
+ my @objlist = split(/[\034\s]+/, $objs);
+ foreach $obj (@objlist) {
+ if ($obj =~ /(\S*)\$\((\S+)\)/ ) {
+ my $pre = $1;
+ my $variable = $2;
+ if ($pre eq '' && exists($varcontent{$variable})) {
+ my @addlist = split(/[\034\s]+/, $varcontent{$variable});
+ push(@objlist, @addlist);
+ } elsif ($variable !~ 'OBJEXT') {
+ $ocv = 1;
+ }
+ }
+ }
+
+ next if ($ocv);
+
+ $program =~ s/^am_// if ($program =~ /^am_/);
+
+ my $sourceprogram = $program;
+ $sourceprogram =~ s/\@am_/\@/ if($sourceprogram =~ /^.*\@am_.+/);
+
+ print STDOUT "found program $program\n" if ($verbose);
+ push(@programs, $program);
+
+ $realObjs{$program} = $objs;
+
+ if ($MakefileData =~ /\n$sourceprogram\_SOURCES\s*=\s*(.*)\n/) {
+ $sources{$program} = $1;
+ }
+ else {
+ $sources{$program} = "";
+ print STDERR "found program with no _SOURCES: $program\n";
+ }
+
+ my $realprogram = $program;
+ $realprogram =~ s/_/./g; # unmask to regexp
+ if ($MakefileData =~ /\n($realprogram)(\$\(EXEEXT\)?)?:.*\$\($program\_OBJECTS\)/) {
+ $realname{$program} = $1;
+ } else {
+ # not standard Makefile - nothing to worry about
+ $realname{$program} = "";
+ }
+ }
+
+ my $lookup = 'DEPDIR\s*=.*';
+ if ($MakefileData !~ /\n($lookup)\n/o) {
+ $lookup = 'bindir\s*=.*';
+ if ($MakefileData =~ /\n($lookup)\n/) {
+ substituteLine ($lookup, "DEPDIR = .deps\n$1");
+ }
+ }
+
+ my @marks = ('MAINTAINERCLEANFILES', 'CLEANFILES', 'DISTCLEANFILES');
+ foreach $mark (@marks) {
+ while ($MakefileData =~ /\n($mark)\s*=\s*([^\n]*)/g) {
+ my $clean_str = $2;
+ foreach $file (split('[\034\s]+', $clean_str)) {
+ $file =~ s/\.\///;
+ push(@cleanfiles, $file);
+ }
+ }
+ }
+
+ my $localTag = 0;
+ $localTag++ if ($MakefileData =~ /\ninstall-\S+-local:/);
+
+ return (!$errorflag);
+}
+
+#-----------------------------------------------------------------------------
+
+# Gets the list of user defined directories - relative to $srcdir - where
+# header files could be located.
+sub tag_META_INCLUDES ()
+{
+ my $lookup = '[^=\n]*META_INCLUDES\s*=\s*(.*)';
+ return 1 if ($MakefileData !~ /($lookup)\n/o);
+ print STDOUT "META_INCLUDE processing <$1>\n" if ($verbose);
+
+ my $headerStr = $2;
+ removeLine ($lookup, $1);
+
+ my @headerlist = split(/[\034\s]+/, $headerStr);
+
+ foreach $dir (@headerlist)
+ {
+ $dir =~ s#\$\(srcdir\)#.#;
+ if (! -d $dir)
+ {
+ print STDERR "Warning: $dir can't be found. ",
+ "Must be a relative path to \$(srcdir)\n";
+ }
+ else
+ {
+ push (@headerdirs, $dir);
+ }
+ }
+
+ return 0;
+}
+
+#-----------------------------------------------------------------------------
+
+sub tag_FINAL()
+{
+ my @final_names = ();
+
+ foreach $program (@programs) {
+
+ if ($sources{$program} =~ /\(/) {
+ print STDOUT "found ( in $program\_SOURCES. skipping\n" if ($verbose);
+ next;
+ }
+
+ my $mocs = ""; # Moc files (in this program)
+ my $moc_cpp_added = 0; # If we added some .moc.cpp files, due to
+ # no other .cpp file including the .moc one.
+
+ my @progsources = split(/[\034\s]+/, $sources{$program});
+ my %shash = ();
+ @shash{@progsources} = 1; # we are only interested in the existence
+ my %sourcelist = ();
+
+ foreach $source (@progsources) {
+ my $suffix = $source;
+ $suffix =~ s/^.*\.([^\.]+)$/$1/;
+
+ $sourcelist{$suffix} .= "$source ";
+ }
+ foreach my $mocFile (keys (%globalmocs))
+ {
+ my ($dir, $hFile, $cppFile) = split ("\035", $globalmocs{$mocFile}, 3);
+ if (defined ($cppFile)) {
+ $mocs .= " $mocFile.moc" if exists $shash{$cppFile};
+ } else {
+ $sourcelist{$cxxsuffix} .= "$mocFile.moc.$cxxsuffix ";
+ $moc_cpp_added = 1;
+ }
+ }
+ foreach $suffix (keys %sourcelist) {
+
+ # See if this file contains c++ code. (i.e., just check the file's suffix against c++ extensions)
+ my $suffix_is_cxx = 0;
+ if($suffix =~ /($cppExt)$/) {
+ $cxxsuffix = $1;
+ $suffix_is_cxx = 1;
+ }
+
+ my $mocfiles_in = ($suffix eq $cxxsuffix) && $moc_cpp_added;
+
+ my @sourcelist = split(/[\034\s]+/, $sourcelist{$suffix});
+
+ if ((@sourcelist == 1 && !$mocfiles_in) || $suffix_is_cxx != 1 ) {
+
+ # we support IDL on our own
+ if ($suffix eq "skel" || $suffix =~ /^stub/
+ || $suffix =~ /^signals/ # obsolete, remove in KDE-4
+ || $suffix eq "h" || $suffix eq "ui" ) {
+ next;
+ }
+
+ foreach $file (@sourcelist) {
+ $file =~ s/\Q$suffix\E$//;
+
+ $finalObjs{$program} .= $file;
+ if ($program =~ /_la$/) {
+ $finalObjs{$program} .= "lo ";
+ } else {
+ $finalObjs{$program} .= "o ";
+ }
+ }
+ next; # suffix
+ }
+
+ my $source_deps = "";
+ foreach $source (@sourcelist) {
+ if (-f $source) {
+ $source_deps .= " \$(srcdir)/$source";
+ } else {
+ $source_deps .= " $source";
+ }
+ }
+
+ $handling = "$program.all_$suffix.$suffix: \$(srcdir)/Makefile.in" . $source_deps . " " . join(' ', $mocs) . "\n";
+ $handling .= "\t\@echo 'creating $program.all_$suffix.$suffix ...'; \\\n";
+ $handling .= "\trm -f $program.all_$suffix.files $program.all_$suffix.final; \\\n";
+ $handling .= "\techo \"#define KDE_USE_FINAL 1\" >> $program.all_$suffix.final; \\\n";
+ $handling .= "\tfor file in " . $sourcelist{$suffix} . "; do \\\n";
+ $handling .= "\t echo \"#include \\\"\$\$file\\\"\" >> $program.all_$suffix.files; \\\n";
+ $handling .= "\t test ! -f \$\(srcdir\)/\$\$file || egrep '^#pragma +implementation' \$\(srcdir\)/\$\$file >> $program.all_$suffix.final; \\\n";
+ $handling .= "\tdone; \\\n";
+ $handling .= "\tcat $program.all_$suffix.final $program.all_$suffix.files > $program.all_$suffix.$suffix; \\\n";
+ $handling .= "\trm -f $program.all_$suffix.final $program.all_$suffix.files\n";
+
+ appendLines($handling);
+
+ push(@final_names, "$program.all_$suffix.$suffix");
+ my $finalObj = "$program.all_$suffix.";
+ if ($program =~ /_la$/) {
+ $finalObj .= "lo";
+ } else {
+ $finalObj .= "o";
+ }
+ $finalObjs{$program} .= $finalObj . " ";
+ }
+ }
+
+ if (!$kdeopts{"nofinal"} && @final_names >= 1) {
+ # add clean-final target
+ my $lines = "$cleantarget-final:\n";
+ $lines .= "\t-rm -f " . join(' ', @final_names) . "\n" if (@final_names);
+ appendLines($lines);
+ $target_adds{"$cleantarget-am"} .= "$cleantarget-final ";
+
+ foreach $finalfile (@final_names) {
+ $finalfile =~ s/\.[^.]*$/.P/;
+ $dep_finals .= " \$(DEPDIR)/$finalfile";
+ }
+ }
+}
+
+#-----------------------------------------------------------------------------
+
+sub tag_COMPILE_FIRST()
+{
+ foreach $program (@programs) {
+ my $lookup = "$program" . '_COMPILE_FIRST\s*=\s*(.*)';
+ if ($MakefileData =~ m/\n$lookup\n/) {
+ my $compilefirst_str = $1;
+ my @compilefirst = split(/[\034\s]+/, $compilefirst_str);
+ my @progsources = split(/[\034\s]+/, $sources{$program});
+ my %donesources = ();
+ $handling = "";
+ foreach $source (@progsources) {
+ my @deps = ();
+ my $sdeps = "";
+ if (-f $source) {
+ $sdeps = "\$(srcdir)/$source";
+ } else {
+ $sdeps = "$source";
+ }
+ foreach $depend (@compilefirst) {
+ next if ($source eq $depend);
+ # avoid cyclic dependencies
+ next if defined($donesources{$depend});
+ push @deps, $depend;
+ }
+ $handling .= "$sdeps: " . join(' ', @deps) . "\n" if (@deps);
+ $donesources{$source} = 1;
+ }
+ appendLines($handling) if (length($handling));
+ }
+ }
+}
+
+#-----------------------------------------------------------------------------
+
+
+# Organises the list of headers that we'll use to produce moc files
+# from.
+sub tag_METASOURCES ()
+{
+ local @newObs = (); # here we add to create object files
+ local @deped = (); # here we add to create moc files
+ local $mocExt = ".moc";
+ local %mocFiles = ();
+
+ my $line = "";
+ my $postEqual = "";
+
+ my $lookup;
+ my $found = "";
+#print "$program: tag_METASOURCES\n";
+ if ($metasourceTags > 1) {
+ $lookup = $program . '_METASOURCES\s*=\s*(.*)';
+ return 1 if ($MakefileData !~ /\n($lookup)\n/);
+ $found = $1;
+ } else {
+ $lookup = $program . '_METASOURCES\s*=\s*(.*)';
+ if ($MakefileData !~ /\n($lookup)\n/) {
+ $lookup = 'METASOURCES\s*=\s*(.*)';
+ return 1 if ($MakefileData !~ /\n($lookup)\n/o);
+ $found = $1;
+ $metasourceTags = 0; # we can use the general target only once
+ } else {
+ $found = $1;
+ }
+ }
+ print STDOUT "METASOURCE processing <$found>)\n" if ($verbose);
+
+ $postEqual = $found;
+ $postEqual =~ s/[^=]*=//;
+
+ removeLine ($lookup, $found);
+
+ # Always find the header files that could be used to "moc"
+ return 1 if (findMocCandidates ());
+
+ if ($postEqual =~ /AUTO\s*(\S*)|USE_AUTOMOC\s*(\S*)/)
+ {
+ print STDERR "$printname: the argument for AUTO|USE_AUTOMOC is obsolete" if ($+);
+ $mocExt = ".moc.$cxxsuffix";
+ $haveAutomocTag = 1;
+ }
+ else
+ {
+ # Not automoc so read the list of files supplied which
+ # should be .moc files.
+
+ $postEqual =~ tr/\034/ /;
+
+ # prune out extra headers - This also checks to make sure that
+ # the list is valid.
+ pruneMocCandidates ($postEqual);
+ }
+
+ checkMocCandidates ();
+
+ if (@newObs) {
+ my $ext = ($program =~ /_la$/) ? ".moc.lo " : ".moc.o ";
+ $realObjs{$program} .= "\034" . join ($ext, @newObs) . $ext;
+ $depedmocs{$program} = join (".moc.$cxxsuffix " , @newObs) . ".moc.$cxxsuffix";
+ foreach $file (@newObs) {
+ $dep_files .= " \$(DEPDIR)/$file.moc.P" if($dep_files !~/$file.moc.P/);
+ }
+ }
+ if (@deped) {
+ $depedmocs{$program} .= " ";
+ $depedmocs{$program} .= join('.moc ', @deped) . ".moc";
+ $depedmocs{$program} .= " ";
+ }
+ addMocRules ();
+ @globalmocs{keys %mocFiles}=values %mocFiles;
+}
+
+#-----------------------------------------------------------------------------
+
+# Returns 0 if the line was processed - 1 otherwise.
+# Errors are logged in the global $errorflags
+sub tag_AUTOMAKE ()
+{
+ my $lookup = '.*cd \$\(top_srcdir\)\s+&&[\034\s]+\$\(AUTOMAKE\)(.*)';
+ return 1 if ($MakefileData !~ /\n($lookup)\n/);
+ print STDOUT "AUTOMAKE processing <$1>\n" if ($verbose);
+
+ my $newLine = $1."\n\tcd \$(top_srcdir) && perl $thisProg $printname";
+ substituteLine ($lookup, $newLine);
+ $automkCall = $1;
+ return 0;
+}
+
+#-----------------------------------------------------------------------------
+
+sub handle_TOPLEVEL()
+{
+ my $pofiles = "";
+ my @restfiles = ();
+ opendir (THISDIR, ".");
+ foreach $entry (readdir(THISDIR)) {
+ next if (-d $entry);
+
+ next if ($entry eq "CVS" || $entry =~ /^\./ || $entry =~ /^Makefile/ || $entry =~ /~$/ || $entry =~ /^\#.*\#$/ || $entry =~ /.gmo$/);
+
+ if ($entry =~ /\.po$/) {
+ next;
+ }
+ push(@restfiles, $entry);
+ }
+ closedir (THISDIR);
+
+ if (@restfiles) {
+ $target_adds{"install-data-am"} .= "install-nls-files ";
+ $lines = "install-nls-files:\n";
+ $lines .= "\t\$(mkinstalldirs) \$(DESTDIR)\$(kde_locale)/$kdelang\n";
+ for $file (@restfiles) {
+ $lines .= "\t\$(INSTALL_DATA) \$\(srcdir\)/$file \$(DESTDIR)\$(kde_locale)/$kdelang/$file\n";
+ }
+ $target_adds{"uninstall"} .= "uninstall-nls-files ";
+ $lines .= "uninstall-nls-files:\n";
+ for $file (@restfiles) {
+ $lines .= "\t-rm -f \$(DESTDIR)\$(kde_locale)/$kdelang/$file\n";
+ }
+ appendLines($lines);
+ }
+
+ return 0;
+}
+
+#-----------------------------------------------------------------------------
+
+sub tag_SUBDIRS ()
+{
+ if ($MakefileData !~ /\nSUBDIRS\s*=\s*\$\(AUTODIRS\)\s*\n/) {
+ return 1;
+ }
+
+ my $subdirs = ".";
+
+ opendir (THISDIR, ".");
+ foreach $entry (readdir(THISDIR)) {
+ next if ($entry eq "CVS" || $entry =~ /^\./);
+ if (-d $entry && -f $entry . "/Makefile.am") {
+ $subdirs .= " $entry";
+ next;
+ }
+ }
+ closedir (THISDIR);
+
+ my $lines = "SUBDIRS =$subdirs\n";
+ substituteLine('SUBDIRS\s*=.*', $lines);
+ return 0;
+}
+
+sub tag_IDLFILES ()
+{
+ my @psources = split(/[\034\s]+/, $sources{$program});
+ my $dep_lines = "";
+ my @cppFiles = ();
+
+ foreach $source (@psources) {
+
+ my $skel = ($source =~ m/\.skel$/);
+ my $stub = ($source =~ m/\.stub$/);
+ my $signals = ($source =~ m/\.signals$/); # obsolete, remove in KDE-4
+
+ if ($stub || $skel || $signals) {
+
+ my $qs = quotemeta($source);
+ $sources{$program} =~ s/$qs//;
+ $sources_changed{$program} = 1;
+
+ print STDOUT "adding IDL file $source\n" if ($verbose);
+
+ $source =~ s/\.(stub|skel|signals)$//;
+
+ my $sourcename;
+
+ if ($skel) {
+ $sourcename = "$source\_skel";
+ } elsif ($stub) {
+ $sourcename = "$source\_stub";
+ } else {
+ $sourcename = "$source\_signals";
+ }
+
+ my $sourcedir = '';
+ if (-f "$makefileDir/$source.h") {
+ $sourcedir = '$(srcdir)/';
+ } else {
+ if ($MakefileData =~ /\n$source\_DIR\s*=\s*(\S+)\n/) {
+ $sourcedir = $1;
+ $sourcedir .= "/" if ($sourcedir !~ /\/$/);
+ }
+ }
+
+ if ($allidls !~ /$source\_kidl/) {
+
+ $dep_lines .= "$source.kidl: $sourcedir$source.h \$(DCOP_DEPENDENCIES)\n";
+ $dep_lines .= "\t\$(DCOPIDL) $sourcedir$source.h > $source.kidl || ( rm -f $source.kidl ; false )\n";
+
+ $allidls .= $source . "_kidl ";
+ }
+
+ if ($allidls !~ /$sourcename/) {
+
+ $dep_lines_tmp = "";
+
+ if ($skel) {
+ $dep_lines .= "$sourcename.$cxxsuffix: $source.kidl\n";
+ $dep_lines .= "\t\$(DCOPIDL2CPP) --c++-suffix $cxxsuffix --no-signals --no-stub $source.kidl\n";
+ } elsif ($stub) {
+ $dep_lines_tmp = "\t\$(DCOPIDL2CPP) --c++-suffix $cxxsuffix --no-signals --no-skel $source.kidl\n";
+ } else { # signals - obsolete, remove in KDE 4
+ $dep_lines_tmp = "\t\$(DCOPIDL2CPP) --c++-suffix $cxxsuffix --no-stub --no-skel $source.kidl\n";
+ }
+
+ if ($stub || $signals) {
+ $target_adds{"$sourcename.$cxxsuffix"} .= "$sourcename.h ";
+ $dep_lines .= "$sourcename.h: $source.kidl\n";
+ $dep_lines .= $dep_lines_tmp;
+ }
+
+ $allidls .= $sourcename . " ";
+ }
+
+ $idlfiles{$program} .= $sourcename . " ";
+
+ if ($program =~ /_la$/) {
+ $realObjs{$program} .= " $sourcename.lo";
+ } else {
+ $realObjs{$program} .= " $sourcename.\$(OBJEXT)";
+ }
+ $sources{$program} .= " $sourcename.$cxxsuffix";
+ $sources_changed{$program} = 1;
+ $important{$program} .= "$sourcename.h " if (!$skel);
+ $idl_output .= "\\\n\t$sourcename.$cxxsuffix $sourcename.h $source.kidl ";
+ push(@cleanfiles, "$sourcename.$cxxsuffix");
+ push(@cleanfiles, "$sourcename.h");
+ push(@cleanfiles, "$sourcename.kidl");
+ $dep_files .= " \$(DEPDIR)/$sourcename.P" if ($dep_files !~/$sourcename.P/);
+ }
+ }
+ if ($dep_lines) {
+ appendLines($dep_lines);
+ }
+
+ if (0) {
+ my $lookup = "($program)";
+ $lookup .= '(|\$\(EXEEXT\))';
+ $lookup =~ s/\_/./g;
+ $lookup .= ":(.*..$program\_OBJECTS..*)";
+ # $lookup = quotemeta($lookup);
+ if ($MakefileData =~ /\n$lookup\n/) {
+
+ my $line = "$1$2: ";
+ foreach $file (split(' ', $idlfiles{$program})) {
+ $line .= "$file.$cxxsuffix ";
+ }
+ $line .= $3;
+ substituteLine($lookup, $line);
+ } else {
+ print STDERR "no built dependency found $lookup\n";
+ }
+ }
+}
+
+sub tag_UIFILES ()
+{
+ my @psources = split(/[\034\s]+/, $sources{$program});
+ my $dep_lines = "";
+ my @depFiles = ();
+
+ foreach $source (@psources) {
+
+ if ($source =~ m/\.ui$/) {
+
+ print STDERR "adding UI file $source\n" if ($verbose);
+
+ my $qs = quotemeta($source);
+ $sources{$program} =~ s/$qs//;
+ $sources_changed{$program} = 1;
+
+ $source =~ s/\.ui$//;
+
+ my $sourcedir = '';
+ if (-f "$makefileDir/$source.ui") {
+ $sourcedir = '$(srcdir)/';
+ }
+
+ if (!$uiFiles{$source}) {
+
+ $dep_lines .= "$source.$cxxsuffix: $sourcedir$source.ui $source.h $source.moc\n";
+ $dep_lines .= "\trm -f $source.$cxxsuffix\n";
+ if (!$kdeopts{"qtonly"}) {
+ $dep_lines .= "\techo '#include <klocale.h>' > $source.$cxxsuffix\n";
+ my ($mangled_source) = $source;
+ $mangled_source =~ s/[^A-Za-z0-9]/_/g; # get rid of garbage
+ $dep_lines .= "\t\$(UIC) -tr \${UIC_TR} -i $source.h $sourcedir$source.ui > $source.$cxxsuffix.temp ; ret=\$\$?; \\\n";
+ $dep_lines .= "\tsed -e \"s,\${UIC_TR}( \\\"\\\" ),QString::null,g\" $source.$cxxsuffix.temp | sed -e \"s,\${UIC_TR}( \\\"\\\"\\, \\\"\\\" ),QString::null,g\" | sed -e \"s,image\\([0-9][0-9]*\\)_data,img\\1_" . $mangled_source . ",g\" >> $source.$cxxsuffix ;\\\n";
+ $dep_lines .= "\trm -f $source.$cxxsuffix.temp ;\\\n";
+ } else {
+ $dep_lines .= "\t\$(UIC) -i $source.h $sourcedir$source.ui > $source.$cxxsuffix; ret=\$\$?; \\\n";
+ }
+ $dep_lines .= "\tif test \"\$\$ret\" = 0; then echo '#include \"$source.moc\"' >> $source.$cxxsuffix; else rm -f $source.$cxxsuffix ; exit \$\$ret ; fi\n\n";
+ $dep_lines .= "$source.h: $sourcedir$source.ui\n";
+ $dep_lines .= "\t\$(UIC) -o $source.h $sourcedir$source.ui\n\n";
+ $dep_lines .= "$source.moc: $source.h\n";
+ $dep_lines .= "\t\$(MOC) $source.h -o $source.moc\n";
+
+ $uiFiles{$source} = 1;
+ $depedmocs{$program} .= " $source.moc";
+ $globalmocs{$source} = "\035$source.h\035$source.cpp";
+ }
+
+ if ($program =~ /_la$/) {
+ $realObjs{$program} .= " $source.lo";
+ } else {
+ $realObjs{$program} .= " $source.\$(OBJEXT)";
+ }
+ $sources{$program} .= " $source.$cxxsuffix";
+ $sources_changed{$program} = 1;
+ $important{$program} .= "$source.h ";
+ $ui_output .= "\\\n\t$source.$cxxsuffix $source.h $source.moc ";
+ push(@cleanfiles, "$source.$cxxsuffix");
+ push(@cleanfiles, "source.h");
+ push(@cleanfiles, "$source.moc");
+ $dep_files .= " \$(DEPDIR)/$source.P" if($dep_files !~/$source.P/ );
+ }
+ }
+ if ($dep_lines) {
+ appendLines($dep_lines);
+ }
+}
+
+sub tag_ICON()
+{
+ my $lookup = '([^\s]*)_ICON\s*=\s*([^\n]*)';
+ my $install = "";
+ my $uninstall = "";
+
+ while ($MakefileData =~ /\n$lookup/og) {
+ my $destdir;
+ if ($1 eq "KDE") {
+ $destdir = "kde_icondir";
+ } else {
+ $destdir = $1 . "dir";
+ }
+ my $iconauto = ($2 =~ /AUTO\s*$/);
+ my @appnames = ();
+ if ( ! $iconauto ) {
+ my $appicon_str = $2;
+ my @_appnames = split(" ", $appicon_str);
+ print STDOUT "KDE_ICON processing <@_appnames>\n" if ($verbose);
+ foreach $appname (@_appnames) {
+ push(@appnames, quotemeta($appname));
+ }
+ } else {
+ print STDOUT "KDE_ICON processing <AUTO>\n" if ($verbose);
+ }
+
+ my @files = ();
+ opendir (THISDIR, ".");
+ foreach $entry (readdir(THISDIR)) {
+ next if ($entry eq "CVS" || $entry =~ /^\./ || $entry =~ /^Makefile/ || $entry =~ /~$/ || $entry =~ /^\#.*\#$/);
+ next if (! -f $entry);
+ if ( $iconauto )
+ {
+ push(@files, $entry)
+ if ($entry =~ /\.xpm/ || $entry =~ /\.png/ || $entry =~ /\.mng/ || $entry =~ /\.svg/);
+ } else {
+ foreach $appname (@appnames) {
+ push(@files, $entry)
+ if ($entry =~ /-$appname\.xpm/ || $entry =~ /-$appname\.png/ || $entry =~ /-$appname\.mng/ || $entry =~ /-$appname\.svg/);
+ }
+ }
+ }
+ closedir (THISDIR);
+
+ my %directories = ();
+
+ foreach $file (@files) {
+ my $newfile = $file;
+ my $prefix = $file;
+ $prefix =~ s/\.(png|xpm|mng|svg|svgz)$//;
+ my $appname = $prefix;
+ $appname =~ s/^[^-]+-// if ($appname =~ /-/) ;
+ $appname =~ s/^[^-]+-// if ($appname =~ /-/) ;
+ $appname = quotemeta($appname);
+ $prefix =~ s/$appname$//;
+ $prefix =~ s/-$//;
+
+ $prefix = 'lo16-app' if ($prefix eq 'mini');
+ $prefix = 'lo32-app' if ($prefix eq 'lo');
+ $prefix = 'hi48-app' if ($prefix eq 'large');
+ $prefix .= '-app' if ($prefix =~ m/^...$/);
+
+ my $type = $prefix;
+ $type =~ s/^.*-([^-]+)$/$1/;
+ $prefix =~ s/^(.*)-[^-]+$/$1/;
+
+ my %type_hash =
+ (
+ 'action' => 'actions',
+ 'app' => 'apps',
+ 'device' => 'devices',
+ 'filesys' => 'filesystems',
+ 'mime' => 'mimetypes'
+ );
+
+ if (! defined $type_hash{$type} ) {
+ print STDERR "unknown icon type $type in $printname ($file)\n";
+ next;
+ }
+
+ my %dir_hash =
+ (
+ 'los' => 'locolor/16x16',
+ 'lom' => 'locolor/32x32',
+ 'him' => 'hicolor/32x32',
+ 'hil' => 'hicolor/48x48',
+ 'lo16' => 'locolor/16x16',
+ 'lo22' => 'locolor/22x22',
+ 'lo32' => 'locolor/32x32',
+ 'hi16' => 'hicolor/16x16',
+ 'hi22' => 'hicolor/22x22',
+ 'hi32' => 'hicolor/32x32',
+ 'hi48' => 'hicolor/48x48',
+ 'hi64' => 'hicolor/64x64',
+ 'hi128' => 'hicolor/128x128',
+ 'hisc' => 'hicolor/scalable',
+ 'cr16' => 'crystalsvg/16x16',
+ 'cr22' => 'crystalsvg/22x22',
+ 'cr32' => 'crystalsvg/32x32',
+ 'cr48' => 'crystalsvg/48x48',
+ 'cr64' => 'crystalsvg/64x64',
+ 'cr128' => 'crystalsvg/128x128',
+ 'crsc' => 'crystalsvg/scalable'
+ );
+
+ $newfile =~ s@.*-($appname\.(png|xpm|mng|svgz|svg?))@$1@;
+
+ if (! defined $dir_hash{$prefix}) {
+ print STDERR "unknown icon prefix $prefix in $printname\n";
+ next;
+ }
+
+ my $dir = $dir_hash{$prefix} . "/" . $type_hash{$type};
+ if ($newfile =~ /-[^\.]/) {
+ my $tmp = $newfile;
+ $tmp =~ s/^([^-]+)-.*$/$1/;
+ $dir = $dir . "/" . $tmp;
+ $newfile =~ s/^[^-]+-//;
+ }
+
+ if (!defined $directories{$dir}) {
+ $install .= "\t\$(mkinstalldirs) \$(DESTDIR)\$($destdir)/$dir\n";
+ $directories{$dir} = 1;
+ }
+
+ $install .= "\t\$(INSTALL_DATA) \$(srcdir)/$file \$(DESTDIR)\$($destdir)/$dir/$newfile\n";
+ $uninstall .= "\t-rm -f \$(DESTDIR)\$($destdir)/$dir/$newfile\n";
+
+ }
+ }
+
+ if (length($install)) {
+ $target_adds{"install-data-am"} .= "install-kde-icons ";
+ $target_adds{"uninstall-am"} .= "uninstall-kde-icons ";
+ appendLines("install-kde-icons:\n" . $install . "\nuninstall-kde-icons:\n" . $uninstall);
+ }
+}
+
+sub handle_POFILES($$)
+{
+ my @pofiles = split(" ", $_[0]);
+ my $lang = $_[1];
+
+ # Build rules for creating the gmo files
+ my $tmp = "";
+ my $allgmofiles = "";
+ my $pofileLine = "POFILES =";
+ foreach $pofile (@pofiles)
+ {
+ $pofile =~ /(.*)\.[^\.]*$/; # Find name minus extension
+ $tmp .= "$1.gmo: $pofile\n";
+ $tmp .= "\trm -f $1.gmo; \$(GMSGFMT) -o $1.gmo \$(srcdir)/$pofile\n";
+ $tmp .= "\ttest ! -f $1.gmo || touch $1.gmo\n";
+ $allgmofiles .= " $1.gmo";
+ $pofileLine .= " $1.po";
+ }
+ appendLines ($tmp);
+ my $lookup = 'POFILES\s*=([^\n]*)';
+ if ($MakefileData !~ /\n$lookup/o) {
+ appendLines("$pofileLine\nGMOFILES =$allgmofiles");
+ } else {
+ substituteLine ($lookup, "$pofileLine\nGMOFILES =$allgmofiles");
+ }
+
+ if ($allgmofiles) {
+
+ # Add the "clean" rule so that the maintainer-clean does something
+ appendLines ("clean-nls:\n\t-rm -f $allgmofiles\n");
+
+ $target_adds{"maintainer-clean"} .= "clean-nls ";
+
+ $lookup = 'DISTFILES\s*=\s*(.*)';
+ if ($MakefileData =~ /\n$lookup\n/o) {
+ $tmp = "DISTFILES = \$(GMOFILES) \$(POFILES) $1";
+ substituteLine ($lookup, $tmp);
+ }
+ }
+
+ $target_adds{"install-data-am"} .= "install-nls ";
+
+ $tmp = "install-nls:\n";
+ if ($lang) {
+ $tmp .= "\t\$(mkinstalldirs) \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES\n";
+ }
+ $tmp .= "\t\@for base in ";
+ foreach $pofile (@pofiles)
+ {
+ $pofile =~ /(.*)\.[^\.]*$/; # Find name minus extension
+ $tmp .= "$1 ";
+ }
+
+ $tmp .= "; do \\\n";
+ if ($lang) {
+ $tmp .= "\t echo \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES/\$\$base.mo ;\\\n";
+ $tmp .= "\t if test -f \$\$base.gmo; then \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES/\$\$base.mo ;\\\n";
+ $tmp .= "\t elif test -f \$(srcdir)/\$\$base.gmo; then \$(INSTALL_DATA) \$(srcdir)/\$\$base.gmo \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES/\$\$base.mo ;\\\n";
+ $tmp .= "\t fi ;\\\n";
+ } else {
+ $tmp .= "\t echo \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE).mo ;\\\n";
+ $tmp .= "\t \$(mkinstalldirs) \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES ; \\\n";
+ $tmp .= "\t if test -f \$\$base.gmo; then \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE).mo ;\\\n";
+ $tmp .= "\t elif test -f \$(srcdir)/\$\$base.gmo; then \$(INSTALL_DATA) \$(srcdir)/\$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE).mo ;\\\n";
+ $tmp .= "\t fi ;\\\n";
+ }
+ $tmp .= "\tdone\n\n";
+ appendLines ($tmp);
+
+ $target_adds{"uninstall"} .= "uninstall-nls ";
+
+ $tmp = "uninstall-nls:\n";
+ foreach $pofile (@pofiles)
+ {
+ $pofile =~ /(.*)\.[^\.]*$/; # Find name minus extension
+ if ($lang) {
+ $tmp .= "\trm -f \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES/$1.mo\n";
+ } else {
+ $tmp .= "\trm -f \$(DESTDIR)\$(kde_locale)/$1/LC_MESSAGES/\$(PACKAGE).mo\n";
+ }
+ }
+ appendLines($tmp);
+
+ $target_adds{"all"} .= "all-nls ";
+
+ $tmp = "all-nls: \$(GMOFILES)\n";
+
+ appendLines($tmp);
+
+ $target_adds{"distdir"} .= "distdir-nls ";
+
+ $tmp = "distdir-nls:\$(GMOFILES)\n";
+ $tmp .= "\tfor file in \$(POFILES); do \\\n";
+ $tmp .= "\t cp \$(srcdir)/\$\$file \$(distdir); \\\n";
+ $tmp .= "\tdone\n";
+ $tmp .= "\tfor file in \$(GMOFILES); do \\\n";
+ $tmp .= "\t cp \$(srcdir)/\$\$file \$(distdir); \\\n";
+ $tmp .= "\tdone\n";
+
+ appendLines ($tmp);
+
+ if (!$lang) {
+ appendLines("merge:\n\t\$(MAKE) -f \$(top_srcdir)/admin/Makefile.common package-merge POFILES=\"\${POFILES}\" PACKAGE=\${PACKAGE}\n\n");
+ }
+
+}
+
+#-----------------------------------------------------------------------------
+
+# Returns 0 if the line was processed - 1 otherwise.
+# Errors are logged in the global $errorflags
+sub tag_POFILES ()
+{
+ my $lookup = 'POFILES\s*=([^\n]*)';
+ return 1 if ($MakefileData !~ /\n$lookup/o);
+ print STDOUT "POFILES processing <$1>\n" if ($verbose);
+
+ my $tmp = $1;
+
+ # make sure these are all gone.
+ if ($MakefileData =~ /\n\.po\.gmo:\n/)
+ {
+ print STDERR "Warning: Found old .po.gmo rules in $printname. New po rules not added\n";
+ return 1;
+ }
+
+ # Either find the pofiles in the directory (AUTO) or use
+ # only the specified po files.
+ my $pofiles = "";
+ if ($tmp =~ /^\s*AUTO\s*$/)
+ {
+ opendir (THISDIR, ".");
+ $pofiles = join(" ", grep(/\.po$/, readdir(THISDIR)));
+ closedir (THISDIR);
+ print STDOUT "pofiles found = $pofiles\n" if ($verbose);
+ if (-f "charset" && -f "kdelibs.po") {
+ handle_TOPLEVEL();
+ }
+ }
+ else
+ {
+ $tmp =~ s/\034/ /g;
+ $pofiles = $tmp;
+ }
+ return 1 if (!$pofiles); # Nothing to do
+
+ handle_POFILES($pofiles, $kdelang);
+
+ return 0;
+}
+
+sub helper_LOCALINSTALL($)
+{
+ my $lookup = "\035" . $_[0] . " *:[^\035]*\035\t";
+ my $copy = $MakefileData;
+ $copy =~ s/\n/\035/g;
+ if ($copy =~ /($lookup.*)$/) {
+
+ $install = $1;
+ $install =~ s/\035$_[0] *:[^\035]*\035//;
+ my $emptyline = 0;
+ while (! $emptyline ) {
+ if ($install =~ /([^\035]*)\035(.*)/) {
+ local $line = $1;
+ $install = $2;
+ if ($line !~ /^\s*$/ && $line !~ /^(\@.*\@)*\t/) {
+ $emptyline = 1;
+ } else {
+ replaceDestDir($line);
+ }
+ } else {
+ $emptyline = 1;
+ }
+ }
+ }
+
+}
+
+sub tag_LOCALINSTALL ()
+{
+ helper_LOCALINSTALL('install-exec-local');
+ helper_LOCALINSTALL('install-data-local');
+ helper_LOCALINSTALL('uninstall-local');
+
+ return 0;
+}
+
+sub replaceDestDir($) {
+ local $line = $_[0];
+
+ if ( $line =~ /^\s*(\@.*\@)*\s*\$\(mkinstalldirs\)/
+ || $line =~ /^\s*(\@.*\@)*\s*\$\(INSTALL\S*\)/
+ || $line =~ /^\s*(\@.*\@)*\s*(-?rm.*) \S*$/)
+ {
+ $line =~ s/^(.*) ([^\s]+)\s*$/$1 \$(DESTDIR)$2/ if ($line !~ /\$\(DESTDIR\)/);
+ }
+
+ if ($line ne $_[0]) {
+ $_[0] = quotemeta $_[0];
+ substituteLine($_[0], $line);
+ }
+}
+
+#---------------------------------------------------------------------------
+sub tag_CLOSURE () {
+ return if ($program !~ /_la$/);
+
+ my $lookup = quotemeta($realname{$program}) . ":.*?\n\t.*?\\((.*?)\\) .*\n";
+ $MakefileData =~ m/$lookup/;
+ return if ($1 !~ /CXXLINK/);
+
+ if ($MakefileData !~ /\n$program\_LDFLAGS\s*=.*-no-undefined/ &&
+ $MakefileData !~ /\n$program\_LDFLAGS\s*=.*KDE_PLUGIN/ ) {
+ print STDERR "Report: $program contains undefined in $printname\n" if ($program =~ /^lib/ && $dryrun);
+ return;
+ }
+
+ my $closure = $realname{$program} . ".closure";
+ my $lines = "$closure: \$($program\_OBJECTS) \$($program\_DEPENDENCIES)\n";
+ $lines .= "\t\@echo \"int main() {return 0;}\" > $program\_closure.$cxxsuffix\n";
+ $lines .= "\t\@\$\(LTCXXCOMPILE\) -c $program\_closure.$cxxsuffix\n";
+ $lines .= "\t\$\(CXXLINK\) $program\_closure.lo \$($program\_LDFLAGS) \$($program\_OBJECTS) \$($program\_LIBADD) \$(LIBS)\n";
+ $lines .= "\t\@rm -f $program\_closure.* $closure\n";
+ $lines .= "\t\@echo \"timestamp\" > $closure\n";
+ $lines .= "\n";
+ appendLines($lines);
+ $lookup = $realname{$program} . ": (.*)";
+ if ($MakefileData =~ /\n$lookup\n/) {
+ $lines = "\@KDE_USE_CLOSURE_TRUE@". $realname{$program} . ": $closure $1";
+ $lines .= "\n\@KDE_USE_CLOSURE_FALSE@" . $realname{$program} . ": $1";
+ substituteLine($lookup, $lines);
+ }
+ $closure_output .= " $closure";
+}
+
+sub tag_DIST () {
+ my %foundfiles = ();
+ opendir (THISDIR, ".");
+ foreach $entry (readdir(THISDIR)) {
+ next if ($entry eq "CVS" || $entry =~ /^\./ || $entry eq "Makefile" || $entry =~ /~$/ || $entry =~ /^\#.*\#$/);
+ next if (! -f $entry);
+ next if ($entry =~ /\.moc/ || $entry =~ /\.moc.$cppExt$/ || $entry =~ /\.lo$/ || $entry =~ /\.la$/ || $entry =~ /\.o/);
+ next if ($entry =~ /\.all_$cppExt\.$cppExt$/);
+ $foundfiles{$entry} = 1;
+ }
+ closedir (THISDIR);
+
+ # doing this for MAINTAINERCLEANFILES would be wrong
+ my @marks = ("EXTRA_DIST", "DIST_COMMON", '\S*_SOURCES', '\S*_HEADERS', 'CLEANFILES', 'DISTCLEANFILES', '\S*_OBJECTS');
+ foreach $mark (@marks) {
+ while ($MakefileData =~ /\n($mark)\s*=\s*([^\n]*)/g) {
+ my $cleanfiles_str = $2;
+ foreach $file (split('[\034\s]+', $cleanfiles_str)) {
+ $file =~ s/\.\///;
+ $foundfiles{$file} = 0 if (defined $foundfiles{$file});
+ }
+ }
+ }
+ my @files = ("Makefile", "config.cache", "config.log", "stamp-h",
+ "stamp-h1", "stamp-h1", "config.h", "Makefile",
+ "config.status", "config.h", "libtool", "core" );
+ foreach $file (@files) {
+ $foundfiles{$file} = 0 if (defined $foundfiles{$file});
+ }
+
+ my $KDE_DIST = "";
+ foreach $file (keys %foundfiles) {
+ if ($foundfiles{$file} == 1) {
+ $KDE_DIST .= "$file ";
+ }
+ }
+ if ($KDE_DIST) {
+ print "KDE_DIST $printname $KDE_DIST\n" if ($verbose);
+
+ my $lookup = "DISTFILES *=(.*)";
+ if ($MakefileData =~ /\n$lookup\n/o) {
+ substituteLine($lookup, "KDE_DIST=$KDE_DIST\n\nDISTFILES=$1 \$(KDE_DIST)\n");
+ }
+ }
+}
+
+#-----------------------------------------------------------------------------
+# Returns 0 if the line was processed - 1 otherwise.
+# Errors are logged in the global $errorflags
+sub tag_DOCFILES ()
+{
+ $target_adds{"all"} .= "docs-am ";
+
+ my $lookup = 'KDE_DOCS\s*=\s*([^\n]*)';
+ goto nodocs if ($MakefileData !~ /\n$lookup/o);
+ print STDOUT "KDE_DOCS processing <$1>\n" if ($verbose);
+
+ my $tmp = $1;
+
+ # Either find the files in the directory (AUTO) or use
+ # only the specified po files.
+ my $files = "";
+ my $appname = $tmp;
+ $appname =~ s/^(\S*)\s*.*$/$1/;
+ if ($appname =~ /AUTO/) {
+ $appname = basename($makefileDir);
+ if ("$appname" eq "en") {
+ print STDERR "Error: KDE_DOCS = AUTO relies on the directory name. Yours is 'en' - you most likely want something else, e.g. KDE_DOCS = myapp\n";
+ exit(1);
+ }
+ }
+
+ if ($tmp !~ / - /)
+ {
+ opendir (THISDIR, ".");
+ foreach $entry (readdir(THISDIR)) {
+ next if ($entry eq "CVS" || $entry =~ /^\./ || $entry =~ /^Makefile/ || $entry =~ /~$/ || $entry =~ /^\#.*\#$/ || $entry eq "core" || $entry eq "index.cache.bz2");
+ next if (! -f $entry);
+ $files .= "$entry ";
+ }
+ closedir (THISDIR);
+ print STDOUT "docfiles found = $files\n" if ($verbose);
+ }
+ else
+ {
+ $tmp =~ s/\034/ /g;
+ $tmp =~ s/^\S*\s*-\s*//;
+ $files = $tmp;
+ }
+ goto nodocs if (!$files); # Nothing to do
+
+ if ($files =~ /(^| )index\.docbook($| )/) {
+
+ my $lines = "";
+ my $lookup = 'MEINPROC\s*=';
+ if ($MakefileData !~ /\n($lookup)/) {
+ $lines = "MEINPROC=/\$(kde_bindir)/meinproc\n";
+ }
+ $lookup = 'KDE_XSL_STYLESHEET\s*=';
+ if ($MakefileData !~ /\n($lookup)/) {
+ $lines .= "KDE_XSL_STYLESHEET=/\$(kde_datadir)/ksgmltools2/customization/kde-chunk.xsl\n";
+ }
+ $lookup = '\nindex.cache.bz2:';
+ if ($MakefileData !~ /\n($lookup)/) {
+ $lines .= "index.cache.bz2: \$(srcdir)/index.docbook \$(KDE_XSL_STYLESHEET) $files\n";
+ $lines .= "\t\@if test -n \"\$(MEINPROC)\"; then echo \$(MEINPROC) --check --cache index.cache.bz2 \$(srcdir)/index.docbook; \$(MEINPROC) --check --cache index.cache.bz2 \$(srcdir)/index.docbook || true; fi\n";
+ $lines .= "\n";
+ }
+
+ $lines .= "docs-am: index.cache.bz2\n";
+ $lines .= "\n";
+ $lines .= "install-docs: docs-am install-nls\n";
+ $lines .= "\t\$(mkinstalldirs) \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname\n";
+ $lines .= "\t\@if test -f index.cache.bz2; then \\\n";
+ $lines .= "\techo \$(INSTALL_DATA) index.cache.bz2 \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/; \\\n";
+ $lines .= "\t\$(INSTALL_DATA) index.cache.bz2 \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/; \\\n";
+ $lines .= "\telif test -f \$(srcdir)/index.cache.bz2; then \\\n";
+ $lines .= "\techo \$(INSTALL_DATA) \$(srcdir)/index.cache.bz2 \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/; \\\n";
+ $lines .= "\t\$(INSTALL_DATA) \$(srcdir)/index.cache.bz2 \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/; \\\n";
+ $lines .= "\tfi\n";
+ $lines .= "\t-rm -f \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/common\n";
+ $lines .= "\t\$(LN_S) \$(kde_libs_htmldir)/$kdelang/common \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/common\n";
+
+ $lines .= "\n";
+ $lines .= "uninstall-docs:\n";
+ $lines .= "\t-rm -rf \$(kde_htmldir)/$kdelang/$appname\n";
+ $lines .= "\n";
+ $lines .= "clean-docs:\n";
+ $lines .= "\t-rm -f index.cache.bz2\n";
+ $lines .= "\n";
+ $target_adds{"install-data-am"} .= "install-docs ";
+ $target_adds{"uninstall"} .= "uninstall-docs ";
+ $target_adds{"clean-am"} .= "clean-docs ";
+ appendLines ($lines);
+ } else {
+ appendLines("docs-am: $files\n");
+ }
+
+ $target_adds{"install-data-am"} .= "install-nls ";
+ $target_adds{"uninstall"} .= "uninstall-nls ";
+
+ $tmp = "install-nls:\n";
+ $tmp .= "\t\$(mkinstalldirs) \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname\n";
+ $tmp .= "\t\@for base in $files; do \\\n";
+ $tmp .= "\t echo \$(INSTALL_DATA) \$\$base \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/\$\$base ;\\\n";
+ $tmp .= "\t \$(INSTALL_DATA) \$(srcdir)/\$\$base \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/\$\$base ;\\\n";
+ $tmp .= "\tdone\n";
+ if ($appname eq 'common') {
+ $tmp .= "\t\@echo \"merging common and language specific dir\" ;\\\n";
+ $tmp .= "\tif test ! -f \$(kde_htmldir)/en/common/kde-common.css; then echo 'no english docs found in \$(kde_htmldir)/en/common/'; exit 1; fi \n";
+ $tmp .= "\t\@com_files=`cd \$(kde_htmldir)/en/common && echo *` ;\\\n";
+ $tmp .= "\tcd \$(DESTDIR)\$(kde_htmldir)/$kdelang/common ;\\\n";
+ $tmp .= "\tif test -n \"\$\$com_files\"; then for p in \$\$com_files ; do \\\n";
+ $tmp .= "\t case \" $files \" in \\\n";
+ $tmp .= "\t *\" \$\$p \"*) ;; \\\n";
+ $tmp .= "\t *) test ! -f \$\$p && echo \$(LN_S) ../../en/common/\$\$p \$(DESTDIR)\$(kde_htmldir)/$kdelang/common/\$\$p && \$(LN_S) ../../en/common/\$\$p \$\$p ;; \\\n";
+ $tmp .= "\t esac ; \\\n";
+ $tmp .= "\tdone ; fi ; true\n";
+ }
+ $tmp .= "\n";
+ $tmp .= "uninstall-nls:\n";
+ $tmp .= "\tfor base in $files; do \\\n";
+ $tmp .= "\t rm -f \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/\$\$base ;\\\n";
+ $tmp .= "\tdone\n\n";
+ appendLines ($tmp);
+
+ $target_adds{"distdir"} .= "distdir-nls ";
+
+ $tmp = "distdir-nls:\n";
+ $tmp .= "\tfor file in $files; do \\\n";
+ $tmp .= "\t cp \$(srcdir)/\$\$file \$(distdir); \\\n";
+ $tmp .= "\tdone\n";
+
+ appendLines ($tmp);
+
+ return 0;
+
+ nodocs:
+ appendLines("docs-am:\n");
+ return 1;
+}
+
+#-----------------------------------------------------------------------------
+# Find headers in any of the source directories specified previously, that
+# are candidates for "moc-ing".
+sub findMocCandidates ()
+{
+ foreach $dir (@headerdirs)
+ {
+ my @list = ();
+ opendir (SRCDIR, "$dir");
+ @hFiles = grep { /.+\.$hExt$/o && !/^\./ } readdir(SRCDIR);
+ closedir SRCDIR;
+ foreach $hf (@hFiles)
+ {
+ next if ($hf =~ /^\.\#/);
+ $hf =~ /(.*)\.[^\.]*$/; # Find name minus extension
+ next if ($uiFiles{$1});
+ open (HFIN, "$dir/$hf") || die "Could not open $dir/$hf: $!\n";
+ my $hfsize = 0;
+ seek(HFIN, 0, 2);
+ $hfsize = tell(HFIN);
+ seek(HFIN, 0, 0);
+ read HFIN, $hfData, $hfsize;
+ close HFIN;
+ # push (@list, $hf) if(index($hfData, "Q_OBJECT") >= 0); ### fast but doesn't handle //Q_OBJECT
+ # handle " { friend class blah; Q_OBJECT ", but don't match antlarr_Q_OBJECT (\b).
+ if ( $hfData =~ /{([^}]*)\bQ_OBJECT/s ) {
+ push (@list, $hf) unless $1 =~ m://[^\n]*Q_OBJECT[^\n]*$:s; ## reject "// Q_OBJECT"
+ }
+ }
+ # The assoc array of root of headerfile and header filename
+ foreach $hFile (@list)
+ {
+ $hFile =~ /(.*)\.[^\.]*$/; # Find name minus extension
+ if ($mocFiles{$1})
+ {
+ print STDERR "Warning: Multiple header files found for $1\n";
+ next; # Use the first one
+ }
+ $mocFiles{$1} = "$dir\035$hFile"; # Add relative dir
+ }
+ }
+
+ return 0;
+}
+
+#-----------------------------------------------------------------------------
+
+# The programmer has specified a moc list. Prune out the moc candidates
+# list that we found based on looking at the header files. This generates
+# a warning if the programmer gets the list wrong, but this doesn't have
+# to be fatal here.
+sub pruneMocCandidates ($)
+{
+ my %prunedMoc = ();
+ local @mocList = split(' ', $_[0]);
+
+ foreach $mocname (@mocList)
+ {
+ $mocname =~ s/\.moc$//;
+ if ($mocFiles{$mocname})
+ {
+ $prunedMoc{$mocname} = $mocFiles{$mocname};
+ }
+ else
+ {
+ my $print = $makefileDir;
+ $print =~ s/^\Q$topdir\E\\//;
+ # They specified a moc file but we can't find a header that
+ # will generate this moc file. That's possible fatal!
+ print STDERR "Warning: No moc-able header file for $print/$mocname\n";
+ }
+ }
+
+ undef %mocFiles;
+ %mocFiles = %prunedMoc;
+}
+
+#-----------------------------------------------------------------------------
+
+# Finds the cpp files (If they exist).
+# The cpp files get appended to the header file separated by \035
+sub checkMocCandidates ()
+{
+ my @cppFiles;
+ my $cpp2moc; # which c++ file includes which .moc files
+ my $moc2cpp; # which moc file is included by which c++ files
+
+ return unless (keys %mocFiles);
+ opendir(THISDIR, ".") || return;
+ @cppFiles = grep { /.+\.$cppExt$/o && !/.+\.moc\.$cppExt$/o
+ && !/.+\.all_$cppExt\.$cppExt$/o
+ && !/^\./ } readdir(THISDIR);
+ closedir THISDIR;
+ return unless (@cppFiles);
+ my $files = join (" ", @cppFiles);
+ $cpp2moc = {};
+ $moc2cpp = {};
+ foreach $cxxf (@cppFiles)
+ {
+ open (CXXFIN, $cxxf) || die "Could not open $cxxf: $!\n";
+ seek(CXXFIN, 0, 2);
+ my $cxxfsize = tell(CXXFIN);
+ seek(CXXFIN, 0, 0);
+ read CXXFIN, $cxxfData, $cxxfsize;
+ close CXXFIN;
+ while(($cxxfData =~ m/^[ \t]*\#include\s*[<\"](.*\.moc)[>\"]/gm)) {
+ $cpp2moc->{$cxxf}->{$1} = 1;
+ $moc2cpp->{$1}->{$cxxf} = 1;
+ }
+ }
+ foreach my $mocFile (keys (%mocFiles))
+ {
+ @cppFiles = keys %{$moc2cpp->{"$mocFile.moc"}};
+ if (@cppFiles == 1) {
+ $mocFiles{$mocFile} .= "\035" . $cppFiles[0];
+ push(@deped, $mocFile);
+ } elsif (@cppFiles == 0) {
+ push (@newObs, $mocFile); # Produce new object file
+ next if ($haveAutomocTag); # This is expected...
+ # But this is an error we can deal with - let them know
+ print STDERR
+ "Warning: No c++ file that includes $mocFile.moc\n";
+ } else {
+ # We can't decide which file to use, so it's fatal. Although as a
+ # guess we could use the mocFile.cpp file if it's in the list???
+ print STDERR
+ "Error: Multiple c++ files that include $mocFile.moc\n";
+ print STDERR "\t",join ("\t", @cppFiles),"\n";
+ $errorflag = 1;
+ delete $mocFiles{$mocFile};
+ # Let's continue and see what happens - They have been told!
+ }
+ }
+}
+
+#-----------------------------------------------------------------------------
+
+# Add the rules for generating moc source from header files
+# For Automoc output *.moc.cpp but normally we'll output *.moc
+# (We must compile *.moc.cpp separately. *.moc files are included
+# in the appropriate *.cpp file by the programmer)
+sub addMocRules ()
+{
+ my $cppFile;
+ my $hFile;
+
+ foreach $mocFile (keys (%mocFiles))
+ {
+ undef $cppFile;
+ ($dir, $hFile, $cppFile) = split ("\035", $mocFiles{$mocFile}, 3);
+ $dir =~ s#^\.#\$(srcdir)#;
+ if (defined ($cppFile))
+ {
+ $cppFile =~ s,\.[^.]*$,,;
+ $target_adds{"$cppFile.o"} .= "$mocFile.moc ";
+ $target_adds{"$cppFile.lo"} .= "$mocFile.moc ";
+ appendLines ("$mocFile.moc: $dir/$hFile\n\t\$(MOC) $dir/$hFile -o $mocFile.moc\n");
+ $cleanMoc .= " $mocFile.moc";
+ appendLines ("mocs: $mocFile.moc");
+ }
+ else
+ {
+ appendLines ("$mocFile$mocExt: $dir/$hFile\n\t\$(MOC) $dir/$hFile -o $mocFile$mocExt\n");
+ $cleanMoc .= " $mocFile$mocExt";
+ appendLines ("mocs: $mocFile$mocExt");
+ }
+ }
+}
+
+sub make_meta_classes ()
+{
+ return if ($kdeopts{"qtonly"});
+
+ my $cppFile;
+ my $hFile;
+ my $moc_class_headers = "";
+ foreach $program (@programs) {
+ my $mocs = "";
+ my @progsources = split(/[\034\s]+/, $sources{$program});
+ my @depmocs = split(' ', $depedmocs{$program});
+ my %shash = (), %mhash = ();
+ @shash{@progsources} = 1; # we are only interested in the existence
+ @mhash{@depmocs} = 1;
+
+ print STDOUT "program=$program\n" if ($verbose);
+ print STDOUT "psources=[".join(' ', keys %shash)."]\n" if ($verbose);
+ print STDOUT "depmocs=[".join(' ', keys %mhash)."]\n" if ($verbose);
+ print STDOUT "globalmocs=[".join(' ', keys(%globalmocs))."]\n" if ($verbose);
+ foreach my $mocFile (keys (%globalmocs))
+ {
+ my ($dir, $hFile, $cppFile) = split ("\035", $globalmocs{$mocFile}, 3);
+ if (defined ($cppFile))
+ {
+ $mocs .= " $mocFile.moc" if exists $shash{$cppFile};
+ }
+ else
+ {
+ # Bah. This is the case, if no C++ file includes the .moc
+ # file. We make a .moc.cpp file for that. Unfortunately this
+ # is not included in the %sources hash, but rather is mentioned
+ # in %depedmocs. If the user wants to use AUTO he can't just
+ # use an unspecific METAINCLUDES. Instead he must use
+ # program_METAINCLUDES. Anyway, it's not working real nicely.
+ # E.g. Its not clear what happens if user specifies two
+ # METAINCLUDES=AUTO in the same Makefile.am.
+ $mocs .= " $mocFile.moc.$cxxsuffix"
+ if exists $mhash{$mocFile.".moc.$cxxsuffix"};
+ }
+ }
+ if ($mocs) {
+ print STDOUT "==> mocs=[".$mocs."]\n" if ($verbose);
+ }
+ print STDOUT "\n" if $verbose;
+ }
+ if ($moc_class_headers) {
+ appendLines ("$cleantarget-moc-classes:\n\t-rm -f $moc_class_headers\n");
+ $target_adds{"$cleantarget-am"} .= "$cleantarget-moc-classes ";
+ }
+}
+
+#-----------------------------------------------------------------------------
+
+sub updateMakefile ()
+{
+ return if ($dryrun);
+
+ open (FILEOUT, "> $makefile")
+ || die "Could not create $makefile: $!\n";
+
+ $MakefileData =~ s/\034/\\\n/g; # Restore continuation lines
+ # Append our $progId line, _below_ the "generated by automake" line
+ # because automake-1.6 relies on the first line to be his own.
+ my $progIdLine = "\# $progId - " . '$Revision: 1.349.2.6 $ '."\n";
+ if ( !( $MakefileData =~ s/^(.*generated .*by automake.*\n)/$1$progIdLine/ ) ) {
+ warn "automake line not found in $makefile\n";
+ # Fallback: first line
+ print FILEOUT $progIdLine;
+ };
+ print FILEOUT $MakefileData;
+ close FILEOUT;
+}
+
+#-----------------------------------------------------------------------------
+
+# The given line needs to be removed from the makefile
+# Do this by adding the special "removed line" comment at the line start.
+sub removeLine ($$)
+{
+ my ($lookup, $old) = @_;
+
+ $old =~ s/\034/\\\n#>- /g; # Fix continuation lines
+ $MakefileData =~ s/\n$lookup/\n#>\- $old/;
+}
+
+#-----------------------------------------------------------------------------
+
+# Replaces the old line with the new line
+# old line(s) are retained but tagged as removed. The new line(s) have the
+# "added" tag placed before it.
+sub substituteLine ($$)
+{
+ my ($lookup, $new) = @_;
+
+ if ($MakefileData =~ /\n($lookup)/) {
+ $old = $1;
+ $old =~ s/\034/\\\n#>\- /g; # Fix continuation lines
+ my $newCount = ($new =~ tr/\034//) + ($new =~ tr/\n//) + 1;
+ $new =~ s/\\\n/\034/g;
+ $MakefileData =~ s/\n$lookup/\n#>- $old\n#>\+ $newCount\n$new/;
+ } else {
+ print STDERR "Warning: substitution of \"$lookup\" in $printname failed\n";
+ }
+}
+
+#-----------------------------------------------------------------------------
+
+# Slap new lines on the back of the file.
+sub appendLines ($)
+{
+ my ($new) = @_;
+ my $newCount = ($new =~ tr/\034//) + ($new =~ tr/\n//) + 1;
+ $new =~ s/\\\n/\034/g; # Fix continuation lines
+ $MakefileData .= "\n#>\+ $newCount\n$new";
+}
+
+#-----------------------------------------------------------------------------
+
+# Restore the Makefile.in to the state it was before we fiddled with it
+sub restoreMakefile ()
+{
+ $MakefileData =~ s/# $progId[^\n\034]*[\n\034]*//g;
+ # Restore removed lines
+ $MakefileData =~ s/([\n\034])#>\- /$1/g;
+ # Remove added lines
+ while ($MakefileData =~ /[\n\034]#>\+ ([^\n\034]*)/)
+ {
+ my $newCount = $1;
+ my $removeLines = "";
+ while ($newCount--) {
+ $removeLines .= "[^\n\034]*([\n\034]|)";
+ }
+ $MakefileData =~ s/[\n\034]#>\+.*[\n\034]$removeLines/\n/;
+ }
+}
+
+#-----------------------------------------------------------------------------
diff --git a/gettext-tools/examples/hello-c++-kde/admin/compile b/gettext-tools/examples/hello-c++-kde/admin/compile
new file mode 100755
index 0000000..9bb997a
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/compile
@@ -0,0 +1,99 @@
+#! /bin/sh
+
+# Wrapper for compilers which do not understand `-c -o'.
+
+# Copyright 1999, 2000 Free Software Foundation, Inc.
+# Written by Tom Tromey <tromey@cygnus.com>.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# Usage:
+# compile PROGRAM [ARGS]...
+# `-o FOO.o' is removed from the args passed to the actual compile.
+
+prog=$1
+shift
+
+ofile=
+cfile=
+args=
+while test $# -gt 0; do
+ case "$1" in
+ -o)
+ # configure might choose to run compile as `compile cc -o foo foo.c'.
+ # So we do something ugly here.
+ ofile=$2
+ shift
+ case "$ofile" in
+ *.o | *.obj)
+ ;;
+ *)
+ args="$args -o $ofile"
+ ofile=
+ ;;
+ esac
+ ;;
+ *.c)
+ cfile=$1
+ args="$args $1"
+ ;;
+ *)
+ args="$args $1"
+ ;;
+ esac
+ shift
+done
+
+if test -z "$ofile" || test -z "$cfile"; then
+ # If no `-o' option was seen then we might have been invoked from a
+ # pattern rule where we don't need one. That is ok -- this is a
+ # normal compilation that the losing compiler can handle. If no
+ # `.c' file was seen then we are probably linking. That is also
+ # ok.
+ exec "$prog" $args
+fi
+
+# Name of file we expect compiler to create.
+cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
+
+# Create the lock directory.
+# Note: use `[/.-]' here to ensure that we don't use the same name
+# that we are using for the .o file. Also, base the name on the expected
+# object file name, since that is what matters with a parallel build.
+lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d
+while true; do
+ if mkdir $lockdir > /dev/null 2>&1; then
+ break
+ fi
+ sleep 1
+done
+# FIXME: race condition here if user kills between mkdir and trap.
+trap "rmdir $lockdir; exit 1" 1 2 15
+
+# Run the compile.
+"$prog" $args
+status=$?
+
+if test -f "$cofile"; then
+ mv "$cofile" "$ofile"
+fi
+
+rmdir $lockdir
+exit $status
diff --git a/gettext-tools/examples/hello-c++-kde/admin/conf.change.pl b/gettext-tools/examples/hello-c++-kde/admin/conf.change.pl
new file mode 100644
index 0000000..bb7dcc1
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/conf.change.pl
@@ -0,0 +1,177 @@
+#!/usr/bin/perl -w
+
+# this script patches a config.status file, to use our own perl script
+# in the main loop
+# we do it this way to circumvent hacking (and thereby including)
+# autoconf function (which are GPL) into our LGPL acinclude.m4.in
+# written by Michael Matz <matz@kde.org>
+# adapted by Dirk Mueller <mueller@kde.org>
+#
+# This file is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Library General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Library General Public License for more details.
+
+# You should have received a copy of the GNU Library General Public License
+# along with this library; see the file COPYING.LIB. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+# we have to change two places
+# 1. the splitting of the substitutions into chunks of 90 (or even 48 in
+# later autoconf's
+# 2. the big main loop which patches all Makefile.in's
+
+use File::Basename;
+
+my $ac_aux_dir = dirname($0);
+my ($flag);
+local $ac_version = 0;
+my $vpath_seen = 0;
+$flag = 0;
+
+while (<>) {
+# usage of $flag: 0 -- we have seen nothing yet
+# 1 -- we are in (1)
+# 2 -- we have ended (1)
+# 3 -- we are in (2)
+# 4 -- we ended (2)
+
+ if ($flag == 4) {
+ print;
+ } elsif ($flag == 0) {
+# 1. begins with (including): "ac_max_sed_\S+\s*=\s*[0-9]+..."
+# ends with (excluding) "CONFIG_FILE=..."
+# in later autoconf (2.14.1) there is no CONFIG_FILES= line,
+# but instead the (2) directly follow (1)
+ if (/^\s*ac_max_sed_([a-z]+).*=\s*([0-9]+)/ ) {
+ $flag = 1;
+ if ($1 eq 'lines') {
+ # lets hope its different with 2141,
+ # wasn't able to verify that
+ if ($2 eq '48') {
+ $ac_version = 250;
+ }
+ else {
+ $ac_version = 2141;
+ }
+ } elsif ($1 eq 'cmds') {
+ $ac_version = 213;
+ }
+ # hmm, we don't know the autoconf version, but we try anyway
+ } else {
+ print;
+ }
+ } elsif ($flag == 1) {
+ if (/^\s*CONFIG_FILES=/ && ($ac_version != 250)) {
+ print;
+ $flag = 2;
+ } elsif (/^\s*for\s+ac_file\s+in\s+.*CONFIG_FILES/ ) {
+ $flag = 3;
+ }
+ } elsif ($flag == 2) {
+# 2. begins with: "for ac_file in.*CONFIG_FILES" (the next 'for' after (1))
+# end with: "rm -f conftest.s\*"
+# on autoconf 250, it ends with '# CONFIG_HEADER section'
+ if (/^\s*for\s+ac_file\s+in\s+.*CONFIG_FILES/ ) {
+ $flag = 3;
+ } else {
+ print;
+ }
+ } elsif ($flag == 3) {
+ if (/^\s*rm\s+-f\s+conftest/ ) {
+ $flag = 4;
+ &insert_main_loop();
+ } elsif (/^\s*rm\s+-f\s+.*ac_cs_root/ ) {
+ $flag = 4;
+ &insert_main_loop();
+ #die "hhhhhhh";
+ if ($ac_version != 2141) {
+ print STDERR "hmm, don't know autoconf version\n";
+ }
+ } elsif (/^\#\s*CONFIG_HEADER section.*/) {
+ $flag = 4;
+ &insert_main_loop();
+ if($ac_version != 250) {
+ print STDERR "hmm, something went wrong :-(\n";
+ }
+ } elsif (/VPATH/ ) {
+ $vpath_seen = 1;
+ }
+ }
+}
+
+die "wrong input (flag != 4)" unless $flag == 4;
+print STDERR "hmm, don't know autoconf version\n" unless $ac_version;
+
+sub insert_main_loop {
+
+ if ($ac_version == 250) {
+ &insert_main_loop_250();
+ }
+ else {
+ &insert_main_loop_213();
+ }
+}
+
+sub insert_main_loop_250 {
+
+ print <<EOF;
+ #echo Doing the fast build of Makefiles -- autoconf $ac_version
+EOF
+ if ($vpath_seen) {
+ print <<EOF;
+ # VPATH subst was seen in original config.status main loop
+ echo '/^[ ]*VPATH[ ]*=[^:]*\$/d' >>\$tmp/subs.sed
+EOF
+ }
+ print <<EOF;
+ rm -f \$tmp/subs.files
+ for ac_file in .. \$CONFIG_FILES ; do
+ if test "x\$ac_file" != x..; then
+ echo \$ac_file >> \$tmp/subs.files
+ fi
+ done
+ if test -f \$tmp/subs.files ; then
+ perl $ac_aux_dir/config.pl "\$tmp/subs.sed" "\$tmp/subs.files" "\$srcdir" "\$INSTALL"
+ fi
+ rm -f \$tmp/subs.files
+
+fi
+EOF
+ return;
+}
+
+sub insert_main_loop_213 {
+ print <<EOF;
+#echo Doing the fast build of Makefiles -- autoconf $ac_version
+if test "x\$ac_cs_root" = "x" ; then
+ ac_cs_root=conftest
+fi
+EOF
+ if ($vpath_seen) {
+ print <<EOF;
+# VPATH subst was seen in original config.status main loop
+echo '/^[ ]*VPATH[ ]*=[^:]*\$/d' >> \$ac_cs_root.subs
+EOF
+ }
+ print <<EOF;
+rm -f \$ac_cs_root.sacfiles
+for ac_file in .. \$CONFIG_FILES ; do
+ if test "x\$ac_file" != x..; then
+ echo \$ac_file >> \$ac_cs_root.sacfiles
+ fi
+done
+if test -f \$ac_cs_root.sacfiles ; then
+ perl $ac_aux_dir/config.pl "\$ac_cs_root.subs" "\$ac_cs_root.sacfiles" "\$ac_given_srcdir" "\$ac_given_INSTALL"
+fi
+rm -f \$ac_cs_root.s*
+
+EOF
+ return;
+}
diff --git a/gettext-tools/examples/hello-c++-kde/admin/config.guess b/gettext-tools/examples/hello-c++-kde/admin/config.guess
new file mode 100755
index 0000000..5145e35
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/config.guess
@@ -0,0 +1,1363 @@
+#! /bin/sh
+# Attempt to guess a canonical system name.
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+# 2000, 2001, 2002 Free Software Foundation, Inc.
+
+timestamp='2002-10-21'
+
+# This file is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# Originally written by Per Bothner <per@bothner.com>.
+# Please send patches to <config-patches@gnu.org>. Submit a context
+# diff and a properly formatted ChangeLog entry.
+#
+# This script attempts to guess a canonical system name similar to
+# config.sub. If it succeeds, it prints the system name on stdout, and
+# exits with 0. Otherwise, it exits with 1.
+#
+# The plan is that this can be called by configure scripts if you
+# don't specify an explicit build system type.
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION]
+
+Output the configuration name of the system \`$me' is run on.
+
+Operation modes:
+ -h, --help print this help, then exit
+ -t, --time-stamp print date of last modification, then exit
+ -v, --version print version number, then exit
+
+Report bugs and patches to <config-patches@gnu.org>."
+
+version="\
+GNU config.guess ($timestamp)
+
+Originally written by Per Bothner.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+ case $1 in
+ --time-stamp | --time* | -t )
+ echo "$timestamp" ; exit 0 ;;
+ --version | -v )
+ echo "$version" ; exit 0 ;;
+ --help | --h* | -h )
+ echo "$usage"; exit 0 ;;
+ -- ) # Stop option processing
+ shift; break ;;
+ - ) # Use stdin as input.
+ break ;;
+ -* )
+ echo "$me: invalid option $1$help" >&2
+ exit 1 ;;
+ * )
+ break ;;
+ esac
+done
+
+if test $# != 0; then
+ echo "$me: too many arguments$help" >&2
+ exit 1
+fi
+
+trap 'exit 1' 1 2 15
+
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
+# compiler to aid in system detection is discouraged as it requires
+# temporary files to be created and, as you can see below, it is a
+# headache to deal with in a portable fashion.
+
+# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
+# use `HOST_CC' if defined, but it is deprecated.
+
+# This shell variable is my proudest work .. or something. --bje
+
+set_cc_for_build='tmpdir=${TMPDIR-/tmp}/config-guess-$$ ;
+(old=`umask` && umask 077 && mkdir $tmpdir && umask $old && unset old)
+ || (echo "$me: cannot create $tmpdir" >&2 && exit 1) ;
+dummy=$tmpdir/dummy ;
+files="$dummy.c $dummy.o $dummy.rel $dummy" ;
+trap '"'"'rm -f $files; rmdir $tmpdir; exit 1'"'"' 1 2 15 ;
+case $CC_FOR_BUILD,$HOST_CC,$CC in
+ ,,) echo "int x;" > $dummy.c ;
+ for c in cc gcc c89 c99 ; do
+ if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
+ CC_FOR_BUILD="$c"; break ;
+ fi ;
+ done ;
+ rm -f $files ;
+ if test x"$CC_FOR_BUILD" = x ; then
+ CC_FOR_BUILD=no_compiler_found ;
+ fi
+ ;;
+ ,,*) CC_FOR_BUILD=$CC ;;
+ ,*,*) CC_FOR_BUILD=$HOST_CC ;;
+esac ;
+unset files'
+
+# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
+# (ghazi@noc.rutgers.edu 1994-08-24)
+if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
+ PATH=$PATH:/.attbin ; export PATH
+fi
+
+UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
+UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
+UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
+
+# Note: order is significant - the case branches are not exclusive.
+
+case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
+ *:NetBSD:*:*)
+ # NetBSD (nbsd) targets should (where applicable) match one or
+ # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
+ # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
+ # switched to ELF, *-*-netbsd* would select the old
+ # object file format. This provides both forward
+ # compatibility and a consistent mechanism for selecting the
+ # object file format.
+ #
+ # Note: NetBSD doesn't particularly care about the vendor
+ # portion of the name. We always set it to "unknown".
+ sysctl="sysctl -n hw.machine_arch"
+ UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
+ /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
+ case "${UNAME_MACHINE_ARCH}" in
+ armeb) machine=armeb-unknown ;;
+ arm*) machine=arm-unknown ;;
+ sh3el) machine=shl-unknown ;;
+ sh3eb) machine=sh-unknown ;;
+ *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
+ esac
+ # The Operating System including object format, if it has switched
+ # to ELF recently, or will in the future.
+ case "${UNAME_MACHINE_ARCH}" in
+ arm*|i386|m68k|ns32k|sh3*|sparc|vax)
+ eval $set_cc_for_build
+ if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep __ELF__ >/dev/null
+ then
+ # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
+ # Return netbsd for either. FIX?
+ os=netbsd
+ else
+ os=netbsdelf
+ fi
+ ;;
+ *)
+ os=netbsd
+ ;;
+ esac
+ # The OS release
+ release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
+ # contains redundant information, the shorter form:
+ # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
+ echo "${machine}-${os}${release}"
+ exit 0 ;;
+ amiga:OpenBSD:*:*)
+ echo m68k-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
+ arc:OpenBSD:*:*)
+ echo mipsel-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
+ hp300:OpenBSD:*:*)
+ echo m68k-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
+ mac68k:OpenBSD:*:*)
+ echo m68k-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
+ macppc:OpenBSD:*:*)
+ echo powerpc-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
+ mvme68k:OpenBSD:*:*)
+ echo m68k-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
+ mvme88k:OpenBSD:*:*)
+ echo m88k-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
+ mvmeppc:OpenBSD:*:*)
+ echo powerpc-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
+ pmax:OpenBSD:*:*)
+ echo mipsel-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
+ sgi:OpenBSD:*:*)
+ echo mipseb-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
+ sun3:OpenBSD:*:*)
+ echo m68k-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
+ wgrisc:OpenBSD:*:*)
+ echo mipsel-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
+ *:OpenBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
+ alpha:OSF1:*:*)
+ if test $UNAME_RELEASE = "V4.0"; then
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
+ fi
+ # A Vn.n version is a released version.
+ # A Tn.n version is a released field test version.
+ # A Xn.n version is an unreleased experimental baselevel.
+ # 1.2 uses "1.2" for uname -r.
+ eval $set_cc_for_build
+ cat <<EOF >$dummy.s
+ .data
+\$Lformat:
+ .byte 37,100,45,37,120,10,0 # "%d-%x\n"
+
+ .text
+ .globl main
+ .align 4
+ .ent main
+main:
+ .frame \$30,16,\$26,0
+ ldgp \$29,0(\$27)
+ .prologue 1
+ .long 0x47e03d80 # implver \$0
+ lda \$2,-1
+ .long 0x47e20c21 # amask \$2,\$1
+ lda \$16,\$Lformat
+ mov \$0,\$17
+ not \$1,\$18
+ jsr \$26,printf
+ ldgp \$29,0(\$26)
+ mov 0,\$16
+ jsr \$26,exit
+ .end main
+EOF
+ $CC_FOR_BUILD -o $dummy $dummy.s 2>/dev/null
+ if test "$?" = 0 ; then
+ case `$dummy` in
+ 0-0)
+ UNAME_MACHINE="alpha"
+ ;;
+ 1-0)
+ UNAME_MACHINE="alphaev5"
+ ;;
+ 1-1)
+ UNAME_MACHINE="alphaev56"
+ ;;
+ 1-101)
+ UNAME_MACHINE="alphapca56"
+ ;;
+ 2-303)
+ UNAME_MACHINE="alphaev6"
+ ;;
+ 2-307)
+ UNAME_MACHINE="alphaev67"
+ ;;
+ 2-1307)
+ UNAME_MACHINE="alphaev68"
+ ;;
+ 3-1307)
+ UNAME_MACHINE="alphaev7"
+ ;;
+ esac
+ fi
+ rm -f $dummy.s $dummy && rmdir $tmpdir
+ echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+ exit 0 ;;
+ Alpha\ *:Windows_NT*:*)
+ # How do we know it's Interix rather than the generic POSIX subsystem?
+ # Should we change UNAME_MACHINE based on the output of uname instead
+ # of the specific Alpha model?
+ echo alpha-pc-interix
+ exit 0 ;;
+ 21064:Windows_NT:50:3)
+ echo alpha-dec-winnt3.5
+ exit 0 ;;
+ Amiga*:UNIX_System_V:4.0:*)
+ echo m68k-unknown-sysv4
+ exit 0;;
+ *:[Aa]miga[Oo][Ss]:*:*)
+ echo ${UNAME_MACHINE}-unknown-amigaos
+ exit 0 ;;
+ *:[Mm]orph[Oo][Ss]:*:*)
+ echo ${UNAME_MACHINE}-unknown-morphos
+ exit 0 ;;
+ *:OS/390:*:*)
+ echo i370-ibm-openedition
+ exit 0 ;;
+ arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
+ echo arm-acorn-riscix${UNAME_RELEASE}
+ exit 0;;
+ SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
+ echo hppa1.1-hitachi-hiuxmpp
+ exit 0;;
+ Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
+ # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
+ if test "`(/bin/universe) 2>/dev/null`" = att ; then
+ echo pyramid-pyramid-sysv3
+ else
+ echo pyramid-pyramid-bsd
+ fi
+ exit 0 ;;
+ NILE*:*:*:dcosx)
+ echo pyramid-pyramid-svr4
+ exit 0 ;;
+ DRS?6000:UNIX_SV:4.2*:7*)
+ case `/usr/bin/uname -p` in
+ sparc) echo sparc-icl-nx7 && exit 0 ;;
+ esac ;;
+ sun4H:SunOS:5.*:*)
+ echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit 0 ;;
+ sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
+ echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit 0 ;;
+ i86pc:SunOS:5.*:*)
+ echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit 0 ;;
+ sun4*:SunOS:6*:*)
+ # According to config.sub, this is the proper way to canonicalize
+ # SunOS6. Hard to guess exactly what SunOS6 will be like, but
+ # it's likely to be more like Solaris than SunOS4.
+ echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit 0 ;;
+ sun4*:SunOS:*:*)
+ case "`/usr/bin/arch -k`" in
+ Series*|S4*)
+ UNAME_RELEASE=`uname -v`
+ ;;
+ esac
+ # Japanese Language versions have a version number like `4.1.3-JL'.
+ echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
+ exit 0 ;;
+ sun3*:SunOS:*:*)
+ echo m68k-sun-sunos${UNAME_RELEASE}
+ exit 0 ;;
+ sun*:*:4.2BSD:*)
+ UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
+ test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
+ case "`/bin/arch`" in
+ sun3)
+ echo m68k-sun-sunos${UNAME_RELEASE}
+ ;;
+ sun4)
+ echo sparc-sun-sunos${UNAME_RELEASE}
+ ;;
+ esac
+ exit 0 ;;
+ aushp:SunOS:*:*)
+ echo sparc-auspex-sunos${UNAME_RELEASE}
+ exit 0 ;;
+ # The situation for MiNT is a little confusing. The machine name
+ # can be virtually everything (everything which is not
+ # "atarist" or "atariste" at least should have a processor
+ # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
+ # to the lowercase version "mint" (or "freemint"). Finally
+ # the system name "TOS" denotes a system which is actually not
+ # MiNT. But MiNT is downward compatible to TOS, so this should
+ # be no problem.
+ atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
+ echo m68k-atari-mint${UNAME_RELEASE}
+ exit 0 ;;
+ atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
+ echo m68k-atari-mint${UNAME_RELEASE}
+ exit 0 ;;
+ *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
+ echo m68k-atari-mint${UNAME_RELEASE}
+ exit 0 ;;
+ milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
+ echo m68k-milan-mint${UNAME_RELEASE}
+ exit 0 ;;
+ hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
+ echo m68k-hades-mint${UNAME_RELEASE}
+ exit 0 ;;
+ *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
+ echo m68k-unknown-mint${UNAME_RELEASE}
+ exit 0 ;;
+ powerpc:machten:*:*)
+ echo powerpc-apple-machten${UNAME_RELEASE}
+ exit 0 ;;
+ RISC*:Mach:*:*)
+ echo mips-dec-mach_bsd4.3
+ exit 0 ;;
+ RISC*:ULTRIX:*:*)
+ echo mips-dec-ultrix${UNAME_RELEASE}
+ exit 0 ;;
+ VAX*:ULTRIX*:*:*)
+ echo vax-dec-ultrix${UNAME_RELEASE}
+ exit 0 ;;
+ 2020:CLIX:*:* | 2430:CLIX:*:*)
+ echo clipper-intergraph-clix${UNAME_RELEASE}
+ exit 0 ;;
+ mips:*:*:UMIPS | mips:*:*:RISCos)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+#ifdef __cplusplus
+#include <stdio.h> /* for printf() prototype */
+ int main (int argc, char *argv[]) {
+#else
+ int main (argc, argv) int argc; char *argv[]; {
+#endif
+ #if defined (host_mips) && defined (MIPSEB)
+ #if defined (SYSTYPE_SYSV)
+ printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
+ #endif
+ #if defined (SYSTYPE_SVR4)
+ printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
+ #endif
+ #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
+ printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
+ #endif
+ #endif
+ exit (-1);
+ }
+EOF
+ $CC_FOR_BUILD -o $dummy $dummy.c \
+ && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
+ && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
+ rm -f $dummy.c $dummy && rmdir $tmpdir
+ echo mips-mips-riscos${UNAME_RELEASE}
+ exit 0 ;;
+ Motorola:PowerMAX_OS:*:*)
+ echo powerpc-motorola-powermax
+ exit 0 ;;
+ Motorola:*:4.3:PL8-*)
+ echo powerpc-harris-powermax
+ exit 0 ;;
+ Night_Hawk:*:*:PowerMAX_OS)
+ echo powerpc-harris-powermax
+ exit 0 ;;
+ Night_Hawk:Power_UNIX:*:*)
+ echo powerpc-harris-powerunix
+ exit 0 ;;
+ m88k:CX/UX:7*:*)
+ echo m88k-harris-cxux7
+ exit 0 ;;
+ m88k:*:4*:R4*)
+ echo m88k-motorola-sysv4
+ exit 0 ;;
+ m88k:*:3*:R3*)
+ echo m88k-motorola-sysv3
+ exit 0 ;;
+ AViiON:dgux:*:*)
+ # DG/UX returns AViiON for all architectures
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
+ if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
+ then
+ if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
+ [ ${TARGET_BINARY_INTERFACE}x = x ]
+ then
+ echo m88k-dg-dgux${UNAME_RELEASE}
+ else
+ echo m88k-dg-dguxbcs${UNAME_RELEASE}
+ fi
+ else
+ echo i586-dg-dgux${UNAME_RELEASE}
+ fi
+ exit 0 ;;
+ M88*:DolphinOS:*:*) # DolphinOS (SVR3)
+ echo m88k-dolphin-sysv3
+ exit 0 ;;
+ M88*:*:R3*:*)
+ # Delta 88k system running SVR3
+ echo m88k-motorola-sysv3
+ exit 0 ;;
+ XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
+ echo m88k-tektronix-sysv3
+ exit 0 ;;
+ Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
+ echo m68k-tektronix-bsd
+ exit 0 ;;
+ *:IRIX*:*:*)
+ echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
+ exit 0 ;;
+ ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
+ echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
+ exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
+ i*86:AIX:*:*)
+ echo i386-ibm-aix
+ exit 0 ;;
+ ia64:AIX:*:*)
+ if [ -x /usr/bin/oslevel ] ; then
+ IBM_REV=`/usr/bin/oslevel`
+ else
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+ fi
+ echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
+ exit 0 ;;
+ *:AIX:2:3)
+ if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #include <sys/systemcfg.h>
+
+ main()
+ {
+ if (!__power_pc())
+ exit(1);
+ puts("powerpc-ibm-aix3.2.5");
+ exit(0);
+ }
+EOF
+ $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
+ rm -f $dummy.c $dummy && rmdir $tmpdir
+ echo rs6000-ibm-aix3.2.5
+ elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
+ echo rs6000-ibm-aix3.2.4
+ else
+ echo rs6000-ibm-aix3.2
+ fi
+ exit 0 ;;
+ *:AIX:*:[45])
+ IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
+ if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
+ IBM_ARCH=rs6000
+ else
+ IBM_ARCH=powerpc
+ fi
+ if [ -x /usr/bin/oslevel ] ; then
+ IBM_REV=`/usr/bin/oslevel`
+ else
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+ fi
+ echo ${IBM_ARCH}-ibm-aix${IBM_REV}
+ exit 0 ;;
+ *:AIX:*:*)
+ echo rs6000-ibm-aix
+ exit 0 ;;
+ ibmrt:4.4BSD:*|romp-ibm:BSD:*)
+ echo romp-ibm-bsd4.4
+ exit 0 ;;
+ ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
+ echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
+ exit 0 ;; # report: romp-ibm BSD 4.3
+ *:BOSX:*:*)
+ echo rs6000-bull-bosx
+ exit 0 ;;
+ DPX/2?00:B.O.S.:*:*)
+ echo m68k-bull-sysv3
+ exit 0 ;;
+ 9000/[34]??:4.3bsd:1.*:*)
+ echo m68k-hp-bsd
+ exit 0 ;;
+ hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
+ echo m68k-hp-bsd4.4
+ exit 0 ;;
+ 9000/[34678]??:HP-UX:*:*)
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ case "${UNAME_MACHINE}" in
+ 9000/31? ) HP_ARCH=m68000 ;;
+ 9000/[34]?? ) HP_ARCH=m68k ;;
+ 9000/[678][0-9][0-9])
+ if [ -x /usr/bin/getconf ]; then
+ sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
+ sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
+ case "${sc_cpu_version}" in
+ 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
+ 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
+ 532) # CPU_PA_RISC2_0
+ case "${sc_kernel_bits}" in
+ 32) HP_ARCH="hppa2.0n" ;;
+ 64) HP_ARCH="hppa2.0w" ;;
+ '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
+ esac ;;
+ esac
+ fi
+ if [ "${HP_ARCH}" = "" ]; then
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+
+ #define _HPUX_SOURCE
+ #include <stdlib.h>
+ #include <unistd.h>
+
+ int main ()
+ {
+ #if defined(_SC_KERNEL_BITS)
+ long bits = sysconf(_SC_KERNEL_BITS);
+ #endif
+ long cpu = sysconf (_SC_CPU_VERSION);
+
+ switch (cpu)
+ {
+ case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
+ case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
+ case CPU_PA_RISC2_0:
+ #if defined(_SC_KERNEL_BITS)
+ switch (bits)
+ {
+ case 64: puts ("hppa2.0w"); break;
+ case 32: puts ("hppa2.0n"); break;
+ default: puts ("hppa2.0"); break;
+ } break;
+ #else /* !defined(_SC_KERNEL_BITS) */
+ puts ("hppa2.0"); break;
+ #endif
+ default: puts ("hppa1.0"); break;
+ }
+ exit (0);
+ }
+EOF
+ (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
+ if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
+ rm -f $dummy.c $dummy && rmdir $tmpdir
+ fi ;;
+ esac
+ echo ${HP_ARCH}-hp-hpux${HPUX_REV}
+ exit 0 ;;
+ ia64:HP-UX:*:*)
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ echo ia64-hp-hpux${HPUX_REV}
+ exit 0 ;;
+ 3050*:HI-UX:*:*)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #include <unistd.h>
+ int
+ main ()
+ {
+ long cpu = sysconf (_SC_CPU_VERSION);
+ /* The order matters, because CPU_IS_HP_MC68K erroneously returns
+ true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
+ results, however. */
+ if (CPU_IS_PA_RISC (cpu))
+ {
+ switch (cpu)
+ {
+ case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
+ case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
+ case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
+ default: puts ("hppa-hitachi-hiuxwe2"); break;
+ }
+ }
+ else if (CPU_IS_HP_MC68K (cpu))
+ puts ("m68k-hitachi-hiuxwe2");
+ else puts ("unknown-hitachi-hiuxwe2");
+ exit (0);
+ }
+EOF
+ $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
+ rm -f $dummy.c $dummy && rmdir $tmpdir
+ echo unknown-hitachi-hiuxwe2
+ exit 0 ;;
+ 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
+ echo hppa1.1-hp-bsd
+ exit 0 ;;
+ 9000/8??:4.3bsd:*:*)
+ echo hppa1.0-hp-bsd
+ exit 0 ;;
+ *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
+ echo hppa1.0-hp-mpeix
+ exit 0 ;;
+ hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
+ echo hppa1.1-hp-osf
+ exit 0 ;;
+ hp8??:OSF1:*:*)
+ echo hppa1.0-hp-osf
+ exit 0 ;;
+ i*86:OSF1:*:*)
+ if [ -x /usr/sbin/sysversion ] ; then
+ echo ${UNAME_MACHINE}-unknown-osf1mk
+ else
+ echo ${UNAME_MACHINE}-unknown-osf1
+ fi
+ exit 0 ;;
+ parisc*:Lites*:*:*)
+ echo hppa1.1-hp-lites
+ exit 0 ;;
+ C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
+ echo c1-convex-bsd
+ exit 0 ;;
+ C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
+ if getsysinfo -f scalar_acc
+ then echo c32-convex-bsd
+ else echo c2-convex-bsd
+ fi
+ exit 0 ;;
+ C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
+ echo c34-convex-bsd
+ exit 0 ;;
+ C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
+ echo c38-convex-bsd
+ exit 0 ;;
+ C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
+ echo c4-convex-bsd
+ exit 0 ;;
+ CRAY*Y-MP:*:*:*)
+ echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit 0 ;;
+ CRAY*[A-Z]90:*:*:*)
+ echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
+ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
+ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
+ -e 's/\.[^.]*$/.X/'
+ exit 0 ;;
+ CRAY*TS:*:*:*)
+ echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit 0 ;;
+ CRAY*T3D:*:*:*)
+ echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit 0 ;;
+ CRAY*T3E:*:*:*)
+ echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit 0 ;;
+ CRAY*SV1:*:*:*)
+ echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit 0 ;;
+ F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
+ FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+ echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+ exit 0 ;;
+ i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
+ echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
+ exit 0 ;;
+ sparc*:BSD/OS:*:*)
+ echo sparc-unknown-bsdi${UNAME_RELEASE}
+ exit 0 ;;
+ *:BSD/OS:*:*)
+ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
+ exit 0 ;;
+ *:FreeBSD:*:*)
+ # Determine whether the default compiler uses glibc.
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #include <features.h>
+ #if __GLIBC__ >= 2
+ LIBC=gnu
+ #else
+ LIBC=
+ #endif
+EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
+ rm -f $dummy.c && rmdir $tmpdir
+ echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
+ exit 0 ;;
+ i*:CYGWIN*:*)
+ echo ${UNAME_MACHINE}-pc-cygwin
+ exit 0 ;;
+ i*:MINGW*:*)
+ echo ${UNAME_MACHINE}-pc-mingw32
+ exit 0 ;;
+ i*:PW*:*)
+ echo ${UNAME_MACHINE}-pc-pw32
+ exit 0 ;;
+ x86:Interix*:3*)
+ echo i386-pc-interix3
+ exit 0 ;;
+ i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
+ # How do we know it's Interix rather than the generic POSIX subsystem?
+ # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
+ # UNAME_MACHINE based on the output of uname instead of i386?
+ echo i386-pc-interix
+ exit 0 ;;
+ i*:UWIN*:*)
+ echo ${UNAME_MACHINE}-pc-uwin
+ exit 0 ;;
+ p*:CYGWIN*:*)
+ echo powerpcle-unknown-cygwin
+ exit 0 ;;
+ prep*:SunOS:5.*:*)
+ echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit 0 ;;
+ *:GNU:*:*)
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
+ exit 0 ;;
+ i*86:Minix:*:*)
+ echo ${UNAME_MACHINE}-pc-minix
+ exit 0 ;;
+ arm*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit 0 ;;
+ ia64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit 0 ;;
+ m68*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit 0 ;;
+ mips:Linux:*:*)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #undef CPU
+ #undef mips
+ #undef mipsel
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
+ CPU=mipsel
+ #else
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
+ CPU=mips
+ #else
+ CPU=
+ #endif
+ #endif
+EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
+ rm -f $dummy.c && rmdir $tmpdir
+ test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0
+ ;;
+ ppc:Linux:*:*)
+ echo powerpc-unknown-linux-gnu
+ exit 0 ;;
+ ppc64:Linux:*:*)
+ echo powerpc64-unknown-linux-gnu
+ exit 0 ;;
+ alpha:Linux:*:*)
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
+ EV5) UNAME_MACHINE=alphaev5 ;;
+ EV56) UNAME_MACHINE=alphaev56 ;;
+ PCA56) UNAME_MACHINE=alphapca56 ;;
+ PCA57) UNAME_MACHINE=alphapca56 ;;
+ EV6) UNAME_MACHINE=alphaev6 ;;
+ EV67) UNAME_MACHINE=alphaev67 ;;
+ EV68*) UNAME_MACHINE=alphaev68 ;;
+ esac
+ objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
+ exit 0 ;;
+ parisc:Linux:*:* | hppa:Linux:*:*)
+ # Look for CPU level
+ case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
+ PA7*) echo hppa1.1-unknown-linux-gnu ;;
+ PA8*) echo hppa2.0-unknown-linux-gnu ;;
+ *) echo hppa-unknown-linux-gnu ;;
+ esac
+ exit 0 ;;
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
+ echo hppa64-unknown-linux-gnu
+ exit 0 ;;
+ s390:Linux:*:* | s390x:Linux:*:*)
+ echo ${UNAME_MACHINE}-ibm-linux
+ exit 0 ;;
+ sh*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit 0 ;;
+ sparc:Linux:*:* | sparc64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit 0 ;;
+ x86_64:Linux:*:*)
+ echo x86_64-unknown-linux-gnu
+ exit 0 ;;
+ i*86:Linux:*:*)
+ # The BFD linker knows what the default object file format is, so
+ # first see if it will tell us. cd to the root directory to prevent
+ # problems with other programs or directories called `ld' in the path.
+ # Set LC_ALL=C to ensure ld outputs messages in English.
+ ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
+ | sed -ne '/supported targets:/!d
+ s/[ ][ ]*/ /g
+ s/.*supported targets: *//
+ s/ .*//
+ p'`
+ case "$ld_supported_targets" in
+ elf32-i386)
+ TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
+ ;;
+ a.out-i386-linux)
+ echo "${UNAME_MACHINE}-pc-linux-gnuaout"
+ exit 0 ;;
+ coff-i386)
+ echo "${UNAME_MACHINE}-pc-linux-gnucoff"
+ exit 0 ;;
+ "")
+ # Either a pre-BFD a.out linker (linux-gnuoldld) or
+ # one that does not give us useful --help.
+ echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
+ exit 0 ;;
+ esac
+ # Determine whether the default compiler is a.out or elf
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #include <features.h>
+ #ifdef __ELF__
+ # ifdef __GLIBC__
+ # if __GLIBC__ >= 2
+ LIBC=gnu
+ # else
+ LIBC=gnulibc1
+ # endif
+ # else
+ LIBC=gnulibc1
+ # endif
+ #else
+ #ifdef __INTEL_COMPILER
+ LIBC=gnu
+ #else
+ LIBC=gnuaout
+ #endif
+ #endif
+EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
+ rm -f $dummy.c && rmdir $tmpdir
+ test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
+ test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
+ ;;
+ i*86:DYNIX/ptx:4*:*)
+ # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
+ # earlier versions are messed up and put the nodename in both
+ # sysname and nodename.
+ echo i386-sequent-sysv4
+ exit 0 ;;
+ i*86:UNIX_SV:4.2MP:2.*)
+ # Unixware is an offshoot of SVR4, but it has its own version
+ # number series starting with 2...
+ # I am not positive that other SVR4 systems won't match this,
+ # I just have to hope. -- rms.
+ # Use sysv4.2uw... so that sysv4* matches it.
+ echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
+ exit 0 ;;
+ i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
+ UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
+ if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
+ echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
+ else
+ echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
+ fi
+ exit 0 ;;
+ i*86:*:5:[78]*)
+ case `/bin/uname -X | grep "^Machine"` in
+ *486*) UNAME_MACHINE=i486 ;;
+ *Pentium) UNAME_MACHINE=i586 ;;
+ *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
+ esac
+ echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
+ exit 0 ;;
+ i*86:*:3.2:*)
+ if test -f /usr/options/cb.name; then
+ UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
+ echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
+ elif /bin/uname -X 2>/dev/null >/dev/null ; then
+ UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
+ (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
+ (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
+ && UNAME_MACHINE=i586
+ (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
+ && UNAME_MACHINE=i686
+ (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
+ && UNAME_MACHINE=i686
+ echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
+ else
+ echo ${UNAME_MACHINE}-pc-sysv32
+ fi
+ exit 0 ;;
+ i*86:*DOS:*:*)
+ echo ${UNAME_MACHINE}-pc-msdosdjgpp
+ exit 0 ;;
+ pc:*:*:*)
+ # Left here for compatibility:
+ # uname -m prints for DJGPP always 'pc', but it prints nothing about
+ # the processor, so we play safe by assuming i386.
+ echo i386-pc-msdosdjgpp
+ exit 0 ;;
+ Intel:Mach:3*:*)
+ echo i386-pc-mach3
+ exit 0 ;;
+ paragon:*:*:*)
+ echo i860-intel-osf1
+ exit 0 ;;
+ i860:*:4.*:*) # i860-SVR4
+ if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
+ echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
+ else # Add other i860-SVR4 vendors below as they are discovered.
+ echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
+ fi
+ exit 0 ;;
+ mini*:CTIX:SYS*5:*)
+ # "miniframe"
+ echo m68010-convergent-sysv
+ exit 0 ;;
+ mc68k:UNIX:SYSTEM5:3.51m)
+ echo m68k-convergent-sysv
+ exit 0 ;;
+ M68*:*:R3V[567]*:*)
+ test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
+ 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
+ OS_REL=''
+ test -r /etc/.relid \
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && echo i486-ncr-sysv4.3${OS_REL} && exit 0
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+ && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
+ 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && echo i486-ncr-sysv4 && exit 0 ;;
+ m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
+ echo m68k-unknown-lynxos${UNAME_RELEASE}
+ exit 0 ;;
+ mc68030:UNIX_System_V:4.*:*)
+ echo m68k-atari-sysv4
+ exit 0 ;;
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
+ echo i386-unknown-lynxos${UNAME_RELEASE}
+ exit 0 ;;
+ TSUNAMI:LynxOS:2.*:*)
+ echo sparc-unknown-lynxos${UNAME_RELEASE}
+ exit 0 ;;
+ rs6000:LynxOS:2.*:*)
+ echo rs6000-unknown-lynxos${UNAME_RELEASE}
+ exit 0 ;;
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
+ echo powerpc-unknown-lynxos${UNAME_RELEASE}
+ exit 0 ;;
+ SM[BE]S:UNIX_SV:*:*)
+ echo mips-dde-sysv${UNAME_RELEASE}
+ exit 0 ;;
+ RM*:ReliantUNIX-*:*:*)
+ echo mips-sni-sysv4
+ exit 0 ;;
+ RM*:SINIX-*:*:*)
+ echo mips-sni-sysv4
+ exit 0 ;;
+ *:SINIX-*:*:*)
+ if uname -p 2>/dev/null >/dev/null ; then
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
+ echo ${UNAME_MACHINE}-sni-sysv4
+ else
+ echo ns32k-sni-sysv
+ fi
+ exit 0 ;;
+ PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+ # says <Richard.M.Bartel@ccMail.Census.GOV>
+ echo i586-unisys-sysv4
+ exit 0 ;;
+ *:UNIX_System_V:4*:FTX*)
+ # From Gerald Hewes <hewes@openmarket.com>.
+ # How about differentiating between stratus architectures? -djm
+ echo hppa1.1-stratus-sysv4
+ exit 0 ;;
+ *:*:*:FTX*)
+ # From seanf@swdc.stratus.com.
+ echo i860-stratus-sysv4
+ exit 0 ;;
+ *:VOS:*:*)
+ # From Paul.Green@stratus.com.
+ echo hppa1.1-stratus-vos
+ exit 0 ;;
+ mc68*:A/UX:*:*)
+ echo m68k-apple-aux${UNAME_RELEASE}
+ exit 0 ;;
+ news*:NEWS-OS:6*:*)
+ echo mips-sony-newsos6
+ exit 0 ;;
+ R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
+ if [ -d /usr/nec ]; then
+ echo mips-nec-sysv${UNAME_RELEASE}
+ else
+ echo mips-unknown-sysv${UNAME_RELEASE}
+ fi
+ exit 0 ;;
+ BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
+ echo powerpc-be-beos
+ exit 0 ;;
+ BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
+ echo powerpc-apple-beos
+ exit 0 ;;
+ BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
+ echo i586-pc-beos
+ exit 0 ;;
+ SX-4:SUPER-UX:*:*)
+ echo sx4-nec-superux${UNAME_RELEASE}
+ exit 0 ;;
+ SX-5:SUPER-UX:*:*)
+ echo sx5-nec-superux${UNAME_RELEASE}
+ exit 0 ;;
+ SX-6:SUPER-UX:*:*)
+ echo sx6-nec-superux${UNAME_RELEASE}
+ exit 0 ;;
+ Power*:Rhapsody:*:*)
+ echo powerpc-apple-rhapsody${UNAME_RELEASE}
+ exit 0 ;;
+ *:Rhapsody:*:*)
+ echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
+ exit 0 ;;
+ *:Darwin:*:*)
+ echo `uname -p`-apple-darwin${UNAME_RELEASE}
+ exit 0 ;;
+ *:procnto*:*:* | *:QNX:[0123456789]*:*)
+ UNAME_PROCESSOR=`uname -p`
+ if test "$UNAME_PROCESSOR" = "x86"; then
+ UNAME_PROCESSOR=i386
+ UNAME_MACHINE=pc
+ fi
+ echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
+ exit 0 ;;
+ *:QNX:*:4*)
+ echo i386-pc-qnx
+ exit 0 ;;
+ NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
+ echo nsr-tandem-nsk${UNAME_RELEASE}
+ exit 0 ;;
+ *:NonStop-UX:*:*)
+ echo mips-compaq-nonstopux
+ exit 0 ;;
+ BS2000:POSIX*:*:*)
+ echo bs2000-siemens-sysv
+ exit 0 ;;
+ DS/*:UNIX_System_V:*:*)
+ echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
+ exit 0 ;;
+ *:Plan9:*:*)
+ # "uname -m" is not consistent, so use $cputype instead. 386
+ # is converted to i386 for consistency with other x86
+ # operating systems.
+ if test "$cputype" = "386"; then
+ UNAME_MACHINE=i386
+ else
+ UNAME_MACHINE="$cputype"
+ fi
+ echo ${UNAME_MACHINE}-unknown-plan9
+ exit 0 ;;
+ i*86:OS/2:*:*)
+ # If we were able to find `uname', then EMX Unix compatibility
+ # is probably installed.
+ echo ${UNAME_MACHINE}-pc-os2-emx
+ exit 0 ;;
+ *:TOPS-10:*:*)
+ echo pdp10-unknown-tops10
+ exit 0 ;;
+ *:TENEX:*:*)
+ echo pdp10-unknown-tenex
+ exit 0 ;;
+ KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
+ echo pdp10-dec-tops20
+ exit 0 ;;
+ XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
+ echo pdp10-xkl-tops20
+ exit 0 ;;
+ *:TOPS-20:*:*)
+ echo pdp10-unknown-tops20
+ exit 0 ;;
+ *:ITS:*:*)
+ echo pdp10-unknown-its
+ exit 0 ;;
+ i*86:XTS-300:*:STOP)
+ echo ${UNAME_MACHINE}-unknown-stop
+ exit 0 ;;
+ i*86:atheos:*:*)
+ echo ${UNAME_MACHINE}-unknown-atheos
+ exit 0 ;;
+esac
+
+#echo '(No uname command or uname output not recognized.)' 1>&2
+#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
+
+eval $set_cc_for_build
+cat >$dummy.c <<EOF
+#ifdef _SEQUENT_
+# include <sys/types.h>
+# include <sys/utsname.h>
+#endif
+main ()
+{
+#if defined (sony)
+#if defined (MIPSEB)
+ /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
+ I don't know.... */
+ printf ("mips-sony-bsd\n"); exit (0);
+#else
+#include <sys/param.h>
+ printf ("m68k-sony-newsos%s\n",
+#ifdef NEWSOS4
+ "4"
+#else
+ ""
+#endif
+ ); exit (0);
+#endif
+#endif
+
+#if defined (__arm) && defined (__acorn) && defined (__unix)
+ printf ("arm-acorn-riscix"); exit (0);
+#endif
+
+#if defined (hp300) && !defined (hpux)
+ printf ("m68k-hp-bsd\n"); exit (0);
+#endif
+
+#if defined (NeXT)
+#if !defined (__ARCHITECTURE__)
+#define __ARCHITECTURE__ "m68k"
+#endif
+ int version;
+ version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
+ if (version < 4)
+ printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
+ else
+ printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
+ exit (0);
+#endif
+
+#if defined (MULTIMAX) || defined (n16)
+#if defined (UMAXV)
+ printf ("ns32k-encore-sysv\n"); exit (0);
+#else
+#if defined (CMU)
+ printf ("ns32k-encore-mach\n"); exit (0);
+#else
+ printf ("ns32k-encore-bsd\n"); exit (0);
+#endif
+#endif
+#endif
+
+#if defined (__386BSD__)
+ printf ("i386-pc-bsd\n"); exit (0);
+#endif
+
+#if defined (sequent)
+#if defined (i386)
+ printf ("i386-sequent-dynix\n"); exit (0);
+#endif
+#if defined (ns32000)
+ printf ("ns32k-sequent-dynix\n"); exit (0);
+#endif
+#endif
+
+#if defined (_SEQUENT_)
+ struct utsname un;
+
+ uname(&un);
+
+ if (strncmp(un.version, "V2", 2) == 0) {
+ printf ("i386-sequent-ptx2\n"); exit (0);
+ }
+ if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
+ printf ("i386-sequent-ptx1\n"); exit (0);
+ }
+ printf ("i386-sequent-ptx\n"); exit (0);
+
+#endif
+
+#if defined (vax)
+# if !defined (ultrix)
+# include <sys/param.h>
+# if defined (BSD)
+# if BSD == 43
+ printf ("vax-dec-bsd4.3\n"); exit (0);
+# else
+# if BSD == 199006
+ printf ("vax-dec-bsd4.3reno\n"); exit (0);
+# else
+ printf ("vax-dec-bsd\n"); exit (0);
+# endif
+# endif
+# else
+ printf ("vax-dec-bsd\n"); exit (0);
+# endif
+# else
+ printf ("vax-dec-ultrix\n"); exit (0);
+# endif
+#endif
+
+#if defined (alliant) && defined (i860)
+ printf ("i860-alliant-bsd\n"); exit (0);
+#endif
+
+ exit (1);
+}
+EOF
+
+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
+rm -f $dummy.c $dummy && rmdir $tmpdir
+
+# Apollos put the system type in the environment.
+
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
+
+# Convex versions that predate uname can use getsysinfo(1)
+
+if [ -x /usr/convex/getsysinfo ]
+then
+ case `getsysinfo -f cpu_type` in
+ c1*)
+ echo c1-convex-bsd
+ exit 0 ;;
+ c2*)
+ if getsysinfo -f scalar_acc
+ then echo c32-convex-bsd
+ else echo c2-convex-bsd
+ fi
+ exit 0 ;;
+ c34*)
+ echo c34-convex-bsd
+ exit 0 ;;
+ c38*)
+ echo c38-convex-bsd
+ exit 0 ;;
+ c4*)
+ echo c4-convex-bsd
+ exit 0 ;;
+ esac
+fi
+
+cat >&2 <<EOF
+$0: unable to guess system type
+
+This script, last modified $timestamp, has failed to recognize
+the operating system you are using. It is advised that you
+download the most up to date version of the config scripts from
+
+ ftp://ftp.gnu.org/pub/gnu/config/
+
+If the version you run ($0) is already up to date, please
+send the following data and any information you think might be
+pertinent to <config-patches@gnu.org> in order to provide the needed
+information to handle your system.
+
+config.guess timestamp = $timestamp
+
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
+
+hostinfo = `(hostinfo) 2>/dev/null`
+/bin/universe = `(/bin/universe) 2>/dev/null`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
+/bin/arch = `(/bin/arch) 2>/dev/null`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
+
+UNAME_MACHINE = ${UNAME_MACHINE}
+UNAME_RELEASE = ${UNAME_RELEASE}
+UNAME_SYSTEM = ${UNAME_SYSTEM}
+UNAME_VERSION = ${UNAME_VERSION}
+EOF
+
+exit 1
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "timestamp='"
+# time-stamp-format: "%:y-%02m-%02d"
+# time-stamp-end: "'"
+# End:
diff --git a/gettext-tools/examples/hello-c++-kde/admin/config.pl b/gettext-tools/examples/hello-c++-kde/admin/config.pl
new file mode 100644
index 0000000..1af1cf2
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/config.pl
@@ -0,0 +1,235 @@
+#!/usr/bin/perl
+# a script for use by autoconf to make the Makefiles
+# from the Makefile.in's
+#
+# the original autoconf mechanism first splits all substitutions into groups
+# of ca. 90, and than invokes sed for _every_ Makefile.in and every group
+# (so around 2-3 times per Makefile.in). So this takes forever, as sed
+# has to recompile the regexps every time.
+#
+# this script does better. It changes all Makefile.ins in one process.
+# in kdelibs the time for building Makefile went down from 2:59 min to 13 sec!
+#
+# written by Michael Matz <matz@kde.org>
+# adapted by Dirk Mueller <mueller@kde.org>
+
+# This file is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Library General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Library General Public License for more details.
+
+# You should have received a copy of the GNU Library General Public License
+# along with this library; see the file COPYING.LIB. If not, write to
+# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+my $ac_subs=$ARGV[0];
+my $ac_sacfiles = $ARGV[1];
+my $ac_given_srcdir=$ARGV[2];
+my $ac_given_INSTALL=$ARGV[3];
+
+#print "ac_subs=$ac_subs\n";
+#print "ac_sacfiles=$ac_sacfiles\n";
+#print "ac_given_srcdir=$ac_given_srcdir\n";
+#print "ac_given_INSTALL=$ac_given_INSTALL\n";
+
+my ($srcdir, $top_srcdir);
+my $INSTALL;
+my $bad_perl = ($] < 5.005);
+
+open(CF, "< $ac_subs") || die "can't open $ac_subs: $!";
+my @subs = <CF>;
+close(CF);
+chomp @subs;
+@comp_match=();
+@comp_subs=();
+
+if ($bad_perl) {
+ print "Using perl older than version 5.005\n";
+ foreach my $pat (@subs) {
+ if ( ($pat =~ m/s%([^%]*)%([^%]*)%g/ )
+ || ($pat =~ m/s%([^%]*)%([^%]*)%;t/ )
+ || ($pat =~ m/s,([^,]*),(.*),;t/)
+ || ($pat =~ m%s/([^/]*)/([^/]*)/g% )
+ || ($pat =~ m%s/([^/]*)/([^/]*)/;t% )
+ ) {
+ # form : s%bla%blubb%g
+ # or s%bla%blubb%;t t (autoconf > 2.13 and < 2.52 ?)
+ # or s,bla,blubb,;t t (autoconf 2.52)
+ my $srch = $1;
+ my $repl = $2;
+ $repl =~ s/\\(.)/$1/g;
+ push @comp_subs, make_closure($srch, $repl);
+
+ } elsif ( ($pat =~ /%([^%]*)%d/ )
+ || ($pat =~ m%/([^/]*)/d% )
+ ) {
+ push @comp_subs, make_closure($1, "");
+ } else {
+ die "Uhh. Malformed pattern in $ac_subs ($pat)"
+ unless ( $pat =~ /^\s*$/ ); # ignore white lines
+ }
+ }
+} else {
+ foreach my $pat (@subs) {
+ if ( ($pat =~ /s%([^%]*)%([^%]*)%g/ ) ||
+ ($pat =~ /s%([^%]*)%([^%]*)%;t/ ) ||
+ ($pat =~ /s,([^,]*),(.*),;t/) ) {
+ # form : s%bla%blubb%g
+ # or s%bla%blubb%;t t (autoconf > 2.13 and < 2.52 ?)
+ # or s,bla,blubb,;t t (autoconf 2.52)
+ my $srch = $1;
+ my $repl = $2;
+ push @comp_match, eval "qr/\Q$srch\E/"; # compile match pattern
+ $repl =~ s/\\(.)/$1/g;
+ push @comp_subs, $repl;
+ } elsif ( ($pat =~ /%([^%]*)%d/ )
+ || ($pat =~ m%/([^/]*)/d% )
+ ) {
+ push @comp_match, eval "qr/\Q$1\E/";
+ push @comp_subs, "";
+ } else {
+ die "Uhh. Malformed pattern in $ac_cs_root.subs ($pat)"
+ unless ( $pat =~ /^\s*$/ ); # ignore white lines
+ }
+ }
+}
+undef @subs;
+
+# read the list of files to be patched, form:
+# ./Makefile arts/Makefile arts/examples/Makefile arts/flow/Makefile
+
+open(CF, "< $ac_sacfiles") || die "can't open $ac_sacfiles: $!";
+my @ac_files = <CF>;
+close(CF);
+chomp @ac_files;
+
+
+my $ac_file;
+foreach $ac_file (@ac_files) {
+ next if $ac_file =~ /\.\./;
+ next if $ac_file =~ /^\s*$/;
+ my $ac_file_in;
+ my ($ac_dir, $ac_dots, $ac_dir_suffix);
+
+ if ($ac_file =~ /.*:.*/ ) {
+ ($ac_file_in = $ac_file) =~ s%[^:]*:%%;
+ $ac_file =~ s%:.*%%;
+ } else {
+ $ac_file_in = $ac_file.".in";
+ }
+
+# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
+
+# Remove last slash and all that follows it. Not all systems have dirname.
+ ($ac_dir = $ac_file) =~ s%/[^/][^/]*$%%;
+ if ( ($ac_dir ne $ac_file) && ($ac_dir ne ".")) {
+# The file is in a subdirectory.
+ if (! -d "$ac_dir") { mkdir "$ac_dir", 0777; }
+ ($ac_dir_suffix = $ac_dir) =~ s%^./%%;
+ $ac_dir_suffix="/".$ac_dir_suffix;
+# A "../" for each directory in $ac_dir_suffix.
+ ($ac_dots = $ac_dir_suffix) =~ s%/[^/]*%../%g;
+ } else {
+ $ac_dir_suffix="";
+ $ac_dots="";
+ }
+
+ if ($ac_given_srcdir eq ".") {
+ $srcdir=".";
+ if ($ac_dots) {
+ ( $top_srcdir = $ac_dots) =~ s%/$%%;
+ } else { $top_srcdir="."; }
+ } elsif ($ac_given_srcdir =~ m%^/%) {
+ $srcdir=$ac_given_srcdir.$ac_dir_suffix;
+ $top_srcdir = $ac_given_srcdir;
+ } else {
+ $srcdir = $ac_dots.$ac_given_srcdir.$ac_dir_suffix;
+ $top_srcdir = $ac_dots.$ac_given_srcdir;
+ }
+
+ if ($ac_given_INSTALL) {
+ if ($ac_given_INSTALL =~ m%^/% ) {
+ $INSTALL = $ac_given_INSTALL;
+ } else {
+ $INSTALL = $ac_dots.$ac_given_INSTALL;
+ }
+ }
+
+ print "fast creating $ac_file\n";
+ unlink $ac_file;
+ my $ac_comsub="";
+ my $fname=$ac_file_in;
+ $fname =~ s%.*/%%;
+ my $configure_input="Generated automatically from $fname by config.pl.";
+ if ($ac_file =~ /.*[Mm]akefile.*/) {
+ $ac_comsub="# ".$configure_input."\n"; # for the first line in $ac_file
+ }
+
+ my $ac_file_inputs;
+ ($ac_file_inputs = $ac_file_in) =~ s%^%$ac_given_srcdir/%;
+ $ac_file_inputs =~ s%:% $ac_given_srcdir/%g;
+
+ patch_file($ac_file, $ac_file_inputs, $ac_comsub);
+}
+
+sub patch_file {
+ my ($outf, $infiles, $identline) = @_;
+ my $filedata;
+ my @infiles=split(' ', $infiles);
+ my $i=0;
+
+ foreach my $name (@infiles) {
+ if (open(CF, "< $name")) {
+ while (<CF>) {
+ $filedata .= $_;
+ }
+ close(CF);
+ } else {
+ print STDERR "can't open $name: $!"."\n";
+ }
+ }
+ if ($identline) {
+ # Put the ident in the second line. For shitty automake 1.6x.
+ $filedata =~ s%\n%\n$identline%;
+ }
+
+ $filedata =~ s%\@configure_input\@%$configure_input%g;
+ $filedata =~ s%\@srcdir\@%$srcdir%g;
+ $filedata =~ s%\@top_srcdir\@%$top_srcdir%g;
+ $filedata =~ s%\@INSTALL\@%$INSTALL%g;
+
+ if ($bad_perl) {
+ while ($i <= $#comp_subs) {
+ my $ref = $comp_subs[$i];
+ &$ref(\$filedata);
+ $i++;
+ }
+ } else {
+ while ($i <= $#comp_match) {
+ $filedata =~ s/$comp_match[$i]/$comp_subs[$i]/g;
+ $i++;
+ }
+ }
+ open(CF, "> $outf") || die "can't create $outf: $!";
+ print CF $filedata;
+ close(CF);
+}
+
+sub make_closure {
+ my ($pat, $sub) = @_;
+ $pat =~ s/\@/\\@/g; # @bla@ -> \@bla\@
+ $pat =~ s/\$/\\\$/g; # $bla -> \$bla
+ $sub =~ s/\@/\\@/g;
+ $sub =~ s/\$/\\\$/g;
+ my $ret = eval "return sub { my \$ref=shift; \$\$ref =~ s%$pat%$sub%g; }";
+ if ($@) {
+ print "can't create CODE: $@\n";
+ }
+ return $ret;
+}
diff --git a/gettext-tools/examples/hello-c++-kde/admin/config.sub b/gettext-tools/examples/hello-c++-kde/admin/config.sub
new file mode 100755
index 0000000..1dea9b7
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/config.sub
@@ -0,0 +1,1470 @@
+#! /bin/sh
+# Configuration validation subroutine script.
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+# 2000, 2001, 2002 Free Software Foundation, Inc.
+
+timestamp='2002-09-05'
+
+# This file is (in principle) common to ALL GNU software.
+# The presence of a machine in this file suggests that SOME GNU software
+# can handle that machine. It does not imply ALL GNU software can.
+#
+# This file is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# Please send patches to <config-patches@gnu.org>. Submit a context
+# diff and a properly formatted ChangeLog entry.
+#
+# Configuration subroutine to validate and canonicalize a configuration type.
+# Supply the specified configuration type as an argument.
+# If it is invalid, we print an error message on stderr and exit with code 1.
+# Otherwise, we print the canonical config type on stdout and succeed.
+
+# This file is supposed to be the same for all GNU packages
+# and recognize all the CPU types, system types and aliases
+# that are meaningful with *any* GNU software.
+# Each package is responsible for reporting which valid configurations
+# it does not support. The user should be able to distinguish
+# a failure to support a valid configuration from a meaningless
+# configuration.
+
+# The goal of this file is to map all the various variations of a given
+# machine specification into a single specification in the form:
+# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
+# or in some cases, the newer four-part form:
+# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
+# It is wrong to echo any other type of specification.
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION] CPU-MFR-OPSYS
+ $0 [OPTION] ALIAS
+
+Canonicalize a configuration name.
+
+Operation modes:
+ -h, --help print this help, then exit
+ -t, --time-stamp print date of last modification, then exit
+ -v, --version print version number, then exit
+
+Report bugs and patches to <config-patches@gnu.org>."
+
+version="\
+GNU config.sub ($timestamp)
+
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
+Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+ case $1 in
+ --time-stamp | --time* | -t )
+ echo "$timestamp" ; exit 0 ;;
+ --version | -v )
+ echo "$version" ; exit 0 ;;
+ --help | --h* | -h )
+ echo "$usage"; exit 0 ;;
+ -- ) # Stop option processing
+ shift; break ;;
+ - ) # Use stdin as input.
+ break ;;
+ -* )
+ echo "$me: invalid option $1$help"
+ exit 1 ;;
+
+ *local*)
+ # First pass through any local machine types.
+ echo $1
+ exit 0;;
+
+ * )
+ break ;;
+ esac
+done
+
+case $# in
+ 0) echo "$me: missing argument$help" >&2
+ exit 1;;
+ 1) ;;
+ *) echo "$me: too many arguments$help" >&2
+ exit 1;;
+esac
+
+# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
+# Here we must recognize all the valid KERNEL-OS combinations.
+maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+case $maybe_os in
+ nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
+ os=-$maybe_os
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+ ;;
+ *)
+ basic_machine=`echo $1 | sed 's/-[^-]*$//'`
+ if [ $basic_machine != $1 ]
+ then os=`echo $1 | sed 's/.*-/-/'`
+ else os=; fi
+ ;;
+esac
+
+### Let's recognize common machines as not being operating systems so
+### that things like config.sub decstation-3100 work. We also
+### recognize some manufacturers as not being operating systems, so we
+### can provide default operating systems below.
+case $os in
+ -sun*os*)
+ # Prevent following clause from handling this invalid input.
+ ;;
+ -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
+ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
+ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
+ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
+ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
+ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
+ -apple | -axis)
+ os=
+ basic_machine=$1
+ ;;
+ -sim | -cisco | -oki | -wec | -winbond)
+ os=
+ basic_machine=$1
+ ;;
+ -scout)
+ ;;
+ -wrs)
+ os=-vxworks
+ basic_machine=$1
+ ;;
+ -chorusos*)
+ os=-chorusos
+ basic_machine=$1
+ ;;
+ -chorusrdb)
+ os=-chorusrdb
+ basic_machine=$1
+ ;;
+ -hiux*)
+ os=-hiuxwe2
+ ;;
+ -sco5)
+ os=-sco3.2v5
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco4)
+ os=-sco3.2v4
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco3.2.[4-9]*)
+ os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco3.2v[4-9]*)
+ # Don't forget version if it is 3.2v4 or newer.
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco*)
+ os=-sco3.2v2
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -udk*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -isc)
+ os=-isc2.2
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -clix*)
+ basic_machine=clipper-intergraph
+ ;;
+ -isc*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -lynx*)
+ os=-lynxos
+ ;;
+ -ptx*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
+ ;;
+ -windowsnt*)
+ os=`echo $os | sed -e 's/windowsnt/winnt/'`
+ ;;
+ -psos*)
+ os=-psos
+ ;;
+ -mint | -mint[0-9]*)
+ basic_machine=m68k-atari
+ os=-mint
+ ;;
+esac
+
+# Decode aliases for certain CPU-COMPANY combinations.
+case $basic_machine in
+ # Recognize the basic CPU types without company name.
+ # Some are omitted here because they have special meanings below.
+ 1750a | 580 \
+ | a29k \
+ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
+ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
+ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
+ | clipper \
+ | d10v | d30v | dlx | dsp16xx \
+ | fr30 | frv \
+ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
+ | i370 | i860 | i960 | ia64 \
+ | ip2k \
+ | m32r | m68000 | m68k | m88k | mcore \
+ | mips | mipsbe | mipseb | mipsel | mipsle \
+ | mips16 \
+ | mips64 | mips64el \
+ | mips64vr | mips64vrel \
+ | mips64orion | mips64orionel \
+ | mips64vr4100 | mips64vr4100el \
+ | mips64vr4300 | mips64vr4300el \
+ | mips64vr5000 | mips64vr5000el \
+ | mipsisa32 | mipsisa32el \
+ | mipsisa64 | mipsisa64el \
+ | mipsisa64sb1 | mipsisa64sb1el \
+ | mipsisa64sr71k | mipsisa64sr71kel \
+ | mipstx39 | mipstx39el \
+ | mn10200 | mn10300 \
+ | ns16k | ns32k \
+ | openrisc | or32 \
+ | pdp10 | pdp11 | pj | pjl \
+ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
+ | pyramid \
+ | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
+ | sh64 | sh64le \
+ | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
+ | strongarm \
+ | tahoe | thumb | tic80 | tron \
+ | v850 | v850e \
+ | we32k \
+ | x86 | xscale | xstormy16 | xtensa \
+ | z8k)
+ basic_machine=$basic_machine-unknown
+ ;;
+ m6811 | m68hc11 | m6812 | m68hc12)
+ # Motorola 68HC11/12.
+ basic_machine=$basic_machine-unknown
+ os=-none
+ ;;
+ m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
+ ;;
+
+ # We use `pc' rather than `unknown'
+ # because (1) that's what they normally are, and
+ # (2) the word "unknown" tends to confuse beginning users.
+ i*86 | x86_64)
+ basic_machine=$basic_machine-pc
+ ;;
+ # Object if more than one company name word.
+ *-*-*)
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ exit 1
+ ;;
+ # Recognize the basic CPU types with company name.
+ 580-* \
+ | a29k-* \
+ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
+ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
+ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
+ | avr-* \
+ | bs2000-* \
+ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
+ | clipper-* | cydra-* \
+ | d10v-* | d30v-* | dlx-* \
+ | elxsi-* \
+ | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
+ | h8300-* | h8500-* \
+ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
+ | i*86-* | i860-* | i960-* | ia64-* \
+ | ip2k-* \
+ | m32r-* \
+ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
+ | m88110-* | m88k-* | mcore-* \
+ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
+ | mips16-* \
+ | mips64-* | mips64el-* \
+ | mips64vr-* | mips64vrel-* \
+ | mips64orion-* | mips64orionel-* \
+ | mips64vr4100-* | mips64vr4100el-* \
+ | mips64vr4300-* | mips64vr4300el-* \
+ | mips64vr5000-* | mips64vr5000el-* \
+ | mipsisa32-* | mipsisa32el-* \
+ | mipsisa64-* | mipsisa64el-* \
+ | mipsisa64sb1-* | mipsisa64sb1el-* \
+ | mipsisa64sr71k-* | mipsisa64sr71kel-* \
+ | mipstx39 | mipstx39el \
+ | none-* | np1-* | ns16k-* | ns32k-* \
+ | orion-* \
+ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
+ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
+ | pyramid-* \
+ | romp-* | rs6000-* \
+ | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
+ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
+ | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
+ | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
+ | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
+ | v850-* | v850e-* | vax-* \
+ | we32k-* \
+ | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
+ | xtensa-* \
+ | ymp-* \
+ | z8k-*)
+ ;;
+ # Recognize the various machine names and aliases which stand
+ # for a CPU type and a company and sometimes even an OS.
+ 386bsd)
+ basic_machine=i386-unknown
+ os=-bsd
+ ;;
+ 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
+ basic_machine=m68000-att
+ ;;
+ 3b*)
+ basic_machine=we32k-att
+ ;;
+ a29khif)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ adobe68k)
+ basic_machine=m68010-adobe
+ os=-scout
+ ;;
+ alliant | fx80)
+ basic_machine=fx80-alliant
+ ;;
+ altos | altos3068)
+ basic_machine=m68k-altos
+ ;;
+ am29k)
+ basic_machine=a29k-none
+ os=-bsd
+ ;;
+ amdahl)
+ basic_machine=580-amdahl
+ os=-sysv
+ ;;
+ amiga | amiga-*)
+ basic_machine=m68k-unknown
+ ;;
+ amigaos | amigados)
+ basic_machine=m68k-unknown
+ os=-amigaos
+ ;;
+ amigaunix | amix)
+ basic_machine=m68k-unknown
+ os=-sysv4
+ ;;
+ apollo68)
+ basic_machine=m68k-apollo
+ os=-sysv
+ ;;
+ apollo68bsd)
+ basic_machine=m68k-apollo
+ os=-bsd
+ ;;
+ aux)
+ basic_machine=m68k-apple
+ os=-aux
+ ;;
+ balance)
+ basic_machine=ns32k-sequent
+ os=-dynix
+ ;;
+ c90)
+ basic_machine=c90-cray
+ os=-unicos
+ ;;
+ convex-c1)
+ basic_machine=c1-convex
+ os=-bsd
+ ;;
+ convex-c2)
+ basic_machine=c2-convex
+ os=-bsd
+ ;;
+ convex-c32)
+ basic_machine=c32-convex
+ os=-bsd
+ ;;
+ convex-c34)
+ basic_machine=c34-convex
+ os=-bsd
+ ;;
+ convex-c38)
+ basic_machine=c38-convex
+ os=-bsd
+ ;;
+ cray | j90)
+ basic_machine=j90-cray
+ os=-unicos
+ ;;
+ crds | unos)
+ basic_machine=m68k-crds
+ ;;
+ cris | cris-* | etrax*)
+ basic_machine=cris-axis
+ ;;
+ da30 | da30-*)
+ basic_machine=m68k-da30
+ ;;
+ decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
+ basic_machine=mips-dec
+ ;;
+ decsystem10* | dec10*)
+ basic_machine=pdp10-dec
+ os=-tops10
+ ;;
+ decsystem20* | dec20*)
+ basic_machine=pdp10-dec
+ os=-tops20
+ ;;
+ delta | 3300 | motorola-3300 | motorola-delta \
+ | 3300-motorola | delta-motorola)
+ basic_machine=m68k-motorola
+ ;;
+ delta88)
+ basic_machine=m88k-motorola
+ os=-sysv3
+ ;;
+ dpx20 | dpx20-*)
+ basic_machine=rs6000-bull
+ os=-bosx
+ ;;
+ dpx2* | dpx2*-bull)
+ basic_machine=m68k-bull
+ os=-sysv3
+ ;;
+ ebmon29k)
+ basic_machine=a29k-amd
+ os=-ebmon
+ ;;
+ elxsi)
+ basic_machine=elxsi-elxsi
+ os=-bsd
+ ;;
+ encore | umax | mmax)
+ basic_machine=ns32k-encore
+ ;;
+ es1800 | OSE68k | ose68k | ose | OSE)
+ basic_machine=m68k-ericsson
+ os=-ose
+ ;;
+ fx2800)
+ basic_machine=i860-alliant
+ ;;
+ genix)
+ basic_machine=ns32k-ns
+ ;;
+ gmicro)
+ basic_machine=tron-gmicro
+ os=-sysv
+ ;;
+ go32)
+ basic_machine=i386-pc
+ os=-go32
+ ;;
+ h3050r* | hiux*)
+ basic_machine=hppa1.1-hitachi
+ os=-hiuxwe2
+ ;;
+ h8300hms)
+ basic_machine=h8300-hitachi
+ os=-hms
+ ;;
+ h8300xray)
+ basic_machine=h8300-hitachi
+ os=-xray
+ ;;
+ h8500hms)
+ basic_machine=h8500-hitachi
+ os=-hms
+ ;;
+ harris)
+ basic_machine=m88k-harris
+ os=-sysv3
+ ;;
+ hp300-*)
+ basic_machine=m68k-hp
+ ;;
+ hp300bsd)
+ basic_machine=m68k-hp
+ os=-bsd
+ ;;
+ hp300hpux)
+ basic_machine=m68k-hp
+ os=-hpux
+ ;;
+ hp3k9[0-9][0-9] | hp9[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hp9k2[0-9][0-9] | hp9k31[0-9])
+ basic_machine=m68000-hp
+ ;;
+ hp9k3[2-9][0-9])
+ basic_machine=m68k-hp
+ ;;
+ hp9k6[0-9][0-9] | hp6[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hp9k7[0-79][0-9] | hp7[0-79][0-9])
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k78[0-9] | hp78[0-9])
+ # FIXME: really hppa2.0-hp
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
+ # FIXME: really hppa2.0-hp
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[0-9][13679] | hp8[0-9][13679])
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[0-9][0-9] | hp8[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hppa-next)
+ os=-nextstep3
+ ;;
+ hppaosf)
+ basic_machine=hppa1.1-hp
+ os=-osf
+ ;;
+ hppro)
+ basic_machine=hppa1.1-hp
+ os=-proelf
+ ;;
+ i370-ibm* | ibm*)
+ basic_machine=i370-ibm
+ ;;
+# I'm not sure what "Sysv32" means. Should this be sysv3.2?
+ i*86v32)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv32
+ ;;
+ i*86v4*)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv4
+ ;;
+ i*86v)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv
+ ;;
+ i*86sol2)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-solaris2
+ ;;
+ i386mach)
+ basic_machine=i386-mach
+ os=-mach
+ ;;
+ i386-vsta | vsta)
+ basic_machine=i386-unknown
+ os=-vsta
+ ;;
+ iris | iris4d)
+ basic_machine=mips-sgi
+ case $os in
+ -irix*)
+ ;;
+ *)
+ os=-irix4
+ ;;
+ esac
+ ;;
+ isi68 | isi)
+ basic_machine=m68k-isi
+ os=-sysv
+ ;;
+ m88k-omron*)
+ basic_machine=m88k-omron
+ ;;
+ magnum | m3230)
+ basic_machine=mips-mips
+ os=-sysv
+ ;;
+ merlin)
+ basic_machine=ns32k-utek
+ os=-sysv
+ ;;
+ mingw32)
+ basic_machine=i386-pc
+ os=-mingw32
+ ;;
+ miniframe)
+ basic_machine=m68000-convergent
+ ;;
+ *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
+ basic_machine=m68k-atari
+ os=-mint
+ ;;
+ mips3*-*)
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
+ ;;
+ mips3*)
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
+ ;;
+ mmix*)
+ basic_machine=mmix-knuth
+ os=-mmixware
+ ;;
+ monitor)
+ basic_machine=m68k-rom68k
+ os=-coff
+ ;;
+ morphos)
+ basic_machine=powerpc-unknown
+ os=-morphos
+ ;;
+ msdos)
+ basic_machine=i386-pc
+ os=-msdos
+ ;;
+ mvs)
+ basic_machine=i370-ibm
+ os=-mvs
+ ;;
+ ncr3000)
+ basic_machine=i486-ncr
+ os=-sysv4
+ ;;
+ netbsd386)
+ basic_machine=i386-unknown
+ os=-netbsd
+ ;;
+ netwinder)
+ basic_machine=armv4l-rebel
+ os=-linux
+ ;;
+ news | news700 | news800 | news900)
+ basic_machine=m68k-sony
+ os=-newsos
+ ;;
+ news1000)
+ basic_machine=m68030-sony
+ os=-newsos
+ ;;
+ news-3600 | risc-news)
+ basic_machine=mips-sony
+ os=-newsos
+ ;;
+ necv70)
+ basic_machine=v70-nec
+ os=-sysv
+ ;;
+ next | m*-next )
+ basic_machine=m68k-next
+ case $os in
+ -nextstep* )
+ ;;
+ -ns2*)
+ os=-nextstep2
+ ;;
+ *)
+ os=-nextstep3
+ ;;
+ esac
+ ;;
+ nh3000)
+ basic_machine=m68k-harris
+ os=-cxux
+ ;;
+ nh[45]000)
+ basic_machine=m88k-harris
+ os=-cxux
+ ;;
+ nindy960)
+ basic_machine=i960-intel
+ os=-nindy
+ ;;
+ mon960)
+ basic_machine=i960-intel
+ os=-mon960
+ ;;
+ nonstopux)
+ basic_machine=mips-compaq
+ os=-nonstopux
+ ;;
+ np1)
+ basic_machine=np1-gould
+ ;;
+ nsr-tandem)
+ basic_machine=nsr-tandem
+ ;;
+ op50n-* | op60c-*)
+ basic_machine=hppa1.1-oki
+ os=-proelf
+ ;;
+ or32 | or32-*)
+ basic_machine=or32-unknown
+ os=-coff
+ ;;
+ OSE68000 | ose68000)
+ basic_machine=m68000-ericsson
+ os=-ose
+ ;;
+ os68k)
+ basic_machine=m68k-none
+ os=-os68k
+ ;;
+ pa-hitachi)
+ basic_machine=hppa1.1-hitachi
+ os=-hiuxwe2
+ ;;
+ paragon)
+ basic_machine=i860-intel
+ os=-osf
+ ;;
+ pbd)
+ basic_machine=sparc-tti
+ ;;
+ pbb)
+ basic_machine=m68k-tti
+ ;;
+ pc532 | pc532-*)
+ basic_machine=ns32k-pc532
+ ;;
+ pentium | p5 | k5 | k6 | nexgen | viac3)
+ basic_machine=i586-pc
+ ;;
+ pentiumpro | p6 | 6x86 | athlon | athlon_*)
+ basic_machine=i686-pc
+ ;;
+ pentiumii | pentium2)
+ basic_machine=i686-pc
+ ;;
+ pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
+ basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentiumpro-* | p6-* | 6x86-* | athlon-*)
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentiumii-* | pentium2-*)
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pn)
+ basic_machine=pn-gould
+ ;;
+ power) basic_machine=power-ibm
+ ;;
+ ppc) basic_machine=powerpc-unknown
+ ;;
+ ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppcle | powerpclittle | ppc-le | powerpc-little)
+ basic_machine=powerpcle-unknown
+ ;;
+ ppcle-* | powerpclittle-*)
+ basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppc64) basic_machine=powerpc64-unknown
+ ;;
+ ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppc64le | powerpc64little | ppc64-le | powerpc64-little)
+ basic_machine=powerpc64le-unknown
+ ;;
+ ppc64le-* | powerpc64little-*)
+ basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ps2)
+ basic_machine=i386-ibm
+ ;;
+ pw32)
+ basic_machine=i586-unknown
+ os=-pw32
+ ;;
+ rom68k)
+ basic_machine=m68k-rom68k
+ os=-coff
+ ;;
+ rm[46]00)
+ basic_machine=mips-siemens
+ ;;
+ rtpc | rtpc-*)
+ basic_machine=romp-ibm
+ ;;
+ s390 | s390-*)
+ basic_machine=s390-ibm
+ ;;
+ s390x | s390x-*)
+ basic_machine=s390x-ibm
+ ;;
+ sa29200)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ sb1)
+ basic_machine=mipsisa64sb1-unknown
+ ;;
+ sb1el)
+ basic_machine=mipsisa64sb1el-unknown
+ ;;
+ sequent)
+ basic_machine=i386-sequent
+ ;;
+ sh)
+ basic_machine=sh-hitachi
+ os=-hms
+ ;;
+ sparclite-wrs | simso-wrs)
+ basic_machine=sparclite-wrs
+ os=-vxworks
+ ;;
+ sps7)
+ basic_machine=m68k-bull
+ os=-sysv2
+ ;;
+ spur)
+ basic_machine=spur-unknown
+ ;;
+ st2000)
+ basic_machine=m68k-tandem
+ ;;
+ stratus)
+ basic_machine=i860-stratus
+ os=-sysv4
+ ;;
+ sun2)
+ basic_machine=m68000-sun
+ ;;
+ sun2os3)
+ basic_machine=m68000-sun
+ os=-sunos3
+ ;;
+ sun2os4)
+ basic_machine=m68000-sun
+ os=-sunos4
+ ;;
+ sun3os3)
+ basic_machine=m68k-sun
+ os=-sunos3
+ ;;
+ sun3os4)
+ basic_machine=m68k-sun
+ os=-sunos4
+ ;;
+ sun4os3)
+ basic_machine=sparc-sun
+ os=-sunos3
+ ;;
+ sun4os4)
+ basic_machine=sparc-sun
+ os=-sunos4
+ ;;
+ sun4sol2)
+ basic_machine=sparc-sun
+ os=-solaris2
+ ;;
+ sun3 | sun3-*)
+ basic_machine=m68k-sun
+ ;;
+ sun4)
+ basic_machine=sparc-sun
+ ;;
+ sun386 | sun386i | roadrunner)
+ basic_machine=i386-sun
+ ;;
+ sv1)
+ basic_machine=sv1-cray
+ os=-unicos
+ ;;
+ symmetry)
+ basic_machine=i386-sequent
+ os=-dynix
+ ;;
+ t3d)
+ basic_machine=alpha-cray
+ os=-unicos
+ ;;
+ t3e)
+ basic_machine=alphaev5-cray
+ os=-unicos
+ ;;
+ t90)
+ basic_machine=t90-cray
+ os=-unicos
+ ;;
+ tic4x | c4x*)
+ basic_machine=tic4x-unknown
+ os=-coff
+ ;;
+ tic54x | c54x*)
+ basic_machine=tic54x-unknown
+ os=-coff
+ ;;
+ tx39)
+ basic_machine=mipstx39-unknown
+ ;;
+ tx39el)
+ basic_machine=mipstx39el-unknown
+ ;;
+ toad1)
+ basic_machine=pdp10-xkl
+ os=-tops20
+ ;;
+ tower | tower-32)
+ basic_machine=m68k-ncr
+ ;;
+ udi29k)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ ultra3)
+ basic_machine=a29k-nyu
+ os=-sym1
+ ;;
+ v810 | necv810)
+ basic_machine=v810-nec
+ os=-none
+ ;;
+ vaxv)
+ basic_machine=vax-dec
+ os=-sysv
+ ;;
+ vms)
+ basic_machine=vax-dec
+ os=-vms
+ ;;
+ vpp*|vx|vx-*)
+ basic_machine=f301-fujitsu
+ ;;
+ vxworks960)
+ basic_machine=i960-wrs
+ os=-vxworks
+ ;;
+ vxworks68)
+ basic_machine=m68k-wrs
+ os=-vxworks
+ ;;
+ vxworks29k)
+ basic_machine=a29k-wrs
+ os=-vxworks
+ ;;
+ w65*)
+ basic_machine=w65-wdc
+ os=-none
+ ;;
+ w89k-*)
+ basic_machine=hppa1.1-winbond
+ os=-proelf
+ ;;
+ windows32)
+ basic_machine=i386-pc
+ os=-windows32-msvcrt
+ ;;
+ xps | xps100)
+ basic_machine=xps100-honeywell
+ ;;
+ ymp)
+ basic_machine=ymp-cray
+ os=-unicos
+ ;;
+ z8k-*-coff)
+ basic_machine=z8k-unknown
+ os=-sim
+ ;;
+ none)
+ basic_machine=none-none
+ os=-none
+ ;;
+
+# Here we handle the default manufacturer of certain CPU types. It is in
+# some cases the only manufacturer, in others, it is the most popular.
+ w89k)
+ basic_machine=hppa1.1-winbond
+ ;;
+ op50n)
+ basic_machine=hppa1.1-oki
+ ;;
+ op60c)
+ basic_machine=hppa1.1-oki
+ ;;
+ romp)
+ basic_machine=romp-ibm
+ ;;
+ rs6000)
+ basic_machine=rs6000-ibm
+ ;;
+ vax)
+ basic_machine=vax-dec
+ ;;
+ pdp10)
+ # there are many clones, so DEC is not a safe bet
+ basic_machine=pdp10-unknown
+ ;;
+ pdp11)
+ basic_machine=pdp11-dec
+ ;;
+ we32k)
+ basic_machine=we32k-att
+ ;;
+ sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
+ basic_machine=sh-unknown
+ ;;
+ sh64)
+ basic_machine=sh64-unknown
+ ;;
+ sparc | sparcv9 | sparcv9b)
+ basic_machine=sparc-sun
+ ;;
+ cydra)
+ basic_machine=cydra-cydrome
+ ;;
+ orion)
+ basic_machine=orion-highlevel
+ ;;
+ orion105)
+ basic_machine=clipper-highlevel
+ ;;
+ mac | mpw | mac-mpw)
+ basic_machine=m68k-apple
+ ;;
+ pmac | pmac-mpw)
+ basic_machine=powerpc-apple
+ ;;
+ *-unknown)
+ # Make sure to match an already-canonicalized machine name.
+ ;;
+ *)
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ exit 1
+ ;;
+esac
+
+# Here we canonicalize certain aliases for manufacturers.
+case $basic_machine in
+ *-digital*)
+ basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
+ ;;
+ *-commodore*)
+ basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
+ ;;
+ *)
+ ;;
+esac
+
+# Decode manufacturer-specific aliases for certain operating systems.
+
+if [ x"$os" != x"" ]
+then
+case $os in
+ # First match some system type aliases
+ # that might get confused with valid system types.
+ # -solaris* is a basic system type, with this one exception.
+ -solaris1 | -solaris1.*)
+ os=`echo $os | sed -e 's|solaris1|sunos4|'`
+ ;;
+ -solaris)
+ os=-solaris2
+ ;;
+ -svr4*)
+ os=-sysv4
+ ;;
+ -unixware*)
+ os=-sysv4.2uw
+ ;;
+ -gnu/linux*)
+ os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
+ ;;
+ # First accept the basic system types.
+ # The portable systems comes first.
+ # Each alternative MUST END IN A *, to match a version number.
+ # -sysv* is not here because it comes later, after sysvr4.
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
+ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
+ | -aos* \
+ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
+ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
+ | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
+ | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
+ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
+ | -chorusos* | -chorusrdb* \
+ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
+ | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
+ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
+ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
+ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*)
+ # Remember, each alternative MUST END IN *, to match a version number.
+ ;;
+ -qnx*)
+ case $basic_machine in
+ x86-* | i*86-*)
+ ;;
+ *)
+ os=-nto$os
+ ;;
+ esac
+ ;;
+ -nto*)
+ os=-nto-qnx
+ ;;
+ -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
+ | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
+ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
+ ;;
+ -mac*)
+ os=`echo $os | sed -e 's|mac|macos|'`
+ ;;
+ -linux*)
+ os=`echo $os | sed -e 's|linux|linux-gnu|'`
+ ;;
+ -sunos5*)
+ os=`echo $os | sed -e 's|sunos5|solaris2|'`
+ ;;
+ -sunos6*)
+ os=`echo $os | sed -e 's|sunos6|solaris3|'`
+ ;;
+ -opened*)
+ os=-openedition
+ ;;
+ -wince*)
+ os=-wince
+ ;;
+ -osfrose*)
+ os=-osfrose
+ ;;
+ -osf*)
+ os=-osf
+ ;;
+ -utek*)
+ os=-bsd
+ ;;
+ -dynix*)
+ os=-bsd
+ ;;
+ -acis*)
+ os=-aos
+ ;;
+ -atheos*)
+ os=-atheos
+ ;;
+ -386bsd)
+ os=-bsd
+ ;;
+ -ctix* | -uts*)
+ os=-sysv
+ ;;
+ -nova*)
+ os=-rtmk-nova
+ ;;
+ -ns2 )
+ os=-nextstep2
+ ;;
+ -nsk*)
+ os=-nsk
+ ;;
+ # Preserve the version number of sinix5.
+ -sinix5.*)
+ os=`echo $os | sed -e 's|sinix|sysv|'`
+ ;;
+ -sinix*)
+ os=-sysv4
+ ;;
+ -triton*)
+ os=-sysv3
+ ;;
+ -oss*)
+ os=-sysv3
+ ;;
+ -svr4)
+ os=-sysv4
+ ;;
+ -svr3)
+ os=-sysv3
+ ;;
+ -sysvr4)
+ os=-sysv4
+ ;;
+ # This must come after -sysvr4.
+ -sysv*)
+ ;;
+ -ose*)
+ os=-ose
+ ;;
+ -es1800*)
+ os=-ose
+ ;;
+ -xenix)
+ os=-xenix
+ ;;
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ os=-mint
+ ;;
+ -none)
+ ;;
+ *)
+ # Get rid of the `-' at the beginning of $os.
+ os=`echo $os | sed 's/[^-]*-//'`
+ echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
+ exit 1
+ ;;
+esac
+else
+
+# Here we handle the default operating systems that come with various machines.
+# The value should be what the vendor currently ships out the door with their
+# machine or put another way, the most popular os provided with the machine.
+
+# Note that if you're going to try to match "-MANUFACTURER" here (say,
+# "-sun"), then you have to tell the case statement up towards the top
+# that MANUFACTURER isn't an operating system. Otherwise, code above
+# will signal an error saying that MANUFACTURER isn't an operating
+# system, and we'll never get to this point.
+
+case $basic_machine in
+ *-acorn)
+ os=-riscix1.2
+ ;;
+ arm*-rebel)
+ os=-linux
+ ;;
+ arm*-semi)
+ os=-aout
+ ;;
+ # This must come before the *-dec entry.
+ pdp10-*)
+ os=-tops20
+ ;;
+ pdp11-*)
+ os=-none
+ ;;
+ *-dec | vax-*)
+ os=-ultrix4.2
+ ;;
+ m68*-apollo)
+ os=-domain
+ ;;
+ i386-sun)
+ os=-sunos4.0.2
+ ;;
+ m68000-sun)
+ os=-sunos3
+ # This also exists in the configure program, but was not the
+ # default.
+ # os=-sunos4
+ ;;
+ m68*-cisco)
+ os=-aout
+ ;;
+ mips*-cisco)
+ os=-elf
+ ;;
+ mips*-*)
+ os=-elf
+ ;;
+ or32-*)
+ os=-coff
+ ;;
+ *-tti) # must be before sparc entry or we get the wrong os.
+ os=-sysv3
+ ;;
+ sparc-* | *-sun)
+ os=-sunos4.1.1
+ ;;
+ *-be)
+ os=-beos
+ ;;
+ *-ibm)
+ os=-aix
+ ;;
+ *-wec)
+ os=-proelf
+ ;;
+ *-winbond)
+ os=-proelf
+ ;;
+ *-oki)
+ os=-proelf
+ ;;
+ *-hp)
+ os=-hpux
+ ;;
+ *-hitachi)
+ os=-hiux
+ ;;
+ i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
+ os=-sysv
+ ;;
+ *-cbm)
+ os=-amigaos
+ ;;
+ *-dg)
+ os=-dgux
+ ;;
+ *-dolphin)
+ os=-sysv3
+ ;;
+ m68k-ccur)
+ os=-rtu
+ ;;
+ m88k-omron*)
+ os=-luna
+ ;;
+ *-next )
+ os=-nextstep
+ ;;
+ *-sequent)
+ os=-ptx
+ ;;
+ *-crds)
+ os=-unos
+ ;;
+ *-ns)
+ os=-genix
+ ;;
+ i370-*)
+ os=-mvs
+ ;;
+ *-next)
+ os=-nextstep3
+ ;;
+ *-gould)
+ os=-sysv
+ ;;
+ *-highlevel)
+ os=-bsd
+ ;;
+ *-encore)
+ os=-bsd
+ ;;
+ *-sgi)
+ os=-irix
+ ;;
+ *-siemens)
+ os=-sysv4
+ ;;
+ *-masscomp)
+ os=-rtu
+ ;;
+ f30[01]-fujitsu | f700-fujitsu)
+ os=-uxpv
+ ;;
+ *-rom68k)
+ os=-coff
+ ;;
+ *-*bug)
+ os=-coff
+ ;;
+ *-apple)
+ os=-macos
+ ;;
+ *-atari*)
+ os=-mint
+ ;;
+ *)
+ os=-none
+ ;;
+esac
+fi
+
+# Here we handle the case where we know the os, and the CPU type, but not the
+# manufacturer. We pick the logical manufacturer.
+vendor=unknown
+case $basic_machine in
+ *-unknown)
+ case $os in
+ -riscix*)
+ vendor=acorn
+ ;;
+ -sunos*)
+ vendor=sun
+ ;;
+ -aix*)
+ vendor=ibm
+ ;;
+ -beos*)
+ vendor=be
+ ;;
+ -hpux*)
+ vendor=hp
+ ;;
+ -mpeix*)
+ vendor=hp
+ ;;
+ -hiux*)
+ vendor=hitachi
+ ;;
+ -unos*)
+ vendor=crds
+ ;;
+ -dgux*)
+ vendor=dg
+ ;;
+ -luna*)
+ vendor=omron
+ ;;
+ -genix*)
+ vendor=ns
+ ;;
+ -mvs* | -opened*)
+ vendor=ibm
+ ;;
+ -ptx*)
+ vendor=sequent
+ ;;
+ -vxsim* | -vxworks* | -windiss*)
+ vendor=wrs
+ ;;
+ -aux*)
+ vendor=apple
+ ;;
+ -hms*)
+ vendor=hitachi
+ ;;
+ -mpw* | -macos*)
+ vendor=apple
+ ;;
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ vendor=atari
+ ;;
+ -vos*)
+ vendor=stratus
+ ;;
+ esac
+ basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
+ ;;
+esac
+
+echo $basic_machine$os
+exit 0
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "timestamp='"
+# time-stamp-format: "%:y-%02m-%02d"
+# time-stamp-end: "'"
+# End:
diff --git a/gettext-tools/examples/hello-c++-kde/admin/configure.in.bot.end b/gettext-tools/examples/hello-c++-kde/admin/configure.in.bot.end
new file mode 100644
index 0000000..fb483b6
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/configure.in.bot.end
@@ -0,0 +1,12 @@
+if test "$all_tests" = "bad"; then
+ if test ! "$cache_file" = "/dev/null"; then
+ echo ""
+ echo "Please remove the file $cache_file after changing your setup"
+ echo "so that configure will find the changes next time."
+ echo ""
+ fi
+else
+ echo ""
+ echo "Good - your configure finished. Start make now"
+ echo ""
+fi
diff --git a/gettext-tools/examples/hello-c++-kde/admin/configure.in.min b/gettext-tools/examples/hello-c++-kde/admin/configure.in.min
new file mode 100644
index 0000000..7c7e25a
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/configure.in.min
@@ -0,0 +1,57 @@
+dnl This file is part of the KDE libraries/packages
+dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
+
+dnl This file is free software; you can redistribute it and/or
+dnl modify it under the terms of the GNU Library General Public
+dnl License as published by the Free Software Foundation; either
+dnl version 2 of the License, or (at your option) any later version.
+
+dnl This library is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+dnl Library General Public License for more details.
+
+dnl You should have received a copy of the GNU Library General Public License
+dnl along with this library; see the file COPYING.LIB. If not, write to
+dnl the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+dnl Boston, MA 02111-1307, USA.
+
+# Original Author was Kalle@kde.org
+# I lifted it in some mater. (Stephan Kulow)
+# I used much code from Janos Farkas
+
+dnl Process this file with autoconf to produce a configure script.
+
+AC_INIT(acinclude.m4) dnl a source file from your sub dir
+
+dnl This is so we can use kde-common
+AC_CONFIG_AUX_DIR(admin)
+
+dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
+unset CDPATH
+
+dnl Checking host/target/build systems, for make, install etc.
+AC_CANONICAL_SYSTEM
+dnl Perform program name transformation
+AC_ARG_PROGRAM
+
+dnl Automake doc recommends to do this only here. (Janos)
+AM_INIT_AUTOMAKE(@MODULENAME@, @VERSION@) dnl searches for some needed programs
+
+KDE_SET_PREFIX
+
+dnl generate the config header
+AM_CONFIG_HEADER(config.h) dnl at the distribution this done
+
+dnl Checks for programs.
+AC_CHECK_COMPILERS
+AC_ENABLE_SHARED(yes)
+AC_ENABLE_STATIC(no)
+KDE_PROG_LIBTOOL
+
+dnl for NLS support. Call them in this order!
+dnl WITH_NLS is for the po files
+AM_KDE_WITH_NLS
+
+dnl KDE_USE_QT
+AC_PATH_KDE
diff --git a/gettext-tools/examples/hello-c++-kde/admin/cvs-clean.pl b/gettext-tools/examples/hello-c++-kde/admin/cvs-clean.pl
new file mode 100644
index 0000000..669dbdc
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/cvs-clean.pl
@@ -0,0 +1,87 @@
+#! /usr/bin/perl
+
+#
+# This script recursively (beginning with the current directory)
+# wipes out everything not registered in CVS.
+#
+# written by Oswald Buddenhagen <ossi@kde.org>
+# inspired by the "old" cvs-clean target from Makefile.common
+#
+# This file is free software in terms of the BSD licence. That means
+# that you can do anything with it except removing this license or
+# the above copyright notice. There is NO WARRANTY of any kind.
+#
+
+sub rmrf()
+{
+ my $fn = shift;
+ lstat ($fn);
+ if (-d _) {
+ if (opendir (DIR, $fn)) {
+ for my $efn (grep (!/^\.\.?$/, readdir (DIR))) {
+ &rmrf ($fn."/".$efn);
+ }
+ closedir (DIR);
+ rmdir ($fn);
+ }
+ } else {
+ unlink ($fn);
+ }
+}
+
+sub newfiles()
+{
+ my ($indir, $incvs) = @_;
+ for my $n (keys (%$incvs)) { delete $$indir{$n} }
+ return sort (keys (%$indir));
+}
+
+sub cvsclean()
+{
+ my $dir = shift;
+ my (%dirsdir, %filesdir, %dirscvs, %filescvs);
+ my $dnam = $dir ? $dir : ".";
+ if (!opendir (DIR, $dnam)) {
+ print STDERR "Cannot enter \"".$dnam."\".\n";
+ return;
+ }
+ for my $fn (grep (!/^\.\.?$/, readdir (DIR))) {
+ if (-d $dir.$fn) {
+ $fn eq "CVS" or $dirsdir{$fn} = 1;
+ } else {
+ $filesdir{$fn} = 1;
+ }
+ }
+ closedir (DIR);
+ if (!open (FILE, "<".$dir."CVS/Entries")) {
+ print STDERR "No CVS information in \"".$dnam."\".\n";
+ return;
+ }
+ while (<FILE>) {
+ m%^D/([^/]+)/.*$% and $dirscvs{$1} = 1;
+ m%^/([^/]+)/.*$% and $filescvs{$1} = 1;
+ }
+ close (FILE);
+ if (open (FILE, "<".$dir."CVS/Entries.Log")) {
+ while (<FILE>) {
+ m%^A D/([^/]+)/.*$% and $dirscvs{$1} = 1;
+ m%^A /([^/]+)/.*$% and $filescvs{$1} = 1;
+ m%^R D/([^/]+)/.*$% and delete $dirscvs{$1};
+ m%^R /([^/]+)/.*$% and delete $filescvs{$1};
+ }
+ close (FILE);
+ }
+ for my $fn (&newfiles (\%filesdir, \%filescvs)) {
+ print ("F ".$dir.$fn."\n");
+ &rmrf ($dir.$fn);
+ }
+ for my $fn (&newfiles (\%dirsdir, \%dirscvs)) {
+ print ("D ".$dir.$fn."\n");
+ &rmrf ($dir.$fn);
+ }
+ for my $fn (sort (keys (%dirscvs))) {
+ &cvsclean ($dir.$fn."/");
+ }
+}
+
+&cvsclean ("");
diff --git a/gettext-tools/examples/hello-c++-kde/admin/cvs.sh b/gettext-tools/examples/hello-c++-kde/admin/cvs.sh
new file mode 100644
index 0000000..a39fddd
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/cvs.sh
@@ -0,0 +1,506 @@
+#! /bin/sh
+#
+# cvs.sh
+#
+# This file contains support code from Makefile.common
+# It defines a shell function for each known target
+# and then does a case to call the correct function.
+
+call_and_fix_autoconf()
+{
+ $AUTOCONF || exit 1
+ if test -r configure.in.in ; then
+ perl -pi -e "print \"if test \\\"x\\\$with_fast_perl\\\" = \\\"xyes\\\"; then\
+ \\n perl -i.bak \\\$ac_aux_dir/conf.change.pl \\\$CONFIG_STATUS\
+ \\\\\\n || mv \\\$CONFIG_STATUS.bak \\\$CONFIG_STATUS\
+ \\n rm -f \\\$CONFIG_STATUS.bak\\nfi\
+ \\n\" if /^\\s*chmod\\s+.*\\+x\\s+.*CONFIG_STATUS/;" configure
+ fi
+}
+
+strip_makefile()
+{
+ if test -f $makefile_wo; then :; else
+ perl -e '$in=0; while ( <> ) { $in = 1 if ($_=~ m/^if /); print $_ unless ($in); $in = 0 if ($_ =~ m/^endif/); }' < Makefile.am.in > $makefile_wo
+ fi
+}
+
+check_autotool_versions()
+{
+AUTOCONF_VERSION=`$AUTOCONF --version | head -n 1`
+case $AUTOCONF_VERSION in
+ Autoconf*2.[5-9]* | autoconf*2.[5-9]* ) : ;;
+ "" )
+ echo "*** AUTOCONF NOT FOUND!."
+ echo "*** KDE requires autoconf 2.52, 2.53 or 2.54"
+ exit 1
+ ;;
+ * )
+ echo "*** YOU'RE USING $AUTOCONF_VERSION."
+ echo "*** KDE requires autoconf 2.52, 2.53 or 2.54"
+ exit 1
+ ;;
+esac
+
+AUTOHEADER_VERSION=`$AUTOHEADER --version | head -n 1`
+case $AUTOHEADER_VERSION in
+ Autoconf*2.[5-9]* | autoheader*2.[5-9]* ) : ;;
+ "" )
+ echo "*** AUTOHEADER NOT FOUND!."
+ echo "*** KDE requires autoheader 2.52 or 2.53 (part of autoconf)"
+ exit 1
+ ;;
+ * )
+ echo "*** YOU'RE USING $AUTOHEADER_VERSION."
+ echo "*** KDE requires autoheader 2.52 or 2.53 (part of autoconf)"
+ exit 1
+ ;;
+esac
+
+AUTOMAKE_STRING=`$AUTOMAKE --version | head -n 1`
+case $AUTOMAKE_STRING in
+ automake*1.5d* )
+ echo "*** YOU'RE USING $AUTOMAKE_STRING."
+ echo "*** KDE requires automake 1.6"
+ exit 1
+ ;;
+ automake*1.[6-9] | automake*1.[6-9].* | automake*1.1[0-9] | automake*1.1[0-9].* ) : ;;
+ "" )
+ echo "*** AUTOMAKE NOT FOUND!."
+ echo "*** KDE requires automake 1.6"
+ exit 1
+ ;;
+ unsermake* ) :
+ echo "*** YOU'RE USING UNSERMAKE."
+ echo "*** GOOD LUCK!! :)"
+ ;;
+ * )
+ echo "*** YOU'RE USING $AUTOMAKE_STRING."
+ echo "*** KDE requires automake 1.6"
+ exit 1
+ ;;
+esac
+}
+
+cvs()
+{
+check_autotool_versions
+
+### Produce acinclude.m4
+if grep '\$(top_srcdir)/acinclude.m4:' $makefile_am >/dev/null; then
+ echo "*** Creating acinclude.m4"
+ rm -f acinclude.m4 configure.files
+
+ strip_makefile
+ $MAKE -f $makefile_wo top_srcdir=. ./acinclude.m4
+fi
+
+### Make new subdirs and configure.in.
+### The make calls could be optimized away here,
+### with a little thought.
+if test -r configure.in.in; then
+ rm -f subdirs configure.in
+ echo "*** Creating list of subdirectories"
+ subdirs
+ echo "*** Creating configure.in"
+ configure_files
+ strip_makefile
+ $MAKE -f $makefile_wo top_srcdir=. ./configure.in || exit 1
+fi
+
+echo "*** Creating aclocal.m4"
+$ACLOCAL || exit 1
+echo "*** Creating configure"
+call_and_fix_autoconf
+
+if egrep "^AM_CONFIG_HEADER" configure.in >/dev/null 2>&1; then
+ echo "*** Creating config.h template"
+ $AUTOHEADER || exit 1
+fi
+
+echo "*** Creating Makefile templates"
+$AUTOMAKE || exit 1
+if test -z "$UNSERMAKE"; then
+ echo "*** Postprocessing Makefile templates"
+ perl -w admin/am_edit || exit 1
+fi
+
+if egrep "^cvs-local:" $makefile_am >/dev/null; then \
+ strip_makefile
+ $MAKE -f $makefile_wo cvs-local top_srcdir=. || exit 1
+fi
+
+echo "*** Creating date/time stamp"
+touch stamp-h.in
+
+echo "*** Finished"
+echo " Don't forget to run ./configure"
+echo " If you haven't done so in a while, run ./configure --help"
+}
+
+dist()
+{
+check_autotool_versions
+
+###
+### First build all of the files necessary to do just "make"
+###
+if grep '\$(top_srcdir)/acinclude.m4:' $makefile_am >/dev/null; then
+ strip_makefile
+ $MAKE -f $makefile_wo top_srcdir=. ./acinclude.m4
+fi
+if test -r configure.in.in; then
+ subdirs
+ configure_files
+ strip_makefile
+ $MAKE -f $makefile_wo top_srcdir=. ./configure.in
+fi
+$ACLOCAL
+$AUTOHEADER
+$AUTOMAKE --foreign --include-deps
+perl -w admin/am_edit
+call_and_fix_autoconf
+touch stamp-h.in
+if grep "^cvs-local:" $makefile_am >/dev/null; then
+ strip_makefile
+ $MAKE -f $makefile_wo cvs-local top_srcdir=.
+fi
+
+###
+### Then make messages
+###
+if test -d po; then
+ LIST=`find ./po -name "*.po"`
+ for i in $LIST; do
+ file2=`echo $i | sed -e "s#\.po#\.gmo#"`
+ msgfmt -o $file2 $i || touch $file2
+ done
+fi
+if grep "^cvs-dist-local:" $makefile_am >/dev/null; then
+ strip_makefile
+ $MAKE -f $makefile_wo cvs-dist-local top_srcdir=.
+fi
+}
+
+subdir_dist()
+{
+$ACLOCAL
+$AUTOHEADER
+$AUTOMAKE --foreign --include-deps
+perl -w ../admin/am_edit
+call_and_fix_autoconf
+touch stamp-h.in
+}
+
+configure_in()
+{
+rm -f configure.in configure.in.new
+kde_use_qt_param=
+test -f configure.files || { echo "need configure.files for configure.in"; exit 1; }
+cat `egrep -v "configure.in.bot" < configure.files` > configure.in.new
+echo "KDE_CREATE_SUBDIRSLIST" >> configure.in.new
+if test -f Makefile.am.in; then
+ subdirs=`cat subdirs`
+ for dir in $subdirs; do
+ dir=`echo $dir | sed -e "s,[-+.],_,g"`
+ echo "AM_CONDITIONAL($dir""_SUBDIR_included, test \"x\$$dir""_SUBDIR_included\" = xyes)" >> configure.in.new
+ done
+fi
+# echo "AC_OUTPUT( \\" >> configure.in.new
+mfs=`find . -type d -print | fgrep -v "/." | \
+ sed -e "s#\./##" -e "/^debian/d" | sort`
+for i in $mfs; do
+ topleveldir=`echo $i| sed -e "s#/.*##"`
+ if test -f $topleveldir/configure.in; then
+ continue
+ fi
+ if test -f $i/Makefile.am; then :; else
+ continue
+ fi
+ if test -s inst-apps; then
+ if grep "\"^$topleveldir\"" inst-apps > /dev/null 2>&1; then
+ continue
+ fi
+ fi
+ if test "$i" = "."; then
+ echo "AC_CONFIG_FILES([ Makefile ])" >> configure.in.new
+ else
+ echo "AC_CONFIG_FILES([ $i/Makefile ])" >> configure.in.new
+ fi
+ if test -n "$UNSERMAKE"; then
+ if test "$i" = "."; then
+ echo "AC_CONFIG_FILES([ Makefile.rules ])" >> configure.in.new
+ else
+ echo "AC_CONFIG_FILES([ $i/Makefile.rules ])" >> configure.in.new
+ fi
+ fi
+done
+
+files=`cat configure.files`
+list=`egrep '^dnl AC_OUTPUT\(.*\)' $files | sed -e "s#^.*dnl AC_OUTPUT(\(.*\))#\1#"`
+for file in $list; do
+ echo "AC_CONFIG_FILES([ $file ])" >> configure.in.new
+done
+
+if test -n "$UNSERMAKE"; then
+ echo "AC_CONFIG_FILES([ MakeVars ])" >> configure.in.new
+fi
+echo "AC_OUTPUT" >> configure.in.new
+modulename=
+if test -f configure.in.in; then
+ if head -n 2 configure.in.in | egrep "^#MIN_CONFIG\(.*\)$" > /dev/null; then
+ kde_use_qt_param=`cat configure.in.in | sed -n -e "s/#MIN_CONFIG(\(.*\))/\1/p"`
+ fi
+ if head -n 2 configure.in.in | egrep "^#MIN_CONFIG" > /dev/null; then
+ line=`grep "^AM_INIT_AUTOMAKE(" configure.in.in`
+ if test -n "$line"; then
+ modulename=`echo $line | sed -e "s#AM_INIT_AUTOMAKE(\([^,]*\),.*#\1#"`
+ VERSION=`echo $line | sed -e "s#AM_INIT_AUTOMAKE([^,]*, *\([^)]*\)).*#\1#"`
+ fi
+ sed -e "s#AM_INIT_AUTOMAKE([^@].*#dnl PACKAGE set before#" \
+ configure.in.new > configure.in && mv configure.in configure.in.new
+ fi
+fi
+if test -z "$VERSION" || test "$VERSION" = "@VERSION@"; then
+ VERSION="\"3.1.3\""
+fi
+if test -z "$modulename" || test "$modulename" = "@MODULENAME@"; then
+ modulename=`pwd`;
+ modulename=`basename $modulename`
+ esc_VERSION=`echo $VERSION | sed -e "s#[^.0-9a-zA-Z]##g"`
+ modulename=`echo $modulename | sed -e "s#-$esc_VERSION##"`
+
+fi
+if test -n "$kde_use_qt_param"; then
+ sed -e "s#^dnl KDE_USE_QT#KDE_USE_QT($kde_use_qt_param)#" \
+ configure.in.new > configure.in && mv configure.in configure.in.new
+fi
+sed -e "s#@MODULENAME@#$modulename#" configure.in.new |
+ sed -e "s#@VERSION@#$VERSION#" > configure.in
+botfiles=`cat configure.files | egrep "configure.in.bot"`
+test -n "$botfiles" && cat $botfiles >> configure.in
+cat $admindir/configure.in.bot.end >> configure.in
+rm -f configure.in.new
+}
+
+configure_files()
+{
+admindir=NO
+for i in . .. ../.. ../../..; do
+ if test -x $i/admin; then admindir=$i/admin; break; fi
+done
+rm -f configure.files
+touch configure.files
+if test -f configure.in.in && head -n 2 configure.in.in | grep "^#MIN_CONFIG" > /dev/null; then
+ echo $admindir/configure.in.min >> configure.files
+fi
+test -f configure.in.in && echo configure.in.in >> configure.files
+list=`find . -name "configure.in.in" -o -name "configure.in.bot" | \
+ sed -e "s,/configure,/aaaconfigure," | sort | sed -e "s,/aaaconfigure,/configure,"`
+for i in $list; do if test -f $i && test `dirname $i` != "." ; then
+ echo $i >> configure.files
+fi; done
+test -f configure.in.mid && echo configure.in.mid >> configure.files
+test -f configure.in.bot && echo configure.in.bot >> configure.files
+}
+
+subdirs()
+{
+dirs=
+compilefirst=`sed -ne 's#^COMPILE_FIRST[ ]*=[ ]*##p' $makefile_am | head -n 1`
+compilelast=`sed -ne 's#^COMPILE_LAST[ ]*=[ ]*##p' $makefile_am | head -n 1`
+for i in `ls -1`; do
+ if test -f $i/Makefile.am; then
+ case " $compilefirst $compilelast " in
+ *" $i "*) ;;
+ *) dirs="$dirs $i"
+ esac
+ fi
+done
+
+: > ./_SUBDIRS
+
+for d in $compilefirst; do
+ echo $d >> ./_SUBDIRS
+done
+
+(for d in $dirs; do
+ list=`sed -ne "s#^COMPILE_BEFORE_$d""[ ]*=[ ]*##p" $makefile_am | head -n 1`
+ for s in $list; do
+ echo $s $d
+ done
+ list=`sed -ne "s#^COMPILE_AFTER_$d""[ ]*=[ ]*##p" $makefile_am | head -n 1`
+ for s in $list; do
+ echo $d $s
+ done
+ echo $d $d
+done ) | tsort >> ./_SUBDIRS
+
+for d in $compilelast; do
+ echo $d >> ./_SUBDIRS
+done
+
+if test -f Makefile.am.in; then
+ cp Makefile.am.in Makefile.am
+ if test -n "$UNSERMAKE"; then
+ topsubdirs=
+ for i in $compilefirst $dirs $compilelast; do
+ vari=`echo $i | sed -e "s,[-+],_,g"`
+ echo "if $vari""_SUBDIR_included" >> Makefile.am
+ echo "$vari""_SUBDIR=$i" >> Makefile.am
+ echo "endif" >> Makefile.am
+ topsubdirs="$topsubdirs \$($vari""_SUBDIR)"
+ done
+ echo "SUBDIRS=$topsubdirs" >> Makefile.am
+ else
+ echo "SUBDIRS="'$(TOPSUBDIRS)' >> Makefile.am
+ fi
+fi
+if test -r subdirs && diff subdirs _SUBDIRS > /dev/null; then
+ rm -f _SUBDIRS
+fi
+test -r _SUBDIRS && mv _SUBDIRS subdirs || true
+}
+
+cvs_clean()
+{
+if test -d CVS; then :; else
+ echo "You don't have a toplevel CVS directory."
+ echo "You most certainly didn't use cvs to get these sources."
+ echo "But this function depends on cvs's information."
+ exit 1
+fi
+perl $admindir/cvs-clean.pl
+}
+
+package_merge()
+{
+catalogs=$POFILES
+for cat in $catalogs; do
+ msgmerge -o $cat.new $cat $PACKAGE.pot
+ if test -s $cat.new; then
+ grep -v "\"POT-Creation" $cat.new > $cat.new.2
+ grep -v "\"POT-Creation" $cat >> $cat.new.1
+ if diff $cat.new.1 $cat.new.2; then
+ rm $cat.new
+ else
+ mv $cat.new $cat
+ fi
+ rm -f $cat.new.1 $cat.new.2
+ fi
+done
+}
+
+package_messages()
+{
+rm -rf po.backup
+mkdir po.backup
+
+for i in `ls -1 po/*.pot 2>/dev/null | sed -e "s#po/##"`; do
+ egrep -v '^#([^:]|$)' po/$i | egrep '^.*[^ ]+.*$' | grep -v "\"POT-Creation" > po.backup/$i
+ cp po/$i po.backup/backup_$i
+ touch -r po/$i po.backup/backup_$i
+ rm po/$i
+done
+
+podir=${podir:-$PWD/po}
+files=`find . -name Makefile.am | xargs egrep -l '^messages:' `
+dirs=`for i in $files; do echo \`dirname $i\`; done`
+tmpname="$PWD/messages.log"
+if test -z "$EXTRACTRC"; then EXTRACTRC=extractrc ; fi
+if test -z "$PREPARETIPS"; then PREPARETIPS=preparetips ; fi
+export EXTRACTRC PREPARETIPS
+
+for subdir in $dirs; do
+ test -z "$VERBOSE" || echo "Making messages in $subdir"
+ (cd $subdir
+ if test -n "`grep -e '^messages:.*rc.cpp' Makefile.am`"; then
+ $EXTRACTRC *.rc *.ui > rc.cpp
+ else
+ candidates=`ls -1 *.rc *.ui 2>/dev/null`
+ if test -n "$candidates"; then
+ echo "$subdir has *.rc or *.ui files, but not correct messages line"
+ fi
+ fi
+ if test -n "`grep -r KAboutData *.c* *.C* 2>/dev/null`"; then
+ echo -e 'i18n("_: NAME OF TRANSLATORS\\n"\n"Your names")\ni18n("_: EMAIL OF TRANSLATORS\\n"\n"Your emails")' > _translatorinfo.cpp
+ else echo " " > _translatorinfo.cpp
+ fi
+ perl -e '$mes=0; while (<STDIN>) { next if (/^(if|else|endif)\s/); if (/^messages:/) { $mes=1; print $_; next; } if ($mes) { if (/$\\(XGETTEXT\)/ && / -o/) { s/ -o \$\(podir\)/ _translatorinfo.cpp -o \$\(podir\)/ } print $_; } else { print $_; } }' < Makefile.am | egrep -v '^include ' > _transMakefile
+
+ $MAKE -s -f _transMakefile podir=$podir EXTRACTRC="$EXTRACTRC" PREPARETIPS="$PREPARETIPS" \
+ XGETTEXT="${XGETTEXT:-xgettext} -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate -kaliasLocale -x ${includedir:-$KDEDIR/include}/kde.pot" \
+ messages
+ ) 2>&1 | grep -v '^make\[1\]' > $tmpname
+ test -s $tmpname && { echo $subdir ; cat "$tmpname"; }
+ test -f $subdir/rc.cpp && rm -f $subdir/rc.cpp
+ rm -f $subdir/_translatorinfo.cpp
+ rm -f $subdir/_transMakefile
+done
+rm -f $tmpname
+for i in `ls -1 po.backup/*.pot 2>/dev/null | sed -e "s#po.backup/##" | egrep -v '^backup_'`; do
+ test -f po/$i || echo "disappeared: $i"
+done
+for i in `ls -1 po/*.pot 2>/dev/null | sed -e "s#po/##"`; do
+ msgmerge -q -o po/$i po/$i po/$i
+ egrep -v '^#([^:]|$)' po/$i | egrep '^.*[^ ]+.*$' | grep -v "\"POT-Creation" > temp.pot
+ if test -f po.backup/$i && test -n "`diff temp.pot po.backup/$i`"; then
+ echo "will update $i"
+ msgmerge -q po.backup/backup_$i po/$i > temp.pot
+ mv temp.pot po/$i
+ else
+ if test -f po.backup/backup_$i; then
+ test -z "$VERBOSE" || echo "I'm restoring $i"
+ mv po.backup/backup_$i po/$i
+ rm po.backup/$i
+ else
+ echo "will add $i"
+ fi
+ fi
+done
+rm -f temp.pot
+rm -rf po.backup
+}
+
+admindir=`echo "$0" | sed 's%[\\/][^\\/][^\\/]*$%%'`
+test "x$admindir" = "x$0" && admindir=.
+
+test "x$MAKE" = x && MAKE=make
+makefile_am=Makefile.am
+makefile_wo=Makefile.am
+if test -f Makefile.am.in; then
+ makefile_am=Makefile.am.in
+ makefile_wo=Makefile.am.in.wo
+fi
+
+# Sucking AUTOCONF detection code - commented out
+#. $admindir/detect-autoconf.sh
+AUTOCONF="autoconf"
+AUTOHEADER="autoheader"
+AUTOM4TE="autom4te"
+AUTOMAKE="automake"
+ACLOCAL="aclocal -I m4"
+
+###
+### Main
+###
+
+arg=`echo $1 | tr '\-.' __`
+case $arg in
+ cvs | dist | subdir_dist | configure_in | configure_files | subdirs | \
+ cvs_clean | package_merge | package_messages ) $arg ;;
+ * ) echo "Usage: cvs.sh <target>"
+ echo "Target can be one of:"
+ echo " cvs cvs-clean dist"
+ echo " configure.in configure.files"
+ echo " package-merge package-messages"
+ echo ""
+ echo "Usage: anything but $1"
+ exit 1 ;;
+esac
+
+if test -f Makefile.am.in.wo; then
+ rm Makefile.am.in.wo
+fi
+
+exit 0
diff --git a/gettext-tools/examples/hello-c++-kde/admin/debianrules b/gettext-tools/examples/hello-c++-kde/admin/debianrules
new file mode 100755
index 0000000..bdf347d
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/debianrules
@@ -0,0 +1,114 @@
+#!/usr/bin/perl -w
+
+use Shell qw(mv cp mkdir rm) ;
+use File::Find;
+use Cwd;
+
+$origPwd = `pwd`;
+chomp $origPwd;
+
+$kde_confdir = "/etc/kde3";
+$kde_prefix = "/usr";
+$kde_bindir = "$kde_prefix/bin";
+$kde_includedir = "$kde_prefix/include/kde";
+$kde_libdir = "$kde_prefix/lib";
+$kde_cgidir = "$kde_prefix/lib/cgi-bin";
+$kde_moduledir = "$kde_prefix/lib/kde3";
+$kde_appsdir = "$kde_prefix/share/applnk";
+$kde_datadir = "$kde_prefix/share/apps";
+$kde_htmldir = "$kde_prefix/share/doc/kde/HTML";
+$kde_icondir = "$kde_prefix/share/icons";
+$kde_locale = "$kde_prefix/share/locale";
+$kde_mimedir = "$kde_prefix/share/mimelnk";
+$kde_servicesdir = "$kde_prefix/share/services";
+$kde_servicetypesdir = "$kde_prefix/share/servicetypes";
+$kde_sounddir = "$kde_prefix/share/sounds";
+$kde_templatesdir = "$kde_prefix/share/templates";
+$kde_wallpaperdir = "$kde_prefix/share/wallpapers";
+
+$mandir = "$kde_prefix/share/man";
+$infodir = "$kde_prefix/share/info";
+$sysconfdir = "/etc";
+
+$QTDIR = "/usr/share/qt3";
+$IDL = "$kde_bindir/cuteidl";
+$DCOPIDL = "$kde_bindir/dcopidl";
+$DCOPIDL2CPP = "$kde_bindir/dcopidl2cpp";
+$KDB2HTML = "$kde_bindir/kdb2html";
+$MCOPIDL = "$kde_bindir/mcopidl";
+$ARTSCCONFIG = "$kde_bindir/artsc-config";
+
+if (defined $ENV{DEB_BUILD_OPTIONS} &&
+ $ENV{DEB_BUILD_OPTIONS} =~ /\bdebug\b/) {
+ $enable_debug="--enable-debug";
+ $enable_final="";
+}
+else {
+ $enable_debug="--disable-debug";
+ $enable_final="--enable-final";
+}
+
+if (@ARGV && $ARGV[0] eq 'echodirs') {
+ print STDOUT "export kde_confdir=$kde_confdir\n";
+ print STDOUT "export kde_prefix=$kde_prefix\n";
+ print STDOUT "export kde_bindir=$kde_bindir\n";
+ print STDOUT "export kde_includedir=$kde_includedir\n";
+ print STDOUT "export kde_libdir=$kde_libdir\n";
+ print STDOUT "export kde_cgidir=$kde_cgidir\n";
+ print STDOUT "export kde_moduledir=$kde_moduledir\n";
+ print STDOUT "export kde_appsdir=$kde_appsdir\n";
+ print STDOUT "export kde_datadir=$kde_datadir\n";
+ print STDOUT "export kde_htmldir=$kde_htmldir\n";
+ print STDOUT "export kde_icondir=$kde_icondir\n";
+ print STDOUT "export kde_locale=$kde_locale\n";
+ print STDOUT "export kde_mimedir=$kde_mimedir\n";
+ print STDOUT "export kde_servicesdir=$kde_servicesdir\n";
+ print STDOUT "export kde_servicetypesdir=$kde_servicetypesdir\n";
+ print STDOUT "export kde_sounddir=$kde_sounddir\n";
+ print STDOUT "export kde_templatesdir=$kde_templatesdir\n";
+ print STDOUT "export kde_wallpaperdir=$kde_wallpaperdir\n";
+
+ print STDOUT "export mandir=$mandir\n";
+ print STDOUT "export infodir=$infodir\n";
+ print STDOUT "export sysconfdir=$sysconfdir\n";
+
+ print STDOUT "export QTDIR=$QTDIR\n";
+ print STDOUT "export IDL=$IDL\n";
+ print STDOUT "export DCOPIDL=$DCOPIDL\n";
+ print STDOUT "export DCOPIDL2CPP=$DCOPIDL2CPP\n";
+ print STDOUT "export KDB2HTML=$KDB2HTML\n";
+ print STDOUT "export MCOPIDL=$MCOPIDL\n";
+ print STDOUT "export ARTSCCONFIG=$ARTSCCONFIG\n";
+ print STDOUT "export INSTALL_DATA=install -p -c -m 644\n";
+
+ print STDOUT "configkde=$enable_debug $enable_final --disable-rpath --prefix=\$(kde_prefix) --libexecdir=\$(kde_bindir) --sysconfdir=\$(sysconfdir) --libdir=\$(kde_libdir) --includedir=\$(kde_includedir) --with-qt-includes=/usr/include/qt3 --mandir=\$(mandir) --infodir=\$(infodir) --with-xinerama\n";
+ print STDOUT "configkdevelop=$enable_debug $enable_final --disable-rpath --enable-docbase --enable-kdoc2 --libdir=\$(kde_libdir) --includedir=\$(kde_includedir) --with-qt-includes=/usr/include/qt3 --mandir=\$(mandir) --with-kdelibsdoc-dir=/usr/share/doc/kdelibs3-doc/html --with-xinerama\n";
+ print STDOUT "configkdepim=$enable_debug $enable_final --disable-rpath --with-extra-includes=/usr/include/libpisock --enable-shared --prefix=\$(kde_prefix) --libexecdir=\$(kde_bindir) --with-qt-includes=/usr/include/qt3 --mandir=\$(mandir) --infodir=\$(infodir) --with-xinerama\n";
+
+ exit
+}
+
+if (@ARGV && $ARGV[0] eq 'echoglobals') {
+ print STDOUT "[Directories]\n";
+ print STDOUT "dir_config=$kde_confdir\n";
+ print STDOUT "dir_tmp=/tmp\n";
+ print STDOUT "dir_socket=/tmp\n";
+ print STDOUT "dir_exe=$kde_bindir\n";
+ print STDOUT "dir_lib=$kde_libdir\n";
+ print STDOUT "dir_cgi=$kde_cgidir\n";
+ print STDOUT "dir_module=$kde_moduledir\n";
+ print STDOUT "dir_apps=$kde_appsdir\n";
+ print STDOUT "dir_data=$kde_datadir\n";
+ print STDOUT "dir_html=$kde_htmldir\n";
+ print STDOUT "dir_icon=$kde_icondir\n";
+ print STDOUT "dir_locale=$kde_locale\n";
+ print STDOUT "dir_mime=$kde_mimedir\n";
+ print STDOUT "dir_services=$kde_servicesdir\n";
+ print STDOUT "dir_servicetypes=$kde_servicetypesdir\n";
+ print STDOUT "dir_sound=$kde_sounddir\n";
+ print STDOUT "dir_templates=$kde_templatesdir\n";
+ print STDOUT "dir_wallpaper=$kde_wallpaperdir\n";
+ print STDOUT "[General]\n";
+ print STDOUT "TerminalApplication=x-terminal-emulator\n";
+ exit
+}
diff --git a/gettext-tools/examples/hello-c++-kde/admin/depcomp b/gettext-tools/examples/hello-c++-kde/admin/depcomp
new file mode 100755
index 0000000..6589965
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/depcomp
@@ -0,0 +1,411 @@
+#! /bin/sh
+
+# depcomp - compile a program generating dependencies as side-effects
+# Copyright 1999, 2000 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
+
+if test -z "$depmode" || test -z "$source" || test -z "$object"; then
+ echo "depcomp: Variables source, object and depmode must be set" 1>&2
+ exit 1
+fi
+# `libtool' can also be set to `yes' or `no'.
+
+depfile=${depfile-`echo "$object" | sed 's,\([^/]*\)$,.deps/\1,;s/\.\([^.]*\)$/.P\1/'`}
+tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
+
+rm -f "$tmpdepfile"
+
+# Some modes work just like other modes, but use different flags. We
+# parameterize here, but still list the modes in the big case below,
+# to make depend.m4 easier to write. Note that we *cannot* use a case
+# here, because this file can only contain one case statement.
+if test "$depmode" = hp; then
+ # HP compiler uses -M and no extra arg.
+ gccflag=-M
+ depmode=gcc
+fi
+
+if test "$depmode" = dashXmstdout; then
+ # This is just like dashmstdout with a different argument.
+ dashmflag=-xM
+ depmode=dashmstdout
+fi
+
+case "$depmode" in
+gcc3)
+## gcc 3 implements dependency tracking that does exactly what
+## we want. Yay! Note: for some reason libtool 1.4 doesn't like
+## it if -MD -MP comes after the -MF stuff. Hmm.
+ "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ mv "$tmpdepfile" "$depfile"
+ ;;
+
+gcc)
+## There are various ways to get dependency output from gcc. Here's
+## why we pick this rather obscure method:
+## - Don't want to use -MD because we'd like the dependencies to end
+## up in a subdir. Having to rename by hand is ugly.
+## (We might end up doing this anyway to support other compilers.)
+## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
+## -MM, not -M (despite what the docs say).
+## - Using -M directly means running the compiler twice (even worse
+## than renaming).
+ if test -z "$gccflag"; then
+ gccflag=-MD,
+ fi
+ "$@" -Wp,"$gccflag$tmpdepfile"
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
+## The second -e expression handles DOS-style file names with drive letters.
+ sed -e 's/^[^:]*: / /' \
+ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
+## This next piece of magic avoids the `deleted header file' problem.
+## The problem is that when a header file which appears in a .P file
+## is deleted, the dependency causes make to die (because there is
+## typically no way to rebuild the header). We avoid this by adding
+## dummy dependencies for each header file. Too bad gcc doesn't do
+## this for us directly.
+ tr ' ' '
+' < "$tmpdepfile" |
+## Some versions of gcc put a space before the `:'. On the theory
+## that the space means something, we add a space to the output as
+## well.
+## Some versions of the HPUX 10.20 sed can't process this invocation
+## correctly. Breaking it into two sed invocations is a workaround.
+ sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+hp)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+sgi)
+ if test "$libtool" = yes; then
+ "$@" "-Wp,-MDupdate,$tmpdepfile"
+ else
+ "$@" -MDupdate "$tmpdepfile"
+ fi
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+
+ if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
+ echo "$object : \\" > "$depfile"
+
+ # Clip off the initial element (the dependent). Don't try to be
+ # clever and replace this with sed code, as IRIX sed won't handle
+ # lines with more than a fixed number of characters (4096 in
+ # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
+ # the IRIX cc adds comments like `#:fec' to the end of the
+ # dependency line.
+ tr ' ' '
+' < "$tmpdepfile" \
+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
+ tr '
+' ' ' >> $depfile
+ echo >> $depfile
+
+ # The second pass generates a dummy entry for each header file.
+ tr ' ' '
+' < "$tmpdepfile" \
+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
+ >> $depfile
+ else
+ # The sourcefile does not contain any dependencies, so just
+ # store a dummy comment line, to avoid errors with the Makefile
+ # "include basename.Plo" scheme.
+ echo "#dummy" > "$depfile"
+ fi
+ rm -f "$tmpdepfile"
+ ;;
+
+aix)
+ # The C for AIX Compiler uses -M and outputs the dependencies
+ # in a .u file. This file always lives in the current directory.
+ # Also, the AIX compiler puts `$object:' at the start of each line;
+ # $object doesn't have directory information.
+ stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'`
+ tmpdepfile="$stripped.u"
+ outname="$stripped.o"
+ if test "$libtool" = yes; then
+ "$@" -Wc,-M
+ else
+ "$@" -M
+ fi
+
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+
+ if test -f "$tmpdepfile"; then
+ # Each line is of the form `foo.o: dependent.h'.
+ # Do two passes, one to just change these to
+ # `$object: dependent.h' and one to simply `dependent.h:'.
+ sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
+ sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
+ else
+ # The sourcefile does not contain any dependencies, so just
+ # store a dummy comment line, to avoid errors with the Makefile
+ # "include basename.Plo" scheme.
+ echo "#dummy" > "$depfile"
+ fi
+ rm -f "$tmpdepfile"
+ ;;
+
+tru64)
+ # The Tru64 AIX compiler uses -MD to generate dependencies as a side
+ # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
+ # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
+ # dependencies in `foo.d' instead, so we check for that too.
+ # Subdirectories are respected.
+
+ tmpdepfile1="$object.d"
+ tmpdepfile2=`echo "$object" | sed -e 's/.o$/.d/'`
+ if test "$libtool" = yes; then
+ "$@" -Wc,-MD
+ else
+ "$@" -MD
+ fi
+
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile1" "$tmpdepfile2"
+ exit $stat
+ fi
+
+ if test -f "$tmpdepfile1"; then
+ tmpdepfile="$tmpdepfile1"
+ else
+ tmpdepfile="$tmpdepfile2"
+ fi
+ if test -f "$tmpdepfile"; then
+ sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
+ # That's a space and a tab in the [].
+ sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
+ else
+ echo "#dummy" > "$depfile"
+ fi
+ rm -f "$tmpdepfile"
+ ;;
+
+#nosideeffect)
+ # This comment above is used by automake to tell side-effect
+ # dependency tracking mechanisms from slower ones.
+
+dashmstdout)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the proprocessed file to stdout, regardless of -o,
+ # because we must use -o when running libtool.
+ test -z "$dashmflag" && dashmflag=-M
+ ( IFS=" "
+ case " $* " in
+ *" --mode=compile "*) # this is libtool, let us make it quiet
+ for arg
+ do # cycle over the arguments
+ case "$arg" in
+ "--mode=compile")
+ # insert --quiet before "--mode=compile"
+ set fnord "$@" --quiet
+ shift # fnord
+ ;;
+ esac
+ set fnord "$@" "$arg"
+ shift # fnord
+ shift # "$arg"
+ done
+ ;;
+ esac
+ "$@" $dashmflag | sed 's:^[^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
+ ) &
+ proc=$!
+ "$@"
+ stat=$?
+ wait "$proc"
+ if test "$stat" != 0; then exit $stat; fi
+ rm -f "$depfile"
+ cat < "$tmpdepfile" > "$depfile"
+ tr ' ' '
+' < "$tmpdepfile" | \
+## Some versions of the HPUX 10.20 sed can't process this invocation
+## correctly. Breaking it into two sed invocations is a workaround.
+ sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+dashXmstdout)
+ # This case only exists to satisfy depend.m4. It is never actually
+ # run, as this mode is specially recognized in the preamble.
+ exit 1
+ ;;
+
+makedepend)
+ # X makedepend
+ (
+ shift
+ cleared=no
+ for arg in "$@"; do
+ case $cleared in no)
+ set ""; shift
+ cleared=yes
+ esac
+ case "$arg" in
+ -D*|-I*)
+ set fnord "$@" "$arg"; shift;;
+ -*)
+ ;;
+ *)
+ set fnord "$@" "$arg"; shift;;
+ esac
+ done
+ obj_suffix="`echo $object | sed 's/^.*\././'`"
+ touch "$tmpdepfile"
+ ${MAKEDEPEND-makedepend} 2>/dev/null -o"$obj_suffix" -f"$tmpdepfile" "$@"
+ ) &
+ proc=$!
+ "$@"
+ stat=$?
+ wait "$proc"
+ if test "$stat" != 0; then exit $stat; fi
+ rm -f "$depfile"
+ cat < "$tmpdepfile" > "$depfile"
+ tail +3 "$tmpdepfile" | tr ' ' '
+' | \
+## Some versions of the HPUX 10.20 sed can't process this invocation
+## correctly. Breaking it into two sed invocations is a workaround.
+ sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile" "$tmpdepfile".bak
+ ;;
+
+cpp)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the proprocessed file to stdout, regardless of -o,
+ # because we must use -o when running libtool.
+ ( IFS=" "
+ case " $* " in
+ *" --mode=compile "*)
+ for arg
+ do # cycle over the arguments
+ case $arg in
+ "--mode=compile")
+ # insert --quiet before "--mode=compile"
+ set fnord "$@" --quiet
+ shift # fnord
+ ;;
+ esac
+ set fnord "$@" "$arg"
+ shift # fnord
+ shift # "$arg"
+ done
+ ;;
+ esac
+ "$@" -E |
+ sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
+ sed '$ s: \\$::' > "$tmpdepfile"
+ ) &
+ proc=$!
+ "$@"
+ stat=$?
+ wait "$proc"
+ if test "$stat" != 0; then exit $stat; fi
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ cat < "$tmpdepfile" >> "$depfile"
+ sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+msvisualcpp)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the proprocessed file to stdout, regardless of -o,
+ # because we must use -o when running libtool.
+ ( IFS=" "
+ case " $* " in
+ *" --mode=compile "*)
+ for arg
+ do # cycle over the arguments
+ case $arg in
+ "--mode=compile")
+ # insert --quiet before "--mode=compile"
+ set fnord "$@" --quiet
+ shift # fnord
+ ;;
+ esac
+ set fnord "$@" "$arg"
+ shift # fnord
+ shift # "$arg"
+ done
+ ;;
+ esac
+ "$@" -E |
+ sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
+ ) &
+ proc=$!
+ "$@"
+ stat=$?
+ wait "$proc"
+ if test "$stat" != 0; then exit $stat; fi
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
+ echo " " >> "$depfile"
+ . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+none)
+ exec "$@"
+ ;;
+
+*)
+ echo "Unknown depmode $depmode" 1>&2
+ exit 1
+ ;;
+esac
+
+exit 0
diff --git a/gettext-tools/examples/hello-c++-kde/admin/detect-autoconf.sh b/gettext-tools/examples/hello-c++-kde/admin/detect-autoconf.sh
new file mode 100644
index 0000000..56950ca
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/detect-autoconf.sh
@@ -0,0 +1,81 @@
+#! /bin/sh
+
+# Global variables...
+AUTOCONF="autoconf"
+AUTOHEADER="autoheader"
+AUTOM4TE="autom4te"
+AUTOMAKE="automake"
+ACLOCAL="aclocal"
+
+
+# We don't use variable here for remembering the type ... strings.
+# local variables are not that portable, but we fear namespace issues with
+# our includer. The repeated type calls are not that expensive.
+checkAutoconf()
+{
+ if test -x "`$WHICH autoconf-2.5x`" ; then
+ AUTOCONF="`$WHICH autoconf-2.5x`"
+ elif test -x "`$WHICH autoconf-2.54`" ; then
+ AUTOCONF="`$WHICH autoconf-2.54`"
+ elif test -x "`$WHICH autoconf-2.53`" ; then
+ AUTOCONF="`$WHICH autoconf-2.53`"
+ elif test -x "`$WHICH autoconf-2.53a`" ; then
+ AUTOCONF="`$WHICH autoconf-2.53a`"
+ elif test -x "`$WHICH autoconf-2.52`" ; then
+ AUTOCONF="`$WHICH autoconf-2.52`"
+ elif test -x "`$WHICH autoconf2.50`" ; then
+ AUTOCONF="`$WHICH autoconf2.50`"
+ fi
+}
+
+checkAutoheader()
+{
+ if test -x "`$WHICH autoheader-2.5x`" ; then
+ AUTOHEADER="`$WHICH autoheader-2.5x`"
+ AUTOM4TE="`$WHICH autom4te-2.5x`"
+ elif test -x "`$WHICH autoheader-2.54`" ; then
+ AUTOHEADER="`$WHICH autoheader-2.54`"
+ AUTOM4TE="`$WHICH autom4te-2.54`"
+ elif test -x "`$WHICH autoheader-2.53`" ; then
+ AUTOHEADER="`$WHICH autoheader-2.53`"
+ AUTOM4TE="`$WHICH autom4te-2.53`"
+ elif test -x "`$WHICH autoheader-2.53a`" ; then
+ AUTOHEADER="`$WHICH autoheader-2.53a`"
+ AUTOM4TE="`$WHICH autom4te-2.53a`"
+ elif test -x "`$WHICH autoheader-2.52`" ; then
+ AUTOHEADER="`$WHICH autoheader-2.52`"
+ elif test -x "`$WHICH autoheader2.50`" ; then
+ AUTOHEADER="`$WHICH autoheader2.50`"
+ fi
+}
+
+checkAutomakeAclocal ()
+{
+ if test -z "$UNSERMAKE"; then
+ if test -x "`$WHICH automake-1.6`" ; then
+ AUTOMAKE="`$WHICH automake-1.6`"
+ ACLOCAL="`$WHICH aclocal-1.6`"
+ elif test -x "`$WHICH automake-1.7`" ; then
+ AUTOMAKE="`$WHICH automake-1.7`"
+ ACLOCAL="`$WHICH aclocal-1.7`"
+ fi
+ else
+ AUTOMAKE="$UNSERMAKE"
+ fi
+}
+
+checkWhich ()
+{
+ WHICH=""
+ for i in "type -p" "which" "type" ; do
+ T=`$i sh 2> /dev/null`
+ test -x "$T" && WHICH="$i" && break
+ done
+}
+
+checkWhich
+checkAutoconf
+checkAutoheader
+checkAutomakeAclocal
+
+export WHICH AUTOHEADER AUTOCONF AUTOM4TE AUTOMAKE ACLOCAL
diff --git a/gettext-tools/examples/hello-c++-kde/admin/install-sh b/gettext-tools/examples/hello-c++-kde/admin/install-sh
new file mode 100755
index 0000000..11870f1
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/install-sh
@@ -0,0 +1,251 @@
+#!/bin/sh
+#
+# install - install a program, script, or datafile
+# This comes from X11R5 (mit/util/scripts/install.sh).
+#
+# Copyright 1991 by the Massachusetts Institute of Technology
+#
+# Permission to use, copy, modify, distribute, and sell this software and its
+# documentation for any purpose is hereby granted without fee, provided that
+# the above copyright notice appear in all copies and that both that
+# copyright notice and this permission notice appear in supporting
+# documentation, and that the name of M.I.T. not be used in advertising or
+# publicity pertaining to distribution of the software without specific,
+# written prior permission. M.I.T. makes no representations about the
+# suitability of this software for any purpose. It is provided "as is"
+# without express or implied warranty.
+#
+# Calling this script install-sh is preferred over install.sh, to prevent
+# `make' implicit rules from creating a file called install from it
+# when there is no Makefile.
+#
+# This script is compatible with the BSD install script, but was written
+# from scratch. It can only install one file at a time, a restriction
+# shared with many OS's install programs.
+
+
+# set DOITPROG to echo to test this script
+
+# Don't use :- since 4.3BSD and earlier shells don't like it.
+doit="${DOITPROG-}"
+
+
+# put in absolute paths if you don't have them in your path; or use env. vars.
+
+mvprog="${MVPROG-mv}"
+cpprog="${CPPROG-cp}"
+chmodprog="${CHMODPROG-chmod}"
+chownprog="${CHOWNPROG-chown}"
+chgrpprog="${CHGRPPROG-chgrp}"
+stripprog="${STRIPPROG-strip}"
+rmprog="${RMPROG-rm}"
+mkdirprog="${MKDIRPROG-mkdir}"
+
+transformbasename=""
+transform_arg=""
+instcmd="$mvprog"
+chmodcmd="$chmodprog 0755"
+chowncmd=""
+chgrpcmd=""
+stripcmd=""
+rmcmd="$rmprog -f"
+mvcmd="$mvprog"
+src=""
+dst=""
+dir_arg=""
+
+while [ x"$1" != x ]; do
+ case $1 in
+ -c) instcmd="$cpprog"
+ shift
+ continue;;
+
+ -d) dir_arg=true
+ shift
+ continue;;
+
+ -m) chmodcmd="$chmodprog $2"
+ shift
+ shift
+ continue;;
+
+ -o) chowncmd="$chownprog $2"
+ shift
+ shift
+ continue;;
+
+ -g) chgrpcmd="$chgrpprog $2"
+ shift
+ shift
+ continue;;
+
+ -s) stripcmd="$stripprog"
+ shift
+ continue;;
+
+ -t=*) transformarg=`echo $1 | sed 's/-t=//'`
+ shift
+ continue;;
+
+ -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
+ shift
+ continue;;
+
+ *) if [ x"$src" = x ]
+ then
+ src=$1
+ else
+ # this colon is to work around a 386BSD /bin/sh bug
+ :
+ dst=$1
+ fi
+ shift
+ continue;;
+ esac
+done
+
+if [ x"$src" = x ]
+then
+ echo "install: no input file specified"
+ exit 1
+else
+ :
+fi
+
+if [ x"$dir_arg" != x ]; then
+ dst=$src
+ src=""
+
+ if [ -d $dst ]; then
+ instcmd=:
+ chmodcmd=""
+ else
+ instcmd=$mkdirprog
+ fi
+else
+
+# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
+# might cause directories to be created, which would be especially bad
+# if $src (and thus $dsttmp) contains '*'.
+
+ if [ -f "$src" ] || [ -d "$src" ]
+ then
+ :
+ else
+ echo "install: $src does not exist"
+ exit 1
+ fi
+
+ if [ x"$dst" = x ]
+ then
+ echo "install: no destination specified"
+ exit 1
+ else
+ :
+ fi
+
+# If destination is a directory, append the input filename; if your system
+# does not like double slashes in filenames, you may need to add some logic
+
+ if [ -d $dst ]
+ then
+ dst="$dst"/`basename $src`
+ else
+ :
+ fi
+fi
+
+## this sed command emulates the dirname command
+dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
+
+# Make sure that the destination directory exists.
+# this part is taken from Noah Friedman's mkinstalldirs script
+
+# Skip lots of stat calls in the usual case.
+if [ ! -d "$dstdir" ]; then
+defaultIFS='
+ '
+IFS="${IFS-${defaultIFS}}"
+
+oIFS="${IFS}"
+# Some sh's can't handle IFS=/ for some reason.
+IFS='%'
+set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
+IFS="${oIFS}"
+
+pathcomp=''
+
+while [ $# -ne 0 ] ; do
+ pathcomp="${pathcomp}${1}"
+ shift
+
+ if [ ! -d "${pathcomp}" ] ;
+ then
+ $mkdirprog "${pathcomp}"
+ else
+ :
+ fi
+
+ pathcomp="${pathcomp}/"
+done
+fi
+
+if [ x"$dir_arg" != x ]
+then
+ $doit $instcmd $dst &&
+
+ if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else : ; fi &&
+ if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else : ; fi &&
+ if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else : ; fi &&
+ if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else : ; fi
+else
+
+# If we're going to rename the final executable, determine the name now.
+
+ if [ x"$transformarg" = x ]
+ then
+ dstfile=`basename $dst`
+ else
+ dstfile=`basename $dst $transformbasename |
+ sed $transformarg`$transformbasename
+ fi
+
+# don't allow the sed command to completely eliminate the filename
+
+ if [ x"$dstfile" = x ]
+ then
+ dstfile=`basename $dst`
+ else
+ :
+ fi
+
+# Make a temp file name in the proper directory.
+
+ dsttmp=$dstdir/#inst.$$#
+
+# Move or copy the file name to the temp name
+
+ $doit $instcmd $src $dsttmp &&
+
+ trap "rm -f ${dsttmp}" 0 &&
+
+# and set any options; do chmod last to preserve setuid bits
+
+# If any of these fail, we abort the whole thing. If we want to
+# ignore errors from any of these, just make sure not to ignore
+# errors from the above "$doit $instcmd $src $dsttmp" command.
+
+ if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else :;fi &&
+ if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else :;fi &&
+ if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else :;fi &&
+ if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else :;fi &&
+
+# Now rename the file to the real destination.
+
+ $doit $rmcmd -f $dstdir/$dstfile &&
+ $doit $mvcmd $dsttmp $dstdir/$dstfile
+
+fi &&
+
+
+exit 0
diff --git a/gettext-tools/examples/hello-c++-kde/admin/libtool.m4.in b/gettext-tools/examples/hello-c++-kde/admin/libtool.m4.in
new file mode 100644
index 0000000..a9d56dc
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/libtool.m4.in
@@ -0,0 +1,5402 @@
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
+## Copyright 1996, 1997, 1998, 1999, 2000, 2001
+## Free Software Foundation, Inc.
+## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+## General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+##
+## As a special exception to the GNU General Public License, if you
+## distribute this file as part of a program that contains a
+## configuration script generated by Autoconf, you may include it under
+## the same distribution terms that you use for the rest of that program.
+
+# serial 47 AC_PROG_LIBTOOL
+
+# AC_PROG_LIBTOOL
+# ---------------
+AC_DEFUN([AC_PROG_LIBTOOL],
+[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
+dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
+dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
+ AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [AC_LIBTOOL_CXX],
+ [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
+ ])])
+
+dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
+dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
+dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
+ AC_PROVIDE_IFELSE([AC_PROG_GCJ],
+ [AC_LIBTOOL_GCJ],
+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
+ [AC_LIBTOOL_GCJ],
+ [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
+ [AC_LIBTOOL_GCJ],
+ [ifdef([AC_PROG_GCJ],
+ [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
+ ifdef([A][M_PROG_GCJ],
+ [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
+ ifdef([LT_AC_PROG_GCJ],
+ [define([LT_AC_PROG_GCJ],
+ defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
+])])# AC_PROG_LIBTOOL
+
+
+# _AC_PROG_LIBTOOL
+# ----------------
+AC_DEFUN([_AC_PROG_LIBTOOL],
+[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
+AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
+AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
+
+# This can be used to rebuild libtool when needed
+LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+
+# Always use our own libtool.
+LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
+AC_SUBST(LIBTOOL)dnl
+
+# Prevent multiple expansion
+define([AC_PROG_LIBTOOL], [])
+])# _AC_PROG_LIBTOOL
+
+
+# AC_LIBTOOL_SETUP
+# ----------------
+AC_DEFUN([AC_LIBTOOL_SETUP],
+[AC_PREREQ(2.50)dnl
+AC_REQUIRE([AC_ENABLE_SHARED])dnl
+AC_REQUIRE([AC_ENABLE_STATIC])dnl
+AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_PROG_LD])dnl
+AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
+AC_REQUIRE([AC_PROG_NM])dnl
+AC_REQUIRE([LT_AC_PROG_SED])dnl
+
+AC_REQUIRE([AC_PROG_LN_S])dnl
+AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
+# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
+AC_REQUIRE([AC_OBJEXT])dnl
+AC_REQUIRE([AC_EXEEXT])dnl
+dnl
+
+AC_LIBTOOL_SYS_MAX_CMD_LEN
+AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
+AC_LIBTOOL_OBJDIR
+
+AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
+_LT_AC_PROG_ECHO_BACKSLASH
+
+case $host_os in
+aix3*)
+ # AIX sometimes has problems with the GCC collect2 program. For some
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
+ # vanish in a puff of smoke.
+ if test "X${COLLECT_NAMES+set}" != Xset; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+ fi
+ ;;
+esac
+
+# Sed substitution that helps us do robust quoting. It backslashifies
+# metacharacters that are still active within double-quoted strings.
+Xsed='sed -e s/^X//'
+[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
+
+# Same as above, but do not quote variable references.
+[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+
+# Constants:
+rm="rm -f"
+
+# Global variables:
+default_ofile=libtool
+can_build_shared=yes
+
+# All known linkers require a `.a' archive for static linking (except M$VC,
+# which needs '.lib').
+libext=a
+ltmain="$ac_aux_dir/ltmain.sh"
+ofile="$default_ofile"
+with_gnu_ld="$lt_cv_prog_gnu_ld"
+
+AC_CHECK_TOOL(RANLIB, ranlib, :)
+AC_CHECK_TOOL(STRIP, strip, :)
+
+old_CC="$CC"
+old_CFLAGS="$CFLAGS"
+
+# Set sane defaults for various variables
+test -z "$AR" && AR=ar
+test -z "$AR_FLAGS" && AR_FLAGS=cru
+test -z "$AS" && AS=as
+test -z "$CC" && CC=cc
+test -z "$LTCC" && LTCC=$CC
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+test -z "$LD" && LD=ld
+test -z "$LN_S" && LN_S="ln -s"
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
+test -z "$NM" && NM=nm
+test -z "$SED" && SED=sed
+test -z "$OBJDUMP" && OBJDUMP=objdump
+test -z "$RANLIB" && RANLIB=:
+test -z "$STRIP" && STRIP=:
+test -z "$ac_objext" && ac_objext=o
+
+# Determine commands to create old-style static archives.
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
+old_postinstall_cmds='chmod 644 $oldlib'
+old_postuninstall_cmds=
+
+if test -n "$RANLIB"; then
+ case $host_os in
+ openbsd*)
+ old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
+ ;;
+ *)
+ old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+ ;;
+ esac
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+fi
+
+# Only perform the check for file, if the check method requires it
+case $deplibs_check_method in
+file_magic*)
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+ AC_PATH_MAGIC
+ fi
+ ;;
+esac
+
+ifdef([AC_PROVIDE_AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
+ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
+enable_win32_dll=yes, enable_win32_dll=no)
+
+AC_ARG_ENABLE([libtool-lock],
+ [AC_HELP_STRING([--disable-libtool-lock],
+ [avoid locking (might break parallel builds)])])
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
+
+AC_ARG_WITH([pic],
+ [AC_HELP_STRING([--with-pic],
+ [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
+ [pic_mode="$withval"],
+ [pic_mode=default])
+test -z "$pic_mode" && pic_mode=default
+
+# Use C for the default configuration in the libtool script
+tagname=
+AC_LIBTOOL_LANG_C_CONFIG
+_LT_AC_TAGCONFIG
+])# AC_LIBTOOL_SETUP
+
+
+# _LT_AC_SYS_COMPILER
+# -------------------
+AC_DEFUN([_LT_AC_SYS_COMPILER],
+[AC_REQUIRE([AC_PROG_CC])dnl
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# Allow CC to be a program name with arguments.
+set dummy $CC
+compiler="[$]2"
+])# _LT_AC_SYS_COMPILER
+
+
+# _LT_AC_SYS_LIBPATH_AIX
+# ----------------------
+# Links a minimal program and checks the executable
+# for the system default hardcoded library path. In most cases,
+# this is /usr/lib:/lib, but when the MPI compilers are used
+# the location of the communication and MPI libs are included too.
+# If we don't find anything, use the default library path according
+# to the aix ld manual.
+AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
+[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`
+# Check for a 64-bit object if we didn't find anything.
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`; fi],[])
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+])# _LT_AC_SYS_LIBPATH_AIX
+
+
+# _LT_AC_PROG_ECHO_BACKSLASH
+# --------------------------
+# Add some code to the start of the generated configure script which
+# will find an echo command which doesn't interpret backslashes.
+AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
+[ifdef([AC_DIVERSION_NOTICE],
+ [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
+ [AC_DIVERT_PUSH(NOTICE)])
+
+# Check that we are running under the correct shell.
+SHELL=${CONFIG_SHELL-/bin/sh}
+
+case X$ECHO in
+X*--fallback-echo)
+ # Remove one level of quotation (which was required for Make).
+ ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
+ ;;
+esac
+
+echo=${ECHO-echo}
+if test "X[$]1" = X--no-reexec; then
+ # Discard the --no-reexec flag, and continue.
+ shift
+elif test "X[$]1" = X--fallback-echo; then
+ # Avoid inline document here, it may be left over
+ :
+elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
+ # Yippee, $echo works!
+ :
+else
+ # Restart under the correct shell.
+ exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
+fi
+
+if test "X[$]1" = X--fallback-echo; then
+ # used as fallback echo
+ shift
+ cat <<EOF
+[$]*
+EOF
+ exit 0
+fi
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
+
+if test -z "$ECHO"; then
+if test "X${echo_test_string+set}" != Xset; then
+# find a string as large as possible, as long as the shell can cope with it
+ for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
+ # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
+ if (echo_test_string="`eval $cmd`") 2>/dev/null &&
+ echo_test_string="`eval $cmd`" &&
+ (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
+ then
+ break
+ fi
+ done
+fi
+
+if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
+ echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ :
+else
+ # The Solaris, AIX, and Digital Unix default echo programs unquote
+ # backslashes. This makes it impossible to quote backslashes using
+ # echo "$something" | sed 's/\\/\\\\/g'
+ #
+ # So, first we look for a working echo in the user's PATH.
+
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for dir in $PATH /usr/ucb; do
+ IFS="$lt_save_ifs"
+ if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
+ test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
+ echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ echo="$dir/echo"
+ break
+ fi
+ done
+ IFS="$lt_save_ifs"
+
+ if test "X$echo" = Xecho; then
+ # We didn't find a better echo, so look for alternatives.
+ if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
+ echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ # This shell has a builtin print -r that does the trick.
+ echo='print -r'
+ elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
+ test "X$CONFIG_SHELL" != X/bin/ksh; then
+ # If we have ksh, try running configure again with it.
+ ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
+ export ORIGINAL_CONFIG_SHELL
+ CONFIG_SHELL=/bin/ksh
+ export CONFIG_SHELL
+ exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
+ else
+ # Try using printf.
+ echo='printf %s\n'
+ if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
+ echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ # Cool, printf works
+ :
+ elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
+ test "X$echo_testing_string" = 'X\t' &&
+ echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
+ export CONFIG_SHELL
+ SHELL="$CONFIG_SHELL"
+ export SHELL
+ echo="$CONFIG_SHELL [$]0 --fallback-echo"
+ elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
+ test "X$echo_testing_string" = 'X\t' &&
+ echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ echo="$CONFIG_SHELL [$]0 --fallback-echo"
+ else
+ # maybe with a smaller string...
+ prev=:
+
+ for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
+ if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
+ then
+ break
+ fi
+ prev="$cmd"
+ done
+
+ if test "$prev" != 'sed 50q "[$]0"'; then
+ echo_test_string=`eval $prev`
+ export echo_test_string
+ exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
+ else
+ # Oops. We lost completely, so just stick with echo.
+ echo=echo
+ fi
+ fi
+ fi
+ fi
+fi
+fi
+
+# Copy echo and quote the copy suitably for passing to libtool from
+# the Makefile, instead of quoting the original, which is used later.
+ECHO=$echo
+if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
+ ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
+fi
+
+AC_SUBST(ECHO)
+AC_DIVERT_POP
+])# _LT_AC_PROG_ECHO_BACKSLASH
+
+
+# _LT_AC_LOCK
+# -----------
+AC_DEFUN([_LT_AC_LOCK],
+[AC_ARG_ENABLE([libtool-lock],
+ [AC_HELP_STRING([--disable-libtool-lock],
+ [avoid locking (might break parallel builds)])])
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
+
+# Some flags need to be propagated to the compiler or linker for good
+# libtool support.
+case $host in
+ia64-*-hpux*)
+ # Find out which ABI we are using.
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *ELF-32*)
+ HPUX_IA64_MODE="32"
+ ;;
+ *ELF-64*)
+ HPUX_IA64_MODE="64"
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+*-*-irix6*)
+ # Find out which ABI we are using.
+ echo '[#]line __oline__ "configure"' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -32"
+ ;;
+ *N32*)
+ LD="${LD-ld} -n32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -64"
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+
+*-*-linux*)
+ # Test if the compiler is 64bit
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *"ELF 32"*)
+ LINUX_64_MODE="32"
+ ;;
+ *"ELF 64"*)
+ LINUX_64_MODE="64"
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+
+*-*-sco3.2v5*)
+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+ SAVE_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -belf"
+ AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
+ [AC_LANG_PUSH(C)
+ AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
+ AC_LANG_POP])
+ if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+ CFLAGS="$SAVE_CFLAGS"
+ fi
+ ;;
+ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
+[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
+ AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+ AC_CHECK_TOOL(AS, as, false)
+ AC_CHECK_TOOL(OBJDUMP, objdump, false)
+
+ # recent cygwin and mingw systems supply a stub DllMain which the user
+ # can override, but on older systems we have to supply one
+ AC_CACHE_CHECK([if libtool should supply DllMain function], lt_cv_need_dllmain,
+ [AC_TRY_LINK([],
+ [extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
+ DllMain (0, 0, 0);],
+ [lt_cv_need_dllmain=no],[lt_cv_need_dllmain=yes])])
+
+ case $host/$CC in
+ *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
+ # old mingw systems require "-dll" to link a DLL, while more recent ones
+ # require "-mdll"
+ SAVE_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -mdll"
+ AC_CACHE_CHECK([how to link DLLs], lt_cv_cc_dll_switch,
+ [AC_TRY_LINK([], [], [lt_cv_cc_dll_switch=-mdll],[lt_cv_cc_dll_switch=-dll])])
+ CFLAGS="$SAVE_CFLAGS" ;;
+ *-*-cygwin* | *-*-pw32*)
+ # cygwin systems need to pass --dll to the linker, and not link
+ # crt.o which will require a WinMain@16 definition.
+ lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
+ esac
+ ;;
+ ])
+esac
+
+need_locks="$enable_libtool_lock"
+
+])# _LT_AC_LOCK
+
+
+# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
+# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
+# ----------------------------------------------------------------
+# Check whether the given compiler option works
+AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
+[AC_CACHE_CHECK([$1], [$2],
+ [$2=no
+ ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
+ save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $3"
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+ if (eval $ac_compile 2>conftest.err) && test -s $ac_outfile; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&AS_MESSAGE_LOG_FD
+ else
+ $2=yes
+ fi
+ fi
+ $rm conftest*
+ CFLAGS="$save_CFLAGS"
+])
+
+if test x"[$]$2" = xyes; then
+ ifelse([$5], , :, [$5])
+else
+ ifelse([$6], , :, [$6])
+fi
+])# AC_LIBTOOL_COMPILER_OPTION
+
+
+# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
+# [ACTION-SUCCESS], [ACTION-FAILURE])
+# ------------------------------------------------------------
+# Check whether the given compiler option works
+AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
+[AC_CACHE_CHECK([$1], [$2],
+ [$2=no
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $3"
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&AS_MESSAGE_LOG_FD
+ else
+ $2=yes
+ fi
+ fi
+ $rm conftest*
+ LDFLAGS="$save_LDFLAGS"
+])
+
+if test x"[$]$2" = xyes; then
+ ifelse([$4], , :, [$4])
+else
+ ifelse([$5], , :, [$5])
+fi
+])# AC_LIBTOOL_LINKER_OPTION
+
+
+# AC_LIBTOOL_SYS_MAX_CMD_LEN
+# --------------------------
+AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
+[# find the maximum length of command line arguments
+AC_MSG_CHECKING([the maximum length of command line arguments])
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
+ i=0
+ testring="ABCD"
+
+ case $host_os in
+ msdosdjgpp*)
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
+ # during glob expansion). Even if it were fixed, the result of this
+ # check would be larger than it should be.
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
+ ;;
+
+ gnu*)
+ # Under GNU Hurd, this test is not required because there is
+ # no limit to the length of command line arguments.
+ # Libtool will interpret -1 as no limit whatsoever
+ lt_cv_sys_max_cmd_len=-1;
+ ;;
+
+ *)
+ # If test is not a shell built-in, we'll probably end up computing a
+ # maximum length that is only half of the actual maximum length, but
+ # we can't tell.
+ while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \
+ = "XX$testring") >/dev/null 2>&1 &&
+ new_result=`expr "X$testring" : ".*" 2>&1` &&
+ lt_cv_sys_max_cmd_len=$new_result &&
+ test $i != 17 # 1/2 MB should be enough
+ do
+ i=`expr $i + 1`
+ testring=$testring$testring
+ done
+ testring=
+ # Add a significant safety factor because C++ compilers can tack on massive
+ # amounts of additional arguments before passing them to the linker.
+ # It appears as though 1/2 is a usable value.
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+ ;;
+ esac
+])
+if test -n $lt_cv_sys_max_cmd_len ; then
+ AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
+else
+ AC_MSG_RESULT(none)
+fi
+])# AC_LIBTOOL_SYS_MAX_CMD_LEN
+
+
+# _LT_AC_CHECK_DLFCN
+# --------------------
+AC_DEFUN([_LT_AC_CHECK_DLFCN],
+[AC_CHECK_HEADERS(dlfcn.h)dnl
+])# _LT_AC_CHECK_DLFCN
+
+
+# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
+# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
+# ------------------------------------------------------------------
+AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
+[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
+if test "$cross_compiling" = yes; then :
+ [$4]
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<EOF
+[#line __oline__ "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+#ifdef __cplusplus
+extern "C" void exit (int);
+#endif
+
+void fnord() { int i=42;}
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ /* dlclose (self); */
+ }
+
+ exit (status);
+}]
+EOF
+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
+ (./conftest; exit; ) 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) $1 ;;
+ x$lt_dlneed_uscore) $2 ;;
+ x$lt_unknown|x*) $3 ;;
+ esac
+ else :
+ # compilation failed
+ $3
+ fi
+fi
+rm -fr conftest*
+])# _LT_AC_TRY_DLOPEN_SELF
+
+
+# AC_LIBTOOL_DLOPEN_SELF
+# -------------------
+AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
+[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
+if test "x$enable_dlopen" != xyes; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen="load_add_on"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ cygwin* | mingw* | pw32*)
+ lt_cv_dlopen="LoadLibrary"
+ lt_cv_dlopen_libs=
+ ;;
+
+ *)
+ AC_CHECK_FUNC([shl_load],
+ [lt_cv_dlopen="shl_load"],
+ [AC_CHECK_LIB([dld], [shl_load],
+ [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
+ [AC_CHECK_FUNC([dlopen],
+ [lt_cv_dlopen="dlopen"],
+ [AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
+ [AC_CHECK_LIB([svld], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
+ [AC_CHECK_LIB([dld], [dld_link],
+ [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
+ ])
+ ])
+ ])
+ ])
+ ])
+ ;;
+ esac
+
+ if test "x$lt_cv_dlopen" != xno; then
+ enable_dlopen=yes
+ else
+ enable_dlopen=no
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS="$CPPFLAGS"
+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS="$LDFLAGS"
+ eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS="$LIBS"
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ AC_CACHE_CHECK([whether a program can dlopen itself],
+ lt_cv_dlopen_self, [dnl
+ _LT_AC_TRY_DLOPEN_SELF(
+ lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
+ lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
+ ])
+
+ if test "x$lt_cv_dlopen_self" = xyes; then
+ LDFLAGS="$LDFLAGS $link_static_flag"
+ AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
+ lt_cv_dlopen_self_static, [dnl
+ _LT_AC_TRY_DLOPEN_SELF(
+ lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
+ lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
+ ])
+ fi
+
+ CPPFLAGS="$save_CPPFLAGS"
+ LDFLAGS="$save_LDFLAGS"
+ LIBS="$save_LIBS"
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+])# AC_LIBTOOL_DLOPEN_SELF
+
+
+# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
+# ---------------------------------
+# Check to see if options -c and -o are simultaneously supported by compiler
+AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
+[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
+ [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
+ [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
+ $rm -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ ifelse([$1],[],[save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"],
+ [$1],[CXX],[save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -o out/conftest2.$ac_objext"],
+ [$1],[GCJ],[save_GCJFLAGS="$GCJFLAGS"
+ GCJFLAGS="$GCJFLAGS -o out/conftest2.$ac_objext"])
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
+ # that will create temporary files in the current directory regardless of
+ # the output directory. Thus, making CWD read-only will cause this test
+ # to fail, enabling locking or at least warning the user not to do parallel
+ # builds.
+ chmod -w .
+
+ if (eval $ac_compile 2>out/conftest.err) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s out/conftest.err; then
+ # Append any errors to the config.log.
+ cat out/conftest.err 1>&AS_MESSAGE_LOG_FD
+ else
+ _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
+ fi
+ fi
+ ifelse([$1],[],[CFLAGS="$save_CFLAGS"],
+ [$1],[CXX],[CXXFLAGS="$save_CXXFLAGS"],
+ [$1],[GCJ],[GCJFLAGS="$save_GCJFLAGS"])
+ chmod u+w .
+ $rm conftest* out/*
+ rmdir out
+ cd ..
+ rmdir conftest
+ $rm conftest*
+])
+])# AC_LIBTOOL_PROG_CC_C_O
+
+
+# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
+# -----------------------------------------
+# Check to see if we can do hard links to lock some files if needed
+AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
+[AC_REQUIRE([_LT_AC_LOCK])dnl
+
+hard_links="nottested"
+if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
+ # do not overwrite the value of need_locks provided by the user
+ AC_MSG_CHECKING([if we can lock with hard links])
+ hard_links=yes
+ $rm conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ AC_MSG_RESULT([$hard_links])
+ if test "$hard_links" = no; then
+ AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
+
+
+# AC_LIBTOOL_OBJDIR
+# -----------------
+AC_DEFUN([AC_LIBTOOL_OBJDIR],
+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
+[rm -f .libs 2>/dev/null
+mkdir .libs 2>/dev/null
+if test -d .libs; then
+ lt_cv_objdir=.libs
+else
+ # MS-DOS does not allow filenames that begin with a dot.
+ lt_cv_objdir=_libs
+fi
+rmdir .libs 2>/dev/null])
+objdir=$lt_cv_objdir
+])# AC_LIBTOOL_OBJDIR
+
+
+# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
+# ----------------------------------------------
+# Check hardcoding attributes.
+AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
+[AC_MSG_CHECKING([how to hardcode library paths into programs])
+_LT_AC_TAGVAR(hardcode_action, $1)=
+if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
+ test -n "$_LT_AC_TAGVAR(runpath_var $1)"; then
+
+ # We can hardcode non-existant directories.
+ if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
+ test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
+ # Linking always hardcodes the temporary library directory.
+ _LT_AC_TAGVAR(hardcode_action, $1)=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ _LT_AC_TAGVAR(hardcode_action, $1)=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
+fi
+AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
+
+if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test "$shlibpath_overrides_runpath" = yes ||
+ test "$enable_shared" = no; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
+
+
+# AC_LIBTOOL_SYS_LIB_STRIP
+# ------------------------
+AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
+[striplib=
+old_striplib=
+AC_MSG_CHECKING([whether stripping libraries is possible])
+if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+ AC_MSG_RESULT([yes])
+else
+ AC_MSG_RESULT([no])
+fi
+])# AC_LIBTOOL_SYS_LIB_STRIP
+
+
+# AC_LIBTOOL_SYS_DYNAMIC_LINKER
+# -----------------------------
+# PORTME Fill in your ld.so characteristics
+AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
+[AC_MSG_CHECKING([dynamic linker characteristics])
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux
+ library_names_spec='${libname}${release}.so$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='${libname}${release}.so$major'
+ ;;
+
+aix4* | aix5*)
+ version_type=linux
+ if test "$host_cpu" = ia64; then
+ # AIX 5 supports IA64
+ library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line `#! .'. This would cause the generated library to
+ # depend on `.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[[01]] | aix4.[[01]].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ if test "$aix_use_runtimelinking" = yes; then
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+ else
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='${libname}${release}.a $libname.a'
+ soname_spec='${libname}${release}.so$major'
+ fi
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
+ ;;
+
+beos*)
+ library_names_spec='${libname}.so'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi4*)
+ version_type=linux
+ need_version=no
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+ soname_spec='${libname}${release}.so$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32*)
+ version_type=windows
+ need_version=no
+ need_lib_prefix=no
+ case $GCC,$host_os in
+ yes,cygwin*)
+ library_names_spec='$libname.dll.a'
+ sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
+ postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog .libs/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $rm \$dlpath'
+ ;;
+ yes,mingw*)
+ library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
+ sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://"`
+ if echo "$sys_lib_search_path_spec" | [egrep ';[C-Z]:/' >/dev/null]; then
+ # It is most probably a Windows format PATH printed by
+ # mingw gcc, but we are running on Cygwin. Gcc prints its search
+ # path with ; separators, and with drive letters. We can handle the
+ # drive letters (cygwin fileutils understands them), so leave them,
+ # especially as we might pass files found there to a mingw objdump,
+ # which wouldn't understand a cygwinified path. Ahh.
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ ;;
+ yes,pw32*)
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
+ ;;
+ *)
+ library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll $libname.lib'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ # FIXME: Relying on posixy $() will cause problems for
+ # cross-compilation, but unfortunately the echo tests do not
+ # yet detect zsh echo's removal of \ escapes.
+ library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
+ soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ ;;
+
+dgux*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+ soname_spec='${libname}${release}.so$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd1*)
+ dynamic_linker=no
+ ;;
+
+freebsd*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[01]* | freebsdelf3.[01]*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ *) # from 3.2 on
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
+ soname_spec='${libname}${release}.so$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if test "$host_cpu" = ia64; then
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+ soname_spec='${libname}${release}.so$major'
+ if test "X$HPUX_IA64_MODE" = X32; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ else
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
+ soname_spec='${libname}${release}.sl$major'
+ fi
+ # HP-UX runs *really* slowly unless shared libraries are mode 555.
+ postinstall_cmds='chmod 555 $lib'
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *) version_type=irix ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}.so$major'
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+# This must be Linux ELF.
+linux*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+ soname_spec='${libname}${release}.so$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ libsuff=
+ if test "x$LINUX_64_MODE" = x64; then
+ # Some platforms are per default 64-bit, so there's no /lib64
+ if test -d /lib64; then
+ libsuff=64
+ fi
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
+ soname_spec='${libname}${release}.so$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+nto-qnx)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+ soname_spec='${libname}${release}.so$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+openbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ case $host_os in
+ openbsd2.[[89]] | openbsd2.[[89]].*)
+ shlibpath_overrides_runpath=no
+ ;;
+ *)
+ shlibpath_overrides_runpath=yes
+ ;;
+ esac
+ else
+ shlibpath_overrides_runpath=yes
+ fi
+ ;;
+
+os2*)
+ libname_spec='$name'
+ need_lib_prefix=no
+ library_names_spec='$libname.dll $libname.a'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=LIBPATH
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}.so'
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+ ;;
+
+sco3.2v5*)
+ version_type=osf
+ soname_spec='${libname}${release}.so$major'
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+solaris*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+ soname_spec='${libname}${release}.so$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test "$with_gnu_ld" = yes; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ version_type=linux
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+ soname_spec='${libname}${release}.so$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec ;then
+ version_type=linux
+ library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
+ soname_spec='$libname.so.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+uts4*)
+ version_type=linux
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+ soname_spec='${libname}${release}.so$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+AC_MSG_RESULT([$dynamic_linker])
+test "$dynamic_linker" = no && can_build_shared=no
+])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
+
+
+# _LT_AC_TAGCONFIG
+# ----------------
+AC_DEFUN([_LT_AC_TAGCONFIG],
+[AC_ARG_WITH([tags],
+ [AC_HELP_STRING([--with-tags=TAGS],
+ [include additional configurations @<:@CXX,GCJ@:>@])],
+ [tagnames="$withval"],
+ [tagnames="CXX,GCJ"
+ case $host_os in
+ mingw*|cygwin*) tagnames="$tagnames,RC" ;;
+ esac])
+
+if test -f "$ltmain" && test -n "$tagnames"; then
+ if test ! -f "${ofile}"; then
+ AC_MSG_WARN([output file `$ofile' does not exist])
+ fi
+
+ if test -z "$LTCC"; then
+ eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
+ if test -z "$LTCC"; then
+ AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
+ else
+ AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
+ fi
+ fi
+
+ # Extract list of available tagged configurations in $ofile.
+ # Note that this assumes the entire list is on one line.
+ available_tags=`grep "^available_tags=" "${ofile}" | sed -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
+
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for tagname in $tagnames; do
+ IFS="$lt_save_ifs"
+ # Check whether tagname contains only valid characters
+ case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
+ "") ;;
+ *) AC_MSG_ERROR([invalid tag name: $tagname])
+ ;;
+ esac
+
+ if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
+ then
+ AC_MSG_ERROR([tag name \"$tagname\" already exists])
+ fi
+
+ # Update the list of available tags.
+ if test -n "$tagname"; then
+ echo appending configuration tag \"$tagname\" to $ofile
+
+ case $tagname in
+ CXX)
+ AC_LIBTOOL_LANG_CXX_CONFIG
+ ;;
+
+ GCJ)
+ AC_LIBTOOL_LANG_GCJ_CONFIG
+ ;;
+
+ RC)
+ AC_LIBTOOL_LANG_RC_CONFIG
+ ;;
+
+ *)
+ AC_MSG_ERROR([Unsupported tag name: $tagname])
+ ;;
+ esac
+
+ # Append the new tag name to the list of available tags.
+ available_tags="$available_tags $tagname"
+ fi
+ done
+ IFS="$lt_save_ifs"
+
+ # Now substitute the updated list of available tags.
+ if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
+ mv "${ofile}T" "$ofile"
+ chmod +x "$ofile"
+ else
+ rm -f "${ofile}T"
+ AC_MSG_ERROR([unable to update list of available tagged configurations.])
+ fi
+fi
+])# _LT_AC_TAGCONFIG
+
+
+# AC_LIBTOOL_DLOPEN
+# -----------------
+# enable checks for dlopen support
+AC_DEFUN([AC_LIBTOOL_DLOPEN],
+ [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
+])# AC_LIBTOOL_DLOPEN
+
+
+# AC_LIBTOOL_WIN32_DLL
+# --------------------
+# declare package support for building win32 dll's
+AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
+[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
+])# AC_LIBTOOL_WIN32_DLL
+
+
+# AC_ENABLE_SHARED([DEFAULT])
+# ---------------------------
+# implement the --enable-shared flag
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
+AC_DEFUN([AC_ENABLE_SHARED],
+[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
+AC_ARG_ENABLE([shared],
+ [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
+ [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_shared=yes ;;
+ no) enable_shared=no ;;
+ *)
+ enable_shared=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_shared=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac],
+ [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
+])# AC_ENABLE_SHARED
+
+
+# AC_DISABLE_SHARED
+# -----------------
+#- set the default shared flag to --disable-shared
+AC_DEFUN([AC_DISABLE_SHARED],
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+AC_ENABLE_SHARED(no)
+])# AC_DISABLE_SHARED
+
+
+# AC_ENABLE_STATIC([DEFAULT])
+# ---------------------------
+# implement the --enable-static flag
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
+AC_DEFUN([AC_ENABLE_STATIC],
+[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
+AC_ARG_ENABLE([static],
+ [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
+ [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_static=yes ;;
+ no) enable_static=no ;;
+ *)
+ enable_static=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_static=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac],
+ [enable_static=]AC_ENABLE_STATIC_DEFAULT)
+])# AC_ENABLE_STATIC
+
+
+# AC_DISABLE_STATIC
+# -----------------
+# set the default static flag to --disable-static
+AC_DEFUN([AC_DISABLE_STATIC],
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+AC_ENABLE_STATIC(no)
+])# AC_DISABLE_STATIC
+
+
+# AC_ENABLE_FAST_INSTALL([DEFAULT])
+# ---------------------------------
+# implement the --enable-fast-install flag
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
+AC_DEFUN([AC_ENABLE_FAST_INSTALL],
+[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
+AC_ARG_ENABLE([fast-install],
+ [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
+ [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_fast_install=yes ;;
+ no) enable_fast_install=no ;;
+ *)
+ enable_fast_install=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_fast_install=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac],
+ [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
+])# AC_ENABLE_FAST_INSTALL
+
+
+# AC_DISABLE_FAST_INSTALL
+# -----------------------
+# set the default to --disable-fast-install
+AC_DEFUN([AC_DISABLE_FAST_INSTALL],
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+AC_ENABLE_FAST_INSTALL(no)
+])# AC_DISABLE_FAST_INSTALL
+
+
+# AC_LIBTOOL_PICMODE([MODE])
+# --------------------------
+# implement the --with-pic flag
+# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
+AC_DEFUN([AC_LIBTOOL_PICMODE],
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+pic_mode=ifelse($#,1,$1,default)
+])# AC_LIBTOOL_PICMODE
+
+
+# AC_PATH_TOOL_PREFIX
+# -------------------
+# find a file program which can recognise shared library
+AC_DEFUN([AC_PATH_TOOL_PREFIX],
+[AC_MSG_CHECKING([for $1])
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
+[case $MAGIC_CMD in
+[[\\/*] | ?:[\\/]*])
+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD="$MAGIC_CMD"
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+dnl $ac_dummy forces splitting on constant user-supplied paths.
+dnl POSIX.2 word splitting is done only on the output of word expansions,
+dnl not every word. This closes a longstanding sh security hole.
+ ac_dummy="ifelse([$2], , $PATH, [$2])"
+ for ac_dir in $ac_dummy; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$1; then
+ lt_cv_path_MAGIC_CMD="$ac_dir/$1"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ egrep "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool@gnu.org
+
+EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS="$lt_save_ifs"
+ MAGIC_CMD="$lt_save_MAGIC_CMD"
+ ;;
+esac])
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+if test -n "$MAGIC_CMD"; then
+ AC_MSG_RESULT($MAGIC_CMD)
+else
+ AC_MSG_RESULT(no)
+fi
+])# AC_PATH_TOOL_PREFIX
+
+
+# AC_PATH_MAGIC
+# -------------
+# find a file program which can recognise a shared library
+AC_DEFUN([AC_PATH_MAGIC],
+[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
+if test -z "$lt_cv_path_MAGIC_CMD"; then
+ if test -n "$ac_tool_prefix"; then
+ AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
+ else
+ MAGIC_CMD=:
+ fi
+fi
+])# AC_PATH_MAGIC
+
+
+# AC_PROG_LD
+# ----------
+# find the path to the GNU or non-GNU linker
+AC_DEFUN([AC_PROG_LD],
+[AC_ARG_WITH([gnu-ld],
+ [AC_HELP_STRING([--with-gnu-ld],
+ [assume the C compiler uses GNU ld @<:@default=no@:>@])],
+ [test "$withval" = no || with_gnu_ld=yes],
+ [with_gnu_ld=no])
+AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ac_prog=ld
+if test "$GCC" = yes; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ AC_MSG_CHECKING([for ld used by GCC])
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [[\\/]]* | ?:[[\\/]]*)
+ re_direlt='/[[^/]][[^/]]*/\.\./'
+ # Canonicalize the path of ld
+ ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
+ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD="$ac_prog"
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test "$with_gnu_ld" = yes; then
+ AC_MSG_CHECKING([for GNU ld])
+else
+ AC_MSG_CHECKING([for non-GNU ld])
+fi
+AC_CACHE_VAL(lt_cv_path_LD,
+[if test -z "$LD"; then
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD="$ac_dir/$ac_prog"
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some GNU ld's only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
+ test "$with_gnu_ld" != no && break
+ else
+ test "$with_gnu_ld" != yes && break
+ fi
+ fi
+ done
+ IFS="$lt_save_ifs"
+else
+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
+fi])
+LD="$lt_cv_path_LD"
+if test -n "$LD"; then
+ AC_MSG_RESULT($LD)
+else
+ AC_MSG_RESULT(no)
+fi
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
+AC_PROG_LD_GNU
+])# AC_PROG_LD
+
+
+# AC_PROG_LD_GNU
+# --------------
+AC_DEFUN([AC_PROG_LD_GNU],
+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
+[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
+if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
+ lt_cv_prog_gnu_ld=yes
+else
+ lt_cv_prog_gnu_ld=no
+fi])
+with_gnu_ld=$lt_cv_prog_gnu_ld
+])# AC_PROG_LD_GNU
+
+
+# AC_PROG_LD_RELOAD_FLAG
+# ----------------------
+# find reload flag for linker
+# -- PORTME Some linkers may need a different reload flag.
+AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
+[AC_CACHE_CHECK([for $LD option to reload object files],
+ lt_cv_ld_reload_flag,
+ [lt_cv_ld_reload_flag='-r'])
+reload_flag=$lt_cv_ld_reload_flag
+case $reload_flag in
+"" | " "*) ;;
+*) reload_flag=" $reload_flag" ;;
+esac
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
+])# AC_PROG_LD_RELOAD_FLAG
+
+
+# AC_DEPLIBS_CHECK_METHOD
+# -----------------------
+# how to check for library dependencies
+# -- PORTME fill in with the dynamic library characteristics
+AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
+[AC_CACHE_CHECK([how to recognise dependant libraries],
+lt_cv_deplibs_check_method,
+[lt_cv_file_magic_cmd='$MAGIC_CMD'
+lt_cv_file_magic_test_file=
+lt_cv_deplibs_check_method='unknown'
+# Need to set the preceding variable on all platforms that support
+# interlibrary dependencies.
+# 'none' -- dependencies not supported.
+# `unknown' -- same as none, but documents that we really don't know.
+# 'pass_all' -- all dependencies passed with no checks.
+# 'test_compile' -- check by making test program.
+# 'file_magic [[regex]]' -- check by looking for files in library path
+# which responds to the $file_magic_cmd with a given egrep regex.
+# If you have `file' or equivalent on your system and you're not sure
+# whether `pass_all' will *always* work, you probably want this one.
+
+case $host_os in
+aix4* | aix5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+beos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+bsdi4*)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ ;;
+
+cygwin* | mingw* | pw32*)
+ lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
+ lt_cv_file_magic_cmd='$OBJDUMP -f'
+ ;;
+
+darwin* | rhapsody*)
+ lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ case "$host_os" in
+ rhapsody* | darwin1.[[012]])
+ lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
+ ;;
+ *) # Darwin 1.3 on
+ lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
+ ;;
+ esac
+ ;;
+
+freebsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+ # Not sure whether the presence of OpenBSD here was a mistake.
+ # Let's accept both of them until this is cleared up.
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ ;;
+ esac
+ else
+ lt_cv_deplibs_check_method=pass_all
+ fi
+ ;;
+
+gnu*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+hpux10.20* | hpux11*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ if test "$host_cpu" = ia64; then
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
+ else
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
+ fi
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ irix5* | nonstopux*)
+ # this will be overridden with pass_all, but let us keep it just in case
+ lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+ ;;
+ *)
+ case $LD in
+ *-32|*"-32 ") libmagic=32-bit;;
+ *-n32|*"-n32 ") libmagic=N32;;
+ *-64|*"-64 ") libmagic=64-bit;;
+ *) libmagic=never-match;;
+ esac
+ # this will be overridden with pass_all, but let us keep it just in case
+ lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
+ ;;
+ esac
+ lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+# This must be Linux ELF.
+linux*)
+ case $host_cpu in
+ alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh* | x86_64* )
+ lt_cv_deplibs_check_method=pass_all ;;
+ # the debian people say, arm and glibc 2.3.1 works for them with pass_all
+ arm* )
+ lt_cv_deplibs_check_method=pass_all ;;
+ *)
+ # glibc up to 2.1.1 does not perform some relocations on ARM
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
+ esac
+ lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+ ;;
+
+netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so$'
+ fi
+ ;;
+
+newos6*)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
+ ;;
+
+nto-qnx)
+ lt_cv_deplibs_check_method=unknown
+ ;;
+
+openbsd*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
+ else
+ lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
+ fi
+ ;;
+
+osf3* | osf4* | osf5*)
+ # this will be overridden with pass_all, but let us keep it just in case
+ lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sco3.2v5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+solaris*)
+ lt_cv_deplibs_check_method=pass_all
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ case $host_vendor in
+ motorola)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+ ;;
+ ncr)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ sequent)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
+ ;;
+ sni)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+ esac
+ ;;
+
+sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+esac
+])
+file_magic_cmd=$lt_cv_file_magic_cmd
+deplibs_check_method=$lt_cv_deplibs_check_method
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
+])# AC_DEPLIBS_CHECK_METHOD
+
+
+# AC_PROG_NM
+# ----------
+# find the path to a BSD-compatible name lister
+AC_DEFUN([AC_PROG_NM],
+[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
+[if test -n "$NM"; then
+ # Let the user override the test.
+ lt_cv_path_NM="$NM"
+else
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ tmp_nm="$ac_dir/${ac_tool_prefix}nm"
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
+ # Check to see if the nm accepts a BSD-compat flag.
+ # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+ # nm: unknown option "B" ignored
+ # Tru64's nm complains that /dev/null is an invalid object file
+ if ("$tmp_nm" -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
+ lt_cv_path_NM="$tmp_nm -B"
+ break
+ elif ("$tmp_nm" -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+ lt_cv_path_NM="$tmp_nm -p"
+ break
+ else
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ continue # so that we can try to find one that supports BSD flags
+ fi
+ fi
+ done
+ IFS="$lt_save_ifs"
+ test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
+fi])
+NM="$lt_cv_path_NM"
+])# AC_PROG_NM
+
+
+# AC_CHECK_LIBM
+# -------------
+# check for math library
+AC_DEFUN([AC_CHECK_LIBM],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+LIBM=
+case $host in
+*-*-beos* | *-*-cygwin* | *-*-pw32*)
+ # These system don't have libm
+ ;;
+*-ncr-sysv4.3*)
+ AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
+ AC_CHECK_LIB(m, main, LIBM="$LIBM -lm")
+ ;;
+*)
+ AC_CHECK_LIB(m, main, LIBM="-lm")
+ ;;
+esac
+])# AC_CHECK_LIBM
+
+
+# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
+# -----------------------------------
+# sets LIBLTDL to the link flags for the libltdl convenience library and
+# LTDLINCL to the include flags for the libltdl header and adds
+# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL
+# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
+# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will
+# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
+# '${top_srcdir}/' (note the single quotes!). If your package is not
+# flat and you're not using automake, define top_builddir and
+# top_srcdir appropriately in the Makefiles.
+AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ case $enable_ltdl_convenience in
+ no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
+ "") enable_ltdl_convenience=yes
+ ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
+ esac
+ LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
+ LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
+ # For backwards non-gettext consistent compatibility...
+ INCLTDL="$LTDLINCL"
+])# AC_LIBLTDL_CONVENIENCE
+
+
+# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
+# -----------------------------------
+# sets LIBLTDL to the link flags for the libltdl installable library and
+# LTDLINCL to the include flags for the libltdl header and adds
+# --enable-ltdl-install to the configure arguments. Note that LIBLTDL
+# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
+# DIRECTORY is not provided and an installed libltdl is not found, it is
+# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'
+# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
+# quotes!). If your package is not flat and you're not using automake,
+# define top_builddir and top_srcdir appropriately in the Makefiles.
+# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
+AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ AC_CHECK_LIB(ltdl, main,
+ [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
+ [if test x"$enable_ltdl_install" = xno; then
+ AC_MSG_WARN([libltdl not installed, but installation disabled])
+ else
+ enable_ltdl_install=yes
+ fi
+ ])
+ if test x"$enable_ltdl_install" = x"yes"; then
+ ac_configure_args="$ac_configure_args --enable-ltdl-install"
+ LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
+ LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
+ else
+ ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
+ LIBLTDL="-lltdl"
+ LTDLINCL=
+ fi
+ # For backwards non-gettext consistent compatibility...
+ INCLTDL="$LTDLINCL"
+])# AC_LIBLTDL_INSTALLABLE
+
+
+# If this macro is not defined by Autoconf, define it here.
+ifdef([AC_PROVIDE_IFELSE],
+ [],
+ [define([AC_PROVIDE_IFELSE],
+ [ifdef([AC_PROVIDE_$1],
+ [$2], [$3])])])
+
+
+# AC_LIBTOOL_CXX
+# --------------
+# enable support for C++ libraries
+AC_DEFUN([AC_LIBTOOL_CXX],
+[AC_REQUIRE([_LT_AC_LANG_CXX])
+])# AC_LIBTOOL_CXX
+
+
+# _LT_AC_LANG_CXX
+# ---------------
+AC_DEFUN([_LT_AC_LANG_CXX],
+[AC_REQUIRE([AC_PROG_CXX])
+AC_REQUIRE([AC_PROG_CXXCPP])
+])# _LT_AC_LANG_CXX
+
+
+# AC_LIBTOOL_GCJ
+# --------------
+# enable support for GCJ libraries
+AC_DEFUN([AC_LIBTOOL_GCJ],
+[AC_REQUIRE([_LT_AC_LANG_GCJ])
+])# AC_LIBTOOL_GCJ
+
+
+# _LT_AC_LANG_GCJ
+# ---------------
+AC_DEFUN([_LT_AC_LANG_GCJ],
+[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
+ [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
+ [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
+ [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
+ [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
+])# _LT_AC_LANG_GCJ
+
+
+# AC_LIBTOOL_RC
+# --------------
+# enable support for Windows resource files
+AC_DEFUN([AC_LIBTOOL_RC],
+[AC_REQUIRE([AC_PROG_RC])
+])# AC_LIBTOOL_RC
+
+
+# AC_LIBTOOL_LANG_C_CONFIG
+# ------------------------
+# Ensure that the configuration vars for the C compiler are
+# suitably defined. Those variables are subsequently used by
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
+AC_DEFUN([_LT_AC_LANG_C_CONFIG],
+[lt_save_CC="$CC"
+AC_LANG_PUSH(C)
+
+# Source file extension for C test sources.
+ac_ext=c
+
+# Object file extension for compiled C test sources.
+objext=o
+_LT_AC_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='main(){return(0);}'
+
+_LT_AC_SYS_COMPILER
+
+#
+# Check for any special shared library compilation flags.
+#
+_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
+if test "$GCC" = no; then
+ case $host_os in
+ sco3.2v5*)
+ _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
+ ;;
+ esac
+fi
+if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
+ AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
+ if echo "$old_CC $old_CFLAGS " | egrep -e "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then :
+ else
+ AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
+ _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
+ fi
+fi
+
+
+#
+# Check to make sure the static flag actually works.
+#
+AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
+ _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
+ $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
+ [],
+ [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
+
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
+AC_LIBTOOL_PROG_CC_C_O($1)
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
+AC_LIBTOOL_SYS_LIB_STRIP
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
+AC_LIBTOOL_DLOPEN_SELF($1)
+
+# Report which librarie types wil actually be built
+AC_MSG_CHECKING([if libtool supports shared libraries])
+AC_MSG_RESULT([$can_build_shared])
+
+AC_MSG_CHECKING([whether to build shared libraries])
+test "$can_build_shared" = "no" && enable_shared=no
+
+# On AIX, shared libraries and static libraries use the same namespace, and
+# are all built from PIC.
+case "$host_os" in
+aix3*)
+ test "$enable_shared" = yes && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+
+aix4*)
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+ test "$enable_shared" = yes && enable_static=no
+ fi
+ ;;
+esac
+AC_MSG_RESULT([$enable_shared])
+
+AC_MSG_CHECKING([whether to build static libraries])
+# Make sure either enable_shared or enable_static is yes.
+test "$enable_shared" = yes || enable_static=yes
+AC_MSG_RESULT([$enable_static])
+
+AC_LIBTOOL_CONFIG($1)
+
+AC_LANG_POP
+CC="$lt_save_CC"
+])# AC_LIBTOOL_LANG_C_CONFIG
+
+
+# AC_LIBTOOL_LANG_CXX_CONFIG
+# --------------------------
+# Ensure that the configuration vars for the C compiler are
+# suitably defined. Those variables are subsequently used by
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
+AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
+[AC_LANG_PUSH(C++)
+AC_REQUIRE([AC_PROG_CXX])
+AC_REQUIRE([AC_PROG_CXXCPP])
+
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_AC_TAGVAR(allow_undefined_flag, $1)=
+_LT_AC_TAGVAR(always_export_symbols, $1)=no
+_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
+_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
+_LT_AC_TAGVAR(hardcode_direct, $1)=no
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
+_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
+_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
+_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_AC_TAGVAR(no_undefined_flag, $1)=
+_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
+
+# Dependencies to place before and after the object being linked:
+_LT_AC_TAGVAR(predep_objects, $1)=
+_LT_AC_TAGVAR(postdep_objects, $1)=
+_LT_AC_TAGVAR(predeps, $1)=
+_LT_AC_TAGVAR(postdeps, $1)=
+_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
+
+# Source file extension for C test sources.
+ac_ext=cc
+
+# Object file extension for compiled C test sources.
+objext=o
+_LT_AC_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(int char *[]) { return(0); }'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_AC_SYS_COMPILER
+
+# Allow CC to be a program name with arguments.
+lt_save_CC="$CC"
+CC=${CXX-"c++"}
+set dummy $CC
+compiler="[$]2"
+_LT_AC_TAGVAR(compiler, $1)=$CC
+cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
+
+# We don't want -fno-exception wen compiling C++ code, so set the
+# no_builtin_flag separately
+if test "$GXX" = yes; then
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
+else
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
+fi
+
+if test "$GXX" = yes; then
+ # Set up default GNU C++ configuration
+
+ # Check if GNU C++ uses GNU ld as the underlying linker, since the
+ # archiving commands below assume that GNU ld is being used.
+ if eval "`$CC -print-prog-name=ld` --version 2>&1" | \
+ egrep 'GNU ld' > /dev/null; then
+ with_gnu_ld=yes
+
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
+ # investigate it a little bit more. (MM)
+ wlarc='${wl}'
+
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
+ egrep 'no-whole-archive' > /dev/null; then
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+ else
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
+ fi
+ else
+ with_gnu_ld=no
+ wlarc=
+
+ # A generic and very simple default shared library creation
+ # command for GNU C++ for the case where it uses the native
+ # linker, instead of GNU ld. If possible, this setting should
+ # overridden to take advantage of the native linker features on
+ # the platform it is being used on.
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ fi
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
+
+else
+ GXX=no
+ with_gnu_ld=no
+ wlarc=
+fi
+
+# PORTME: fill in a description of your system's C++ link characteristics
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
+_LT_AC_TAGVAR(ld_shlibs, $1)=yes
+case $host_os in
+ aix3*)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aix4* | aix5*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=""
+ else
+ # KDE requires run time linking. Make it the default.
+ aix_use_runtimelinking=yes
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ _LT_AC_TAGVAR(archive_cmds, $1)=''
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+
+ if test "$GXX" = yes; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" && \
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ else
+ # We have old collect2
+ _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+ fi
+ esac
+ shared_flag='-shared'
+ else
+ # not using gcc
+ if test "$host_cpu" = ia64; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag='-qmkshrobj ${wl}-G'
+ else
+ shared_flag='-qmkshrobj'
+ fi
+ fi
+ fi
+
+ # Let the compiler handle the export list.
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
+ if test "$aix_use_runtimelinking" = yes; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
+ # Determine the default libpath from the value encoded in an empty executable.
+ _LT_AC_SYS_LIBPATH_AIX
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+
+ _LT_AC_TAGVAR(archive_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+ else
+ if test "$host_cpu" = ia64; then
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an empty executable.
+ _LT_AC_SYS_LIBPATH_AIX
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
+ # -bexpall does not export symbols beginning with underscore (_)
+ _LT_AC_TAGVAR(always_export_symbols, $1)=yes
+ # Exported symbols can be pulled into shared objects from archives
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
+ # This is similar to how AIX traditionally builds it's shared libraries.
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+ fi
+ fi
+ ;;
+ chorus*)
+ case $cc_basename in
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+ dgux*)
+ case $cc_basename in
+ ec++)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ ghcx)
+ # Green Hills C++ Compiler
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+ freebsd[12]*)
+ # C++ shared libraries reported to be fairly broken before switch to ELF
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ freebsd-elf*)
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ ;;
+ freebsd*)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ _LT_AC_TAGVAR(ld_shlibs, $1)=yes
+ ;;
+ gnu*)
+ ;;
+ hpux*)
+ if test $with_gnu_ld = no; then
+ if test "$host_cpu" = ia64; then
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ else
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ fi
+ fi
+ if test "$host_cpu" = ia64; then
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ else
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ fi
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+
+ case $cc_basename in
+ CC)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aCC)
+ case $host_os in
+ hpux9*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ ;;
+ *)
+ if test "$host_cpu" = ia64; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ fi
+ ;;
+ esac
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ *)
+ if test "$GXX" = yes; then
+ if test $with_gnu_ld = no; then
+ case $host_os in
+ hpux9*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ ;;
+ *)
+ if test "$host_cpu" = ia64; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ fi
+ ;;
+ esac
+ fi
+ else
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+ irix5* | irix6*)
+ case $cc_basename in
+ CC)
+ # SGI C++
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
+
+ # Archives containing C++ object files must be created using
+ # "CC -ar", where "CC" is the IRIX C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
+ ;;
+ *)
+ if test "$GXX" = yes; then
+ if test "$with_gnu_ld" = no; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -o $lib'
+ fi
+ fi
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+ esac
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+ linux*)
+ case $cc_basename in
+ KCC)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ _LT_AC_TAGVAR(archive_cmds, $1)='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest.so 2>&1 | egrep "ld"`; rm -f libconftest.so; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+
+ # Archives containing C++ object files must be created using
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
+ ;;
+ cxx)
+ # Compaq C++
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
+
+ runpath_var=LD_RUN_PATH
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ esac
+ ;;
+ lynxos*)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ m88k*)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ mvs*)
+ case $cc_basename in
+ cxx)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+ netbsd*)
+ # NetBSD uses g++ - do we need to do anything?
+ ;;
+ osf3*)
+ case $cc_basename in
+ KCC)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ _LT_AC_TAGVAR(archive_cmds, $1)='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Archives containing C++ object files must be created using
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
+
+ ;;
+ RCC)
+ # Rational C++ 2.4.1
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ cxx)
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ *)
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
+
+ else
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+ osf4* | osf5*)
+ case $cc_basename in
+ KCC)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ _LT_AC_TAGVAR(archive_cmds, $1)='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Archives containing C++ object files must be created using
+ # the KAI C++ compiler.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
+ ;;
+ RCC)
+ # Rational C++ 2.4.1
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ cxx)
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done~
+ echo "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
+ $rm $lib.exp'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ *)
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
+
+ else
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+ psos*)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ sco*)
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ case $cc_basename in
+ CC)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+ sunos4*)
+ case $cc_basename in
+ CC)
+ # Sun C++ 4.x
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ lcc)
+ # Lucid
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+ solaris*)
+ case $cc_basename in
+ CC)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ # The C++ compiler is used as linker so we must use $wl
+ # flag to pass the commands to the underlying system
+ # linker.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
+ ;;
+ esac
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | egrep "\-R|\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ gcx)
+ # Green Hills C++ Compiler
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
+
+ # The C++ compiler must be used to create the archive.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
+ ;;
+ *)
+ # GNU C++ compiler with Solaris linker
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
+ if $CC --version | egrep -v '^2\.7' > /dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $linker_flags ${wl}-h $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags~$rm $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep \"\-L\""
+ else
+ # g++ 2.7 appears to require `-G' NOT `-shared' on this
+ # platform.
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $linker_flags ${wl}-h $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags~$rm $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | egrep \"\-L\""
+ fi
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
+ fi
+ ;;
+ esac
+ ;;
+ sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ ;;
+ tandem*)
+ case $cc_basename in
+ NCC)
+ # NonStop-UX NCC 3.20
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+ vxworks*)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+esac
+AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+
+# Figure out "hidden" C++ library dependencies from verbose
+# compiler output whening linking a shared library.
+cat > conftest.$ac_ext <<EOF
+class Foo
+{
+public:
+ Foo (void) { a = 0; }
+private:
+ int a;
+};
+EOF
+
+
+if AC_TRY_EVAL(ac_compile); then
+ # Parse the compiler output and extract the necessary
+ # objects, libraries and library flags.
+
+ # Sentinel used to keep track of whether or not we are before
+ # the conftest object file.
+ pre_test_object_deps_done=no
+
+ # The `*' in the case matches for architectures that use `case' in
+ # $output_verbose_cmd can trigger glob expansion during the loop
+ # eval without this substitution.
+ output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
+
+ for p in `eval $output_verbose_link_cmd`; do
+ case $p in
+
+ -L* | -R* | -l*)
+ # Some compilers place space between "-{L,R}" and the path.
+ # Remove the space.
+ if test $p = "-L" \
+ || test $p = "-R"; then
+ prev=$p
+ continue
+ else
+ prev=
+ fi
+
+ if test "$pre_test_object_deps_done" = no; then
+ case $p in
+ -L* | -R*)
+ # Internal compiler library paths should come after those
+ # provided the user. The postdeps already come after the
+ # user supplied libs so there is no need to process them.
+ if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
+ _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
+ else
+ _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
+ fi
+ ;;
+ # The "-l" case would never come before the object being
+ # linked, so don't bother handling this case.
+ esac
+ else
+ if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
+ _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
+ else
+ _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
+ fi
+ fi
+ ;;
+
+ *.$objext|*.$libext)
+ # This assumes that the test object file only shows up
+ # once in the compiler output.
+ if test "$p" = "conftest.$objext"; then
+ pre_test_object_deps_done=yes
+ continue
+ fi
+
+ if test "$pre_test_object_deps_done" = no; then
+ if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
+ _LT_AC_TAGVAR(predep_objects, $1)="$p"
+ else
+ _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
+ fi
+ else
+ if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
+ _LT_AC_TAGVAR(postdep_objects, $1)="$p"
+ else
+ _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
+ fi
+ fi
+ ;;
+
+ *) ;; # Ignore the rest.
+
+ esac
+ done
+
+ # Clean up.
+ rm -f a.out
+else
+ echo "libtool.m4: error: problem compiling C++ test program"
+fi
+
+$rm -f confest.$objext
+
+case " $_LT_AC_TAGVAR(postdeps, $1) " in
+*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
+*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes ;;
+esac
+
+_LT_AC_TAGVAR(GCC, $1)="$GXX"
+_LT_AC_TAGVAR(LD, $1)="$LD"
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
+AC_LIBTOOL_PROG_CC_C_O($1)
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
+AC_LIBTOOL_SYS_LIB_STRIP
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
+AC_LIBTOOL_DLOPEN_SELF($1)
+
+AC_LIBTOOL_CONFIG($1)
+
+AC_LANG_POP
+CC="$lt_save_CC"
+])# AC_LIBTOOL_LANG_CXX_CONFIG
+
+
+# AC_LIBTOOL_LANG_GCJ_CONFIG
+# --------------------------
+# Ensure that the configuration vars for the C compiler are
+# suitably defined. Those variables are subsequently used by
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
+AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
+[AC_LANG_SAVE
+
+# Source file extension for C test sources.
+ac_ext=java
+
+# Object file extension for compiled C test sources.
+objext=o
+_LT_AC_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="class foo {}"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_AC_SYS_COMPILER
+
+# Allow CC to be a program name with arguments.
+lt_save_CC="$CC"
+CC=${GCJ-"gcj"}
+set dummy $CC
+compiler="[$]2"
+_LT_AC_TAGVAR(compiler, $1)=$CC
+
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
+AC_LIBTOOL_PROG_CC_C_O($1)
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
+AC_LIBTOOL_SYS_LIB_STRIP
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
+AC_LIBTOOL_DLOPEN_SELF($1)
+
+AC_LIBTOOL_CONFIG($1)
+
+AC_LANG_RESTORE
+CC="$lt_save_CC"
+])# AC_LIBTOOL_LANG_GCJ_CONFIG
+
+
+# AC_LIBTOOL_LANG_RC_CONFIG
+# --------------------------
+# Ensure that the configuration vars for the Windows resource compiler are
+# suitably defined. Those variables are subsequently used by
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
+AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
+[AC_LANG_SAVE
+
+# Source file extension for RC test sources.
+ac_ext=rc
+
+# Object file extension for compiled RC test sources.
+objext=o
+_LT_AC_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
+
+# Code to be used in simple link tests
+lt_simple_link_test_code="$lt_simple_compile_test_code"
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_AC_SYS_COMPILER
+
+# Allow CC to be a program name with arguments.
+lt_save_CC="$CC"
+CC=${RC-"windres"}
+set dummy $CC
+compiler="[$]2"
+_LT_AC_TAGVAR(compiler, $1)=$CC
+_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
+
+AC_LIBTOOL_CONFIG($1)
+
+AC_LANG_RESTORE
+CC="$lt_save_CC"
+])# AC_LIBTOOL_LANG_RC_CONFIG
+
+
+# AC_LIBTOOL_CONFIG([TAGNAME])
+# ----------------------------
+# If TAGNAME is not passed, then create an initial libtool script
+# with a default configuration from the untagged config vars. Otherwise
+# add code to config.status for appending the configuration named by
+# TAGNAME from the matching tagged config vars.
+AC_DEFUN([AC_LIBTOOL_CONFIG],
+[# The else clause should only fire when bootstrapping the
+# libtool distribution, otherwise you forgot to ship ltmain.sh
+# with your package, and you will get complaints that there are
+# no rules to generate ltmain.sh.
+if test -f "$ltmain"; then
+ # Now quote all the things that may contain metacharacters while being
+ # careful not to overquote the AC_SUBSTed values. We take copies of the
+ # variables and quote the copies for generation of the libtool script.
+ for var in echo old_CC old_CFLAGS AR AR_FLAGS RANLIB LN_S LTCC NM SED SHELL \
+ libname_spec library_names_spec soname_spec extract_expsyms_cmds \
+ old_striplib striplib file_magic_cmd finish_cmds finish_eval \
+ deplibs_check_method reload_flag reload_cmds need_locks \
+ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+ lt_cv_sys_global_symbol_to_c_name_address \
+ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+ old_postinstall_cmds old_postuninstall_cmds \
+ _LT_AC_TAGVAR(compiler, $1) \
+ _LT_AC_TAGVAR(CC, $1) \
+ _LT_AC_TAGVAR(LD, $1) \
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
+ _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
+ _LT_AC_TAGVAR(old_archive_cmds, $1) \
+ _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
+ _LT_AC_TAGVAR(predep_objects, $1) \
+ _LT_AC_TAGVAR(postdep_objects, $1) \
+ _LT_AC_TAGVAR(predeps, $1) \
+ _LT_AC_TAGVAR(postdeps, $1) \
+ _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
+ _LT_AC_TAGVAR(archive_cmds, $1) \
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
+ _LT_AC_TAGVAR(postinstall_cmds, $1) \
+ _LT_AC_TAGVAR(postuninstall_cmds, $1) \
+ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
+ _LT_AC_TAGVAR(allow_undefined_flag, $1) \
+ _LT_AC_TAGVAR(no_undefined_flag, $1) \
+ _LT_AC_TAGVAR(export_symbols_cmds, $1) \
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
+ _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
+ _LT_AC_TAGVAR(exclude_expsyms, $1) \
+ _LT_AC_TAGVAR(include_expsyms, $1); do
+
+ case $var in
+ _LT_AC_TAGVAR(old_archive_cmds, $1) | \
+ _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
+ _LT_AC_TAGVAR(archive_cmds, $1) | \
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
+ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
+ _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
+ extract_expsyms_cmds | reload_cmds | finish_cmds | \
+ postinstall_cmds | postuninstall_cmds | \
+ old_postinstall_cmds | old_postuninstall_cmds | \
+ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
+ # Double-quote double-evaled strings.
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
+ ;;
+ *)
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
+ ;;
+ esac
+ done
+
+ case $lt_echo in
+ *'\[$]0 --fallback-echo"')
+ lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
+ ;;
+ esac
+
+ifelse([$1], [],
+ [cfgfile="${ofile}T"
+ trap "$rm \"$cfgfile\"; exit 1" 1 2 15
+ $rm -f "$cfgfile"
+ AC_MSG_NOTICE([creating $ofile])],
+ [cfgfile="$ofile"])
+
+ cat <<__EOF__ >> "$cfgfile"
+ifelse([$1], [],
+[#! $SHELL
+
+# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
+# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+#
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
+# Free Software Foundation, Inc.
+#
+# This file is part of GNU Libtool:
+# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
+Xsed="sed -e s/^X//"
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
+
+# The names of the tagged configurations supported by this script.
+available_tags=
+
+# ### BEGIN LIBTOOL CONFIG],
+[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
+
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+
+# Shell to use when invoking shell scripts.
+SHELL=$lt_SHELL
+
+# Whether or not to build shared libraries.
+build_libtool_libs=$enable_shared
+
+# Whether or not to build static libraries.
+build_old_libs=$enable_static
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
+
+# Whether or not to optimize for fast installation.
+fast_install=$enable_fast_install
+
+# The host system.
+host_alias=$host_alias
+host=$host
+
+# An echo program that does not interpret backslashes.
+echo=$lt_echo
+
+# The archiver.
+AR=$lt_AR
+AR_FLAGS=$lt_AR_FLAGS
+
+# A C compiler.
+LTCC=$lt_LTCC
+
+# A language-specific compiler.
+CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
+
+# Is the compiler the GNU C compiler?
+with_gcc=$_LT_AC_TAGVAR(GCC, $1)
+
+# The linker used to build libraries.
+LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
+
+# Whether we need hard or soft links.
+LN_S=$lt_LN_S
+
+# A BSD-compatible nm program.
+NM=$lt_NM
+
+# A sed program that does not truncate output.
+SED=$lt_SED
+
+# A symbol stripping program
+STRIP=$STRIP
+
+# Used to examine libraries when file_magic_cmd begins "file"
+MAGIC_CMD=$MAGIC_CMD
+
+# Used on cygwin: DLL creation program.
+DLLTOOL="$DLLTOOL"
+
+# Used on cygwin: object dumper.
+OBJDUMP="$OBJDUMP"
+
+# Used on cygwin: assembler.
+AS="$AS"
+
+# The name of the directory that contains temporary libtool files.
+objdir=$objdir
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag
+reload_cmds=$lt_reload_cmds
+
+# How to pass a linker flag through the compiler.
+wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
+
+# Object file suffix (normally "o").
+objext="$ac_objext"
+
+# Old archive suffix (normally "a").
+libext="$libext"
+
+# Executable file suffix (normally "").
+exeext="$exeext"
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
+pic_mode=$pic_mode
+
+# What is the maximum length of a command?
+max_cmd_len=$lt_cv_sys_max_cmd_len
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
+
+# Must we lock files when doing compilation ?
+need_locks=$lt_need_locks
+
+# Do we need the lib prefix for modules?
+need_lib_prefix=$need_lib_prefix
+
+# Do we need a version for libraries?
+need_version=$need_version
+
+# Whether dlopen is supported.
+dlopen_support=$enable_dlopen
+
+# Whether dlopen of programs is supported.
+dlopen_self=$enable_dlopen_self
+
+# Whether dlopen of statically linked programs is supported.
+dlopen_self_static=$enable_dlopen_self_static
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
+
+# Compiler flag to generate thread-safe objects.
+thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
+
+# Library versioning type.
+version_type=$version_type
+
+# Format of library name prefix.
+libname_spec=$lt_libname_spec
+
+# List of archive names. First name is the real one, the rest are links.
+# The last name is the one that the linker finds with -lNAME.
+library_names_spec=$lt_library_names_spec
+
+# The coded name of the library, if different from the real name.
+soname_spec=$lt_soname_spec
+
+# Commands used to build and install an old-style archive.
+RANLIB=$lt_RANLIB
+old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
+old_postinstall_cmds=$lt_old_postinstall_cmds
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
+
+# Commands used to build and install a shared archive.
+archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
+archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
+postinstall_cmds=$lt_postinstall_cmds
+postuninstall_cmds=$lt_postuninstall_cmds
+
+# Commands to strip libraries.
+old_striplib=$lt_old_striplib
+striplib=$lt_striplib
+
+# Dependencies to place before the objects being linked to create a
+# shared library.
+predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
+
+# Dependencies to place after the objects being linked to create a
+# shared library.
+postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
+
+# Dependencies to place before the objects being linked to create a
+# shared library.
+predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
+
+# Dependencies to place after the objects being linked to create a
+# shared library.
+postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
+
+# Method to check whether dependent libraries are shared objects.
+deplibs_check_method=$lt_deplibs_check_method
+
+# Command to use when deplibs_check_method == file_magic.
+file_magic_cmd=$lt_file_magic_cmd
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
+
+# Flag that forces no undefined symbols.
+no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
+
+# Commands used to finish a libtool library installation in a directory.
+finish_cmds=$lt_finish_cmds
+
+# Same as above, but a single script fragment to be evaled but not shown.
+finish_eval=$lt_finish_eval
+
+# Take the output of nm and produce a listing of raw symbols and C names.
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
+
+# Transform the output of nm in a proper C declaration
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
+
+# Transform the output of nm in a C name address pair
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+
+# This is the shared library runtime path variable.
+runpath_var=$runpath_var
+
+# This is the shared library path variable.
+shlibpath_var=$shlibpath_var
+
+# Is shlibpath searched before the hard-coded library search path?
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
+
+# Whether we should hardcode library paths into libraries.
+hardcode_into_libs=$hardcode_into_libs
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist.
+hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
+
+# Whether we need a single -rpath flag with a separated argument.
+hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
+
+# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
+# resulting binary.
+hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
+
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
+# resulting binary.
+hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
+
+# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
+# the resulting binary.
+hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
+
+# Variables whose values should be saved in libtool wrapper scripts and
+# restored at relink time.
+variables_saved_for_relink="$variables_saved_for_relink"
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
+
+# Compile-time system search path for libraries
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+
+# Run-time system search path for libraries
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+
+# Fix the shell variable \$srcfile for the compiler.
+fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
+
+# Set to yes if exported symbols are required.
+always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
+
+# The commands to extract the exported symbol list from a shared archive.
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
+
+# Symbols that must always be exported.
+include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
+
+ifelse([$1],[],
+[# ### END LIBTOOL CONFIG],
+[# ### END LIBTOOL TAG CONFIG: $tagname])
+
+__EOF__
+
+ifelse([$1],[], [
+ case $host_os in
+ aix3*)
+ cat <<\EOF >> "$cfgfile"
+
+# AIX sometimes has problems with the GCC collect2 program. For some
+# reason, if we set the COLLECT_NAMES environment variable, the problems
+# vanish in a puff of smoke.
+if test "X${COLLECT_NAMES+set}" != Xset; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+fi
+EOF
+ ;;
+
+ cygwin* | mingw* | pw32* | os2*)
+ cat <<'EOF' >> "$cfgfile"
+ # This is a source program that is used to create dlls on Windows
+ # Don't remove nor modify the starting and closing comments
+ _LT_AC_FILE_LTDLL_C
+ # This is a source program that is used to create import libraries
+ # on Windows for dlls which lack them. Don't remove nor modify the
+ # starting and closing comments
+ _LT_AC_FILE_IMPGEN_C
+EOF
+ ;;
+ esac
+
+ # We use sed instead of cat because bash on DJGPP gets confused if
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+ sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
+
+ mv -f "$cfgfile" "$ofile" || \
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+])
+else
+ # If there is no Makefile yet, we rely on a make rule to execute
+ # `config.status --recheck' to rerun these tests and create the
+ # libtool script then.
+ test -f Makefile && make "$ltmain"
+fi
+])# AC_LIBTOOL_CONFIG
+
+
+# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
+# -------------------------------------------
+AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
+[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
+
+_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
+
+if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
+
+ AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
+ lt_cv_prog_compiler_rtti_exceptions,
+ [-fno-rtti -fno-exceptions -c conftest.$ac_ext], [],
+ [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
+fi
+])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
+
+
+# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
+# ---------------------------------
+AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
+[AC_REQUIRE([AC_CANONICAL_HOST])
+AC_REQUIRE([AC_PROG_NM])
+AC_REQUIRE([AC_OBJEXT])
+# Check for command to grab the raw symbol name followed by C symbol from nm.
+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
+[
+# These are sane defaults that work on at least a few old systems.
+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
+
+# Character class describing NM global symbol codes.
+symcode='[[BCDEGRST]]'
+
+# Regexp to match symbols that can be accessed directly from C.
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
+
+# Transform the above into a raw symbol and a C symbol.
+symxfrm='\1 \2\3 \3'
+
+# Transform an extracted symbol line into a proper C declaration
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
+
+# Transform an extracted symbol line into symbol name and symbol address
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
+
+# Define system-specific variables.
+case $host_os in
+aix*)
+ symcode='[[BCDT]]'
+ ;;
+cygwin* | mingw* | pw32*)
+ symcode='[[ABCDGISTW]]'
+ ;;
+hpux*) # Its linker distinguishes data from code symbols
+ if test "$host_cpu" = ia64; then
+ symcode='[[ABCDEGRST]]'
+ fi
+ lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+ lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
+ ;;
+irix* | nonstopux*)
+ symcode='[[BCDEGRST]]'
+ ;;
+solaris* | sysv5*)
+ symcode='[[BDT]]'
+ ;;
+sysv4)
+ symcode='[[DFNSTU]]'
+ ;;
+esac
+
+# Handle CRLF in mingw tool chain
+opt_cr=
+case $host_os in
+mingw*)
+ opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
+ ;;
+esac
+
+# If we're using GNU nm, then use its standard symbol codes.
+if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
+ symcode='[[ABCDGISTW]]'
+fi
+
+# Try without a prefix undercore, then with it.
+for ac_symprfx in "" "_"; do
+
+ # Write the raw and C identifiers.
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
+
+ # Check to see that the pipe works correctly.
+ pipe_works=no
+
+ rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#ifdef __cplusplus
+extern "C" {
+#endif
+char nm_test_var;
+void nm_test_func(){}
+#ifdef __cplusplus
+}
+#endif
+int main(){nm_test_var='a';nm_test_func();return(0);}
+EOF
+
+ if AC_TRY_EVAL(ac_compile); then
+ # Now try to grab the symbols.
+ nlist=conftest.nm
+ if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
+ # Try sorting and uniquifying the output.
+ if sort "$nlist" | uniq > "$nlist"T; then
+ mv -f "$nlist"T "$nlist"
+ else
+ rm -f "$nlist"T
+ fi
+
+ # Make sure that we snagged all the symbols we need.
+ if egrep ' nm_test_var$' "$nlist" >/dev/null; then
+ if egrep ' nm_test_func$' "$nlist" >/dev/null; then
+ cat <<EOF > conftest.$ac_ext
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+EOF
+ # Now generate the symbol file.
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
+
+ cat <<EOF >> conftest.$ac_ext
+#if defined (__STDC__) && __STDC__
+# define lt_ptr_t void *
+#else
+# define lt_ptr_t char *
+# define const
+#endif
+
+/* The mapping between symbol names and symbols. */
+const struct {
+ const char *name;
+ lt_ptr_t address;
+}
+lt_preloaded_symbols[[]] =
+{
+EOF
+ sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
+ cat <<\EOF >> conftest.$ac_ext
+ {0, (lt_ptr_t) 0}
+};
+
+#ifdef __cplusplus
+}
+#endif
+EOF
+ # Now try linking the two files.
+ mv conftest.$ac_objext conftstm.$ac_objext
+ lt_save_LIBS="$LIBS"
+ lt_save_CFLAGS="$CFLAGS"
+ LIBS="conftstm.$ac_objext"
+ CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
+ pipe_works=yes
+ fi
+ LIBS="$lt_save_LIBS"
+ CFLAGS="$lt_save_CFLAGS"
+ else
+ echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
+ cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest* conftst*
+
+ # Do not use the global_symbol_pipe unless it works.
+ if test "$pipe_works" = yes; then
+ break
+ else
+ lt_cv_sys_global_symbol_pipe=
+ fi
+done
+])
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
+ lt_cv_sys_global_symbol_to_cdecl=
+fi
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
+ AC_MSG_RESULT(failed)
+else
+ AC_MSG_RESULT(ok)
+fi
+]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
+
+
+# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
+# ---------------------------------------
+AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
+[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
+_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
+
+AC_MSG_CHECKING([for $compiler option to produce PIC])
+ ifelse([$1],[CXX],[
+ # C++ specific cases for pic, static, wl, etc.
+ if test "$GXX" = yes; then
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ ;;
+ amigaos*)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the `-m68020' flag to GCC prevents building anything better,
+ # like `-m68040'.
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+ cygwin* | mingw* | os2*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
+ ;;
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+ ;;
+ *djgpp*)
+ # DJGPP does not support shared libraries at all
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+ ;;
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
+ fi
+ ;;
+ hpux*)
+ # PIC is the default for IA64 HP-UX, but not for PA HP-UX.
+ if test "$host_cpu" != ia64; then
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ fi
+ ;;
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ else
+ case $host_os in
+ aix4* | aix5*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ else
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+ chorus*)
+ case $cc_basename in
+ cxch68)
+ # Green Hills C++ Compiler
+ # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
+ ;;
+ esac
+ ;;
+ dgux*)
+ case $cc_basename in
+ ec++)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ ;;
+ ghcx)
+ # Green Hills C++ Compiler
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ freebsd*)
+ # FreeBSD uses GNU C++
+ ;;
+ hpux9* | hpux10* | hpux11*)
+ case $cc_basename in
+ CC)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
+ if test "$host_cpu" != ia64; then
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ fi
+ ;;
+ aCC)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
+ if test "$host_cpu" != ia64; then
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ fi
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ irix5* | irix6* | nonstopux*)
+ case $cc_basename in
+ CC)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ # CC pic flag -KPIC is the default.
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ linux*)
+ case $cc_basename in
+ KCC)
+ # KAI C++ Compiler
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ cxx)
+ # Compaq C++
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ lynxos*)
+ ;;
+ m88k*)
+ ;;
+ mvs*)
+ case $cc_basename in
+ cxx)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ netbsd*)
+ ;;
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
+ ;;
+ RCC)
+ # Rational C++ 2.4.1
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ cxx)
+ # Digital/Compaq C++
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ psos*)
+ ;;
+ sco*)
+ case $cc_basename in
+ CC)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ solaris*)
+ case $cc_basename in
+ CC)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ ;;
+ gcx)
+ # Green Hills C++ Compiler
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sunos4*)
+ case $cc_basename in
+ CC)
+ # Sun C++ 4.x
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ lcc)
+ # Lucid
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ tandem*)
+ case $cc_basename in
+ NCC)
+ # NonStop-UX NCC 3.20
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ unixware*)
+ ;;
+ vxworks*)
+ ;;
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+ esac
+ fi
+],
+[
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ ;;
+
+ amigaos*)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the `-m68020' flag to GCC prevents building anything better,
+ # like `-m68040'.
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
+ ;;
+
+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+
+ cygwin* | mingw* | pw32* | os2*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+ ;;
+
+ msdosdjgpp*)
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
+ # on systems that don't support them.
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ enable_shared=no
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
+ fi
+ ;;
+
+ hpux*)
+ # PIC is the default for IA64 HP-UX, but not for PA HP-UX.
+ if test "$host_cpu" != ia64; then
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ fi
+ ;;
+
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ else
+ # PORTME Check for flag to pass linker flags through the system compiler.
+ case $host_os in
+ aix*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ else
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+
+ cygwin* | mingw* | pw32* | os2*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
+ ;;
+
+ hpux9* | hpux10* | hpux11*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ if test "$host_cpu" != ia64; then
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ fi
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # PIC (with -KPIC) is the default.
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+
+ newsos6)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ osf3* | osf4* | osf5*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # All OSF/1 code is PIC.
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+
+ sco3.2v5*)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
+ ;;
+
+ solaris*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ sunos4*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ if test "x$host_vendor" = xsni; then
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-LD'
+ else
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ fi
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec ;then
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ ;;
+
+ uts4*)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+ esac
+ fi
+])
+AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
+ AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
+ _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
+ [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) -DPIC], [],
+ [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
+ "" | " "*) ;;
+ *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
+ esac],
+ [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
+fi
+case "$host_os" in
+ # For platforms which do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+ ;;
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) -DPIC"
+ ;;
+esac
+])
+
+
+# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
+# ------------------------------------
+# See if the linker supports building shared libraries.
+AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
+[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
+ifelse([$1],[CXX],[
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ case $host_os in
+ aix4* | aix5*)
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
+ if $NM -V 2>&1 | egrep '(GNU)' > /dev/null; then
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
+ else
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
+ fi
+ ;;
+ cygwin* | mingw* | pw32*)
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
+ ;;
+ *)
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ ;;
+ esac
+],[
+ runpath_var=
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=
+
+ _LT_AC_TAGVAR(archive_cmds, $1)=
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
+ _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
+ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
+ _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ # include_expsyms should be a list of space-separated symbols to be *always*
+ # included in the symbol list
+ _LT_AC_TAGVAR(include_expsyms, $1)=
+ # exclude_expsyms can be an egrep regular expression of symbols to exclude
+ # it will be wrapped by ` (' and `)$', so one must not match beginning or
+ # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
+ # as well as any symbol that contains `d'.
+ _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+ # platforms (ab)use it in PIC code, but their linkers get confused if
+ # the symbol is explicitly referenced. Since portable code cannot
+ # rely on this symbol name, it's probably fine to never include it in
+ # preloaded symbol tables.
+ extract_expsyms_cmds=
+
+ case $host_os in
+ cygwin* | mingw* | pw32*)
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ if test "$GCC" != yes; then
+ with_gnu_ld=no
+ fi
+ ;;
+ openbsd*)
+ with_gnu_ld=no
+ ;;
+ esac
+
+ _LT_AC_TAGVAR(ld_shlibs, $1)=yes
+ if test "$with_gnu_ld" = yes; then
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ wlarc='${wl}'
+
+ # See if GNU ld supports shared libraries.
+ case $host_os in
+ aix3* | aix4* | aix5*)
+ # On AIX/PPC, the GNU linker is very broken
+ if test "$host_cpu" != ia64; then
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ cat <<EOF 1>&2
+
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
+*** to be unable to reliably create shared libraries on AIX.
+*** Therefore, libtool is disabling shared libraries support. If you
+*** really care for shared libraries, you may want to modify your PATH
+*** so that a non-GNU linker is found, and then restart.
+
+EOF
+ fi
+ ;;
+
+ amigaos*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+
+ # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
+ # that the semantics of dynamic libraries on AmigaOS, at least up
+ # to version 4, is to share data among multiple programs linked
+ # with the same dynamic library. Since this doesn't match the
+ # behavior of shared libraries on other platforms, we can't use
+ # them.
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
+ # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ else
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ cygwin* | mingw* | pw32*)
+ # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, as there is
+ # no search path for DLLs.
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_AC_TAGVAR(always_export_symbols, $1)=yes
+
+ extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
+ sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
+ test -f $output_objdir/impgen.exe || (cd $output_objdir && \
+ if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
+ else $CC -o impgen impgen.c ; fi)~
+ $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
+
+ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
+
+ # cygwin and mingw dlls have different entry points and sets of symbols
+ # to exclude.
+ # FIXME: what about values for MSVC?
+ dll_entry=__cygwin_dll_entry@12
+ dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
+ case $host_os in
+ mingw*)
+ # mingw values
+ dll_entry=_DllMainCRTStartup@12
+ dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
+ ;;
+ esac
+
+ # mingw and cygwin differ, and it's simplest to just exclude the union
+ # of the two symbol sets.
+ dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
+
+ # recent cygwin and mingw systems supply a stub DllMain which the user
+ # can override, but on older systems we have to supply one (in ltdll.c)
+ if test "x$lt_cv_need_dllmain" = "xyes"; then
+ ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
+ ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
+ test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
+ else
+ ltdll_obj=
+ ltdll_cmds=
+ fi
+
+ # Extract the symbol export list from an `--export-all' def file,
+ # then regenerate the def file from the symbol export list, so that
+ # the compiled dll only exports the symbol export list.
+ # Be careful not to strip the DATA tag left by newer dlltools.
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"'
+ $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
+ sed -e "1,/EXPORTS/d" -e "s/ @ [[0-9]]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
+
+ # If the export-symbols file already is a .def file (1st line
+ # is EXPORTS), use it as is.
+ # If DATA tags from a recent dlltool are present, honour them!
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`head -1 $export_symbols`" = xEXPORTS; then
+ cp $export_symbols $output_objdir/$soname-def;
+ else
+ echo EXPORTS > $output_objdir/$soname-def;
+ _lt_hint=1;
+ cat $export_symbols | while read symbol; do
+ set dummy \$symbol;
+ case \[$]# in
+ 2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
+ *) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >> $output_objdir/$soname-def;;
+ esac;
+ _lt_hint=`expr 1 + \$_lt_hint`;
+ done;
+ fi~
+ '"$ltdll_cmds"'
+ $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
+ $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
+ $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
+ $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
+ $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+ solaris* | sysv5*)
+ if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ cat <<EOF 1>&2
+
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+*** create shared libraries on Solaris systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.9.1 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+EOF
+ elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ sunos4*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ wlarc=
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ *)
+ if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+
+ if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
+ runpath_var=LD_RUN_PATH
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+ case $host_os in
+ cygwin* | mingw* | pw32*)
+ # dlltool doesn't understand --whole-archive et. al.
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
+ ;;
+ *)
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+ else
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
+ fi
+ ;;
+ esac
+ fi
+ else
+ # PORTME fill in a description of your system's linker (not GNU ld)
+ case $host_os in
+ aix3*)
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_AC_TAGVAR(always_export_symbols, $1)=yes
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+ # Note: this linker hardcodes the directories in LIBPATH if there
+ # are no directories specified by -L.
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ if test "$GCC" = yes && test -z "$link_static_flag"; then
+ # Neither direct hardcoding nor static linking is supported with a
+ # broken collect2.
+ _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
+ fi
+ ;;
+
+ aix4* | aix5*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=""
+ else
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
+ if $NM -V 2>&1 | egrep '(GNU)' > /dev/null; then
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
+ else
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
+ fi
+
+ # KDE requires run time linking. Make it the default.
+ aix_use_runtimelinking=yes
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ _LT_AC_TAGVAR(archive_cmds, $1)=''
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+
+ if test "$GCC" = yes; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" && \
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ else
+ # We have old collect2
+ _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+ fi
+ esac
+ shared_flag='-shared'
+ else
+ # not using gcc
+ if test "$host_cpu" = ia64; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag='-qmkshrobj ${wl}-G'
+ else
+ shared_flag='-qmkshrobj'
+ fi
+ fi
+ fi
+
+ # Let the compiler handle the export list.
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
+ if test "$aix_use_runtimelinking" = yes; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
+ # Determine the default libpath from the value encoded in an empty executable.
+ _LT_AC_SYS_LIBPATH_AIX
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+ _LT_AC_TAGVAR(archive_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+ else
+ if test "$host_cpu" = ia64; then
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an empty executable.
+ _LT_AC_SYS_LIBPATH_AIX
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
+ # -bexpall does not export symbols beginning with underscore (_)
+ _LT_AC_TAGVAR(always_export_symbols, $1)=yes
+ # Exported symbols can be pulled into shared objects from archives
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
+ # This is similar to how AIX traditionally builds it's shared libraries.
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+ fi
+ fi
+ ;;
+
+ amigaos*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ # see comment about different semantics on the GNU ld section
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ bsdi4*)
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
+ ;;
+
+ cygwin* | mingw* | pw32*)
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # FIXME: Setting linknames here is a bad hack.
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
+ # The linker will automatically build a .lib file if we build a DLL.
+ _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
+ # FIXME: Should let the user specify the lib program.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
+ fix_srcfile_path='`cygpath -w "$srcfile"`'
+ ;;
+
+ darwin* | rhapsody*)
+ case "$host_os" in
+ rhapsody* | darwin1.[[012]])
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
+ ;;
+ *) # Darwin 1.3 on
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
+ ;;
+ esac
+
+ # FIXME: Relying on posixy $() will cause problems for
+ # cross-compilation, but unfortunately the echo tests do not
+ # yet detect zsh echo's removal of \ escapes. Also zsh mangles
+ # `"' quotes if we put them in here... so don't!
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
+ # We need to add '_' to the symbols in $export_symbols first
+ #_LT_AC_TAGVAR(archive_expsym_cmds, $1)="$_LT_AC_TAGVAR(archive_cmds, $1)"' && strip -s $export_symbols'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
+ ;;
+
+ dgux*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ freebsd1*)
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+ # support. Future versions do this automatically, but an explicit c++rt0.o
+ # does not break anything, and helps significantly (at the cost of a little
+ # extra space).
+ freebsd2.2*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+ freebsd2*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ hpux9* | hpux10* | hpux11*)
+ if test "$GCC" = yes; then
+ case $host_os in
+ hpux9*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ ;;
+ *)
+ if test "$host_cpu" = ia64; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ ;;
+ esac
+ else
+ case $host_os in
+ hpux9*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ ;;
+ *)
+ if test "$host_cpu" = ia64; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ ;;
+ esac
+ fi
+ if test "$host_cpu" = ia64; then
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ else
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ fi
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ newsos6)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ openbsd*)
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ else
+ case $host_os in
+ openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ ;;
+ *)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ ;;
+ esac
+ fi
+ ;;
+
+ os2*)
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
+ _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+ ;;
+
+ osf3*)
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ else
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
+ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
+
+ # Both c and cxx compiler support -rpath directly
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+
+ sco3.2v5*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ ;;
+
+ solaris*)
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ case $host_os in
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+ *) # Supported since Solaris 2.6 (maybe 2.5.1?)
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
+ esac
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ sunos4*)
+ if test "x$host_vendor" = xsequent; then
+ # Use $CC to link under sequent, because it throws in some extra .o
+ # files that make .init and .fini sections work.
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ sysv4)
+ if test "x$host_vendor" = xsni; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
+ fi
+ runpath_var='LD_RUN_PATH'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ sysv4.3*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ _LT_AC_TAGVAR(ld_shlibs, $1)=yes
+ fi
+ ;;
+
+ sysv4.2uw2*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ hardcode_runpath_var=yes
+ runpath_var=LD_RUN_PATH
+ ;;
+
+ sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
+ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+ fi
+ runpath_var='LD_RUN_PATH'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ sysv5*)
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
+ # $CC -shared without GNU ld will not create a library from C++
+ # object files and a static libstdc++, better avoid it by now
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ runpath_var='LD_RUN_PATH'
+ ;;
+
+ uts4*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ *)
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ fi
+])
+AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test "$GCC" = yes; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+#
+# Do we need to explicitly link libc?
+#
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
+if test "$enable_shared" = yes && test "$GCC" = yes; then
+ case $_LT_AC_TAGVAR(archive_cmds, $1) in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ AC_MSG_CHECKING([whether -lc should be explicitly linked in])
+ $rm conftest*
+ echo 'static int dummy;' > conftest.$ac_ext
+
+ if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=
+ if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
+ then
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ else
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
+ fi
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $rm conftest*
+ AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
+ ;;
+ esac
+fi
+])# AC_LIBTOOL_PROG_LD_SHLIBS
+
+
+# _LT_AC_FILE_LTDLL_C
+# -------------------
+# Be careful that the start marker always follows a newline.
+AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
+# /* ltdll.c starts here */
+# #define WIN32_LEAN_AND_MEAN
+# #include <windows.h>
+# #undef WIN32_LEAN_AND_MEAN
+# #include <stdio.h>
+#
+# #ifndef __CYGWIN__
+# # ifdef __CYGWIN32__
+# # define __CYGWIN__ __CYGWIN32__
+# # endif
+# #endif
+#
+# #ifdef __cplusplus
+# extern "C" {
+# #endif
+# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
+# #ifdef __cplusplus
+# }
+# #endif
+#
+# #ifdef __CYGWIN__
+# #include <cygwin/cygwin_dll.h>
+# DECLARE_CYGWIN_DLL( DllMain );
+# #endif
+# HINSTANCE __hDllInstance_base;
+#
+# BOOL APIENTRY
+# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
+# {
+# __hDllInstance_base = hInst;
+# return TRUE;
+# }
+# /* ltdll.c ends here */
+])# _LT_AC_FILE_LTDLL_C
+
+
+# _LT_AC_FILE_IMPGEN_C
+# --------------------
+# Be careful that the start marker always follows a newline.
+AC_DEFUN([_LT_AC_FILE_IMPGEN_C], [
+# /* impgen.c starts here */
+# /* Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+#
+# This file is part of GNU libtool.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# */
+#
+# #include <stdio.h> /* for printf() */
+# #include <unistd.h> /* for open(), lseek(), read() */
+# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
+# #include <string.h> /* for strdup() */
+#
+# /* O_BINARY isn't required (or even defined sometimes) under Unix */
+# #ifndef O_BINARY
+# #define O_BINARY 0
+# #endif
+#
+# static unsigned int
+# pe_get16 (fd, offset)
+# int fd;
+# int offset;
+# {
+# unsigned char b[2];
+# lseek (fd, offset, SEEK_SET);
+# read (fd, b, 2);
+# return b[0] + (b[1]<<8);
+# }
+#
+# static unsigned int
+# pe_get32 (fd, offset)
+# int fd;
+# int offset;
+# {
+# unsigned char b[4];
+# lseek (fd, offset, SEEK_SET);
+# read (fd, b, 4);
+# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
+# }
+#
+# static unsigned int
+# pe_as32 (ptr)
+# void *ptr;
+# {
+# unsigned char *b = ptr;
+# return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
+# }
+#
+# int
+# main (argc, argv)
+# int argc;
+# char *argv[];
+# {
+# int dll;
+# unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
+# unsigned long export_rva, export_size, nsections, secptr, expptr;
+# unsigned long name_rvas, nexp;
+# unsigned char *expdata, *erva;
+# char *filename, *dll_name;
+#
+# filename = argv[1];
+#
+# dll = open(filename, O_RDONLY|O_BINARY);
+# if (dll < 1)
+# return 1;
+#
+# dll_name = filename;
+#
+# for (i=0; filename[i]; i++)
+# if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
+# dll_name = filename + i +1;
+#
+# pe_header_offset = pe_get32 (dll, 0x3c);
+# opthdr_ofs = pe_header_offset + 4 + 20;
+# num_entries = pe_get32 (dll, opthdr_ofs + 92);
+#
+# if (num_entries < 1) /* no exports */
+# return 1;
+#
+# export_rva = pe_get32 (dll, opthdr_ofs + 96);
+# export_size = pe_get32 (dll, opthdr_ofs + 100);
+# nsections = pe_get16 (dll, pe_header_offset + 4 +2);
+# secptr = (pe_header_offset + 4 + 20 +
+# pe_get16 (dll, pe_header_offset + 4 + 16));
+#
+# expptr = 0;
+# for (i = 0; i < nsections; i++)
+# {
+# char sname[8];
+# unsigned long secptr1 = secptr + 40 * i;
+# unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
+# unsigned long vsize = pe_get32 (dll, secptr1 + 16);
+# unsigned long fptr = pe_get32 (dll, secptr1 + 20);
+# lseek(dll, secptr1, SEEK_SET);
+# read(dll, sname, 8);
+# if (vaddr <= export_rva && vaddr+vsize > export_rva)
+# {
+# expptr = fptr + (export_rva - vaddr);
+# if (export_rva + export_size > vaddr + vsize)
+# export_size = vsize - (export_rva - vaddr);
+# break;
+# }
+# }
+#
+# expdata = (unsigned char*)malloc(export_size);
+# lseek (dll, expptr, SEEK_SET);
+# read (dll, expdata, export_size);
+# erva = expdata - export_rva;
+#
+# nexp = pe_as32 (expdata+24);
+# name_rvas = pe_as32 (expdata+32);
+#
+# printf ("EXPORTS\n");
+# for (i = 0; i<nexp; i++)
+# {
+# unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
+# printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
+# }
+#
+# return 0;
+# }
+# /* impgen.c ends here */
+])# _LT_AC_FILE_IMPGEN_C
+
+# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
+# ---------------------------------
+AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
+
+
+# old names
+AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
+AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
+AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
+AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
+AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
+AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
+AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
+
+# This is just to silence aclocal about the macro not being used
+ifelse([AC_DISABLE_FAST_INSTALL])
+
+AC_DEFUN([LT_AC_PROG_GCJ],
+[AC_CHECK_TOOL(GCJ, gcj, no)
+ test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
+ AC_SUBST(GCJFLAGS)
+])
+
+AC_DEFUN([LT_AC_PROG_RC],
+[AC_CHECK_TOOL(RC, windres, no)
+])
+
+############################################################
+# NOTE: This macro has been submitted for inclusion into #
+# GNU Autoconf as AC_PROG_SED. When it is available in #
+# a released version of Autoconf we should remove this #
+# macro and use it instead. #
+############################################################
+# LT_AC_PROG_SED
+# --------------
+# Check for a fully-functional sed program, that truncates
+# as few characters as possible. Prefer GNU sed if found.
+AC_DEFUN([LT_AC_PROG_SED],
+[AC_MSG_CHECKING([for a sed that does not truncate output])
+AC_CACHE_VAL(lt_cv_path_SED,
+[# Loop through the user's path and test for sed and gsed.
+# Then use that list of sed's as ones to test for truncation.
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in sed gsed; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
+ _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
+ fi
+ done
+ done
+done
+
+ # Create a temporary directory, and hook for its removal unless debugging.
+$debug ||
+{
+ trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
+ trap '{ (exit 1); exit 1; }' 1 2 13 15
+}
+
+# Create a (secure) tmp directory for tmp files.
+: ${TMPDIR=/tmp}
+{
+ tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
+ test -n "$tmp" && test -d "$tmp"
+} ||
+{
+ tmp=$TMPDIR/sed$$-$RANDOM
+ (umask 077 && mkdir $tmp)
+} ||
+{
+ echo "$me: cannot create a temporary directory in $TMPDIR" >&2
+ { (exit 1); exit 1; }
+}
+ _max=0
+ _count=0
+ # Add /usr/xpg4/bin/sed as it is typically found on Solaris
+ # along with /bin/sed that truncates output.
+ for _sed in $_sed_list /usr/xpg4/bin/sed; do
+ test ! -f ${_sed} && break
+ cat /dev/null > "$tmp/sed.in"
+ _count=0
+ echo $ECHO_N "0123456789$ECHO_C" >"$tmp/sed.in"
+ # Check for GNU sed and select it if it is found.
+ if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
+ lt_cv_path_SED=${_sed}
+ break;
+ fi
+ while true; do
+ cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
+ mv "$tmp/sed.tmp" "$tmp/sed.in"
+ cp "$tmp/sed.in" "$tmp/sed.nl"
+ echo >>"$tmp/sed.nl"
+ ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
+ cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
+ # 10000 chars as input seems more than enough
+ test $_count -gt 10 && break
+ _count=`expr $_count + 1`
+ if test $_count -gt $_max; then
+ _max=$_count
+ lt_cv_path_SED=$_sed
+ fi
+ done
+ done
+ rm -rf "$tmp"
+])
+AC_MSG_RESULT([$SED])
+])
diff --git a/gettext-tools/examples/hello-c++-kde/admin/ltmain.sh b/gettext-tools/examples/hello-c++-kde/admin/ltmain.sh
new file mode 100644
index 0000000..f2a88ef
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/ltmain.sh
@@ -0,0 +1,5572 @@
+# ltmain.sh - Provide generalized library-building support services.
+# NOTE: Changing this file will not affect anything until you rerun configure.
+#
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
+# Free Software Foundation, Inc.
+# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# Check that we have a working $echo.
+if test "X$1" = X--no-reexec; then
+ # Discard the --no-reexec flag, and continue.
+ shift
+elif test "X$1" = X--fallback-echo; then
+ # Avoid inline document here, it may be left over
+ :
+elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
+ # Yippee, $echo works!
+ :
+else
+ # Restart under the correct shell, and then maybe $echo will work.
+ exec $SHELL "$0" --no-reexec ${1+"$@"}
+fi
+
+if test "X$1" = X--fallback-echo; then
+ # used as fallback echo
+ shift
+ cat <<EOF
+$*
+EOF
+ exit 0
+fi
+
+# The name of this program.
+progname=`$echo "$0" | ${SED} 's%^.*/%%'`
+modename="$progname"
+
+# Constants.
+PROGRAM=ltmain.sh
+PACKAGE=libtool
+VERSION=1.4e
+TIMESTAMP=" (1.1090 2002/02/07 19:54:36)"
+
+default_mode=
+help="Try \`$progname --help' for more information."
+magic="%%%MAGIC variable%%%"
+mkdir="mkdir"
+mv="mv -f"
+rm="rm -f"
+
+# Sed substitution that helps us do robust quoting. It backslashifies
+# metacharacters that are still active within double-quoted strings.
+Xsed="${SED}"' -e 1s/^X//'
+sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
+SP2NL='tr \040 \012'
+NL2SP='tr \015\012 \040\040'
+
+# NLS nuisances.
+# Only set LANG and LC_ALL to C if already set.
+# These must not be set unconditionally because not all systems understand
+# e.g. LANG=C (notably SCO).
+# We save the old values to restore during execute mode.
+if test "${LC_ALL+set}" = set; then
+ save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL
+fi
+if test "${LANG+set}" = set; then
+ save_LANG="$LANG"; LANG=C; export LANG
+fi
+
+# Make sure IFS has a sensible default
+: ${IFS=" "}
+
+if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
+ echo "$modename: not configured to build any kind of library" 1>&2
+ echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
+ exit 1
+fi
+
+# Global variables.
+mode=$default_mode
+nonopt=
+prev=
+prevopt=
+run=
+show="$echo"
+show_help=
+execute_dlfiles=
+lo2o="s/\\.lo\$/.${objext}/"
+o2lo="s/\\.${objext}\$/.lo/"
+
+# Parse our command line options once, thoroughly.
+while test "$#" -gt 0
+do
+ arg="$1"
+ shift
+
+ case $arg in
+ -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
+ *) optarg= ;;
+ esac
+
+ # If the previous option needs an argument, assign it.
+ if test -n "$prev"; then
+ case $prev in
+ execute_dlfiles)
+ execute_dlfiles="$execute_dlfiles $arg"
+ ;;
+ tag)
+ tagname="$arg"
+
+ # Check whether tagname contains only valid characters
+ case $tagname in
+ *[!-_A-Za-z0-9,/]*)
+ echo "$progname: invalid tag name: $tagname" 1>&2
+ exit 1
+ ;;
+ esac
+
+ case $tagname in
+ CC)
+ # Don't test for the "default" C tag, as we know, it's there, but
+ # not specially marked.
+ ;;
+ *)
+ if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$0" > /dev/null; then
+ taglist="$taglist $tagname"
+ # Evaluate the configuration.
+ eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $0`"
+ else
+ echo "$progname: ignoring unknown tag $tagname" 1>&2
+ fi
+ ;;
+ esac
+ ;;
+ *)
+ eval "$prev=\$arg"
+ ;;
+ esac
+
+ prev=
+ prevopt=
+ continue
+ fi
+
+ # Have we seen a non-optional argument yet?
+ case $arg in
+ --help)
+ show_help=yes
+ ;;
+
+ --version)
+ echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
+ echo
+ echo "Copyright 1996, 1997, 1998, 1999, 2000, 2001"
+ echo "Free Software Foundation, Inc."
+ echo "This is free software; see the source for copying conditions. There is NO"
+ echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+ exit 0
+ ;;
+
+ --config)
+ ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
+ # Now print the configurations for the tags.
+ for tagname in $taglist; do
+ ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$0"
+ done
+ exit 0
+ ;;
+
+ --debug)
+ echo "$progname: enabling shell trace mode"
+ set -x
+ ;;
+
+ --dry-run | -n)
+ run=:
+ ;;
+
+ --features)
+ echo "host: $host"
+ if test "$build_libtool_libs" = yes; then
+ echo "enable shared libraries"
+ else
+ echo "disable shared libraries"
+ fi
+ if test "$build_old_libs" = yes; then
+ echo "enable static libraries"
+ else
+ echo "disable static libraries"
+ fi
+ exit 0
+ ;;
+
+ --finish) mode="finish" ;;
+
+ --mode) prevopt="--mode" prev=mode ;;
+ --mode=*) mode="$optarg" ;;
+
+ --preserve-dup-deps) duplicate_deps="yes" ;;
+
+ --quiet | --silent)
+ show=:
+ ;;
+
+ --tag) prevopt="--tag" prev=tag ;;
+ --tag=*)
+ set tag "$optarg" ${1+"$@"}
+ shift
+ prev=tag
+ ;;
+
+ -dlopen)
+ prevopt="-dlopen"
+ prev=execute_dlfiles
+ ;;
+
+ -*)
+ $echo "$modename: unrecognized option \`$arg'" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ ;;
+
+ *)
+ nonopt="$arg"
+ break
+ ;;
+ esac
+done
+
+if test -n "$prevopt"; then
+ $echo "$modename: option \`$prevopt' requires an argument" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+fi
+
+# If this variable is set in any of the actions, the command in it
+# will be execed at the end. This prevents here-documents from being
+# left over by shells.
+exec_cmd=
+
+if test -z "$show_help"; then
+
+ # Infer the operation mode.
+ if test -z "$mode"; then
+ case $nonopt in
+ *cc | *++ | gcc* | *-gcc*)
+ mode=link
+ for arg
+ do
+ case $arg in
+ -c)
+ mode=compile
+ break
+ ;;
+ esac
+ done
+ ;;
+ *db | *dbx | *strace | *truss)
+ mode=execute
+ ;;
+ *install*|cp|mv)
+ mode=install
+ ;;
+ *rm)
+ mode=uninstall
+ ;;
+ *)
+ # If we have no mode, but dlfiles were specified, then do execute mode.
+ test -n "$execute_dlfiles" && mode=execute
+
+ # Just use the default operation mode.
+ if test -z "$mode"; then
+ if test -n "$nonopt"; then
+ $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
+ else
+ $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
+ fi
+ fi
+ ;;
+ esac
+ fi
+
+ # Only execute mode is allowed to have -dlopen flags.
+ if test -n "$execute_dlfiles" && test "$mode" != execute; then
+ $echo "$modename: unrecognized option \`-dlopen'" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ # Change the help message to a mode-specific one.
+ generic_help="$help"
+ help="Try \`$modename --help --mode=$mode' for more information."
+
+ # These modes are in order of execution frequency so that they run quickly.
+ case $mode in
+ # libtool compile mode
+ compile)
+ modename="$modename: compile"
+ # Get the compilation command and the source file.
+ base_compile=
+ prev=
+ lastarg=
+ srcfile="$nonopt"
+ suppress_output=
+
+ user_target=no
+ for arg
+ do
+ case $prev in
+ "") ;;
+ xcompiler)
+ # Aesthetically quote the previous argument.
+ prev=
+ lastarg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+
+ case $arg in
+ # Double-quote args containing other shell metacharacters.
+ # Many Bourne shells cannot handle close brackets correctly
+ # in scan sets, so we specify it separately.
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ arg="\"$arg\""
+ ;;
+ esac
+
+ # Add the previous argument to base_compile.
+ if test -z "$base_compile"; then
+ base_compile="$lastarg"
+ else
+ base_compile="$base_compile $lastarg"
+ fi
+ continue
+ ;;
+ esac
+
+ # Accept any command-line options.
+ case $arg in
+ -o)
+ if test "$user_target" != "no"; then
+ $echo "$modename: you cannot specify \`-o' more than once" 1>&2
+ exit 1
+ fi
+ user_target=next
+ ;;
+
+ -static)
+ build_old_libs=yes
+ continue
+ ;;
+
+ -prefer-pic)
+ pic_mode=yes
+ continue
+ ;;
+
+ -prefer-non-pic)
+ pic_mode=no
+ continue
+ ;;
+
+ -Xcompiler)
+ prev=xcompiler
+ continue
+ ;;
+
+ -Wc,*)
+ args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
+ lastarg=
+ save_ifs="$IFS"; IFS=','
+ for arg in $args; do
+ IFS="$save_ifs"
+
+ # Double-quote args containing other shell metacharacters.
+ # Many Bourne shells cannot handle close brackets correctly
+ # in scan sets, so we specify it separately.
+ case $arg in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ arg="\"$arg\""
+ ;;
+ esac
+ lastarg="$lastarg $arg"
+ done
+ IFS="$save_ifs"
+ lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
+
+ # Add the arguments to base_compile.
+ if test -z "$base_compile"; then
+ base_compile="$lastarg"
+ else
+ base_compile="$base_compile $lastarg"
+ fi
+ continue
+ ;;
+ esac
+
+ case $user_target in
+ next)
+ # The next one is the -o target name
+ user_target=yes
+ continue
+ ;;
+ yes)
+ # We got the output file
+ user_target=set
+ libobj="$arg"
+ continue
+ ;;
+ esac
+
+ # Accept the current argument as the source file.
+ lastarg="$srcfile"
+ srcfile="$arg"
+
+ # Aesthetically quote the previous argument.
+
+ # Backslashify any backslashes, double quotes, and dollar signs.
+ # These are the only characters that are still specially
+ # interpreted inside of double-quoted scrings.
+ lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
+
+ # Double-quote args containing other shell metacharacters.
+ # Many Bourne shells cannot handle close brackets correctly
+ # in scan sets, so we specify it separately.
+ case $lastarg in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ lastarg="\"$lastarg\""
+ ;;
+ esac
+
+ # Add the previous argument to base_compile.
+ if test -z "$base_compile"; then
+ base_compile="$lastarg"
+ else
+ base_compile="$base_compile $lastarg"
+ fi
+ done
+
+ case $user_target in
+ set)
+ ;;
+ no)
+ # Get the name of the library object.
+ libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
+ ;;
+ *)
+ $echo "$modename: you must specify a target with \`-o'" 1>&2
+ exit 1
+ ;;
+ esac
+
+ # Recognize several different file suffixes.
+ # If the user specifies -o file.o, it is replaced with file.lo
+ xform='[cCFSifmso]'
+ case $libobj in
+ *.ada) xform=ada ;;
+ *.adb) xform=adb ;;
+ *.ads) xform=ads ;;
+ *.asm) xform=asm ;;
+ *.c++) xform=c++ ;;
+ *.cc) xform=cc ;;
+ *.ii) xform=ii ;;
+ *.class) xform=class ;;
+ *.cpp) xform=cpp ;;
+ *.cxx) xform=cxx ;;
+ *.f90) xform=f90 ;;
+ *.for) xform=for ;;
+ *.java) xform=java ;;
+ esac
+
+ libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
+
+ case $libobj in
+ *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
+ *)
+ $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
+ exit 1
+ ;;
+ esac
+
+ # Infer tagged configuration to use if any are available and
+ # if one wasn't chosen via the "--tag" command line option.
+ # Only attempt this if the compiler in the base compile
+ # command doesn't match the default compiler.
+ if test -n "$available_tags" && test -z "$tagname"; then
+ case "$base_compile " in
+ "$CC "*) ;;
+ # Blanks in the command may have been stripped by the calling shell,
+ # but not from the CC environment variable when ltconfig was run.
+ "`$echo $CC` "*) ;;
+ *)
+ for z in $available_tags; do
+ if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
+ # Evaluate the configuration.
+ eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
+ case "$base_compile " in
+ "$CC "*)
+ # The compiler in the base compile command matches
+ # the one in the tagged configuration.
+ # Assume this is the tagged configuration we want.
+ tagname=$z
+ break
+ ;;
+ "`$echo $CC` "*)
+ tagname=$z
+ break
+ ;;
+ esac
+ fi
+ done
+ # If $tagname still isn't set, then no tagged configuration
+ # was found and let the user know that the "--tag" command
+ # line option must be used.
+ if test -z "$tagname"; then
+ echo "$modename: unable to infer tagged configuration"
+ echo "$modename: specify a tag with \`--tag'" 1>&2
+ exit 1
+# else
+# echo "$modename: using $tagname tagged configuration"
+ fi
+ ;;
+ esac
+ fi
+
+ objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
+ xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
+ if test "X$xdir" = "X$obj"; then
+ xdir=
+ else
+ xdir=$xdir/
+ fi
+ lobj=${xdir}$objdir/$objname
+
+ if test -z "$base_compile"; then
+ $echo "$modename: you must specify a compilation command" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ # Delete any leftover library objects.
+ if test "$build_old_libs" = yes; then
+ removelist="$obj $lobj $libobj ${libobj}T"
+ else
+ removelist="$lobj $libobj ${libobj}T"
+ fi
+
+ $run $rm $removelist
+ trap "$run $rm $removelist; exit 1" 1 2 15
+
+ # On Cygwin there's no "real" PIC flag so we must build both object types
+ case $host_os in
+ cygwin* | mingw* | pw32* | os2*)
+ pic_mode=default
+ ;;
+ esac
+ if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
+ # non-PIC code in shared libraries is not supported
+ pic_mode=default
+ fi
+
+ # Calculate the filename of the output object if compiler does
+ # not support -o with -c
+ if test "$compiler_c_o" = no; then
+ output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
+ lockfile="$output_obj.lock"
+ removelist="$removelist $output_obj $lockfile"
+ trap "$run $rm $removelist; exit 1" 1 2 15
+ else
+ output_obj=
+ need_locks=no
+ lockfile=
+ fi
+
+ # Lock this critical section if it is needed
+ # We use this script file to make the link, it avoids creating a new file
+ if test "$need_locks" = yes; then
+ until $run ln "$0" "$lockfile" 2>/dev/null; do
+ $show "Waiting for $lockfile to be removed"
+ sleep 2
+ done
+ elif test "$need_locks" = warn; then
+ if test -f "$lockfile"; then
+ echo "\
+*** ERROR, $lockfile exists and contains:
+`cat $lockfile 2>/dev/null`
+
+This indicates that another process is trying to use the same
+temporary object file, and libtool could not work around it because
+your compiler does not support \`-c' and \`-o' together. If you
+repeat this compilation, it may succeed, by chance, but you had better
+avoid parallel builds (make -j) in this platform, or get a better
+compiler."
+
+ $run $rm $removelist
+ exit 1
+ fi
+ echo $srcfile > "$lockfile"
+ fi
+
+ if test -n "$fix_srcfile_path"; then
+ eval srcfile=\"$fix_srcfile_path\"
+ fi
+
+ $run $rm "$libobj" "${libobj}T"
+
+ # Create a libtool object file (analogous to a ".la" file),
+ # but don't create it if we're doing a dry run.
+ test -z "$run" && cat > ${libobj}T <<EOF
+# $libobj - a libtool object file
+# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+EOF
+
+ # Only build a PIC object if we are building libtool libraries.
+ if test "$build_libtool_libs" = yes; then
+ # Without this assignment, base_compile gets emptied.
+ fbsd_hideous_sh_bug=$base_compile
+
+ if test "$pic_mode" != no; then
+ command="$base_compile $srcfile $pic_flag"
+ else
+ # Don't build PIC code
+ command="$base_compile $srcfile"
+ fi
+
+ if test ! -d "${xdir}$objdir"; then
+ $show "$mkdir ${xdir}$objdir"
+ $run $mkdir ${xdir}$objdir
+ status=$?
+ if test "$status" -ne 0 && test ! -d "${xdir}$objdir"; then
+ exit $status
+ fi
+ fi
+
+ if test -z "$output_obj"; then
+ # Place PIC objects in $objdir
+ command="$command -o $lobj"
+ fi
+
+ $run $rm "$lobj" "$output_obj"
+
+ $show "$command"
+ if $run eval "$command"; then :
+ else
+ test -n "$output_obj" && $run $rm $removelist
+ exit 1
+ fi
+
+ if test "$need_locks" = warn &&
+ test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
+ echo "\
+*** ERROR, $lockfile contains:
+`cat $lockfile 2>/dev/null`
+
+but it should contain:
+$srcfile
+
+This indicates that another process is trying to use the same
+temporary object file, and libtool could not work around it because
+your compiler does not support \`-c' and \`-o' together. If you
+repeat this compilation, it may succeed, by chance, but you had better
+avoid parallel builds (make -j) in this platform, or get a better
+compiler."
+
+ $run $rm $removelist
+ exit 1
+ fi
+
+ # Just move the object if needed, then go on to compile the next one
+ if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
+ $show "$mv $output_obj $lobj"
+ if $run $mv $output_obj $lobj; then :
+ else
+ error=$?
+ $run $rm $removelist
+ exit $error
+ fi
+ fi
+
+ # Append the name of the PIC object to the libtool object file.
+ test -z "$run" && cat >> ${libobj}T <<EOF
+pic_object='$objdir/$objname'
+
+EOF
+
+ # Allow error messages only from the first compilation.
+ suppress_output=' >/dev/null 2>&1'
+ else
+ # No PIC object so indicate it doesn't exist in the libtool
+ # object file.
+ test -z "$run" && cat >> ${libobj}T <<EOF
+pic_object=none
+
+EOF
+ fi
+
+ # Only build a position-dependent object if we build old libraries.
+ if test "$build_old_libs" = yes; then
+ if test "$pic_mode" != yes; then
+ # Don't build PIC code
+ command="$base_compile $srcfile"
+ else
+ command="$base_compile $srcfile $pic_flag"
+ fi
+ if test "$compiler_c_o" = yes; then
+ command="$command -o $obj"
+ fi
+
+ # Suppress compiler output if we already did a PIC compilation.
+ command="$command$suppress_output"
+ $run $rm "$obj" "$output_obj"
+ $show "$command"
+ if $run eval "$command"; then :
+ else
+ $run $rm $removelist
+ exit 1
+ fi
+
+ if test "$need_locks" = warn &&
+ test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
+ echo "\
+*** ERROR, $lockfile contains:
+`cat $lockfile 2>/dev/null`
+
+but it should contain:
+$srcfile
+
+This indicates that another process is trying to use the same
+temporary object file, and libtool could not work around it because
+your compiler does not support \`-c' and \`-o' together. If you
+repeat this compilation, it may succeed, by chance, but you had better
+avoid parallel builds (make -j) in this platform, or get a better
+compiler."
+
+ $run $rm $removelist
+ exit 1
+ fi
+
+ # Just move the object if needed
+ if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
+ $show "$mv $output_obj $obj"
+ if $run $mv $output_obj $obj; then :
+ else
+ error=$?
+ $run $rm $removelist
+ exit $error
+ fi
+ fi
+
+ # Append the name of the non-PIC object the libtool object file.
+ # Only append if the libtool object file exists.
+ test -z "$run" && cat >> ${libobj}T <<EOF
+# Name of the non-PIC object.
+non_pic_object='$objname'
+
+EOF
+ else
+ # Append the name of the non-PIC object the libtool object file.
+ # Only append if the libtool object file exists.
+ test -z "$run" && cat >> ${libobj}T <<EOF
+# Name of the non-PIC object.
+non_pic_object=none
+
+EOF
+ fi
+
+ $run $mv "${libobj}T" "${libobj}"
+
+ # Unlock the critical section if it was locked
+ if test "$need_locks" != no; then
+ $run $rm "$lockfile"
+ fi
+
+ exit 0
+ ;;
+
+ # libtool link mode
+ link | relink)
+ modename="$modename: link"
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+ # It is impossible to link a dll without this setting, and
+ # we shouldn't force the makefile maintainer to figure out
+ # which system we are compiling for in order to pass an extra
+ # flag for every libtool invokation.
+ # allow_undefined=no
+
+ # FIXME: Unfortunately, there are problems with the above when trying
+ # to make a dll which has undefined symbols, in which case not
+ # even a static library is built. For now, we need to specify
+ # -no-undefined on the libtool link line when we can be certain
+ # that all symbols are satisfied, otherwise we get a static library.
+ allow_undefined=yes
+ ;;
+ *)
+ allow_undefined=yes
+ ;;
+ esac
+ libtool_args="$nonopt"
+ base_compile="$nonopt"
+ compile_command="$nonopt"
+ finalize_command="$nonopt"
+
+ compile_rpath=
+ finalize_rpath=
+ compile_shlibpath=
+ finalize_shlibpath=
+ convenience=
+ old_convenience=
+ deplibs=
+ old_deplibs=
+ add_flags=
+ compiler_flags=
+ linker_flags=
+ dllsearchpath=
+ lib_search_path=`pwd`
+
+ avoid_version=no
+ dlfiles=
+ dlprefiles=
+ dlself=no
+ export_dynamic=no
+ export_symbols=
+ export_symbols_regex=
+ generated=
+ libobjs=
+ ltlibs=
+ module=no
+ no_install=no
+ objs=
+ non_pic_objects=
+ prefer_static_libs=no
+ preload=no
+ prev=
+ prevarg=
+ release=
+ rpath=
+ xrpath=
+ perm_rpath=
+ temp_rpath=
+ thread_safe=no
+ vinfo=
+
+ # We need to know -static, to get the right output filenames.
+ for arg
+ do
+ case $arg in
+ -all-static | -static)
+ if test "X$arg" = "X-all-static"; then
+ if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
+ $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
+ fi
+ if test -n "$link_static_flag"; then
+ dlopen_self=$dlopen_self_static
+ fi
+ else
+ if test -z "$pic_flag" && test -n "$link_static_flag"; then
+ dlopen_self=$dlopen_self_static
+ fi
+ fi
+ build_libtool_libs=no
+ build_old_libs=yes
+ prefer_static_libs=yes
+ break
+ ;;
+ esac
+ done
+
+ # See if our shared archives depend on static archives.
+ test -n "$old_archive_from_new_cmds" && build_old_libs=yes
+
+ # Go through the arguments, transforming them on the way.
+ while test "$#" -gt 0; do
+ arg="$1"
+ base_compile="$base_compile $arg"
+ shift
+ case $arg in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
+ ;;
+ *) qarg=$arg ;;
+ esac
+ libtool_args="$libtool_args $qarg"
+
+ # If the previous option needs an argument, assign it.
+ if test -n "$prev"; then
+ case $prev in
+ output)
+ compile_command="$compile_command @OUTPUT@"
+ finalize_command="$finalize_command @OUTPUT@"
+ ;;
+ esac
+
+ case $prev in
+ dlfiles|dlprefiles)
+ if test "$preload" = no; then
+ # Add the symbol object into the linking commands.
+ compile_command="$compile_command @SYMFILE@"
+ finalize_command="$finalize_command @SYMFILE@"
+ preload=yes
+ fi
+ case $arg in
+ *.la | *.lo) ;; # We handle these cases below.
+ force)
+ if test "$dlself" = no; then
+ dlself=needless
+ export_dynamic=yes
+ fi
+ prev=
+ continue
+ ;;
+ self)
+ if test "$prev" = dlprefiles; then
+ dlself=yes
+ elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
+ dlself=yes
+ else
+ dlself=needless
+ export_dynamic=yes
+ fi
+ prev=
+ continue
+ ;;
+ *)
+ if test "$prev" = dlfiles; then
+ dlfiles="$dlfiles $arg"
+ else
+ dlprefiles="$dlprefiles $arg"
+ fi
+ prev=
+ continue
+ ;;
+ esac
+ ;;
+ expsyms)
+ export_symbols="$arg"
+ if test ! -f "$arg"; then
+ $echo "$modename: symbol file \`$arg' does not exist"
+ exit 1
+ fi
+ prev=
+ continue
+ ;;
+ expsyms_regex)
+ export_symbols_regex="$arg"
+ prev=
+ continue
+ ;;
+ release)
+ release="-$arg"
+ prev=
+ continue
+ ;;
+ objectlist)
+ if test -f "$arg"; then
+ save_arg=$arg
+ moreargs=
+ for fil in `cat $save_arg`
+ do
+# moreargs="$moreargs $fil"
+ arg=$fil
+ # A libtool-controlled object.
+
+ # Check to see that this really is a libtool object.
+ if (${SED} -e '2q' $arg | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+ pic_object=
+ non_pic_object=
+
+ # Read the .lo file
+ # If there is no directory component, then add one.
+ case $arg in
+ */* | *\\*) . $arg ;;
+ *) . ./$arg ;;
+ esac
+
+ if test -z "$pic_object" || \
+ test -z "$non_pic_object" ||
+ test "$pic_object" = none && \
+ test "$non_pic_object" = none; then
+ $echo "$modename: cannot find name of object for \`$arg'" 1>&2
+ exit 1
+ fi
+
+ # Extract subdirectory from the argument.
+ xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
+ if test "X$xdir" = "X$arg"; then
+ xdir=
+ else
+ xdir="$xdir/"
+ fi
+
+ if test "$pic_object" != none; then
+ # Prepend the subdirectory the object is found in.
+ pic_object="$xdir$pic_object"
+
+ if test "$prev" = dlfiles; then
+ if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
+ dlfiles="$dlfiles $pic_object"
+ prev=
+ continue
+ else
+ # If libtool objects are unsupported, then we need to preload.
+ prev=dlprefiles
+ fi
+ fi
+
+ # CHECK ME: I think I busted this. -Ossama
+ if test "$prev" = dlprefiles; then
+ # Preload the old-style object.
+ dlprefiles="$dlprefiles $pic_object"
+ prev=
+ fi
+
+ # A PIC object.
+ libobjs="$libobjs $pic_object"
+ arg="$pic_object"
+ fi
+
+ # Non-PIC object.
+ if test "$non_pic_object" != none; then
+ # Prepend the subdirectory the object is found in.
+ non_pic_object="$xdir$non_pic_object"
+
+ # A standard non-PIC object
+ non_pic_objects="$non_pic_objects $non_pic_object"
+ if test -z "$pic_object" || test "$pic_object" = none ; then
+ arg="$non_pic_object"
+ fi
+ fi
+ else
+ # Only an error if not doing a dry-run.
+ if test -z "$run"; then
+ $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
+ exit 1
+ else
+ # Dry-run case.
+
+ # Extract subdirectory from the argument.
+ xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
+ if test "X$xdir" = "X$arg"; then
+ xdir=
+ else
+ xdir="$xdir/"
+ fi
+
+ pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
+ non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
+ libobjs="$libobjs $pic_object"
+ non_pic_objects="$non_pic_objects $non_pic_object"
+ fi
+ fi
+ done
+ else
+ $echo "$modename: link input file \`$save_arg' does not exist"
+ exit 1
+ fi
+ arg=$save_arg
+ prev=
+ continue
+ ;;
+ rpath | xrpath)
+ # We need an absolute path.
+ case $arg in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ $echo "$modename: only absolute run-paths are allowed" 1>&2
+ exit 1
+ ;;
+ esac
+ if test "$prev" = rpath; then
+ case "$rpath " in
+ *" $arg "*) ;;
+ *) rpath="$rpath $arg" ;;
+ esac
+ else
+ case "$xrpath " in
+ *" $arg "*) ;;
+ *) xrpath="$xrpath $arg" ;;
+ esac
+ fi
+ prev=
+ continue
+ ;;
+ xcompiler)
+ compiler_flags="$compiler_flags $qarg"
+ prev=
+ compile_command="$compile_command $qarg"
+ finalize_command="$finalize_command $qarg"
+ continue
+ ;;
+ xlinker)
+ linker_flags="$linker_flags $qarg"
+ compiler_flags="$compiler_flags $wl$qarg"
+ prev=
+ compile_command="$compile_command $wl$qarg"
+ finalize_command="$finalize_command $wl$qarg"
+ continue
+ ;;
+ *)
+ eval "$prev=\"\$arg\""
+ prev=
+ continue
+ ;;
+ esac
+ fi # test -n "$prev"
+
+ prevarg="$arg"
+
+ case $arg in
+ -all-static)
+ if test -n "$link_static_flag"; then
+ compile_command="$compile_command $link_static_flag"
+ finalize_command="$finalize_command $link_static_flag"
+ fi
+ continue
+ ;;
+
+ -allow-undefined)
+ # FIXME: remove this flag sometime in the future.
+ $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2
+ continue
+ ;;
+
+ -avoid-version)
+ avoid_version=yes
+ continue
+ ;;
+
+ -dlopen)
+ prev=dlfiles
+ continue
+ ;;
+
+ -dlpreopen)
+ prev=dlprefiles
+ continue
+ ;;
+
+ -export-dynamic)
+ export_dynamic=yes
+ continue
+ ;;
+
+ -export-symbols | -export-symbols-regex)
+ if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
+ $echo "$modename: more than one -exported-symbols argument is not allowed"
+ exit 1
+ fi
+ if test "X$arg" = "X-export-symbols"; then
+ prev=expsyms
+ else
+ prev=expsyms_regex
+ fi
+ continue
+ ;;
+
+ # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
+ # so, if we see these flags be careful not to treat them like -L
+ -L[A-Z][A-Z]*:*)
+ case $with_gcc/$host in
+ no/*-*-irix* | /*-*-irix*)
+ compile_command="$compile_command $arg"
+ finalize_command="$finalize_command $arg"
+ ;;
+ esac
+ continue
+ ;;
+
+ -L*)
+ dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
+ # We need an absolute path.
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ absdir=`cd "$dir" && pwd`
+ if test -z "$absdir"; then
+ $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
+ exit 1
+ fi
+ dir="$absdir"
+ ;;
+ esac
+ case "$deplibs " in
+ *" -L$dir "*) ;;
+ *)
+ deplibs="$deplibs -L$dir"
+ lib_search_path="$lib_search_path $dir"
+ ;;
+ esac
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+ case :$dllsearchpath: in
+ *":$dir:"*) ;;
+ *) dllsearchpath="$dllsearchpath:$dir";;
+ esac
+ ;;
+ esac
+ continue
+ ;;
+
+ -l*)
+ if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
+ case $host in
+ *-*-cygwin* | *-*-pw32* | *-*-beos*)
+ # These systems don't actually have a C or math library (as such)
+ continue
+ ;;
+ *-*-mingw* | *-*-os2*)
+ # These systems don't actually have a C library (as such)
+ test "X$arg" = "X-lc" && continue
+ ;;
+ *-*-openbsd* | *-*-freebsd*)
+ # Do not include libc due to us having libc/libc_r.
+ test "X$arg" = "X-lc" && continue
+ ;;
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # Rhapsody C and math libraries are in the System framework
+ deplibs="$deplibs -framework System"
+ continue
+ esac
+ elif test "X$arg" = "X-lc_r"; then
+ case $host in
+ *-*-openbsd* | *-*-freebsd*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+ esac
+ fi
+ deplibs="$deplibs $arg"
+ continue
+ ;;
+
+ -module)
+ module=yes
+ continue
+ ;;
+
+ -no-fast-install)
+ fast_install=no
+ continue
+ ;;
+
+ -no-install)
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+ # The PATH hackery in wrapper scripts is required on Windows
+ # in order for the loader to find any dlls it needs.
+ $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
+ $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
+ fast_install=no
+ ;;
+ *) no_install=yes ;;
+ esac
+ continue
+ ;;
+
+ -no-undefined)
+ allow_undefined=no
+ continue
+ ;;
+
+ -objectlist)
+ prev=objectlist
+ continue
+ ;;
+
+ -o) prev=output ;;
+
+ -release)
+ prev=release
+ continue
+ ;;
+
+ -rpath)
+ prev=rpath
+ continue
+ ;;
+
+ -R)
+ prev=xrpath
+ continue
+ ;;
+
+ -R*)
+ dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
+ # We need an absolute path.
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ $echo "$modename: only absolute run-paths are allowed" 1>&2
+ exit 1
+ ;;
+ esac
+ case "$xrpath " in
+ *" $dir "*) ;;
+ *) xrpath="$xrpath $dir" ;;
+ esac
+ continue
+ ;;
+
+ -static)
+ # The effects of -static are defined in a previous loop.
+ # We used to do the same as -all-static on platforms that
+ # didn't have a PIC flag, but the assumption that the effects
+ # would be equivalent was wrong. It would break on at least
+ # Digital Unix and AIX.
+ continue
+ ;;
+
+ -thread-safe)
+ thread_safe=yes
+ continue
+ ;;
+
+ -version-info)
+ prev=vinfo
+ continue
+ ;;
+
+ -Wc,*)
+ args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
+ arg=
+ save_ifs="$IFS"; IFS=','
+ for flag in $args; do
+ IFS="$save_ifs"
+ case $flag in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ flag="\"$flag\""
+ ;;
+ esac
+ arg="$arg $wl$flag"
+ compiler_flags="$compiler_flags $flag"
+ done
+ IFS="$save_ifs"
+ arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
+ ;;
+
+ -Wl,*)
+ args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
+ arg=
+ save_ifs="$IFS"; IFS=','
+ for flag in $args; do
+ IFS="$save_ifs"
+ case $flag in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ flag="\"$flag\""
+ ;;
+ esac
+ arg="$arg $wl$flag"
+ compiler_flags="$compiler_flags $wl$flag"
+ linker_flags="$linker_flags $flag"
+ done
+ IFS="$save_ifs"
+ arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
+ ;;
+
+ -Xcompiler)
+ prev=xcompiler
+ continue
+ ;;
+
+ -Xlinker)
+ prev=xlinker
+ continue
+ ;;
+
+ # Some other compiler flag.
+ -* | +*)
+ # Unknown arguments in both finalize_command and compile_command need
+ # to be aesthetically quoted because they are evaled later.
+ arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+ case $arg in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ arg="\"$arg\""
+ ;;
+ esac
+ add_flags="$add_flags $arg"
+ ;;
+
+ *.$objext)
+ # A standard object.
+ objs="$objs $arg"
+ ;;
+
+ *.lo)
+ # A libtool-controlled object.
+
+ # Check to see that this really is a libtool object.
+ if (${SED} -e '2q' $arg | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+ pic_object=
+ non_pic_object=
+
+ # Read the .lo file
+ # If there is no directory component, then add one.
+ case $arg in
+ */* | *\\*) . $arg ;;
+ *) . ./$arg ;;
+ esac
+
+ if test -z "$pic_object" || \
+ test -z "$non_pic_object" ||
+ test "$pic_object" = none && \
+ test "$non_pic_object" = none; then
+ $echo "$modename: cannot find name of object for \`$arg'" 1>&2
+ exit 1
+ fi
+
+ # Extract subdirectory from the argument.
+ xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
+ if test "X$xdir" = "X$arg"; then
+ xdir=
+ else
+ xdir="$xdir/"
+ fi
+
+ if test "$pic_object" != none; then
+ # Prepend the subdirectory the object is found in.
+ pic_object="$xdir$pic_object"
+
+ if test "$prev" = dlfiles; then
+ if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
+ dlfiles="$dlfiles $pic_object"
+ prev=
+ continue
+ else
+ # If libtool objects are unsupported, then we need to preload.
+ prev=dlprefiles
+ fi
+ fi
+
+ # CHECK ME: I think I busted this. -Ossama
+ if test "$prev" = dlprefiles; then
+ # Preload the old-style object.
+ dlprefiles="$dlprefiles $pic_object"
+ prev=
+ fi
+
+ # A PIC object.
+ libobjs="$libobjs $pic_object"
+ arg="$pic_object"
+ fi
+
+ # Non-PIC object.
+ if test "$non_pic_object" != none; then
+ # Prepend the subdirectory the object is found in.
+ non_pic_object="$xdir$non_pic_object"
+
+ # A standard non-PIC object
+ non_pic_objects="$non_pic_objects $non_pic_object"
+ if test -z "$pic_object" || test "$pic_object" = none ; then
+ arg="$non_pic_object"
+ fi
+ fi
+ else
+ # Only an error if not doing a dry-run.
+ if test -z "$run"; then
+ $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
+ exit 1
+ else
+ # Dry-run case.
+
+ # Extract subdirectory from the argument.
+ xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
+ if test "X$xdir" = "X$arg"; then
+ xdir=
+ else
+ xdir="$xdir/"
+ fi
+
+ pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
+ non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
+ libobjs="$libobjs $pic_object"
+ non_pic_objects="$non_pic_objects $non_pic_object"
+ fi
+ fi
+ ;;
+
+ *.$libext)
+ # An archive.
+ deplibs="$deplibs $arg"
+ old_deplibs="$old_deplibs $arg"
+ continue
+ ;;
+
+ *.la)
+ # A libtool-controlled library.
+
+ if test "$prev" = dlfiles; then
+ # This library was specified with -dlopen.
+ dlfiles="$dlfiles $arg"
+ prev=
+ elif test "$prev" = dlprefiles; then
+ # The library was specified with -dlpreopen.
+ dlprefiles="$dlprefiles $arg"
+ prev=
+ else
+ deplibs="$deplibs $arg"
+ fi
+ continue
+ ;;
+
+ # Some other compiler argument.
+ *)
+ # Unknown arguments in both finalize_command and compile_command need
+ # to be aesthetically quoted because they are evaled later.
+ arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+ case $arg in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ arg="\"$arg\""
+ ;;
+ esac
+ add_flags="$add_flags $arg"
+ ;;
+ esac # arg
+
+ # Now actually substitute the argument into the commands.
+ if test -n "$arg"; then
+ compile_command="$compile_command $arg"
+ finalize_command="$finalize_command $arg"
+ fi
+ done # argument parsing loop
+
+ if test -n "$prev"; then
+ $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ # Infer tagged configuration to use if any are available and
+ # if one wasn't chosen via the "--tag" command line option.
+ # Only attempt this if the compiler in the base link
+ # command doesn't match the default compiler.
+ if test -n "$available_tags" && test -z "$tagname"; then
+ case $base_compile in
+ "$CC "*) ;;
+ # Blanks in the command may have been stripped by the calling shell,
+ # but not from the CC environment variable when ltconfig was run.
+ "`$echo $CC` "*) ;;
+ *)
+ for z in $available_tags; do
+ if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
+ # Evaluate the configuration.
+ eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
+ case $base_compile in
+ "$CC "*)
+ # The compiler in $compile_command matches
+ # the one in the tagged configuration.
+ # Assume this is the tagged configuration we want.
+ tagname=$z
+ break
+ ;;
+ "`$echo $CC` "*)
+ tagname=$z
+ break
+ ;;
+ esac
+ fi
+ done
+ # If $tagname still isn't set, then no tagged configuration
+ # was found and let the user know that the "--tag" command
+ # line option must be used.
+ if test -z "$tagname"; then
+ echo "$modename: unable to infer tagged configuration"
+ echo "$modename: specify a tag with \`--tag'" 1>&2
+ exit 1
+# else
+# echo "$modename: using $tagname tagged configuration"
+ fi
+ ;;
+ esac
+ fi
+
+ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
+ eval arg=\"$export_dynamic_flag_spec\"
+ compile_command="$compile_command $arg"
+ finalize_command="$finalize_command $arg"
+ fi
+
+ oldlibs=
+ # calculate the name of the file, without its directory
+ outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
+ libobjs_save="$libobjs"
+
+ if test -n "$shlibpath_var"; then
+ # get the directories listed in $shlibpath_var
+ eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
+ else
+ shlib_search_path=
+ fi
+ eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
+ eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
+
+ output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
+ if test "X$output_objdir" = "X$output"; then
+ output_objdir="$objdir"
+ else
+ output_objdir="$output_objdir/$objdir"
+ fi
+ # Create the object directory.
+ if test ! -d "$output_objdir"; then
+ $show "$mkdir $output_objdir"
+ $run $mkdir $output_objdir
+ status=$?
+ if test "$status" -ne 0 && test ! -d "$output_objdir"; then
+ exit $status
+ fi
+ fi
+
+ # Determine the type of output
+ case $output in
+ "")
+ $echo "$modename: you must specify an output file" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ ;;
+ *.$libext) linkmode=oldlib ;;
+ *.lo | *.$objext) linkmode=obj ;;
+ *.la) linkmode=lib ;;
+ *) linkmode=prog ;; # Anything else should be a program.
+ esac
+
+ specialdeplibs=
+ libs=
+ # Find all interdependent deplibs by searching for libraries
+ # that are linked more than once (e.g. -la -lb -la)
+ for deplib in $deplibs; do
+ if test "X$duplicate_deps" = "Xyes" ; then
+ case "$libs " in
+ *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+ esac
+ fi
+ libs="$libs $deplib"
+ done
+
+ if test "$linkmode" = lib; then
+ libs="$predeps $libs $compiler_lib_search_path $postdeps"
+
+ # Compute libraries that are listed more than once in $predeps
+ # $postdeps and mark them as special (i.e., whose duplicates are
+ # not to be eliminated).
+ pre_post_deps=
+ if test "X$duplicate_deps" = "Xyes" ; then
+ for pre_post_dep in $predeps $postdeps; do
+ case "$pre_post_deps " in
+ *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
+ esac
+ pre_post_deps="$pre_post_deps $pre_post_dep"
+ done
+ fi
+ pre_post_deps=
+ fi
+
+ deplibs=
+ newdependency_libs=
+ newlib_search_path=
+ need_relink=no # whether we're linking any uninstalled libtool libraries
+ notinst_deplibs= # not-installed libtool libraries
+ notinst_path= # paths that contain not-installed libtool libraries
+ case $linkmode in
+ lib)
+ passes="conv link"
+ for file in $dlfiles $dlprefiles; do
+ case $file in
+ *.la) ;;
+ *)
+ $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
+ exit 1
+ ;;
+ esac
+ done
+ ;;
+ prog)
+ compile_deplibs=
+ finalize_deplibs=
+ alldeplibs=no
+ newdlfiles=
+ newdlprefiles=
+ passes="conv scan dlopen dlpreopen link"
+ ;;
+ *) passes="conv"
+ ;;
+ esac
+ for pass in $passes; do
+ if test "$linkmode,$pass" = "lib,link" ||
+ test "$linkmode,$pass" = "prog,scan"; then
+ libs="$deplibs"
+ deplibs=
+ fi
+ if test "$linkmode" = prog; then
+ case $pass in
+ dlopen) libs="$dlfiles" ;;
+ dlpreopen) libs="$dlprefiles" ;;
+ link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
+ esac
+ fi
+ if test "$pass" = dlopen; then
+ # Collect dlpreopened libraries
+ save_deplibs="$deplibs"
+ deplibs=
+ fi
+ for deplib in $libs; do
+ lib=
+ found=no
+ case $deplib in
+ -l*)
+ if test "$linkmode" != lib && test "$linkmode" != prog; then
+ $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
+ continue
+ fi
+ if test "$pass" = conv && test "$allow_undefined" = yes; then
+ deplibs="$deplib $deplibs"
+ continue
+ fi
+ name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
+ for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ # Search the libtool library
+ lib="$searchdir/lib${name}.la"
+ if test -f "$lib"; then
+ found=yes
+ break
+ fi
+ done
+ if test "$found" != yes; then
+ # deplib doesn't seem to be a libtool library
+ if test "$linkmode,$pass" = "prog,link"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ deplibs="$deplib $deplibs"
+ test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
+ fi
+ continue
+ fi
+ ;; # -l
+ -L*)
+ case $linkmode in
+ lib)
+ deplibs="$deplib $deplibs"
+ test "$pass" = conv && continue
+ newdependency_libs="$deplib $newdependency_libs"
+ newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
+ ;;
+ prog)
+ if test "$pass" = conv; then
+ deplibs="$deplib $deplibs"
+ continue
+ fi
+ if test "$pass" = scan; then
+ deplibs="$deplib $deplibs"
+ newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
+ else
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ fi
+ ;;
+ *)
+ $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
+ ;;
+ esac # linkmode
+ continue
+ ;; # -L
+ -R*)
+ if test "$pass" = link; then
+ dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
+ # Make sure the xrpath contains only unique directories.
+ case "$xrpath " in
+ *" $dir "*) ;;
+ *) xrpath="$xrpath $dir" ;;
+ esac
+ fi
+ deplibs="$deplib $deplibs"
+ continue
+ ;;
+ *.la) lib="$deplib" ;;
+ *.$libext)
+ if test "$pass" = conv; then
+ deplibs="$deplib $deplibs"
+ continue
+ fi
+ case $linkmode in
+ lib)
+ if test "$deplibs_check_method" != pass_all; then
+ echo
+ echo "*** Warning: Trying to link with static lib archive $deplib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because the file extensions .$libext of this argument makes me believe"
+ echo "*** that it is just a static archive that I should not used here."
+ else
+ echo
+ echo "*** Warning: Linking the shared library $output against the"
+ echo "*** static library $deplib is not portable!"
+ deplibs="$deplib $deplibs"
+ fi
+ continue
+ ;;
+ prog)
+ if test "$pass" != link; then
+ deplibs="$deplib $deplibs"
+ else
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ fi
+ continue
+ ;;
+ esac # linkmode
+ ;; # *.$libext
+ *.lo | *.$objext)
+ if test "$pass" = conv; then
+ deplibs="$deplib $deplibs"
+ elif test "$linkmode" = prog; then
+ if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
+ # If there is no dlopen support or we're linking statically,
+ # we need to preload.
+ newdlprefiles="$newdlprefiles $deplib"
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ newdlfiles="$newdlfiles $deplib"
+ fi
+ fi
+ continue
+ ;;
+ %DEPLIBS%)
+ alldeplibs=yes
+ continue
+ ;;
+ esac # case $deplib
+ if test "$found" = yes || test -f "$lib"; then :
+ else
+ $echo "$modename: cannot find the library \`$lib'" 1>&2
+ exit 1
+ fi
+
+ # Check to see that this really is a libtool archive.
+ if (${SED} -e '2q' $lib | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
+ else
+ $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
+ exit 1
+ fi
+
+ ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
+ test "X$ladir" = "X$lib" && ladir="."
+
+ dlname=
+ dlopen=
+ dlpreopen=
+ libdir=
+ library_names=
+ old_library=
+ # If the library was installed with an old release of libtool,
+ # it will not redefine variable installed.
+ installed=yes
+
+ # Read the .la file
+ case $lib in
+ */* | *\\*) . $lib ;;
+ *) . ./$lib ;;
+ esac
+
+ if test "$linkmode,$pass" = "lib,link" ||
+ test "$linkmode,$pass" = "prog,scan" ||
+ { test "$linkmode" != prog && test "$linkmode" != lib; }; then
+ test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
+ test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
+ fi
+
+ if test "$pass" = conv; then
+ # Only check for convenience libraries
+ deplibs="$lib $deplibs"
+ tmp_libs=
+ for deplib in $dependency_libs; do
+ #echo "Adding $deplib to \$deplibs"
+ deplibs="$deplib $deplibs"
+ if test "X$duplicate_deps" = "Xyes" ; then
+ case "$tmp_libs " in
+ *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+ esac
+ fi
+ tmp_libs="$tmp_libs $deplib"
+ done
+ if test -z "$libdir"; then
+ if test -z "$old_library"; then
+ $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
+ exit 1
+ fi
+ # It is a libtool convenience library, so add in its objects.
+ convenience="$convenience $ladir/$objdir/$old_library"
+ old_convenience="$old_convenience $ladir/$objdir/$old_library"
+ elif test "$linkmode" != prog && test "$linkmode" != lib; then
+ $echo "$modename: \`$lib' is not a convenience library" 1>&2
+ exit 1
+ fi
+ continue
+ fi # $pass = conv
+
+ # Get the name of the library we link against.
+ linklib=
+ for l in $old_library $library_names; do
+ linklib="$l"
+ done
+ if test -z "$linklib"; then
+ $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
+ exit 1
+ fi
+
+ # This library was specified with -dlopen.
+ if test "$pass" = dlopen; then
+ if test -z "$libdir"; then
+ $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
+ exit 1
+ fi
+ if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
+ # If there is no dlname, no dlopen support or we're linking
+ # statically, we need to preload. We also need to preload any
+ # dependent libraries so libltdl's deplib preloader doesn't
+ # bomb out in the load deplibs phase.
+ dlprefiles="$dlprefiles $lib $dependency_libs"
+ else
+ newdlfiles="$newdlfiles $lib"
+ fi
+ continue
+ fi # $pass = dlopen
+
+ # We need an absolute path.
+ case $ladir in
+ [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
+ *)
+ abs_ladir=`cd "$ladir" && pwd`
+ if test -z "$abs_ladir"; then
+ $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
+ $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
+ abs_ladir="$ladir"
+ fi
+ ;;
+ esac
+ laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
+
+ # Find the relevant object directory and library name.
+ if test "X$installed" = Xyes; then
+ if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
+ $echo "$modename: warning: library \`$lib' was moved." 1>&2
+ dir="$ladir"
+ absdir="$abs_ladir"
+ libdir="$abs_ladir"
+ else
+ dir="$libdir"
+ absdir="$libdir"
+ fi
+ else
+ dir="$ladir/$objdir"
+ absdir="$abs_ladir/$objdir"
+ # Remove this search path later
+ notinst_path="$notinst_path $abs_ladir"
+ fi # $installed = yes
+ name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
+
+ # This library was specified with -dlpreopen.
+ if test "$pass" = dlpreopen; then
+ if test -z "$libdir"; then
+ $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
+ exit 1
+ fi
+ # Prefer using a static library (so that no silly _DYNAMIC symbols
+ # are required to link).
+ if test -n "$old_library"; then
+ newdlprefiles="$newdlprefiles $dir/$old_library"
+ # Otherwise, use the dlname, so that lt_dlopen finds it.
+ elif test -n "$dlname"; then
+ newdlprefiles="$newdlprefiles $dir/$dlname"
+ else
+ newdlprefiles="$newdlprefiles $dir/$linklib"
+ fi
+ fi # $pass = dlpreopen
+
+ if test -z "$libdir"; then
+ # Link the convenience library
+ if test "$linkmode" = lib; then
+ deplibs="$dir/$old_library $deplibs"
+ elif test "$linkmode,$pass" = "prog,link"; then
+ compile_deplibs="$dir/$old_library $compile_deplibs"
+ finalize_deplibs="$dir/$old_library $finalize_deplibs"
+ else
+ deplibs="$lib $deplibs" # used for prog,scan pass
+ fi
+ continue
+ fi
+
+ if test "$linkmode" = prog && test "$pass" != link; then
+ newlib_search_path="$newlib_search_path $ladir"
+ deplibs="$lib $deplibs"
+
+ linkalldeplibs=no
+ if test "$link_all_deplibs" != no || test -z "$library_names" ||
+ test "$build_libtool_libs" = no; then
+ linkalldeplibs=yes
+ fi
+
+ tmp_libs=
+ for deplib in $dependency_libs; do
+ case $deplib in
+ -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
+ esac
+ # Need to link against all dependency_libs?
+ if test "$linkalldeplibs" = yes; then
+ deplibs="$deplib $deplibs"
+ else
+ # Need to hardcode shared library paths
+ # or/and link against static libraries
+ newdependency_libs="$deplib $newdependency_libs"
+ fi
+ if test "X$duplicate_deps" = "Xyes" ; then
+ case "$tmp_libs " in
+ *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+ esac
+ fi
+ tmp_libs="$tmp_libs $deplib"
+ done # for deplib
+ continue
+ fi # $linkmode = prog...
+
+ if test "$linkmode,$pass" = "prog,link"; then
+ if test -n "$library_names" &&
+ { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
+ # We need to hardcode the library path
+ if test -n "$shlibpath_var"; then
+ # Make sure the rpath contains only unique directories.
+ case "$temp_rpath " in
+ *" $dir "*) ;;
+ *" $absdir "*) ;;
+ *) temp_rpath="$temp_rpath $dir" ;;
+ esac
+ fi
+
+ # Hardcode the library path.
+ # Skip directories that are in the system default run-time
+ # search path.
+ case " $sys_lib_dlsearch_path " in
+ *" $absdir "*) ;;
+ *)
+ case "$compile_rpath " in
+ *" $absdir "*) ;;
+ *) compile_rpath="$compile_rpath $absdir"
+ esac
+ ;;
+ esac
+ case " $sys_lib_dlsearch_path " in
+ *" $libdir "*) ;;
+ *)
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) finalize_rpath="$finalize_rpath $libdir"
+ esac
+ ;;
+ esac
+ fi # $linkmode,$pass = prog,link...
+
+ if test "$alldeplibs" = yes &&
+ { test "$deplibs_check_method" = pass_all ||
+ { test "$build_libtool_libs" = yes &&
+ test -n "$library_names"; }; }; then
+ # We only need to search for static libraries
+ continue
+ fi
+ fi
+
+ link_static=no # Whether the deplib will be linked statically
+ if test -n "$library_names" &&
+ { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
+ if test "$installed" = no; then
+ notinst_deplibs="$notinst_deplibs $lib"
+ need_relink=yes
+ fi
+ # This is a shared library
+ if test "$linkmode" = lib &&
+ test "$hardcode_into_libs" = yes; then
+ # Hardcode the library path.
+ # Skip directories that are in the system default run-time
+ # search path.
+ case " $sys_lib_dlsearch_path " in
+ *" $absdir "*) ;;
+ *)
+ case "$compile_rpath " in
+ *" $absdir "*) ;;
+ *) compile_rpath="$compile_rpath $absdir"
+ esac
+ ;;
+ esac
+ case " $sys_lib_dlsearch_path " in
+ *" $libdir "*) ;;
+ *)
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) finalize_rpath="$finalize_rpath $libdir"
+ esac
+ ;;
+ esac
+ fi
+
+ if test -n "$old_archive_from_expsyms_cmds"; then
+ # figure out the soname
+ set dummy $library_names
+ realname="$2"
+ shift; shift
+ libname=`eval \\$echo \"$libname_spec\"`
+ # use dlname if we got it. it's perfectly good, no?
+ if test -n "$dlname"; then
+ soname="$dlname"
+ elif test -n "$soname_spec"; then
+ # bleh windows
+ case $host in
+ *cygwin*)
+ major=`expr $current - $age`
+ versuffix="-$major"
+ ;;
+ esac
+ eval soname=\"$soname_spec\"
+ else
+ soname="$realname"
+ fi
+
+ # Make a new name for the extract_expsyms_cmds to use
+ soroot="$soname"
+ soname=`echo $soroot | ${SED} -e 's/^.*\///'`
+ newlib="libimp-`echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
+
+ # If the library has no export list, then create one now
+ if test -f "$output_objdir/$soname-def"; then :
+ else
+ $show "extracting exported symbol list from \`$soname'"
+ save_ifs="$IFS"; IFS='~'
+ eval cmds=\"$extract_expsyms_cmds\"
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+ fi
+
+ # Create $newlib
+ if test -f "$output_objdir/$newlib"; then :; else
+ $show "generating import library for \`$soname'"
+ save_ifs="$IFS"; IFS='~'
+ eval cmds=\"$old_archive_from_expsyms_cmds\"
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+ fi
+ # make sure the library variables are pointing to the new library
+ dir=$output_objdir
+ linklib=$newlib
+ fi # test -n "$old_archive_from_expsyms_cmds"
+
+ if test "$linkmode" = prog || test "$mode" != relink; then
+ add_shlibpath=
+ add_dir=
+ add=
+ lib_linked=yes
+ case $hardcode_action in
+ immediate | unsupported)
+ if test "$hardcode_direct" = no; then
+ add="$dir/$linklib"
+ elif test "$hardcode_minus_L" = no; then
+ case $host in
+ *-*-sunos*) add_shlibpath="$dir" ;;
+ esac
+ add_dir="-L$dir"
+ add="-l$name"
+ elif test "$hardcode_shlibpath_var" = no; then
+ add_shlibpath="$dir"
+ add="-l$name"
+ else
+ lib_linked=no
+ fi
+ ;;
+ relink)
+ if test "$hardcode_direct" = yes; then
+ add="$dir/$linklib"
+ elif test "$hardcode_minus_L" = yes; then
+ add_dir="-L$dir"
+ add="-l$name"
+ elif test "$hardcode_shlibpath_var" = yes; then
+ add_shlibpath="$dir"
+ add="-l$name"
+ else
+ lib_linked=no
+ fi
+ ;;
+ *) lib_linked=no ;;
+ esac
+
+ if test "$lib_linked" != yes; then
+ $echo "$modename: configuration error: unsupported hardcode properties"
+ exit 1
+ fi
+
+ if test -n "$add_shlibpath"; then
+ case :$compile_shlibpath: in
+ *":$add_shlibpath:"*) ;;
+ *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
+ esac
+ fi
+ if test "$linkmode" = prog; then
+ test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
+ test -n "$add" && compile_deplibs="$add $compile_deplibs"
+ else
+ test -n "$add_dir" && deplibs="$add_dir $deplibs"
+ test -n "$add" && deplibs="$add $deplibs"
+ if test "$hardcode_direct" != yes && \
+ test "$hardcode_minus_L" != yes && \
+ test "$hardcode_shlibpath_var" = yes; then
+ case :$finalize_shlibpath: in
+ *":$libdir:"*) ;;
+ *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
+ esac
+ fi
+ fi
+ fi
+
+ if test "$linkmode" = prog || test "$mode" = relink; then
+ add_shlibpath=
+ add_dir=
+ add=
+ # Finalize command for both is simple: just hardcode it.
+ if test "$hardcode_direct" = yes; then
+ add="$libdir/$linklib"
+ elif test "$hardcode_minus_L" = yes; then
+ add_dir="-L$libdir"
+ add="-l$name"
+ elif test "$hardcode_shlibpath_var" = yes; then
+ case :$finalize_shlibpath: in
+ *":$libdir:"*) ;;
+ *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
+ esac
+ add="-l$name"
+ else
+ # We cannot seem to hardcode it, guess we'll fake it.
+ add_dir="-L$libdir"
+ add="-l$name"
+ fi
+
+ if test "$linkmode" = prog; then
+ test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
+ test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
+ else
+ test -n "$add_dir" && deplibs="$add_dir $deplibs"
+ test -n "$add" && deplibs="$add $deplibs"
+ fi
+ fi
+ elif test "$linkmode" = prog; then
+ # Here we assume that one of hardcode_direct or hardcode_minus_L
+ # is not unsupported. This is valid on all known static and
+ # shared platforms.
+ if test "$hardcode_direct" != unsupported; then
+ test -n "$old_library" && linklib="$old_library"
+ compile_deplibs="$dir/$linklib $compile_deplibs"
+ finalize_deplibs="$dir/$linklib $finalize_deplibs"
+ else
+ compile_deplibs="-l$name -L$dir $compile_deplibs"
+ finalize_deplibs="-l$name -L$dir $finalize_deplibs"
+ fi
+ elif test "$build_libtool_libs" = yes; then
+ # Not a shared library
+ if test "$deplibs_check_method" != pass_all; then
+ # We're trying link a shared library against a static one
+ # but the system doesn't support it.
+
+ # Just print a warning and add the library to dependency_libs so
+ # that the program can be linked against the static library.
+ echo
+ echo "*** Warning: This system can not link to static lib archive $lib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have."
+ if test "$module" = yes; then
+ echo "*** But as you try to build a module library, libtool will still create "
+ echo "*** a static module, that should work as long as the dlopening application"
+ echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
+ if test -z "$global_symbol_pipe"; then
+ echo
+ echo "*** However, this would only work if libtool was able to extract symbol"
+ echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
+ echo "*** not find such a program. So, this module is probably useless."
+ echo "*** \`nm' from GNU binutils and a full rebuild may help."
+ fi
+ if test "$build_old_libs" = no; then
+ build_libtool_libs=module
+ build_old_libs=yes
+ else
+ build_libtool_libs=no
+ fi
+ fi
+ else
+ convenience="$convenience $dir/$old_library"
+ old_convenience="$old_convenience $dir/$old_library"
+ deplibs="$dir/$old_library $deplibs"
+ link_static=yes
+ fi
+ fi # link shared/static library?
+
+ if test "$linkmode" = lib; then
+ #if test -n "$dependency_libs" &&
+ # { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes ||
+ # test "$link_static" = yes; }; then
+ # Extract -R from dependency_libs
+ temp_deplibs=
+ for libdir in $dependency_libs; do
+ case $libdir in
+ -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
+ case " $xrpath " in
+ *" $temp_xrpath "*) ;;
+ *) xrpath="$xrpath $temp_xrpath";;
+ esac;;
+ *) temp_deplibs="$temp_deplibs $libdir";;
+ esac
+ done
+ dependency_libs="$temp_deplibs"
+ #fi
+
+ newlib_search_path="$newlib_search_path $absdir"
+ # Link against this library
+ test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
+ # ... and its dependency_libs
+ tmp_libs=
+ for deplib in $dependency_libs; do
+ newdependency_libs="$deplib $newdependency_libs"
+ if test "X$duplicate_deps" = "Xyes" ; then
+ case "$tmp_libs " in
+ *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+ esac
+ fi
+ tmp_libs="$tmp_libs $deplib"
+ done
+
+ if test "$link_all_deplibs" != no; then
+ # Add the search paths of all dependency libraries
+ for deplib in $dependency_libs; do
+ case $deplib in
+ -L*) path="$deplib" ;;
+ *.la)
+ dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
+ test "X$dir" = "X$deplib" && dir="."
+ # We need an absolute path.
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
+ *)
+ absdir=`cd "$dir" && pwd`
+ if test -z "$absdir"; then
+ $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
+ absdir="$dir"
+ fi
+ ;;
+ esac
+ if grep "^installed=no" $deplib > /dev/null; then
+ path="-L$absdir/$objdir"
+ else
+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+ if test -z "$libdir"; then
+ $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
+ exit 1
+ fi
+ path="-L$absdir"
+ fi
+ ;;
+ *) continue ;;
+ esac
+ case " $deplibs " in
+ *" $path "*) ;;
+ *) deplibs="$deplibs $path" ;;
+ esac
+ done
+ fi # link_all_deplibs != no
+ fi # linkmode = lib
+ done # for deplib in $libs
+ dependency_libs="$newdependency_libs"
+ if test "$pass" = dlpreopen; then
+ # Link the dlpreopened libraries before other libraries
+ for deplib in $save_deplibs; do
+ deplibs="$deplib $deplibs"
+ done
+ fi
+ if test "$pass" != dlopen; then
+ if test "$pass" != conv; then
+ # Make sure lib_search_path contains only unique directories.
+ lib_search_path=
+ for dir in $newlib_search_path; do
+ case "$lib_search_path " in
+ *" $dir "*) ;;
+ *) lib_search_path="$lib_search_path $dir" ;;
+ esac
+ done
+ newlib_search_path=
+ fi
+
+ if test "$linkmode,$pass" != "prog,link"; then
+ vars="deplibs"
+ else
+ vars="compile_deplibs finalize_deplibs"
+ fi
+ for var in $vars dependency_libs; do
+ # Add libraries to $var in reverse order
+ eval tmp_libs=\"\$$var\"
+ new_libs=
+ for deplib in $tmp_libs; do
+ # FIXME: Pedantically, this is the right thing to do, so
+ # that some nasty dependency loop isn't accidentally
+ # broken:
+ #new_libs="$deplib $new_libs"
+ # Pragmatically, this seems to cause very few problems in
+ # practice:
+ case $deplib in
+ -L*) new_libs="$deplib $new_libs" ;;
+ *)
+ # And here is the reason: when a library appears more
+ # than once as an explicit dependence of a library, or
+ # is implicitly linked in more than once by the
+ # compiler, it is considered special, and multiple
+ # occurrences thereof are not removed. Compare this
+ # with having the same library being listed as a
+ # dependency of multiple other libraries: in this case,
+ # we know (pedantically, we assume) the library does not
+ # need to be listed more than once, so we keep only the
+ # last copy. This is not always right, but it is rare
+ # enough that we require users that really mean to play
+ # such unportable linking tricks to link the library
+ # using -Wl,-lname, so that libtool does not consider it
+ # for duplicate removal.
+ case " $specialdeplibs " in
+ *" $deplib "*) new_libs="$deplib $new_libs" ;;
+ *)
+ case " $new_libs " in
+ *" $deplib "*) ;;
+ *) new_libs="$deplib $new_libs" ;;
+ esac
+ ;;
+ esac
+ ;;
+ esac
+ done
+ tmp_libs=
+ for deplib in $new_libs; do
+ case $deplib in
+ -L*)
+ case " $tmp_libs " in
+ *" $deplib "*) ;;
+ *) tmp_libs="$tmp_libs $deplib" ;;
+ esac
+ ;;
+ -R*)
+ temp_xrpath=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
+ case " $xrpath " in
+ *" $temp_xrpath "*) ;;
+ *) xrpath="$xrpath $temp_xrpath";;
+ esac;;
+ *) tmp_libs="$tmp_libs $deplib" ;;
+ esac
+ done
+ eval $var=\"$tmp_libs\"
+ done # for var
+ fi
+ done # for pass
+ if test "$linkmode" = prog; then
+ dlfiles="$newdlfiles"
+ dlprefiles="$newdlprefiles"
+ fi
+
+ case $linkmode in
+ oldlib)
+ if test -n "$deplibs"; then
+ $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
+ fi
+
+ if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
+ $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
+ fi
+
+ if test -n "$rpath"; then
+ $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
+ fi
+
+ if test -n "$xrpath"; then
+ $echo "$modename: warning: \`-R' is ignored for archives" 1>&2
+ fi
+
+ if test -n "$vinfo"; then
+ $echo "$modename: warning: \`-version-info' is ignored for archives" 1>&2
+ fi
+
+ if test -n "$release"; then
+ $echo "$modename: warning: \`-release' is ignored for archives" 1>&2
+ fi
+
+ if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
+ $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
+ fi
+
+ # Now set the variables for building old libraries.
+ build_libtool_libs=no
+ oldlibs="$output"
+ objs="$objs$old_deplibs"
+ ;;
+
+ lib)
+ # Make sure we only generate libraries of the form `libNAME.la'.
+ case $outputname in
+ lib*)
+ name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
+ eval libname=\"$libname_spec\"
+ ;;
+ *)
+ if test "$module" = no; then
+ $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+ if test "$need_lib_prefix" != no; then
+ # Add the "lib" prefix for modules if required
+ name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
+ eval libname=\"$libname_spec\"
+ else
+ libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
+ fi
+ ;;
+ esac
+
+ if test -n "$objs"; then
+ if test "$deplibs_check_method" != pass_all; then
+ $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
+ exit 1
+ else
+ echo
+ echo "*** Warning: Linking the shared library $output against the non-libtool"
+ echo "*** objects $objs is not portable!"
+ libobjs="$libobjs $objs"
+ fi
+ fi
+
+ if test "$dlself" != no; then
+ $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
+ fi
+
+ set dummy $rpath
+ if test "$#" -gt 2; then
+ $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
+ fi
+ install_libdir="$2"
+
+ oldlibs=
+ if test -z "$rpath"; then
+ if test "$build_libtool_libs" = yes; then
+ # Building a libtool convenience library.
+ # Some compilers have problems with a `.al' extension so
+ # convenience libraries should have the same extension an
+ # archive normally would.
+ oldlibs="$output_objdir/$libname.$libext $oldlibs"
+ build_libtool_libs=convenience
+ build_old_libs=yes
+ fi
+
+ if test -n "$vinfo"; then
+ $echo "$modename: warning: \`-version-info' is ignored for convenience libraries" 1>&2
+ fi
+
+ if test -n "$release"; then
+ $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2
+ fi
+ else
+
+ # Parse the version information argument.
+ save_ifs="$IFS"; IFS=':'
+ set dummy $vinfo 0 0 0
+ IFS="$save_ifs"
+
+ if test -n "$8"; then
+ $echo "$modename: too many parameters to \`-version-info'" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ current="$2"
+ revision="$3"
+ age="$4"
+
+ # Check that each of the things are valid numbers.
+ case $current in
+ 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+ *)
+ $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
+ $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+ exit 1
+ ;;
+ esac
+
+ case $revision in
+ 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+ *)
+ $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
+ $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+ exit 1
+ ;;
+ esac
+
+ case $age in
+ 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+ *)
+ $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
+ $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+ exit 1
+ ;;
+ esac
+
+ if test "$age" -gt "$current"; then
+ $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
+ $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+ exit 1
+ fi
+
+ # Calculate the version variables.
+ major=
+ versuffix=
+ verstring=
+ case $version_type in
+ none) ;;
+
+ darwin)
+ # Like Linux, but with the current version available in
+ # verstring for coding it into the library header
+ major=.`expr $current - $age`
+ versuffix="$major.$age.$revision"
+ # Darwin ld doesn't like 0 for these options...
+ minor_current=`expr $current + 1`
+ verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
+ ;;
+
+ freebsd-aout)
+ major=".$current"
+ versuffix=".$current.$revision";
+ ;;
+
+ freebsd-elf)
+ major=".$current"
+ versuffix=".$current";
+ ;;
+
+ irix | nonstopux)
+ case $version_type in
+ nonstopux) verstring_prefix=nonstopux ;;
+ *) verstring_prefix=sgi ;;
+ esac
+ verstring="$verstring_prefix$major.$revision"
+
+ major=`expr $current - $age + 1`
+
+ # Add in all the interfaces that we are compatible with.
+ loop=$revision
+ while test "$loop" -ne 0; do
+ iface=`expr $revision - $loop`
+ loop=`expr $loop - 1`
+ verstring="$verstring_prefix$major.$iface:$verstring"
+ done
+
+ # Before this point, $major must not contain `.'.
+ major=.$major
+ versuffix="$major.$revision"
+ ;;
+
+ linux)
+ major=.`expr $current - $age`
+ versuffix="$major.$age.$revision"
+ ;;
+
+ osf)
+ major=`expr $current - $age`
+ versuffix=".$current.$age.$revision"
+ verstring="$current.$age.$revision"
+
+ # Add in all the interfaces that we are compatible with.
+ loop=$age
+ while test "$loop" -ne 0; do
+ iface=`expr $current - $loop`
+ loop=`expr $loop - 1`
+ verstring="$verstring:${iface}.0"
+ done
+
+ # Make executables depend on our current version.
+ verstring="$verstring:${current}.0"
+ ;;
+
+ sunos)
+ major=".$current"
+ versuffix=".$current.$revision"
+ ;;
+
+ windows)
+ # Use '-' rather than '.', since we only want one
+ # extension on DOS 8.3 filesystems.
+ major=`expr $current - $age`
+ versuffix="-$major"
+ ;;
+
+ *)
+ $echo "$modename: unknown library version type \`$version_type'" 1>&2
+ echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
+ exit 1
+ ;;
+ esac
+
+ # Clear the version info if we defaulted, and they specified a release.
+ if test -z "$vinfo" && test -n "$release"; then
+ major=
+ case $version_type in
+ darwin)
+ # we can't check for "0.0" in archive_cmds due to quoting
+ # problems, so we reset it completely
+ verstring=
+ ;;
+ *)
+ verstring="0.0"
+ ;;
+ esac
+ if test "$need_version" = no; then
+ versuffix=
+ else
+ versuffix=".0.0"
+ fi
+ fi
+
+ # Remove version info from name if versioning should be avoided
+ if test "$avoid_version" = yes && test "$need_version" = no; then
+ major=
+ versuffix=
+ verstring=""
+ fi
+
+ # Check to see if the archive will have undefined symbols.
+ if test "$allow_undefined" = yes; then
+ if test "$allow_undefined_flag" = unsupported; then
+ $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2
+ build_libtool_libs=no
+ build_old_libs=yes
+ fi
+ else
+ # Don't allow undefined symbols.
+ allow_undefined_flag="$no_undefined_flag"
+ fi
+ fi
+
+ if test "$mode" != relink; then
+ # Remove our outputs, but don't remove object files since they
+ # may have been created when compiling PIC objects.
+ removelist=
+ tempremovelist=`echo "$output_objdir/*"`
+ for p in $tempremovelist; do
+ case $p in
+ *.$objext)
+ ;;
+ $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
+ removelist="$removelist $p"
+ ;;
+ *) ;;
+ esac
+ done
+ if test -n "$removelist"; then
+ $show "${rm}r $removelist"
+ $run ${rm}r $removelist
+ fi
+ fi
+
+ # Now set the variables for building old libraries.
+ if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
+ oldlibs="$oldlibs $output_objdir/$libname.$libext"
+
+ # Transform .lo files to .o files.
+ oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
+ fi
+
+ # Eliminate all temporary directories.
+ for path in $notinst_path; do
+ lib_search_path=`echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
+ deplibs=`echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
+ dependency_libs=`echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
+ done
+
+ if test -n "$xrpath"; then
+ # If the user specified any rpath flags, then add them.
+ temp_xrpath=
+ for libdir in $xrpath; do
+ temp_xrpath="$temp_xrpath -R$libdir"
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) finalize_rpath="$finalize_rpath $libdir" ;;
+ esac
+ done
+ if true || test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
+ dependency_libs="$temp_xrpath $dependency_libs"
+ fi
+ fi
+
+ # Make sure dlfiles contains only unique files that won't be dlpreopened
+ old_dlfiles="$dlfiles"
+ dlfiles=
+ for lib in $old_dlfiles; do
+ case " $dlprefiles $dlfiles " in
+ *" $lib "*) ;;
+ *) dlfiles="$dlfiles $lib" ;;
+ esac
+ done
+
+ # Make sure dlprefiles contains only unique files
+ old_dlprefiles="$dlprefiles"
+ dlprefiles=
+ for lib in $old_dlprefiles; do
+ case "$dlprefiles " in
+ *" $lib "*) ;;
+ *) dlprefiles="$dlprefiles $lib" ;;
+ esac
+ done
+
+ if test "$build_libtool_libs" = yes; then
+ if test -n "$rpath"; then
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
+ # these systems don't actually have a c library (as such)!
+ ;;
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # Rhapsody C library is in the System framework
+ deplibs="$deplibs -framework System"
+ ;;
+ *-*-netbsd*)
+ # Don't link with libc until the a.out ld.so is fixed.
+ ;;
+ *-*-openbsd* | *-*-freebsd*)
+ # Do not include libc due to us having libc/libc_r.
+ test "X$arg" = "X-lc" && continue
+ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test "$build_libtool_need_lc" = "yes"; then
+ deplibs="$deplibs -lc"
+ fi
+ ;;
+ esac
+ fi
+
+ # Transform deplibs into only deplibs that can be linked in shared.
+ name_save=$name
+ libname_save=$libname
+ release_save=$release
+ versuffix_save=$versuffix
+ major_save=$major
+ # I'm not sure if I'm treating the release correctly. I think
+ # release should show up in the -l (ie -lgmp5) so we don't want to
+ # add it in twice. Is that correct?
+ release=""
+ versuffix=""
+ major=""
+ newdeplibs=
+ droppeddeps=no
+ case $deplibs_check_method in
+ pass_all)
+ # Don't check for shared/static. Everything works.
+ # This might be a little naive. We might want to check
+ # whether the library exists or not. But this is on
+ # osf3 & osf4 and I'm not really sure... Just
+ # implementing what was already the behaviour.
+ newdeplibs=$deplibs
+ ;;
+ test_compile)
+ # This code stresses the "libraries are programs" paradigm to its
+ # limits. Maybe even breaks it. We compile a program, linking it
+ # against the deplibs as a proxy for the library. Then we can check
+ # whether they linked in statically or dynamically with ldd.
+ $rm conftest.c
+ cat > conftest.c <<EOF
+ int main() { return 0; }
+EOF
+ $rm conftest
+ $LTCC -o conftest conftest.c $deplibs
+ if test "$?" -eq 0 ; then
+ ldd_output=`ldd conftest`
+ for i in $deplibs; do
+ name="`expr $i : '-l\(.*\)'`"
+ # If $name is empty we are operating on a -L argument.
+ if test "$name" != "" && test "$name" -ne "0"; then
+ libname=`eval \\$echo \"$libname_spec\"`
+ deplib_matches=`eval \\$echo \"$library_names_spec\"`
+ set dummy $deplib_matches
+ deplib_match=$2
+ if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
+ newdeplibs="$newdeplibs $i"
+ else
+ droppeddeps=yes
+ echo
+ echo "*** Warning: dynamic linker does not accept needed library $i."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which I believe you do not have"
+ echo "*** because a test_compile did reveal that the linker did not use it for"
+ echo "*** its dynamic dependency list that programs get resolved with at runtime."
+ fi
+ else
+ newdeplibs="$newdeplibs $i"
+ fi
+ done
+ else
+ # Error occured in the first compile. Let's try to salvage
+ # the situation: Compile a separate program for each library.
+ for i in $deplibs; do
+ name="`expr $i : '-l\(.*\)'`"
+ # If $name is empty we are operating on a -L argument.
+ if test "$name" != "" && test "$name" != "0"; then
+ $rm conftest
+ $LTCC -o conftest conftest.c $i
+ # Did it work?
+ if test "$?" -eq 0 ; then
+ ldd_output=`ldd conftest`
+ libname=`eval \\$echo \"$libname_spec\"`
+ deplib_matches=`eval \\$echo \"$library_names_spec\"`
+ set dummy $deplib_matches
+ deplib_match=$2
+ if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
+ newdeplibs="$newdeplibs $i"
+ else
+ droppeddeps=yes
+ echo
+ echo "*** Warning: dynamic linker does not accept needed library $i."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because a test_compile did reveal that the linker did not use this one"
+ echo "*** as a dynamic dependency that programs can get resolved with at runtime."
+ fi
+ else
+ droppeddeps=yes
+ echo
+ echo "*** Warning! Library $i is needed by this library but I was not able to"
+ echo "*** make it link in! You will probably need to install it or some"
+ echo "*** library that it depends on before this library will be fully"
+ echo "*** functional. Installing it before continuing would be even better."
+ fi
+ else
+ newdeplibs="$newdeplibs $i"
+ fi
+ done
+ fi
+ ;;
+ file_magic*)
+ set dummy $deplibs_check_method
+ file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
+ for a_deplib in $deplibs; do
+ name="`expr $a_deplib : '-l\(.*\)'`"
+ # If $name is empty we are operating on a -L argument.
+ if test "$name" != "" && test "$name" != "0"; then
+ libname=`eval \\$echo \"$libname_spec\"`
+ for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+ for potent_lib in $potential_libs; do
+ # Follow soft links.
+ if ls -lLd "$potent_lib" 2>/dev/null \
+ | grep " -> " >/dev/null; then
+ continue
+ fi
+ # The statement above tries to avoid entering an
+ # endless loop below, in case of cyclic links.
+ # We might still enter an endless loop, since a link
+ # loop can be closed while we follow links,
+ # but so what?
+ potlib="$potent_lib"
+ while test -h "$potlib" 2>/dev/null; do
+ potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
+ case $potliblink in
+ [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
+ *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
+ esac
+ done
+ if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
+ | ${SED} 10q \
+ | egrep "$file_magic_regex" > /dev/null; then
+ newdeplibs="$newdeplibs $a_deplib"
+ a_deplib=""
+ break 2
+ fi
+ done
+ done
+ if test -n "$a_deplib" ; then
+ droppeddeps=yes
+ echo
+ echo "*** Warning: linker path does not have real file for library $a_deplib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because I did check the linker path looking for a file starting"
+ if test -z "$potlib" ; then
+ echo "*** with $libname but no candidates were found. (...for file magic test)"
+ else
+ echo "*** with $libname and none of the candidates passed a file format test"
+ echo "*** using a file magic. Last file checked: $potlib"
+ fi
+ fi
+ else
+ # Add a -L argument.
+ newdeplibs="$newdeplibs $a_deplib"
+ fi
+ done # Gone through all deplibs.
+ ;;
+ match_pattern*)
+ set dummy $deplibs_check_method
+ match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
+ for a_deplib in $deplibs; do
+ name="`expr $a_deplib : '-l\(.*\)'`"
+ # If $name is empty we are operating on a -L argument.
+ if test -n "$name" && test "$name" != "0"; then
+ libname=`eval \\$echo \"$libname_spec\"`
+ for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+ for potent_lib in $potential_libs; do
+ potlib="$potent_lib" # see symlink-check above in file_magic test
+ if eval echo \"$potent_lib\" 2>/dev/null \
+ | ${SED} 10q \
+ | egrep "$match_pattern_regex" > /dev/null; then
+ newdeplibs="$newdeplibs $a_deplib"
+ a_deplib=""
+ break 2
+ fi
+ done
+ done
+ if test -n "$a_deplib" ; then
+ droppeddeps=yes
+ echo
+ echo "*** Warning: linker path does not have real file for library $a_deplib."
+ echo "*** I have the capability to make that library automatically link in when"
+ echo "*** you link to this library. But I can only do this if you have a"
+ echo "*** shared version of the library, which you do not appear to have"
+ echo "*** because I did check the linker path looking for a file starting"
+ if test -z "$potlib" ; then
+ echo "*** with $libname but no candidates were found. (...for regex pattern test)"
+ else
+ echo "*** with $libname and none of the candidates passed a file format test"
+ echo "*** using a regex pattern. Last file checked: $potlib"
+ fi
+ fi
+ else
+ # Add a -L argument.
+ newdeplibs="$newdeplibs $a_deplib"
+ fi
+ done # Gone through all deplibs.
+ ;;
+ none | unknown | *)
+ newdeplibs=""
+ if $echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
+ -e 's/ -[LR][^ ]*//g' -e 's/[ ]//g' |
+ grep . >/dev/null; then
+ echo
+ if test "X$deplibs_check_method" = "Xnone"; then
+ echo "*** Warning: inter-library dependencies are not supported in this platform."
+ else
+ echo "*** Warning: inter-library dependencies are not known to be supported."
+ fi
+ echo "*** All declared inter-library dependencies are being dropped."
+ droppeddeps=yes
+ fi
+ ;;
+ esac
+ versuffix=$versuffix_save
+ major=$major_save
+ release=$release_save
+ libname=$libname_save
+ name=$name_save
+
+ case $host in
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # On Rhapsody replace the C library is the System framework
+ newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'`
+ ;;
+ esac
+
+ if test "$droppeddeps" = yes; then
+ if test "$module" = yes; then
+ echo
+ echo "*** Warning: libtool could not satisfy all declared inter-library"
+ echo "*** dependencies of module $libname. Therefore, libtool will create"
+ echo "*** a static module, that should work as long as the dlopening"
+ echo "*** application is linked with the -dlopen flag."
+ if test -z "$global_symbol_pipe"; then
+ echo
+ echo "*** However, this would only work if libtool was able to extract symbol"
+ echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
+ echo "*** not find such a program. So, this module is probably useless."
+ echo "*** \`nm' from GNU binutils and a full rebuild may help."
+ fi
+ if test "$build_old_libs" = no; then
+ oldlibs="$output_objdir/$libname.$libext"
+ build_libtool_libs=module
+ build_old_libs=yes
+ else
+ build_libtool_libs=no
+ fi
+ else
+ echo "*** The inter-library dependencies that have been dropped here will be"
+ echo "*** automatically added whenever a program is linked with this library"
+ echo "*** or is declared to -dlopen it."
+
+ if test "$allow_undefined" = no; then
+ echo
+ echo "*** Since this library must not contain undefined symbols,"
+ echo "*** because either the platform does not support them or"
+ echo "*** it was explicitly requested with -no-undefined,"
+ echo "*** libtool will only create a static version of it."
+ if test "$build_old_libs" = no; then
+ oldlibs="$output_objdir/$libname.$libext"
+ build_libtool_libs=module
+ build_old_libs=yes
+ else
+ build_libtool_libs=no
+ fi
+ fi
+ fi
+ fi
+ # Done checking deplibs!
+ deplibs=$newdeplibs
+ fi
+
+ # All the library-specific variables (install_libdir is set above).
+ library_names=
+ old_library=
+ dlname=
+
+ # Test again, we may have decided not to build it any more
+ if test "$build_libtool_libs" = yes; then
+ if test "$hardcode_into_libs" = yes; then
+ # Hardcode the library paths
+ hardcode_libdirs=
+ dep_rpath=
+ rpath="$finalize_rpath"
+ test "$mode" != relink && test "$fast_install" = no && rpath="$compile_rpath$rpath"
+ for libdir in $rpath; do
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ if test -z "$hardcode_libdirs"; then
+ hardcode_libdirs="$libdir"
+ else
+ # Just accumulate the unique libdirs.
+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ ;;
+ *)
+ hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
+ ;;
+ esac
+ fi
+ else
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ dep_rpath="$dep_rpath $flag"
+ fi
+ elif test -n "$runpath_var"; then
+ case "$perm_rpath " in
+ *" $libdir "*) ;;
+ *) perm_rpath="$perm_rpath $libdir" ;;
+ esac
+ fi
+ done
+ # Substitute the hardcoded libdirs into the rpath.
+ if test -n "$hardcode_libdir_separator" &&
+ test -n "$hardcode_libdirs"; then
+ libdir="$hardcode_libdirs"
+ eval dep_rpath=\"$hardcode_libdir_flag_spec\"
+ fi
+ if test -n "$runpath_var" && test -n "$perm_rpath"; then
+ # We should set the runpath_var.
+ rpath=
+ for dir in $perm_rpath; do
+ rpath="$rpath$dir:"
+ done
+ eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
+ fi
+ test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
+ fi
+
+ shlibpath="$finalize_shlibpath"
+ test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
+ if test -n "$shlibpath"; then
+ eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
+ fi
+
+ # Get the real and link names of the library.
+ eval library_names=\"$library_names_spec\"
+ set dummy $library_names
+ realname="$2"
+ shift; shift
+
+ if test -n "$soname_spec"; then
+ eval soname=\"$soname_spec\"
+ else
+ soname="$realname"
+ fi
+ if test -z "$dlname"; then
+ dlname=$soname
+ fi
+
+ lib="$output_objdir/$realname"
+ for link
+ do
+ linknames="$linknames $link"
+ done
+
+ # Use standard objects if they are pic
+ test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+
+ # Prepare the list of exported symbols
+ if test -z "$export_symbols"; then
+ if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
+ $show "generating symbol list for \`$libname.la'"
+ export_symbols="$output_objdir/$libname.exp"
+ $run $rm $export_symbols
+ eval cmds=\"$export_symbols_cmds\"
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+ if test -n "$export_symbols_regex"; then
+ $show "egrep -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
+ $run eval 'egrep -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
+ $show "$mv \"${export_symbols}T\" \"$export_symbols\""
+ $run eval '$mv "${export_symbols}T" "$export_symbols"'
+ fi
+ fi
+ fi
+
+ if test -n "$export_symbols" && test -n "$include_expsyms"; then
+ $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
+ fi
+
+ if test -n "$convenience"; then
+ if test -n "$whole_archive_flag_spec"; then
+ save_libobjs=$libobjs
+ eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
+ else
+ gentop="$output_objdir/${outputname}x"
+ $show "${rm}r $gentop"
+ $run ${rm}r "$gentop"
+ $show "$mkdir $gentop"
+ $run $mkdir "$gentop"
+ status=$?
+ if test "$status" -ne 0 && test ! -d "$gentop"; then
+ exit $status
+ fi
+ generated="$generated $gentop"
+
+ for xlib in $convenience; do
+ # Extract the objects.
+ case $xlib in
+ [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
+ *) xabs=`pwd`"/$xlib" ;;
+ esac
+ xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
+ xdir="$gentop/$xlib"
+
+ $show "${rm}r $xdir"
+ $run ${rm}r "$xdir"
+ $show "$mkdir $xdir"
+ $run $mkdir "$xdir"
+ status=$?
+ if test "$status" -ne 0 && test ! -d "$xdir"; then
+ exit $status
+ fi
+ $show "(cd $xdir && $AR x $xabs)"
+ $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
+
+ libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
+ done
+ fi
+ fi
+
+ if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
+ eval flag=\"$thread_safe_flag_spec\"
+ linker_flags="$linker_flags $flag"
+ fi
+
+ # Make a backup of the uninstalled library when relinking
+ if test "$mode" = relink; then
+ $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
+ fi
+
+ # Add all flags from the command line. We here create a library,
+ # but those flags were only added to compile_command and
+ # finalize_command, which are only used when creating executables.
+ # So do it by hand here.
+ compiler_flags="$compiler_flags $add_flags"
+ # Only add it to commands which use CC, instead of LD, i.e.
+ # only to $compiler_flags
+ #linker_flags="$linker_flags $add_flags"
+
+ # Do each of the archive commands.
+ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
+ eval cmds=\"$archive_expsym_cmds\"
+ else
+ eval cmds=\"$archive_cmds\"
+ fi
+
+ if len=`expr "X$cmds" : ".*"` &&
+ test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
+ :
+ else
+ # The command line is too long to link in one step, link piecewise.
+ $echo "creating reloadable object files..."
+
+ # Save the value of $output and $libobjs because we want to
+ # use them later. If we have whole_archive_flag_spec, we
+ # want to use save_libobjs as it was before
+ # whole_archive_flag_spec was expanded, because we can't
+ # assume the linker understands whole_archive_flag_spec.
+ # This may have to be revisited, in case too many
+ # convenience libraries get linked in and end up exceeding
+ # the spec.
+ if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
+ save_libobjs=$libobjs
+ fi
+ save_output=$output
+
+ # Clear the reloadable object creation command queue and
+ # initialize k to one.
+ test_cmds=
+ concat_cmds=
+ objlist=
+ delfiles=
+ last_robj=
+ k=1
+ output=$output_objdir/$save_output-${k}.$objext
+ # Loop over the list of objects to be linked.
+ for obj in $save_libobjs
+ do
+ eval test_cmds=\"$reload_cmds $objlist $last_robj\"
+ if test "X$objlist" = X ||
+ { len=`expr "X$test_cmds" : ".*"` &&
+ test "$len" -le "$max_cmd_len"; }; then
+ objlist="$objlist $obj"
+ else
+ # The command $test_cmds is almost too long, add a
+ # command to the queue.
+ if test "$k" -eq 1 ; then
+ # The first file doesn't have a previous command to add.
+ eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
+ else
+ # All subsequent reloadable object files will link in
+ # the last one created.
+ eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
+ fi
+ last_robj=$output_objdir/$save_output-${k}.$objext
+ k=`expr $k + 1`
+ output=$output_objdir/$save_output-${k}.$objext
+ objlist=$obj
+ len=1
+ fi
+ done
+ # Handle the remaining objects by creating one last
+ # reloadable object file. All subsequent reloadable object
+ # files will link in the last one created.
+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~
+ eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
+
+ # Set up a command to remove the reloadale object files
+ # after they are used.
+ i=0
+ while test "$i" -lt "$k"
+ do
+ i=`expr $i + 1`
+ delfiles="$delfiles $output_objdir/$save_output-${i}.$objext"
+ done
+
+ $echo "creating a temporary reloadable object file: $output"
+
+ # Loop through the commands generated above and execute them.
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $concat_cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+
+ libobjs=$output
+ # Restore the value of output.
+ output=$save_output
+
+ if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
+ eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
+ fi
+ # Expand the library linking commands again to reset the
+ # value of $libobjs for piecewise linking.
+
+ # Do each of the archive commands.
+ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
+ eval cmds=\"$archive_expsym_cmds\"
+ else
+ eval cmds=\"$archive_cmds\"
+ fi
+
+ # Append the command to remove the reloadable object files
+ # to the just-reset $cmds.
+ eval cmds=\"\$cmds~$rm $delfiles\"
+ fi
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+
+ # Restore the uninstalled library and exit
+ if test "$mode" = relink; then
+ $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
+ exit 0
+ fi
+
+ # Create links to the real library.
+ for linkname in $linknames; do
+ if test "$realname" != "$linkname"; then
+ $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)"
+ $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
+ fi
+ done
+
+ # If -module or -export-dynamic was specified, set the dlname.
+ if test "$module" = yes || test "$export_dynamic" = yes; then
+ # On all known operating systems, these are identical.
+ dlname="$soname"
+ fi
+ fi
+ ;;
+
+ obj)
+ if test -n "$deplibs"; then
+ $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
+ fi
+
+ if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
+ $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
+ fi
+
+ if test -n "$rpath"; then
+ $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
+ fi
+
+ if test -n "$xrpath"; then
+ $echo "$modename: warning: \`-R' is ignored for objects" 1>&2
+ fi
+
+ if test -n "$vinfo"; then
+ $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
+ fi
+
+ if test -n "$release"; then
+ $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
+ fi
+
+ case $output in
+ *.lo)
+ if test -n "$objs$old_deplibs"; then
+ $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
+ exit 1
+ fi
+ libobj="$output"
+ obj=`$echo "X$output" | $Xsed -e "$lo2o"`
+ ;;
+ *)
+ libobj=
+ obj="$output"
+ ;;
+ esac
+
+ # Delete the old objects.
+ $run $rm $obj $libobj
+
+ # Objects from convenience libraries. This assumes
+ # single-version convenience libraries. Whenever we create
+ # different ones for PIC/non-PIC, this we'll have to duplicate
+ # the extraction.
+ reload_conv_objs=
+ gentop=
+ # reload_cmds runs $LD directly, so let us get rid of
+ # -Wl from whole_archive_flag_spec
+ wl=
+
+ if test -n "$convenience"; then
+ if test -n "$whole_archive_flag_spec"; then
+ eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
+ else
+ gentop="$output_objdir/${obj}x"
+ $show "${rm}r $gentop"
+ $run ${rm}r "$gentop"
+ $show "$mkdir $gentop"
+ $run $mkdir "$gentop"
+ status=$?
+ if test "$status" -ne 0 && test ! -d "$gentop"; then
+ exit $status
+ fi
+ generated="$generated $gentop"
+
+ for xlib in $convenience; do
+ # Extract the objects.
+ case $xlib in
+ [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
+ *) xabs=`pwd`"/$xlib" ;;
+ esac
+ xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
+ xdir="$gentop/$xlib"
+
+ $show "${rm}r $xdir"
+ $run ${rm}r "$xdir"
+ $show "$mkdir $xdir"
+ $run $mkdir "$xdir"
+ status=$?
+ if test "$status" -ne 0 && test ! -d "$xdir"; then
+ exit $status
+ fi
+ $show "(cd $xdir && $AR x $xabs)"
+ $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
+
+ reload_conv_objs="$reload_objs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
+ done
+ fi
+ fi
+
+ # Create the old-style object.
+ reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
+
+ output="$obj"
+ eval cmds=\"$reload_cmds\"
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+
+ # Exit if we aren't doing a library object file.
+ if test -z "$libobj"; then
+ if test -n "$gentop"; then
+ $show "${rm}r $gentop"
+ $run ${rm}r $gentop
+ fi
+
+ exit 0
+ fi
+
+ if test "$build_libtool_libs" != yes; then
+ if test -n "$gentop"; then
+ $show "${rm}r $gentop"
+ $run ${rm}r $gentop
+ fi
+
+ # Create an invalid libtool object if no PIC, so that we don't
+ # accidentally link it into a program.
+ # $show "echo timestamp > $libobj"
+ # $run eval "echo timestamp > $libobj" || exit $?
+ exit 0
+ fi
+
+ if test -n "$pic_flag" || test "$pic_mode" != default; then
+ # Only do commands if we really have different PIC objects.
+ reload_objs="$libobjs $reload_conv_objs"
+ output="$libobj"
+ eval cmds=\"$reload_cmds\"
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+ fi
+
+ if test -n "$gentop"; then
+ $show "${rm}r $gentop"
+ $run ${rm}r $gentop
+ fi
+
+ exit 0
+ ;;
+
+ prog)
+ case $host in
+ *cygwin*) output=`echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
+ esac
+ if test -n "$vinfo"; then
+ $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
+ fi
+
+ if test -n "$release"; then
+ $echo "$modename: warning: \`-release' is ignored for programs" 1>&2
+ fi
+
+ if test "$preload" = yes; then
+ if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
+ test "$dlopen_self_static" = unknown; then
+ $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
+ fi
+ fi
+
+ case $host in
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # On Rhapsody replace the C library is the System framework
+ compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
+ finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'`
+ ;;
+ esac
+
+ compile_command="$compile_command $compile_deplibs"
+ finalize_command="$finalize_command $finalize_deplibs"
+
+ if test -n "$rpath$xrpath"; then
+ # If the user specified any rpath flags, then add them.
+ for libdir in $rpath $xrpath; do
+ # This is the magic to use -rpath.
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) finalize_rpath="$finalize_rpath $libdir" ;;
+ esac
+ done
+ fi
+
+ # Now hardcode the library paths
+ rpath=
+ hardcode_libdirs=
+ for libdir in $compile_rpath $finalize_rpath; do
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ if test -z "$hardcode_libdirs"; then
+ hardcode_libdirs="$libdir"
+ else
+ # Just accumulate the unique libdirs.
+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ ;;
+ *)
+ hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
+ ;;
+ esac
+ fi
+ else
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ rpath="$rpath $flag"
+ fi
+ elif test -n "$runpath_var"; then
+ case "$perm_rpath " in
+ *" $libdir "*) ;;
+ *) perm_rpath="$perm_rpath $libdir" ;;
+ esac
+ fi
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+ case :$dllsearchpath: in
+ *":$libdir:"*) ;;
+ *) dllsearchpath="$dllsearchpath:$libdir";;
+ esac
+ ;;
+ esac
+ done
+ # Substitute the hardcoded libdirs into the rpath.
+ if test -n "$hardcode_libdir_separator" &&
+ test -n "$hardcode_libdirs"; then
+ libdir="$hardcode_libdirs"
+ eval rpath=\" $hardcode_libdir_flag_spec\"
+ fi
+ compile_rpath="$rpath"
+
+ rpath=
+ hardcode_libdirs=
+ for libdir in $finalize_rpath; do
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ if test -z "$hardcode_libdirs"; then
+ hardcode_libdirs="$libdir"
+ else
+ # Just accumulate the unique libdirs.
+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ ;;
+ *)
+ hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
+ ;;
+ esac
+ fi
+ else
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ rpath="$rpath $flag"
+ fi
+ elif test -n "$runpath_var"; then
+ case "$finalize_perm_rpath " in
+ *" $libdir "*) ;;
+ *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
+ esac
+ fi
+ done
+ # Substitute the hardcoded libdirs into the rpath.
+ if test -n "$hardcode_libdir_separator" &&
+ test -n "$hardcode_libdirs"; then
+ libdir="$hardcode_libdirs"
+ eval rpath=\" $hardcode_libdir_flag_spec\"
+ fi
+ finalize_rpath="$rpath"
+
+ if test -n "$libobjs" && test "$build_old_libs" = yes; then
+ # Transform all the library objects into standard objects.
+ compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+ finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+ fi
+
+ dlsyms=
+ if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
+ if test -n "$NM" && test -n "$global_symbol_pipe"; then
+ dlsyms="${outputname}S.c"
+ else
+ $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
+ fi
+ fi
+
+ if test -n "$dlsyms"; then
+ case $dlsyms in
+ "") ;;
+ *.c)
+ # Discover the nlist of each of the dlfiles.
+ nlist="$output_objdir/${outputname}.nm"
+
+ $show "$rm $nlist ${nlist}S ${nlist}T"
+ $run $rm "$nlist" "${nlist}S" "${nlist}T"
+
+ # Parse the name list into a source file.
+ $show "creating $output_objdir/$dlsyms"
+
+ test -z "$run" && $echo > "$output_objdir/$dlsyms" "\
+/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */
+/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
+
+#ifdef __cplusplus
+extern \"C\" {
+#endif
+
+/* Prevent the only kind of declaration conflicts we can make. */
+#define lt_preloaded_symbols some_other_symbol
+
+/* External symbol declarations for the compiler. */\
+"
+
+ if test "$dlself" = yes; then
+ $show "generating symbol list for \`$output'"
+
+ test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
+
+ # Add our own program objects to the symbol list.
+ progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+ for arg in $progfiles; do
+ $show "extracting global C symbols from \`$arg'"
+ $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
+ done
+
+ if test -n "$exclude_expsyms"; then
+ $run eval 'egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
+ $run eval '$mv "$nlist"T "$nlist"'
+ fi
+
+ if test -n "$export_symbols_regex"; then
+ $run eval 'egrep -e "$export_symbols_regex" "$nlist" > "$nlist"T'
+ $run eval '$mv "$nlist"T "$nlist"'
+ fi
+
+ # Prepare the list of exported symbols
+ if test -z "$export_symbols"; then
+ export_symbols="$output_objdir/$output.exp"
+ $run $rm $export_symbols
+ $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
+ else
+ $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
+ $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
+ $run eval 'mv "$nlist"T "$nlist"'
+ fi
+ fi
+
+ for arg in $dlprefiles; do
+ $show "extracting global C symbols from \`$arg'"
+ name=`echo "$arg" | ${SED} -e 's%^.*/%%'`
+ $run eval 'echo ": $name " >> "$nlist"'
+ $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
+ done
+
+ if test -z "$run"; then
+ # Make sure we have at least an empty file.
+ test -f "$nlist" || : > "$nlist"
+
+ if test -n "$exclude_expsyms"; then
+ egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
+ $mv "$nlist"T "$nlist"
+ fi
+
+ # Try sorting and uniquifying the output.
+ if grep -v "^: " < "$nlist" | sort +2 | uniq > "$nlist"S; then
+ :
+ else
+ grep -v "^: " < "$nlist" > "$nlist"S
+ fi
+
+ if test -f "$nlist"S; then
+ eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
+ else
+ echo '/* NONE */' >> "$output_objdir/$dlsyms"
+ fi
+
+ $echo >> "$output_objdir/$dlsyms" "\
+
+#undef lt_preloaded_symbols
+
+#if defined (__STDC__) && __STDC__
+# define lt_ptr void *
+#else
+# define lt_ptr char *
+# define const
+#endif
+
+/* The mapping between symbol names and symbols. */
+const struct {
+ const char *name;
+ lt_ptr address;
+}
+lt_preloaded_symbols[] =
+{\
+"
+
+ eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
+
+ $echo >> "$output_objdir/$dlsyms" "\
+ {0, (lt_ptr) 0}
+};
+
+/* This works around a problem in FreeBSD linker */
+#ifdef FREEBSD_WORKAROUND
+static const void *lt_preloaded_setup() {
+ return lt_preloaded_symbols;
+}
+#endif
+
+#ifdef __cplusplus
+}
+#endif\
+"
+ fi
+
+ pic_flag_for_symtable=
+ case $host in
+ # compiling the symbol table file with pic_flag works around
+ # a FreeBSD bug that causes programs to crash when -lm is
+ # linked before any other PIC object. But we must not use
+ # pic_flag when linking with -static. The problem exists in
+ # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
+ *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
+ case "$compile_command " in
+ *" -static "*) ;;
+ *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
+ esac;;
+ *-*-hpux*)
+ case "$compile_command " in
+ *" -static "*) ;;
+ *) pic_flag_for_symtable=" $pic_flag";;
+ esac
+ esac
+
+ # Now compile the dynamic symbol file.
+ $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
+ $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
+
+ # Clean up the generated files.
+ $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
+ $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
+
+ # Transform the symbol file into the correct name.
+ compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
+ finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
+ ;;
+ *)
+ $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
+ exit 1
+ ;;
+ esac
+ else
+ # We keep going just in case the user didn't refer to
+ # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
+ # really was required.
+
+ # Nullify the symbol file.
+ compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
+ finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
+ fi
+
+ # AIX runtime linking requires linking programs with -Wl,-brtl and libs with -Wl,-G
+ # Also add -bnolibpath to the beginning of the link line, to clear the hardcoded runpath.
+ # Otherwise, things like the -L path to libgcc.a are accidentally hardcoded by ld.
+ # This does not apply on AIX for ia64, which uses a SysV linker.
+ case "$host" in
+ ia64-*-aix5*) ;;
+ *-*-aix4* | *-*-aix5*)
+ compile_command=`$echo "X$compile_command $wl-brtl" | $Xsed -e "s/\$CC/\$CC $wl-bnolibpath/1"`
+ finalize_command=`$echo "X$finalize_command $wl-brtl" | $Xsed -e "s/\$CC/\$CC $wl-bnolibpath/1"` ;;
+ esac
+
+ if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
+ # Replace the output file specification.
+ compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
+ link_command="$compile_command$compile_rpath"
+
+ # We have no uninstalled library dependencies, so finalize right now.
+ $show "$link_command"
+ $run eval "$link_command"
+ status=$?
+
+ # Delete the generated files.
+ if test -n "$dlsyms"; then
+ $show "$rm $output_objdir/${outputname}S.${objext}"
+ $run $rm "$output_objdir/${outputname}S.${objext}"
+ fi
+
+ exit $status
+ fi
+
+ if test -n "$shlibpath_var"; then
+ # We should set the shlibpath_var
+ rpath=
+ for dir in $temp_rpath; do
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*)
+ # Absolute path.
+ rpath="$rpath$dir:"
+ ;;
+ *)
+ # Relative path: add a thisdir entry.
+ rpath="$rpath\$thisdir/$dir:"
+ ;;
+ esac
+ done
+ temp_rpath="$rpath"
+ fi
+
+ if test -n "$compile_shlibpath$finalize_shlibpath"; then
+ compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
+ fi
+ if test -n "$finalize_shlibpath"; then
+ finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
+ fi
+
+ compile_var=
+ finalize_var=
+ if test -n "$runpath_var"; then
+ if test -n "$perm_rpath"; then
+ # We should set the runpath_var.
+ rpath=
+ for dir in $perm_rpath; do
+ rpath="$rpath$dir:"
+ done
+ compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
+ fi
+ if test -n "$finalize_perm_rpath"; then
+ # We should set the runpath_var.
+ rpath=
+ for dir in $finalize_perm_rpath; do
+ rpath="$rpath$dir:"
+ done
+ finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
+ fi
+ fi
+
+ if test "$no_install" = yes; then
+ # We don't need to create a wrapper script.
+ link_command="$compile_var$compile_command$compile_rpath"
+ # Replace the output file specification.
+ link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
+ # Delete the old output file.
+ $run $rm $output
+ # Link the executable and exit
+ $show "$link_command"
+ $run eval "$link_command" || exit $?
+ exit 0
+ fi
+
+ if test "$hardcode_action" = relink; then
+ # Fast installation is not supported
+ link_command="$compile_var$compile_command$compile_rpath"
+ relink_command="$finalize_var$finalize_command$finalize_rpath"
+
+ $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
+ $echo "$modename: \`$output' will be relinked during installation" 1>&2
+ else
+ if test "$fast_install" != no; then
+ link_command="$finalize_var$compile_command$finalize_rpath"
+ if test "$fast_install" = yes; then
+ relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
+ else
+ # fast_install is set to needless
+ relink_command=
+ fi
+ else
+ link_command="$compile_var$compile_command$compile_rpath"
+ relink_command="$finalize_var$finalize_command$finalize_rpath"
+ fi
+ fi
+
+ # Replace the output file specification.
+ link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
+
+ # Delete the old output files.
+ $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
+
+ $show "$link_command"
+ $run eval "$link_command" || exit $?
+
+ # Now create the wrapper script.
+ $show "creating $output"
+
+ # Quote the relink command for shipping.
+ if test -n "$relink_command"; then
+ # Preserve any variables that may affect compiler behavior
+ for var in $variables_saved_for_relink; do
+ if eval test -z \"\${$var+set}\"; then
+ relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
+ elif eval var_value=\$$var; test -z "$var_value"; then
+ relink_command="$var=; export $var; $relink_command"
+ else
+ var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
+ relink_command="$var=\"$var_value\"; export $var; $relink_command"
+ fi
+ done
+ relink_command="(cd `pwd`; $relink_command)"
+ relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
+ fi
+
+ # Quote $echo for shipping.
+ if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
+ case $0 in
+ [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
+ *) qecho="$SHELL `pwd`/$0 --fallback-echo";;
+ esac
+ qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
+ else
+ qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
+ fi
+
+ # Only actually do things if our run command is non-null.
+ if test -z "$run"; then
+ # win32 will think the script is a binary if it has
+ # a .exe suffix, so we strip it off here.
+ case $output in
+ *.exe) output=`echo $output|${SED} 's,.exe$,,'` ;;
+ esac
+ # test for cygwin because mv fails w/o .exe extensions
+ case $host in
+ *cygwin*) exeext=.exe ;;
+ *) exeext= ;;
+ esac
+ $rm $output
+ trap "$rm $output; exit 1" 1 2 15
+
+ $echo > $output "\
+#! $SHELL
+
+# $output - temporary wrapper script for $objdir/$outputname
+# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
+#
+# The $output program cannot be directly executed until all the libtool
+# libraries that it depends on are installed.
+#
+# This wrapper script should never be moved out of the build directory.
+# If it is, it will not operate correctly.
+
+# Sed substitution that helps us do robust quoting. It backslashifies
+# metacharacters that are still active within double-quoted strings.
+Xsed='${SED} -e 1s/^X//'
+sed_quote_subst='$sed_quote_subst'
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi
+
+relink_command=\"$relink_command\"
+
+# This environment variable determines our operation mode.
+if test \"\$libtool_install_magic\" = \"$magic\"; then
+ # install mode needs the following variable:
+ notinst_deplibs='$notinst_deplibs'
+else
+ # When we are sourced in execute mode, \$file and \$echo are already set.
+ if test \"\$libtool_execute_magic\" != \"$magic\"; then
+ echo=\"$qecho\"
+ file=\"\$0\"
+ # Make sure echo works.
+ if test \"X\$1\" = X--no-reexec; then
+ # Discard the --no-reexec flag, and continue.
+ shift
+ elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then
+ # Yippee, \$echo works!
+ :
+ else
+ # Restart under the correct shell, and then maybe \$echo will work.
+ exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
+ fi
+ fi\
+"
+ $echo >> $output "\
+
+ # Find the directory that this script lives in.
+ thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
+ test \"x\$thisdir\" = \"x\$file\" && thisdir=.
+
+ # Follow symbolic links until we get to the real thisdir.
+ file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
+ while test -n \"\$file\"; do
+ destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
+
+ # If there was a directory component, then change thisdir.
+ if test \"x\$destdir\" != \"x\$file\"; then
+ case \"\$destdir\" in
+ [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
+ *) thisdir=\"\$thisdir/\$destdir\" ;;
+ esac
+ fi
+
+ file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
+ file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
+ done
+
+ # Try to get the absolute directory name.
+ absdir=\`cd \"\$thisdir\" && pwd\`
+ test -n \"\$absdir\" && thisdir=\"\$absdir\"
+"
+
+ if test "$fast_install" = yes; then
+ echo >> $output "\
+ program=lt-'$outputname'$exeext
+ progdir=\"\$thisdir/$objdir\"
+
+ if test ! -f \"\$progdir/\$program\" || \\
+ { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
+ test \"X\$file\" != \"X\$progdir/\$program\"; }; then
+
+ file=\"\$\$-\$program\"
+
+ if test ! -d \"\$progdir\"; then
+ $mkdir \"\$progdir\"
+ else
+ $rm \"\$progdir/\$file\"
+ fi"
+
+ echo >> $output "\
+
+ # relink executable if necessary
+ if test -n \"\$relink_command\"; then
+ if relink_command_output=\`eval \$relink_command 2>&1\`; then :
+ else
+ $echo \"\$relink_command_output\" >&2
+ $rm \"\$progdir/\$file\"
+ exit 1
+ fi
+ fi
+
+ $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
+ { $rm \"\$progdir/\$program\";
+ $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; }
+ $rm \"\$progdir/\$file\"
+ fi"
+ else
+ echo >> $output "\
+ program='$outputname'
+ progdir=\"\$thisdir/$objdir\"
+"
+ fi
+
+ echo >> $output "\
+
+ if test -f \"\$progdir/\$program\"; then"
+
+ # Export our shlibpath_var if we have one.
+ if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
+ $echo >> $output "\
+ # Add our own library path to $shlibpath_var
+ $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
+
+ # Some systems cannot cope with colon-terminated $shlibpath_var
+ # The second colon is a workaround for a bug in BeOS R4 sed
+ $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
+
+ export $shlibpath_var
+"
+ fi
+
+ # fixup the dll searchpath if we need to.
+ if test -n "$dllsearchpath"; then
+ $echo >> $output "\
+ # Add the dll search path components to the executable PATH
+ PATH=$dllsearchpath:\$PATH
+"
+ fi
+
+ $echo >> $output "\
+ if test \"\$libtool_execute_magic\" != \"$magic\"; then
+ # Run the actual program with our arguments.
+"
+ case $host in
+ # win32 systems need to use the prog path for dll
+ # lookup to work
+ *-*-cygwin* | *-*-pw32*)
+ $echo >> $output "\
+ exec \$progdir/\$program \${1+\"\$@\"}
+"
+ ;;
+
+ # Backslashes separate directories on plain windows
+ *-*-mingw | *-*-os2*)
+ $echo >> $output "\
+ exec \$progdir\\\\\$program \${1+\"\$@\"}
+"
+ ;;
+
+ *)
+ $echo >> $output "\
+ # Export the path to the program.
+ PATH=\"\$progdir:\$PATH\"
+ export PATH
+
+ exec \$program \${1+\"\$@\"}
+"
+ ;;
+ esac
+ $echo >> $output "\
+ \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
+ exit 1
+ fi
+ else
+ # The program doesn't exist.
+ \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
+ \$echo \"This script is just a wrapper for \$program.\" 1>&2
+ echo \"See the $PACKAGE documentation for more information.\" 1>&2
+ exit 1
+ fi
+fi\
+"
+ chmod +x $output
+ fi
+ exit 0
+ ;;
+ esac
+
+ # See if we need to build an old-fashioned archive.
+ for oldlib in $oldlibs; do
+
+ if test "$build_libtool_libs" = convenience; then
+ oldobjs="$libobjs_save"
+ addlibs="$convenience"
+ build_libtool_libs=no
+ else
+ if test "$build_libtool_libs" = module; then
+ oldobjs="$libobjs_save"
+ build_libtool_libs=no
+ else
+ #oldobjs="$oldobjs$old_deplibs $non_pic_objects"
+ oldobjs="$old_deplibs $non_pic_objects"
+ fi
+ addlibs="$old_convenience"
+ fi
+
+ if test -n "$addlibs"; then
+ gentop="$output_objdir/${outputname}x"
+ $show "${rm}r $gentop"
+ $run ${rm}r "$gentop"
+ $show "$mkdir $gentop"
+ $run $mkdir "$gentop"
+ status=$?
+ if test "$status" -ne 0 && test ! -d "$gentop"; then
+ exit $status
+ fi
+ generated="$generated $gentop"
+
+ # Add in members from convenience archives.
+ for xlib in $addlibs; do
+ # Extract the objects.
+ case $xlib in
+ [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
+ *) xabs=`pwd`"/$xlib" ;;
+ esac
+ xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
+ xdir="$gentop/$xlib"
+
+ $show "${rm}r $xdir"
+ $run ${rm}r "$xdir"
+ $show "$mkdir $xdir"
+ $run $mkdir "$xdir"
+ status=$?
+ if test "$status" -ne 0 && test ! -d "$xdir"; then
+ exit $status
+ fi
+ $show "(cd $xdir && $AR x $xabs)"
+ $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
+
+ oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP`
+ done
+ fi
+
+ compiler_flags="$compiler_flags $add_flags"
+
+ # Do each command in the archive commands.
+ if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
+ eval cmds=\"$old_archive_from_new_cmds\"
+ else
+ eval cmds=\"$old_archive_cmds\"
+
+ if len=`expr "X$cmds" : ".*"` &&
+ test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
+ :
+ else
+ # the command line is too long to link in one step, link in parts
+ $echo "using piecewise archive linking..."
+ save_RANLIB=$RANLIB
+ RANLIB=:
+ objlist=
+ concat_cmds=
+ save_oldobjs=$oldobjs
+ for obj in $save_oldobjs
+ do
+ oldobjs="$objlist $obj"
+ objlist="$objlist $obj"
+ eval test_cmds=\"$old_archive_cmds\"
+ if len=`expr "X$test_cmds" : ".*"` &&
+ test "$len" -le "$max_cmd_len"; then
+ :
+ else
+ # the above command should be used before it gets too long
+ oldobjs=$objlist
+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~
+ eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
+ objlist=
+ fi
+ done
+ RANLIB=$save_RANLIB
+ oldobjs=$objlist
+ eval cmds=\"\$concat_cmds~$old_archive_cmds\"
+ fi
+ fi
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+ done
+
+ if test -n "$generated"; then
+ $show "${rm}r$generated"
+ $run ${rm}r$generated
+ fi
+
+ # Now create the libtool archive.
+ case $output in
+ *.la)
+ old_library=
+ test "$build_old_libs" = yes && old_library="$libname.$libext"
+ $show "creating $output"
+
+ # Preserve any variables that may affect compiler behavior
+ for var in $variables_saved_for_relink; do
+ if eval test -z \"\${$var+set}\"; then
+ relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
+ elif eval var_value=\$$var; test -z "$var_value"; then
+ relink_command="$var=; export $var; $relink_command"
+ else
+ var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
+ relink_command="$var=\"$var_value\"; export $var; $relink_command"
+ fi
+ done
+ # Quote the link command for shipping.
+ relink_command="($relink_command; cd `pwd`; $SHELL $0 --mode=relink $libtool_args)"
+ relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
+
+ # Only create the output if not a dry run.
+ if test -z "$run"; then
+ for installed in no yes; do
+ if test "$installed" = yes; then
+ if test -z "$install_libdir"; then
+ break
+ fi
+ output="$output_objdir/$outputname"i
+ # Replace all uninstalled libtool libraries with the installed ones
+ newdependency_libs=
+ for deplib in $dependency_libs; do
+ case $deplib in
+ *.la)
+ name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+ if test -z "$libdir"; then
+ $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
+ exit 1
+ fi
+ newdependency_libs="$newdependency_libs $libdir/$name"
+ ;;
+ *) newdependency_libs="$newdependency_libs $deplib" ;;
+ esac
+ done
+ dependency_libs="$newdependency_libs"
+ newdlfiles=
+ for lib in $dlfiles; do
+ name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
+ if test -z "$libdir"; then
+ $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
+ exit 1
+ fi
+ newdlfiles="$newdlfiles $libdir/$name"
+ done
+ dlfiles="$newdlfiles"
+ newdlprefiles=
+ for lib in $dlprefiles; do
+ name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
+ if test -z "$libdir"; then
+ $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
+ exit 1
+ fi
+ newdlprefiles="$newdlprefiles $libdir/$name"
+ done
+ dlprefiles="$newdlprefiles"
+ fi
+ $rm $output
+ # place dlname in correct position for cygwin
+ tdlname=$dlname
+ case $host,$output,$installed,$module,$dlname in
+ *cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
+ esac
+ $echo > $output "\
+# $outputname - a libtool library file
+# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='$tdlname'
+
+# Names of this library.
+library_names='$library_names'
+
+# The name of the static archive.
+old_library='$old_library'
+
+# Libraries that this one depends upon.
+dependency_libs='$dependency_libs'
+
+# Version information for $libname.
+current=$current
+age=$age
+revision=$revision
+
+# Is this an already installed library?
+installed=$installed
+
+# Files to dlopen/dlpreopen
+dlopen='$dlfiles'
+dlpreopen='$dlprefiles'
+
+# Directory that this library needs to be installed in:
+libdir='$install_libdir'"
+ if test "$installed" = no && test "$need_relink" = yes && test "$fast_install" = no; then
+ $echo >> $output "\
+relink_command=\"$relink_command\""
+ fi
+ done
+ fi
+
+ # Do a symbolic link so that the libtool archive can be found in
+ # LD_LIBRARY_PATH before the program is installed.
+ $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
+ $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
+ ;;
+ esac
+ exit 0
+ ;;
+
+ # libtool install mode
+ install)
+ modename="$modename: install"
+
+ # There may be an optional sh(1) argument at the beginning of
+ # install_prog (especially on Windows NT).
+ if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
+ # Allow the use of GNU shtool's install command.
+ $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
+ # Aesthetically quote it.
+ arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
+ case $arg in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
+ arg="\"$arg\""
+ ;;
+ esac
+ install_prog="$arg "
+ arg="$1"
+ shift
+ else
+ install_prog=
+ arg="$nonopt"
+ fi
+
+ # The real first argument should be the name of the installation program.
+ # Aesthetically quote it.
+ arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+ case $arg in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
+ arg="\"$arg\""
+ ;;
+ esac
+ install_prog="$install_prog$arg"
+
+ # We need to accept at least all the BSD install flags.
+ dest=
+ files=
+ opts=
+ prev=
+ install_type=
+ isdir=no
+ stripme=
+ for arg
+ do
+ if test -n "$dest"; then
+ files="$files $dest"
+ dest="$arg"
+ continue
+ fi
+
+ case $arg in
+ -d) isdir=yes ;;
+ -f) prev="-f" ;;
+ -g) prev="-g" ;;
+ -m) prev="-m" ;;
+ -o) prev="-o" ;;
+ -s)
+ stripme=" -s"
+ continue
+ ;;
+ -*) ;;
+
+ *)
+ # If the previous option needed an argument, then skip it.
+ if test -n "$prev"; then
+ prev=
+ else
+ dest="$arg"
+ continue
+ fi
+ ;;
+ esac
+
+ # Aesthetically quote the argument.
+ arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+ case $arg in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
+ arg="\"$arg\""
+ ;;
+ esac
+ install_prog="$install_prog $arg"
+ done
+
+ if test -z "$install_prog"; then
+ $echo "$modename: you must specify an install program" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ if test -n "$prev"; then
+ $echo "$modename: the \`$prev' option requires an argument" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ if test -z "$files"; then
+ if test -z "$dest"; then
+ $echo "$modename: no file or destination specified" 1>&2
+ else
+ $echo "$modename: you must specify a destination" 1>&2
+ fi
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ # Strip any trailing slash from the destination.
+ dest=`$echo "X$dest" | $Xsed -e 's%/$%%'`
+
+ # Check to see that the destination is a directory.
+ test -d "$dest" && isdir=yes
+ if test "$isdir" = yes; then
+ destdir="$dest"
+ destname=
+ else
+ destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'`
+ test "X$destdir" = "X$dest" && destdir=.
+ destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'`
+
+ # Not a directory, so check to see that there is only one file specified.
+ set dummy $files
+ if test "$#" -gt 2; then
+ $echo "$modename: \`$dest' is not a directory" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+ fi
+ case $destdir in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ for file in $files; do
+ case $file in
+ *.lo) ;;
+ *)
+ $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ ;;
+ esac
+ done
+ ;;
+ esac
+
+ # This variable tells wrapper scripts just to set variables rather
+ # than running their programs.
+ libtool_install_magic="$magic"
+
+ staticlibs=
+ future_libdirs=
+ current_libdirs=
+ for file in $files; do
+
+ # Do each installation.
+ case $file in
+ *.$libext)
+ # Do the static libraries later.
+ staticlibs="$staticlibs $file"
+ ;;
+
+ *.la)
+ # Check to see that this really is a libtool archive.
+ if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
+ else
+ $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ library_names=
+ old_library=
+ relink_command=
+ # If there is no directory component, then add one.
+ case $file in
+ */* | *\\*) . $file ;;
+ *) . ./$file ;;
+ esac
+
+ # Add the libdir to current_libdirs if it is the destination.
+ if test "X$destdir" = "X$libdir"; then
+ case "$current_libdirs " in
+ *" $libdir "*) ;;
+ *) current_libdirs="$current_libdirs $libdir" ;;
+ esac
+ else
+ # Note the libdir as a future libdir.
+ case "$future_libdirs " in
+ *" $libdir "*) ;;
+ *) future_libdirs="$future_libdirs $libdir" ;;
+ esac
+ fi
+
+ dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
+ test "X$dir" = "X$file/" && dir=
+ dir="$dir$objdir"
+
+ if test -n "$relink_command"; then
+ $echo "$modename: warning: relinking \`$file'" 1>&2
+ $show "$relink_command"
+ if $run eval "$relink_command"; then :
+ else
+ $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
+ continue
+ fi
+ fi
+
+ # See the names of the shared library.
+ set dummy $library_names
+ if test -n "$2"; then
+ realname="$2"
+ shift
+ shift
+
+ srcname="$realname"
+ test -n "$relink_command" && srcname="$realname"T
+
+ # Install the shared library and build the symlinks.
+ $show "$install_prog $dir/$srcname $destdir/$realname"
+ $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
+ if test -n "$stripme" && test -n "$striplib"; then
+ $show "$striplib $destdir/$realname"
+ $run eval "$striplib $destdir/$realname" || exit $?
+ fi
+
+ if test "$#" -gt 0; then
+ # Delete the old symlinks, and create new ones.
+ for linkname
+ do
+ if test "$linkname" != "$realname"; then
+ $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
+ $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
+ fi
+ done
+ fi
+
+ # Do each command in the postinstall commands.
+ lib="$destdir/$realname"
+ eval cmds=\"$postinstall_cmds\"
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+ fi
+
+ # Install the pseudo-library for information purposes.
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
+ ;;
+
+ *.lo)
+ # Install (i.e. copy) a libtool object.
+
+ # Figure out destination file name, if it wasn't already specified.
+ if test -n "$destname"; then
+ destfile="$destdir/$destname"
+ else
+ destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ destfile="$destdir/$destfile"
+ fi
+
+ # Deduce the name of the destination old-style object file.
+ case $destfile in
+ *.lo)
+ staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
+ ;;
+ *.$objext)
+ staticdest="$destfile"
+ destfile=
+ ;;
+ *)
+ $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ ;;
+ esac
+
+ # Install the libtool object if requested.
+ if test -n "$destfile"; then
+ $show "$install_prog $file $destfile"
+ $run eval "$install_prog $file $destfile" || exit $?
+ fi
+
+ # Install the old object if enabled.
+ if test "$build_old_libs" = yes; then
+ # Deduce the name of the old-style object file.
+ staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
+
+ $show "$install_prog $staticobj $staticdest"
+ $run eval "$install_prog \$staticobj \$staticdest" || exit $?
+ fi
+ exit 0
+ ;;
+
+ *)
+ # Figure out destination file name, if it wasn't already specified.
+ if test -n "$destname"; then
+ destfile="$destdir/$destname"
+ else
+ destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ destfile="$destdir/$destfile"
+ fi
+
+ # Do a test to see if this is really a libtool program.
+ case $host in
+ *cygwin*|*mingw*)
+ wrapper=`echo $file | ${SED} -e 's,.exe$,,'`
+ ;;
+ *)
+ wrapper=$file
+ ;;
+ esac
+ if (${SED} -e '4q' $wrapper | egrep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
+ notinst_deplibs=
+ relink_command=
+
+ # If there is no directory component, then add one.
+ case $file in
+ */* | *\\*) . $wrapper ;;
+ *) . ./$wrapper ;;
+ esac
+
+ # Check the variables that should have been set.
+ if test -z "$notinst_deplibs"; then
+ $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
+ exit 1
+ fi
+
+ finalize=yes
+ for lib in $notinst_deplibs; do
+ # Check to see that each library is installed.
+ libdir=
+ if test -f "$lib"; then
+ # If there is no directory component, then add one.
+ case $lib in
+ */* | *\\*) . $lib ;;
+ *) . ./$lib ;;
+ esac
+ fi
+ libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
+ if test -n "$libdir" && test ! -f "$libfile"; then
+ $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
+ finalize=no
+ fi
+ done
+
+ relink_command=
+ # If there is no directory component, then add one.
+ case $file in
+ */* | *\\*) . $file ;;
+ *) . ./$file ;;
+ esac
+
+ outputname=
+ if test "$fast_install" = no && test -n "$relink_command"; then
+ if test "$finalize" = yes && test -z "$run"; then
+ tmpdir="/tmp"
+ test -n "$TMPDIR" && tmpdir="$TMPDIR"
+ tmpdir="$tmpdir/libtool-$$"
+ if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then :
+ else
+ $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
+ continue
+ fi
+ file=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ outputname="$tmpdir/$file"
+ # Replace the output file specification.
+ relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
+
+ $show "$relink_command"
+ if $run eval "$relink_command"; then :
+ else
+ $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
+ ${rm}r "$tmpdir"
+ continue
+ fi
+ file="$outputname"
+ else
+ $echo "$modename: warning: cannot relink \`$file'" 1>&2
+ fi
+ else
+ # Install the binary that we compiled earlier.
+ file=`$echo "X$file" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
+ fi
+ fi
+
+ # remove .exe since cygwin /usr/bin/install will append another
+ # one anyways
+ case $install_prog,$host in
+ */usr/bin/install*,*cygwin*)
+ case $file:$destfile in
+ *.exe:*.exe)
+ # this is ok
+ ;;
+ *.exe:*)
+ destfile=$destfile.exe
+ ;;
+ *:*.exe)
+ destfile=`echo $destfile | ${SED} -e 's,.exe$,,'`
+ ;;
+ esac
+ ;;
+ esac
+ $show "$install_prog$stripme $file $destfile"
+ $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
+ test -n "$outputname" && ${rm}r "$tmpdir"
+ ;;
+ esac
+ done
+
+ for file in $staticlibs; do
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+
+ # Set up the ranlib parameters.
+ oldlib="$destdir/$name"
+
+ $show "$install_prog $file $oldlib"
+ $run eval "$install_prog \$file \$oldlib" || exit $?
+
+ if test -n "$stripme" && test -n "$striplib"; then
+ $show "$old_striplib $oldlib"
+ $run eval "$old_striplib $oldlib" || exit $?
+ fi
+
+ # Do each command in the postinstall commands.
+ eval cmds=\"$old_postinstall_cmds\"
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+ done
+
+ if test -n "$future_libdirs"; then
+ $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2
+ fi
+
+ if test -n "$current_libdirs"; then
+ # Maybe just do a dry run.
+ test -n "$run" && current_libdirs=" -n$current_libdirs"
+ exec_cmd='$SHELL $0 --finish$current_libdirs'
+ else
+ exit 0
+ fi
+ ;;
+
+ # libtool finish mode
+ finish)
+ modename="$modename: finish"
+ libdirs="$nonopt"
+ admincmds=
+
+ if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
+ for dir
+ do
+ libdirs="$libdirs $dir"
+ done
+
+ for libdir in $libdirs; do
+ if test -n "$finish_cmds"; then
+ # Do each command in the finish commands.
+ eval cmds=\"$finish_cmds\"
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || admincmds="$admincmds
+ $cmd"
+ done
+ IFS="$save_ifs"
+ fi
+ if test -n "$finish_eval"; then
+ # Do the single finish_eval.
+ eval cmds=\"$finish_eval\"
+ $run eval "$cmds" || admincmds="$admincmds
+ $cmds"
+ fi
+ done
+ fi
+
+ # Exit here if they wanted silent mode.
+ exit 0
+
+ echo "----------------------------------------------------------------------"
+ echo "Libraries have been installed in:"
+ for libdir in $libdirs; do
+ echo " $libdir"
+ done
+ echo
+ echo "If you ever happen to want to link against installed libraries"
+ echo "in a given directory, LIBDIR, you must either use libtool, and"
+ echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
+ echo "flag during linking and do at least one of the following:"
+ if test -n "$shlibpath_var"; then
+ echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
+ echo " during execution"
+ fi
+ if test -n "$runpath_var"; then
+ echo " - add LIBDIR to the \`$runpath_var' environment variable"
+ echo " during linking"
+ fi
+ if test -n "$hardcode_libdir_flag_spec"; then
+ libdir=LIBDIR
+ eval flag=\"$hardcode_libdir_flag_spec\"
+
+ echo " - use the \`$flag' linker flag"
+ fi
+ if test -n "$admincmds"; then
+ echo " - have your system administrator run these commands:$admincmds"
+ fi
+ if test -f /etc/ld.so.conf; then
+ echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
+ fi
+ echo
+ echo "See any operating system documentation about shared libraries for"
+ echo "more information, such as the ld(1) and ld.so(8) manual pages."
+ echo "----------------------------------------------------------------------"
+ exit 0
+ ;;
+
+ # libtool execute mode
+ execute)
+ modename="$modename: execute"
+
+ # The first argument is the command name.
+ cmd="$nonopt"
+ if test -z "$cmd"; then
+ $echo "$modename: you must specify a COMMAND" 1>&2
+ $echo "$help"
+ exit 1
+ fi
+
+ # Handle -dlopen flags immediately.
+ for file in $execute_dlfiles; do
+ if test ! -f "$file"; then
+ $echo "$modename: \`$file' is not a file" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ dir=
+ case $file in
+ *.la)
+ # Check to see that this really is a libtool archive.
+ if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
+ else
+ $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ # Read the libtool library.
+ dlname=
+ library_names=
+
+ # If there is no directory component, then add one.
+ case $file in
+ */* | *\\*) . $file ;;
+ *) . ./$file ;;
+ esac
+
+ # Skip this library if it cannot be dlopened.
+ if test -z "$dlname"; then
+ # Warn if it was a shared library.
+ test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'"
+ continue
+ fi
+
+ dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
+ test "X$dir" = "X$file" && dir=.
+
+ if test -f "$dir/$objdir/$dlname"; then
+ dir="$dir/$objdir"
+ else
+ $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
+ exit 1
+ fi
+ ;;
+
+ *.lo)
+ # Just add the directory containing the .lo file.
+ dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
+ test "X$dir" = "X$file" && dir=.
+ ;;
+
+ *)
+ $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
+ continue
+ ;;
+ esac
+
+ # Get the absolute pathname.
+ absdir=`cd "$dir" && pwd`
+ test -n "$absdir" && dir="$absdir"
+
+ # Now add the directory to shlibpath_var.
+ if eval "test -z \"\$$shlibpath_var\""; then
+ eval "$shlibpath_var=\"\$dir\""
+ else
+ eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
+ fi
+ done
+
+ # This variable tells wrapper scripts just to set shlibpath_var
+ # rather than running their programs.
+ libtool_execute_magic="$magic"
+
+ # Check if any of the arguments is a wrapper script.
+ args=
+ for file
+ do
+ case $file in
+ -*) ;;
+ *)
+ # Do a test to see if this is really a libtool program.
+ if (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+ # If there is no directory component, then add one.
+ case $file in
+ */* | *\\*) . $file ;;
+ *) . ./$file ;;
+ esac
+
+ # Transform arg to wrapped name.
+ file="$progdir/$program"
+ fi
+ ;;
+ esac
+ # Quote arguments (to preserve shell metacharacters).
+ file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
+ args="$args \"$file\""
+ done
+
+ if test -z "$run"; then
+ if test -n "$shlibpath_var"; then
+ # Export the shlibpath_var.
+ eval "export $shlibpath_var"
+ fi
+
+ # Restore saved enviroment variables
+ if test "${save_LC_ALL+set}" = set; then
+ LC_ALL="$save_LC_ALL"; export LC_ALL
+ fi
+ if test "${save_LANG+set}" = set; then
+ LANG="$save_LANG"; export LANG
+ fi
+
+ # Now prepare to actually exec the command.
+ exec_cmd="\$cmd$args"
+ else
+ # Display what would be done.
+ if test -n "$shlibpath_var"; then
+ eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
+ $echo "export $shlibpath_var"
+ fi
+ $echo "$cmd$args"
+ exit 0
+ fi
+ ;;
+
+ # libtool clean and uninstall mode
+ clean | uninstall)
+ modename="$modename: $mode"
+ rm="$nonopt"
+ files=
+ rmforce=
+ exit_status=0
+
+ # This variable tells wrapper scripts just to set variables rather
+ # than running their programs.
+ libtool_install_magic="$magic"
+
+ for arg
+ do
+ case $arg in
+ -f) rm="$rm $arg"; rmforce=yes ;;
+ -*) rm="$rm $arg" ;;
+ *) files="$files $arg" ;;
+ esac
+ done
+
+ if test -z "$rm"; then
+ $echo "$modename: you must specify an RM program" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ rmdirs=
+
+ for file in $files; do
+ dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
+ if test "X$dir" = "X$file"; then
+ dir=.
+ objdir="$objdir"
+ else
+ objdir="$dir/$objdir"
+ fi
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ test "$mode" = uninstall && objdir="$dir"
+
+ # Remember objdir for removal later, being careful to avoid duplicates
+ if test "$mode" = clean; then
+ case " $rmdirs " in
+ *" $objdir "*) ;;
+ *) rmdirs="$rmdirs $objdir" ;;
+ esac
+ fi
+
+ # Don't error if the file doesn't exist and rm -f was used.
+ if (test -L "$file") >/dev/null 2>&1 \
+ || (test -h "$file") >/dev/null 2>&1 \
+ || test -f "$file"; then
+ :
+ elif test -d "$file"; then
+ exit_status=1
+ continue
+ elif test "$rmforce" = yes; then
+ continue
+ fi
+
+ rmfiles="$file"
+
+ case $name in
+ *.la)
+ # Possibly a libtool archive, so verify it.
+ if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+ . $dir/$name
+
+ # Delete the libtool libraries and symlinks.
+ for n in $library_names; do
+ rmfiles="$rmfiles $objdir/$n"
+ done
+ test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
+ test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
+
+ if test "$mode" = uninstall; then
+ if test -n "$library_names"; then
+ # Do each command in the postuninstall commands.
+ eval cmds=\"$postuninstall_cmds\"
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd"
+ if test "$?" -ne 0 && test "$rmforce" != yes; then
+ exit_status=1
+ fi
+ done
+ IFS="$save_ifs"
+ fi
+
+ if test -n "$old_library"; then
+ # Do each command in the old_postuninstall commands.
+ eval cmds=\"$old_postuninstall_cmds\"
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd"
+ if test "$?" -ne 0 && test "$rmforce" != yes; then
+ exit_status=1
+ fi
+ done
+ IFS="$save_ifs"
+ fi
+ # FIXME: should reinstall the best remaining shared library.
+ fi
+ fi
+ ;;
+
+ *.lo)
+ # Possibly a libtool object, so verify it.
+ if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+
+ # Read the .lo file
+ . $dir/$name
+
+ # Add PIC object to the list of files to remove.
+ if test -n "$pic_object" \
+ && test "$pic_object" != none; then
+ rmfiles="$rmfiles $dir/$pic_object"
+ fi
+
+ # Add non-PIC object to the list of files to remove.
+ if test -n "$non_pic_object" \
+ && test "$non_pic_object" != none; then
+ rmfiles="$rmfiles $dir/$non_pic_object"
+ fi
+ fi
+ ;;
+
+ *)
+ # Do a test to see if this is a libtool program.
+ if test "$mode" = clean &&
+ (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+ relink_command=
+ . $dir/$file
+
+ rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
+ if test "$fast_install" = yes && test -n "$relink_command"; then
+ rmfiles="$rmfiles $objdir/lt-$name"
+ fi
+ fi
+ ;;
+ esac
+ $show "$rm $rmfiles"
+ $run $rm $rmfiles || exit_status=1
+ done
+
+ # Try to remove the ${objdir}s in the directories where we deleted files
+ for dir in $rmdirs; do
+ if test -d "$dir"; then
+ $show "rmdir $dir"
+ $run rmdir $dir >/dev/null 2>&1
+ fi
+ done
+
+ exit $exit_status
+ ;;
+
+ "")
+ $echo "$modename: you must specify a MODE" 1>&2
+ $echo "$generic_help" 1>&2
+ exit 1
+ ;;
+ esac
+
+ if test -z "$exec_cmd"; then
+ $echo "$modename: invalid operation mode \`$mode'" 1>&2
+ $echo "$generic_help" 1>&2
+ exit 1
+ fi
+fi # test -z "$show_help"
+
+if test -n "$exec_cmd"; then
+ eval exec $exec_cmd
+ exit 1
+fi
+
+# We need to display help for each of the modes.
+case $mode in
+"") $echo \
+"Usage: $modename [OPTION]... [MODE-ARG]...
+
+Provide generalized library-building support services.
+
+ --config show all configuration variables
+ --debug enable verbose shell tracing
+-n, --dry-run display commands without modifying any files
+ --features display basic configuration information and exit
+ --finish same as \`--mode=finish'
+ --help display this help message and exit
+ --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
+ --quiet same as \`--silent'
+ --silent don't print informational messages
+ --tag=TAG use configuration variables from tag TAG
+ --version print version information
+
+MODE must be one of the following:
+
+ clean remove files from the build directory
+ compile compile a source file into a libtool object
+ execute automatically set library path, then run a program
+ finish complete the installation of libtool libraries
+ install install libraries or executables
+ link create a library or an executable
+ uninstall remove libraries from an installed directory
+
+MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
+a more detailed description of MODE."
+ exit 0
+ ;;
+
+clean)
+ $echo \
+"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
+
+Remove files from the build directory.
+
+RM is the name of the program to use to delete files associated with each FILE
+(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
+to RM.
+
+If FILE is a libtool library, object or program, all the files associated
+with it are deleted. Otherwise, only FILE itself is deleted using RM."
+ ;;
+
+compile)
+ $echo \
+"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
+
+Compile a source file into a libtool library object.
+
+This mode accepts the following additional options:
+
+ -o OUTPUT-FILE set the output file name to OUTPUT-FILE
+ -prefer-pic try to building PIC objects only
+ -prefer-non-pic try to building non-PIC objects only
+ -static always build a \`.o' file suitable for static linking
+
+COMPILE-COMMAND is a command to be used in creating a \`standard' object file
+from the given SOURCEFILE.
+
+The output file name is determined by removing the directory component from
+SOURCEFILE, then substituting the C source code suffix \`.c' with the
+library object suffix, \`.lo'."
+ ;;
+
+execute)
+ $echo \
+"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
+
+Automatically set library path, then run a program.
+
+This mode accepts the following additional options:
+
+ -dlopen FILE add the directory containing FILE to the library path
+
+This mode sets the library path environment variable according to \`-dlopen'
+flags.
+
+If any of the ARGS are libtool executable wrappers, then they are translated
+into their corresponding uninstalled binary, and any of their required library
+directories are added to the library path.
+
+Then, COMMAND is executed, with ARGS as arguments."
+ ;;
+
+finish)
+ $echo \
+"Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
+
+Complete the installation of libtool libraries.
+
+Each LIBDIR is a directory that contains libtool libraries.
+
+The commands that this mode executes may require superuser privileges. Use
+the \`--dry-run' option if you just want to see what would be executed."
+ ;;
+
+install)
+ $echo \
+"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
+
+Install executables or libraries.
+
+INSTALL-COMMAND is the installation command. The first component should be
+either the \`install' or \`cp' program.
+
+The rest of the components are interpreted as arguments to that command (only
+BSD-compatible install options are recognized)."
+ ;;
+
+link)
+ $echo \
+"Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
+
+Link object files or libraries together to form another library, or to
+create an executable program.
+
+LINK-COMMAND is a command using the C compiler that you would use to create
+a program from several object files.
+
+The following components of LINK-COMMAND are treated specially:
+
+ -all-static do not do any dynamic linking at all
+ -avoid-version do not add a version suffix if possible
+ -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
+ -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
+ -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
+ -export-symbols SYMFILE
+ try to export only the symbols listed in SYMFILE
+ -export-symbols-regex REGEX
+ try to export only the symbols matching REGEX
+ -LLIBDIR search LIBDIR for required installed libraries
+ -lNAME OUTPUT-FILE requires the installed library libNAME
+ -module build a library that can dlopened
+ -no-fast-install disable the fast-install mode
+ -no-install link a not-installable executable
+ -no-undefined declare that a library does not refer to external symbols
+ -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
+ -objectlist FILE Use a list of object files found in FILE to specify objects
+ -release RELEASE specify package release information
+ -rpath LIBDIR the created library will eventually be installed in LIBDIR
+ -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
+ -static do not do any dynamic linking of libtool libraries
+ -version-info CURRENT[:REVISION[:AGE]]
+ specify library version info [each variable defaults to 0]
+
+All other options (arguments beginning with \`-') are ignored.
+
+Every other argument is treated as a filename. Files ending in \`.la' are
+treated as uninstalled libtool libraries, other files are standard or library
+object files.
+
+If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
+only library objects (\`.lo' files) may be specified, and \`-rpath' is
+required, except when creating a convenience library.
+
+If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
+using \`ar' and \`ranlib', or on Windows using \`lib'.
+
+If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
+is created, otherwise an executable program is created."
+ ;;
+
+uninstall)
+ $echo \
+"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
+
+Remove libraries from an installation directory.
+
+RM is the name of the program to use to delete files associated with each FILE
+(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
+to RM.
+
+If FILE is a libtool library, all the files associated with it are deleted.
+Otherwise, only FILE itself is deleted using RM."
+ ;;
+
+*)
+ $echo "$modename: invalid operation mode \`$mode'" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ ;;
+esac
+
+echo
+$echo "Try \`$modename --help' for more information about other modes."
+
+exit 0
+
+# The TAGs below are defined such that we never get into a situation
+# in which we disable both kinds of libraries. Given conflicting
+# choices, we go for a static library, that is the most portable,
+# since we can't tell whether shared libraries were disabled because
+# the user asked for that or because the platform doesn't support
+# them. This is particularly important on AIX, because we don't
+# support having both static and shared libraries enabled at the same
+# time on that platform, so we default to a shared-only configuration.
+# If a disable-shared tag is given, we'll fallback to a static-only
+# configuration. But we'll never go from static-only to shared-only.
+
+# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
+build_libtool_libs=no
+build_old_libs=yes
+# ### END LIBTOOL TAG CONFIG: disable-shared
+
+# ### BEGIN LIBTOOL TAG CONFIG: disable-static
+build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
+# ### END LIBTOOL TAG CONFIG: disable-static
+
+# Local Variables:
+# mode:shell-script
+# sh-indentation:2
+# End:
diff --git a/gettext-tools/examples/hello-c++-kde/admin/missing b/gettext-tools/examples/hello-c++-kde/admin/missing
new file mode 100755
index 0000000..6a37006
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/missing
@@ -0,0 +1,336 @@
+#! /bin/sh
+# Common stub for a few missing GNU programs while installing.
+# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
+# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+if test $# -eq 0; then
+ echo 1>&2 "Try \`$0 --help' for more information"
+ exit 1
+fi
+
+run=:
+
+# In the cases where this matters, `missing' is being run in the
+# srcdir already.
+if test -f configure.ac; then
+ configure_ac=configure.ac
+else
+ configure_ac=configure.in
+fi
+
+case "$1" in
+--run)
+ # Try to run requested program, and just exit if it succeeds.
+ run=
+ shift
+ "$@" && exit 0
+ ;;
+esac
+
+# If it does not exist, or fails to run (possibly an outdated version),
+# try to emulate it.
+case "$1" in
+
+ -h|--h|--he|--hel|--help)
+ echo "\
+$0 [OPTION]... PROGRAM [ARGUMENT]...
+
+Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
+error status if there is no known handling for PROGRAM.
+
+Options:
+ -h, --help display this help and exit
+ -v, --version output version information and exit
+ --run try to run the given command, and emulate it if it fails
+
+Supported PROGRAM values:
+ aclocal touch file \`aclocal.m4'
+ autoconf touch file \`configure'
+ autoheader touch file \`config.h.in'
+ automake touch all \`Makefile.in' files
+ bison create \`y.tab.[ch]', if possible, from existing .[ch]
+ flex create \`lex.yy.c', if possible, from existing .c
+ help2man touch the output file
+ lex create \`lex.yy.c', if possible, from existing .c
+ makeinfo touch the output file
+ tar try tar, gnutar, gtar, then tar without non-portable flags
+ yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
+ ;;
+
+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
+ echo "missing 0.4 - GNU automake"
+ ;;
+
+ -*)
+ echo 1>&2 "$0: Unknown \`$1' option"
+ echo 1>&2 "Try \`$0 --help' for more information"
+ exit 1
+ ;;
+
+ aclocal*)
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+ # We have it, but it failed.
+ exit 1
+ fi
+
+ echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+ you modified \`acinclude.m4' or \`${configure_ac}'. You might want
+ to install the \`Automake' and \`Perl' packages. Grab them from
+ any GNU archive site."
+ touch aclocal.m4
+ ;;
+
+ autoconf)
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+ # We have it, but it failed.
+ exit 1
+ fi
+
+ echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+ you modified \`${configure_ac}'. You might want to install the
+ \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
+ archive site."
+ touch configure
+ ;;
+
+ autoheader)
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+ # We have it, but it failed.
+ exit 1
+ fi
+
+ echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+ you modified \`acconfig.h' or \`${configure_ac}'. You might want
+ to install the \`Autoconf' and \`GNU m4' packages. Grab them
+ from any GNU archive site."
+ files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
+ test -z "$files" && files="config.h"
+ touch_files=
+ for f in $files; do
+ case "$f" in
+ *:*) touch_files="$touch_files "`echo "$f" |
+ sed -e 's/^[^:]*://' -e 's/:.*//'`;;
+ *) touch_files="$touch_files $f.in";;
+ esac
+ done
+ touch $touch_files
+ ;;
+
+ automake*)
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+ # We have it, but it failed.
+ exit 1
+ fi
+
+ echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+ you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
+ You might want to install the \`Automake' and \`Perl' packages.
+ Grab them from any GNU archive site."
+ find . -type f -name Makefile.am -print |
+ sed 's/\.am$/.in/' |
+ while read f; do touch "$f"; done
+ ;;
+
+ autom4te)
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+ # We have it, but it failed.
+ exit 1
+ fi
+
+ echo 1>&2 "\
+WARNING: \`$1' is needed, and you do not seem to have it handy on your
+ system. You might have modified some files without having the
+ proper tools for further handling them.
+ You can get \`$1Help2man' as part of \`Autoconf' from any GNU
+ archive site."
+
+ file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
+ test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
+ if test -f "$file"; then
+ touch $file
+ else
+ test -z "$file" || exec >$file
+ echo "#! /bin/sh"
+ echo "# Created by GNU Automake missing as a replacement of"
+ echo "# $ $@"
+ echo "exit 0"
+ chmod +x $file
+ exit 1
+ fi
+ ;;
+
+ bison|yacc)
+ echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+ you modified a \`.y' file. You may need the \`Bison' package
+ in order for those modifications to take effect. You can get
+ \`Bison' from any GNU archive site."
+ rm -f y.tab.c y.tab.h
+ if [ $# -ne 1 ]; then
+ eval LASTARG="\${$#}"
+ case "$LASTARG" in
+ *.y)
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
+ if [ -f "$SRCFILE" ]; then
+ cp "$SRCFILE" y.tab.c
+ fi
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
+ if [ -f "$SRCFILE" ]; then
+ cp "$SRCFILE" y.tab.h
+ fi
+ ;;
+ esac
+ fi
+ if [ ! -f y.tab.h ]; then
+ echo >y.tab.h
+ fi
+ if [ ! -f y.tab.c ]; then
+ echo 'main() { return 0; }' >y.tab.c
+ fi
+ ;;
+
+ lex|flex)
+ echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+ you modified a \`.l' file. You may need the \`Flex' package
+ in order for those modifications to take effect. You can get
+ \`Flex' from any GNU archive site."
+ rm -f lex.yy.c
+ if [ $# -ne 1 ]; then
+ eval LASTARG="\${$#}"
+ case "$LASTARG" in
+ *.l)
+ SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
+ if [ -f "$SRCFILE" ]; then
+ cp "$SRCFILE" lex.yy.c
+ fi
+ ;;
+ esac
+ fi
+ if [ ! -f lex.yy.c ]; then
+ echo 'main() { return 0; }' >lex.yy.c
+ fi
+ ;;
+
+ help2man)
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+ # We have it, but it failed.
+ exit 1
+ fi
+
+ echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+ you modified a dependency of a manual page. You may need the
+ \`Help2man' package in order for those modifications to take
+ effect. You can get \`Help2man' from any GNU archive site."
+
+ file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
+ if test -z "$file"; then
+ file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
+ fi
+ if [ -f "$file" ]; then
+ touch $file
+ else
+ test -z "$file" || exec >$file
+ echo ".ab help2man is required to generate this page"
+ exit 1
+ fi
+ ;;
+
+ makeinfo)
+ if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
+ # We have makeinfo, but it failed.
+ exit 1
+ fi
+
+ echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+ you modified a \`.texi' or \`.texinfo' file, or any other file
+ indirectly affecting the aspect of the manual. The spurious
+ call might also be the consequence of using a buggy \`make' (AIX,
+ DU, IRIX). You might want to install the \`Texinfo' package or
+ the \`GNU make' package. Grab either from any GNU archive site."
+ file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
+ if test -z "$file"; then
+ file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
+ file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
+ fi
+ touch $file
+ ;;
+
+ tar)
+ shift
+ if test -n "$run"; then
+ echo 1>&2 "ERROR: \`tar' requires --run"
+ exit 1
+ fi
+
+ # We have already tried tar in the generic part.
+ # Look for gnutar/gtar before invocation to avoid ugly error
+ # messages.
+ if (gnutar --version > /dev/null 2>&1); then
+ gnutar "$@" && exit 0
+ fi
+ if (gtar --version > /dev/null 2>&1); then
+ gtar "$@" && exit 0
+ fi
+ firstarg="$1"
+ if shift; then
+ case "$firstarg" in
+ *o*)
+ firstarg=`echo "$firstarg" | sed s/o//`
+ tar "$firstarg" "$@" && exit 0
+ ;;
+ esac
+ case "$firstarg" in
+ *h*)
+ firstarg=`echo "$firstarg" | sed s/h//`
+ tar "$firstarg" "$@" && exit 0
+ ;;
+ esac
+ fi
+
+ echo 1>&2 "\
+WARNING: I can't seem to be able to run \`tar' with the given arguments.
+ You may want to install GNU tar or Free paxutils, or check the
+ command line arguments."
+ exit 1
+ ;;
+
+ *)
+ echo 1>&2 "\
+WARNING: \`$1' is needed, and you do not seem to have it handy on your
+ system. You might have modified some files without having the
+ proper tools for further handling them. Check the \`README' file,
+ it often tells you about the needed prerequirements for installing
+ this package. You may also peek at any GNU archive site, in case
+ some other package would contain this missing \`$1' program."
+ exit 1
+ ;;
+esac
+
+exit 0
diff --git a/gettext-tools/examples/hello-c++-kde/admin/mkinstalldirs b/gettext-tools/examples/hello-c++-kde/admin/mkinstalldirs
new file mode 100755
index 0000000..d2d5f21
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/mkinstalldirs
@@ -0,0 +1,111 @@
+#! /bin/sh
+# mkinstalldirs --- make directory hierarchy
+# Author: Noah Friedman <friedman@prep.ai.mit.edu>
+# Created: 1993-05-16
+# Public domain
+
+errstatus=0
+dirmode=""
+
+usage="\
+Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
+
+# process command line arguments
+while test $# -gt 0 ; do
+ case $1 in
+ -h | --help | --h*) # -h for help
+ echo "$usage" 1>&2
+ exit 0
+ ;;
+ -m) # -m PERM arg
+ shift
+ test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
+ dirmode=$1
+ shift
+ ;;
+ --) # stop option processing
+ shift
+ break
+ ;;
+ -*) # unknown option
+ echo "$usage" 1>&2
+ exit 1
+ ;;
+ *) # first non-opt arg
+ break
+ ;;
+ esac
+done
+
+for file
+do
+ if test -d "$file"; then
+ shift
+ else
+ break
+ fi
+done
+
+case $# in
+ 0) exit 0 ;;
+esac
+
+case $dirmode in
+ '')
+ if mkdir -p -- . 2>/dev/null; then
+ echo "mkdir -p -- $*"
+ exec mkdir -p -- "$@"
+ fi
+ ;;
+ *)
+ if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
+ echo "mkdir -m $dirmode -p -- $*"
+ exec mkdir -m "$dirmode" -p -- "$@"
+ fi
+ ;;
+esac
+
+for file
+do
+ set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
+ shift
+
+ pathcomp=
+ for d
+ do
+ pathcomp="$pathcomp$d"
+ case $pathcomp in
+ -*) pathcomp=./$pathcomp ;;
+ esac
+
+ if test ! -d "$pathcomp"; then
+ echo "mkdir $pathcomp"
+
+ mkdir "$pathcomp" || lasterr=$?
+
+ if test ! -d "$pathcomp"; then
+ errstatus=$lasterr
+ else
+ if test ! -z "$dirmode"; then
+ echo "chmod $dirmode $pathcomp"
+ lasterr=""
+ chmod "$dirmode" "$pathcomp" || lasterr=$?
+
+ if test ! -z "$lasterr"; then
+ errstatus=$lasterr
+ fi
+ fi
+ fi
+ fi
+
+ pathcomp="$pathcomp/"
+ done
+done
+
+exit $errstatus
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# End:
+# mkinstalldirs ends here
diff --git a/gettext-tools/examples/hello-c++-kde/admin/ylwrap b/gettext-tools/examples/hello-c++-kde/admin/ylwrap
new file mode 100755
index 0000000..5ea68e4
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/admin/ylwrap
@@ -0,0 +1,143 @@
+#! /bin/sh
+# ylwrap - wrapper for lex/yacc invocations.
+# Copyright 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+# Written by Tom Tromey <tromey@cygnus.com>.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# Usage:
+# ylwrap INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]...
+# * INPUT is the input file
+# * OUTPUT is file PROG generates
+# * DESIRED is file we actually want
+# * PROGRAM is program to run
+# * ARGS are passed to PROG
+# Any number of OUTPUT,DESIRED pairs may be used.
+
+# The input.
+input="$1"
+shift
+case "$input" in
+ [\\/]* | ?:[\\/]*)
+ # Absolute path; do nothing.
+ ;;
+ *)
+ # Relative path. Make it absolute.
+ input="`pwd`/$input"
+ ;;
+esac
+
+# The directory holding the input.
+input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'`
+# Quote $INPUT_DIR so we can use it in a regexp.
+# FIXME: really we should care about more than `.' and `\'.
+input_rx=`echo "$input_dir" | sed -e 's,\\\\,\\\\\\\\,g' -e 's,\\.,\\\\.,g'`
+
+echo "got $input_rx"
+
+pairlist=
+while test "$#" -ne 0; do
+ if test "$1" = "--"; then
+ shift
+ break
+ fi
+ pairlist="$pairlist $1"
+ shift
+done
+
+# The program to run.
+prog="$1"
+shift
+# Make any relative path in $prog absolute.
+case "$prog" in
+ [\\/]* | ?:[\\/]*) ;;
+ *[\\/]*) prog="`pwd`/$prog" ;;
+esac
+
+# FIXME: add hostname here for parallel makes that run commands on
+# other machines. But that might take us over the 14-char limit.
+dirname=ylwrap$$
+trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
+mkdir $dirname || exit 1
+
+cd $dirname
+
+$prog ${1+"$@"} "$input"
+status=$?
+
+if test $status -eq 0; then
+ set X $pairlist
+ shift
+ first=yes
+ # Since DOS filename conventions don't allow two dots,
+ # the DOS version of Bison writes out y_tab.c instead of y.tab.c
+ # and y_tab.h instead of y.tab.h. Test to see if this is the case.
+ y_tab_nodot="no"
+ if test -f y_tab.c || test -f y_tab.h; then
+ y_tab_nodot="yes"
+ fi
+
+ while test "$#" -ne 0; do
+ from="$1"
+ # Handle y_tab.c and y_tab.h output by DOS
+ if test $y_tab_nodot = "yes"; then
+ if test $from = "y.tab.c"; then
+ from="y_tab.c"
+ else
+ if test $from = "y.tab.h"; then
+ from="y_tab.h"
+ fi
+ fi
+ fi
+ if test -f "$from"; then
+ # If $2 is an absolute path name, then just use that,
+ # otherwise prepend `../'.
+ case "$2" in
+ [\\/]* | ?:[\\/]*) target="$2";;
+ *) target="../$2";;
+ esac
+
+ # Edit out `#line' or `#' directives. We don't want the
+ # resulting debug information to point at an absolute srcdir;
+ # it is better for it to just mention the .y file with no
+ # path.
+ sed -e "/^#/ s,$input_rx,," "$from" > "$target" || status=$?
+ else
+ # A missing file is only an error for the first file. This
+ # is a blatant hack to let us support using "yacc -d". If -d
+ # is not specified, we don't want an error when the header
+ # file is "missing".
+ if test $first = yes; then
+ status=1
+ fi
+ fi
+ shift
+ shift
+ first=no
+ done
+else
+ status=$?
+fi
+
+# Remove the directory.
+cd ..
+rm -rf $dirname
+
+exit $status
diff --git a/gettext-tools/examples/hello-c++-kde/autoclean.sh b/gettext-tools/examples/hello-c++-kde/autoclean.sh
new file mode 100755
index 0000000..79c7121
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/autoclean.sh
@@ -0,0 +1,66 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+if test "$1" = fromscratch; then
+
+ # Brought in by explicit copy.
+ rm -rf admin
+
+fi
+
+# Brought in by autopoint.
+rm -f ABOUT-NLS
+rm -f m4/codeset.m4
+rm -f m4/gettext.m4
+rm -f m4/glibc2.m4
+rm -f m4/glibc21.m4
+rm -f m4/iconv.m4
+rm -f m4/intdiv0.m4
+rm -f m4/intl.m4
+rm -f m4/intldir.m4
+rm -f m4/intlmacosx.m4
+rm -f m4/intmax.m4
+rm -f m4/inttypes-pri.m4
+rm -f m4/inttypes_h.m4
+rm -f m4/lcmessage.m4
+rm -f m4/lib-ld.m4
+rm -f m4/lib-link.m4
+rm -f m4/lib-prefix.m4
+rm -f m4/lock.m4
+rm -f m4/longlong.m4
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/printf-posix.m4
+rm -f m4/progtest.m4
+rm -f m4/size_max.m4
+rm -f m4/stdint_h.m4
+rm -f m4/uintmax_t.m4
+rm -f m4/visibility.m4
+rm -f m4/wchar_t.m4
+rm -f m4/wint_t.m4
+rm -f m4/xsize.m4
+rm -f po/Makefile.in.in
+rm -f po/remove-potcdate.sin
+rm -f admin/config.rpath
+
+# Generated through admin/cvs.sh.
+ rm -f acinclude.m4
+ rm -f subdirs configure.files
+ rm -f configure.in
+ # Generated by aclocal.
+ rm -f aclocal.m4
+ # Generated by autoconf.
+ rm -f configure
+ rm -f config.h.in stamp-h.in
+ rm -f Makefile.in m4/Makefile.in
+
+# Generated.
+rm -f po/Makefile.in
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-c++-kde/autogen.sh b/gettext-tools/examples/hello-c++-kde/autogen.sh
new file mode 100755
index 0000000..ded134b
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/autogen.sh
@@ -0,0 +1,48 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test "$1" = fromscratch; then
+
+ kdedir=
+ for d in /usr/lib/kde /usr/local/kde /usr/local /usr/kde /usr /opt/kde3 /opt/kde /suse/opt/kde3 $KDEDIR; do
+ if test -f $d/share/apps/kdelibs/admin/cvs.sh; then
+ kdedir=$d
+ break
+ fi
+ done
+ if test -z "$kdedir"; then
+ echo "*** KDE directory not found. Try setting KDEDIR." 1>&2
+ exit 1
+ fi
+
+ cp -a $kdedir/share/apps/kdelibs/admin .
+ sed -e s/AC_FOREACH/INCOMPATIBLE_FOREACH/g < $kdedir/share/apps/kdelibs/admin/acinclude.m4.in > admin/acinclude.m4.in
+ sed -e 's/automake\*1.6/automake\*1.[678] | automake\*1.[678]/' < admin/cvs.sh > admin/cvs.sh.new
+ mv admin/cvs.sh.new admin/cvs.sh
+
+fi
+
+autopoint -f # was: gettextize -f -c
+mv config.rpath admin/config.rpath
+rm -f mkinstalldirs
+rm po/Makevars.template
+rm po/Rules-quot
+rm po/boldquot.sed
+rm po/en@boldquot.header
+rm po/en@quot.header
+rm po/insert-header.sin
+rm po/quot.sed
+
+sh admin/cvs.sh cvs
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-c++-kde/configure.in.in b/gettext-tools/examples/hello-c++-kde/configure.in.in
new file mode 100644
index 0000000..21d5a96
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/configure.in.in
@@ -0,0 +1,6 @@
+#MIN_CONFIG
+AC_CHECK_HEADERS([unistd.h])
+
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION(0.15)
+AC_CONFIG_FILES([po/Makefile.in])
diff --git a/gettext-tools/examples/hello-c++-kde/hello.cc b/gettext-tools/examples/hello-c++-kde/hello.cc
new file mode 100644
index 0000000..5e09128
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/hello.cc
@@ -0,0 +1,73 @@
+// Example for use of GNU gettext.
+// Copyright (C) 2003 Free Software Foundation, Inc.
+// This file is published under the GNU General Public License.
+
+// Source code of the C++ program.
+
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#include <stdlib.h>
+/* Declare KCmdLineArgs, KCmdLineOptions. */
+#include <kcmdlineargs.h>
+/* Declare KApplication. */
+#include <kapplication.h>
+/* Declare KAboutData. */
+#include <kaboutdata.h>
+/* Declare main window widget. */
+#include "hellowindow.h"
+
+// Comment line options.
+
+static KCmdLineOptions options[] =
+{
+ { 0, 0, 0 } // End of options.
+};
+
+int
+main (int argc, char *argv[])
+{
+ // Initializations.
+
+ {
+ // Add our installation directory to KDE's search list for message
+ // catalogs. By default it looks only in $KDEHOME/share/locale and
+ // $KDEDIR/share/locale.
+ QString kdedirs = getenv ("KDEDIRS");
+ if (kdedirs.isEmpty ())
+ kdedirs = PREFIX;
+ else
+ kdedirs = kdedirs + ":" + PREFIX;
+ setenv ("KDEDIRS", (const char *) kdedirs.local8Bit(), true);
+ }
+
+ KAboutData aboutData ("hello-c++-kde",
+ I18N_NOOP ("Hello example"),
+ VERSION,
+ I18N_NOOP ("Hello world example"),
+ KAboutData::License_GPL,
+ "(C) 2003 Free Software Foundation",
+ NULL,
+ NULL,
+ "bug-gnu-gettext@gnu.org");
+ KCmdLineArgs::init (argc, argv, &aboutData);
+ KCmdLineArgs::addCmdLineOptions (options);
+ KApplication application;
+
+ // Create the GUI elements.
+
+ HelloMainWindow *window = new HelloMainWindow ();
+ QObject::connect (window->button, SIGNAL (clicked ()),
+ &application, SLOT (quit ()));
+
+ application.setMainWidget (window);
+
+ // Make the GUI elements visible.
+
+ window->show ();
+
+ // Start the event loop.
+
+ return application.exec ();
+}
diff --git a/gettext-tools/examples/hello-c++-kde/hellowindow.cc b/gettext-tools/examples/hello-c++-kde/hellowindow.cc
new file mode 100644
index 0000000..67aa2b4
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/hellowindow.cc
@@ -0,0 +1,63 @@
+// Example for use of GNU gettext.
+// Copyright (C) 2003 Free Software Foundation, Inc.
+// This file is published under the GNU General Public License.
+
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+/* Specification. */
+#include "hellowindow.h"
+
+/* Declare i18n. */
+#include <klocale.h>
+/* Declare KMainWindow. */
+#include <kmainwindow.h>
+/* Declare QLabel. */
+#include <qlabel.h>
+/* Declare QPushButton. */
+#include <qpushbutton.h>
+/* Declare QString. */
+#include <qstring.h>
+/* Declare QVBox. */
+#include <qvbox.h>
+/* Declare QHBox. */
+#include <qhbox.h>
+
+/* Get getpid() declaration. */
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
+// The main window widget.
+
+HelloMainWindow::HelloMainWindow (QWidget * parent, const char * name)
+ : KMainWindow (parent, name)
+{
+ setCaption ("Hello example");
+
+ QVBox *panel = new QVBox (this);
+ panel->setSpacing (2);
+
+ QLabel *label1 = new QLabel (i18n ("Hello, world!"), panel);
+
+ QString label2text;
+ // NOT using QString::sprintf because it doesn't support reordering of
+ // arguments.
+ //label2text.sprintf (i18n ("This program is running as process number %d"),
+ // getpid ());
+ label2text = i18n ("This program is running as process number %1.").arg(getpid ());
+ QLabel *label2 = new QLabel (label2text, panel);
+
+ QHBox *buttonbar = new QHBox (panel);
+ QWidget *filler = new QWidget (buttonbar); // makes the button right-aligned
+ button = new QPushButton ("OK", buttonbar);
+ button->setMaximumWidth (button->sizeHint().width() + 20);
+
+ panel->resize (panel->sizeHint ());
+ resize (panel->frameSize ());
+}
+
+HelloMainWindow::~HelloMainWindow ()
+{
+}
diff --git a/gettext-tools/examples/hello-c++-kde/hellowindow.h b/gettext-tools/examples/hello-c++-kde/hellowindow.h
new file mode 100644
index 0000000..6457a48
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/hellowindow.h
@@ -0,0 +1,20 @@
+// Example for use of GNU gettext.
+// Copyright (C) 2003 Free Software Foundation, Inc.
+// This file is published under the GNU General Public License.
+
+/* Declare KMainWindow. */
+#include <kmainwindow.h>
+/* Declare QPushButton. */
+#include <qpushbutton.h>
+
+// The main window widget.
+
+class HelloMainWindow : public KMainWindow
+{
+ Q_OBJECT
+public:
+ HelloMainWindow (QWidget * parent = NULL, const char * name = NULL);
+ ~HelloMainWindow ();
+public:
+ QPushButton *button;
+};
diff --git a/gettext-tools/examples/hello-c++-kde/m4/Makefile.am b/gettext-tools/examples/hello-c++-kde/m4/Makefile.am
new file mode 100644
index 0000000..000cd06
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/m4/Makefile.am
@@ -0,0 +1,5 @@
+EXTRA_DIST = \
+ codeset.m4 gettext.m4 glibc2.m4 glibc21.m4 iconv.m4 intdiv0.m4 \
+ inttypes_h.m4 inttypes-pri.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 \
+ lib-prefix.m4 lock.m4 nls.m4 po.m4 progtest.m4 stdint_h.m4 \
+ uintmax_t.m4 visibility.m4
diff --git a/gettext-tools/examples/hello-c++-kde/po/LINGUAS b/gettext-tools/examples/hello-c++-kde/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-c++-kde/po/Makevars b/gettext-tools/examples/hello-c++-kde/po/Makevars
new file mode 100644
index 0000000..b5477ea
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/Makevars
@@ -0,0 +1,63 @@
+# Makefile variables for PO directory in any package using GNU gettext.
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These two variables depend on the location of this directory.
+subdir = po
+top_builddir = ..
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = \
+ --qt \
+ --keyword=i18n --flag=i18n:1:pass-c-format --flag=i18n:1:pass-qt-format \
+ --keyword=tr2i18n --flag=tr2i18n:1:pass-c-format --flag=tr2i18n:1:pass-qt-format \
+ --keyword=I18N_NOOP --flag=I18N_NOOP:1:pass-c-format --flag=I18N_NOOP:1:pass-qt-format \
+ --keyword=tr --flag=tr:1:pass-c-format --flag=tr:1:pass-qt-format \
+ --keyword=translate:2 --flag=translate:2:pass-c-format --flag=translate:2:pass-qt-format \
+ --keyword=QT_TR_NOOP --flag=QT_TR_NOOP:1:pass-c-format --flag=QT_TR_NOOP:1:pass-qt-format \
+ --keyword=QT_TRANSLATE_NOOP:2 --flag=QT_TRANSLATE_NOOP:2:pass-c-format --flag=QT_TRANSLATE_NOOP:2:pass-qt-format \
+ --keyword=_ --flag=_:1:pass-c-format --flag=_:1:pass-qt-format \
+ --keyword=N_ --flag=N_:1:pass-c-format --flag=N_:1:pass-qt-format
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
+# context. Possible values are "yes" and "no". Set this to yes if the
+# package uses functions taking also a message context, like pgettext(), or
+# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
+USE_MSGCTXT = no
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
diff --git a/gettext-tools/examples/hello-c++-kde/po/POTFILES.in b/gettext-tools/examples/hello-c++-kde/po/POTFILES.in
new file mode 100644
index 0000000..d631e96
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/POTFILES.in
@@ -0,0 +1,6 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# List of files which contain translatable strings.
+hello.cc
+hellowindow.cc
diff --git a/gettext-tools/examples/hello-c++-kde/po/af.po b/gettext-tools/examples/hello-c++-kde/po/af.po
new file mode 100644
index 0000000..54ffa7f
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/af.po
@@ -0,0 +1,33 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Hallo voorbeeld"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Hallo wêreld voorbeeld"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Hierdie program loop as prosesnommer %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/ast.po b/gettext-tools/examples/hello-c++-kde/po/ast.po
new file mode 100644
index 0000000..3a90fbd
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/ast.po
@@ -0,0 +1,34 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Hola exemplu"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Exemplu de hola mundu"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/bg.po b/gettext-tools/examples/hello-c++-kde/po/bg.po
new file mode 100644
index 0000000..384fe27
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/bg.po
@@ -0,0 +1,33 @@
+# Bulgarian translations for hello-c++-kde package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++-kde 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Пример: Здравейте"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Пример: Здравейте на всички"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Програмата е пусната под процес номер %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/ca.po b/gettext-tools/examples/hello-c++-kde/po/ca.po
new file mode 100644
index 0000000..1f2ac1b
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/ca.po
@@ -0,0 +1,34 @@
+# Catalan messages for GNU hello-c++-kde.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Exemple Hola"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Exemple Hola Món"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Aquest programa està corrent amb el número de procés %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/cs.po b/gettext-tools/examples/hello-c++-kde/po/cs.po
new file mode 100644
index 0000000..1b4940e
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/cs.po
@@ -0,0 +1,35 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Příklad „Hello“"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Příklad „Hello world“"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Tento program běží jako proces číslo %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/da.po b/gettext-tools/examples/hello-c++-kde/po/da.po
new file mode 100644
index 0000000..91f4159
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/da.po
@@ -0,0 +1,33 @@
+# Danish messages for hello-c++-kde.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Eksempel p hilsen"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "\"Hej verden\"-eksempel"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Dette program krer som proces nummer %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/de.po b/gettext-tools/examples/hello-c++-kde/po/de.po
new file mode 100644
index 0000000..982a092
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/de.po
@@ -0,0 +1,38 @@
+# German messages for hello-c++-kde.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Beispiel Hallo"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Beispiel Hallo-Welt"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/el.po b/gettext-tools/examples/hello-c++-kde/po/el.po
new file mode 100644
index 0000000..fada13f
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/el.po
@@ -0,0 +1,33 @@
+# Greek translation of hello-c++-kde
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Παράδειγμα χαιρετισμού"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Παράδειγμα \"γεια σου κόσμε\""
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/eo.po b/gettext-tools/examples/hello-c++-kde/po/eo.po
new file mode 100644
index 0000000..ec09dd7
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/eo.po
@@ -0,0 +1,33 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Saluto-ekzemplo"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Saluton-mondo-ekzemplo"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/es.po b/gettext-tools/examples/hello-c++-kde/po/es.po
new file mode 100644
index 0000000..582df08
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/es.po
@@ -0,0 +1,37 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Hola ejemplo"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Ejemplo de hola mundo"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Este programa está corriendo como el proceso número %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/fi.po b/gettext-tools/examples/hello-c++-kde/po/fi.po
new file mode 100644
index 0000000..0155dae
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/fi.po
@@ -0,0 +1,35 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Tervehdysesimerkki"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Terve maailma -esimerkki"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Tämän ohjelman prosessinumero on %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/fr.po b/gettext-tools/examples/hello-c++-kde/po/fr.po
new file mode 100644
index 0000000..e864baf
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/fr.po
@@ -0,0 +1,34 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++-kde 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Exemple Hello"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Exemple de « Hello world »"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Ce programme est exécuté en tant que processus numéro %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/ga.po b/gettext-tools/examples/hello-c++-kde/po/ga.po
new file mode 100644
index 0000000..10fe113
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/ga.po
@@ -0,0 +1,33 @@
+# Irish translations for hello-c++-kde.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-c++-kde package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Sampla `Dia duit'"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Sampla `Dia duit a dhomhain'"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "T an clr seo rith mar phriseas %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/gl.po b/gettext-tools/examples/hello-c++-kde/po/gl.po
new file mode 100644
index 0000000..d350136
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/gl.po
@@ -0,0 +1,38 @@
+# Galician translation for hello-c++-kde package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Exemplo ola"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Exemplo ola mundo"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Este programa estase executando como o proceso número %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/hr.po b/gettext-tools/examples/hello-c++-kde/po/hr.po
new file mode 100644
index 0000000..bd4b31c
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/hr.po
@@ -0,0 +1,35 @@
+# Translation of hello-c++-kde to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Primjer pozdrava"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Primjer pozdrava svijetu"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Ovaj program je pokrenut kao proces broj %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/hu.po b/gettext-tools/examples/hello-c++-kde/po/hu.po
new file mode 100644
index 0000000..4cc1e75
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/hu.po
@@ -0,0 +1,36 @@
+# Hungarian translation for hello-c++-kde.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Hello példa"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Hello világ példa"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Ez a program a(z) %1 folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-c++-kde/po/id.po b/gettext-tools/examples/hello-c++-kde/po/id.po
new file mode 100644
index 0000000..2fcc057
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/id.po
@@ -0,0 +1,34 @@
+# translation of hello-c++-kde-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Contoh hello"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Contoh hello world"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Program ini berjalan sebagai proses nomor %1"
diff --git a/gettext-tools/examples/hello-c++-kde/po/it.po b/gettext-tools/examples/hello-c++-kde/po/it.po
new file mode 100644
index 0000000..47dd43d
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/it.po
@@ -0,0 +1,33 @@
+# Italian messages for hello-c++-kde.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Esempio di Salve mondo"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Esempio di Salve mondo"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Questo programma è in esecuzione con numero di processo %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/ja.po b/gettext-tools/examples/hello-c++-kde/po/ja.po
new file mode 100644
index 0000000..89eff3c
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/ja.po
@@ -0,0 +1,33 @@
+# Translation of `hello-c++-kde' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++-kde 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "֤ˤϡפ"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr ", ˤϡפ"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Υץϥץֹ %1 ưƤޤ."
diff --git a/gettext-tools/examples/hello-c++-kde/po/ky.po b/gettext-tools/examples/hello-c++-kde/po/ky.po
new file mode 100644
index 0000000..aeb782d
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/ky.po
@@ -0,0 +1,35 @@
+# Translation of 'hello-c++-kde' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Салам мисалы"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Салам дүйнө мисалы"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Бул программа %1 процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-c++-kde/po/lv.po b/gettext-tools/examples/hello-c++-kde/po/lv.po
new file mode 100644
index 0000000..b8ffc11
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/lv.po
@@ -0,0 +1,37 @@
+# Latvian translation of hello-c++-kde
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Sveiki paraugs"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Sveika pasaule paraugs"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Šī programma darbojas kā process ar numuru %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/ms.po b/gettext-tools/examples/hello-c++-kde/po/ms.po
new file mode 100644
index 0000000..b0fe1c6
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/ms.po
@@ -0,0 +1,34 @@
+# hello-c++-kde Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-c++-kde package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Contoh hello"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Contoh hello world"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/mt.po b/gettext-tools/examples/hello-c++-kde/po/mt.po
new file mode 100644
index 0000000..3fd3695
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/mt.po
@@ -0,0 +1,34 @@
+# hello-c++-kde-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Eżempju tal-Hello"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Eżempju ta' Hello lil kulħadd"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/nb.po b/gettext-tools/examples/hello-c++-kde/po/nb.po
new file mode 100644
index 0000000..d7a402b
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/nb.po
@@ -0,0 +1,36 @@
+# Norwegian Bokmal translations for hello-c++-kde package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Hallo eksempel"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Hallo verden-eksempel"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Dette programmet kjører som prosess nummer %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/nl.po b/gettext-tools/examples/hello-c++-kde/po/nl.po
new file mode 100644
index 0000000..97b4f95
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/nl.po
@@ -0,0 +1,38 @@
+# Dutch translations for GNU hello-c++-kde.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "'Hallo'-voorbeeld"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "'Hallo wereld'-voorbeeld"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Dit programma draait als proces nummer %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/pl.po b/gettext-tools/examples/hello-c++-kde/po/pl.po
new file mode 100644
index 0000000..3a70f2d
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/pl.po
@@ -0,0 +1,34 @@
+# Polish translations for the GNU gettext messages, hello-c++-kde domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Przykładowy program witający"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Przykładowy program witający świat"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Ten program działa jako proces o numerze %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/pt.po b/gettext-tools/examples/hello-c++-kde/po/pt.po
new file mode 100644
index 0000000..7dc9ed8
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/pt.po
@@ -0,0 +1,33 @@
+# Portuguese translation of 'hello-c++-kde' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-c++-kde package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Exemplo Olá"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Exemplo Olá Mundo"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Este programa está a ser executado com o número de processo %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/pt_BR.po b/gettext-tools/examples/hello-c++-kde/po/pt_BR.po
new file mode 100644
index 0000000..8a5d577
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/pt_BR.po
@@ -0,0 +1,37 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Olá exemplo"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Olá mundo exemplo"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Este programa está executando com número de processo %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/ro.po b/gettext-tools/examples/hello-c++-kde/po/ro.po
new file mode 100644
index 0000000..d0b8a96
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/ro.po
@@ -0,0 +1,33 @@
+# Mesajele n limba romn pentru pachetul hello-c++-kde-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-c++-kde.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Exemplu Salut(Hello)"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Exemplu Salut lume(Hello world)"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Acest program este rulat ca procesul numrul %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/ru.po b/gettext-tools/examples/hello-c++-kde/po/ru.po
new file mode 100644
index 0000000..e434c92
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/ru.po
@@ -0,0 +1,37 @@
+# Translation of hello-c++-kde-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Пример: Здравствуйте"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Пример: Здравствуй, мир"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Эта программа выполняется как процесс под номером %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/sk.po b/gettext-tools/examples/hello-c++-kde/po/sk.po
new file mode 100644
index 0000000..6ada7c4
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/sk.po
@@ -0,0 +1,33 @@
+# Slovak translations GNU for hello-c++-kde package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++-kde 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Príklad \"Ahoj\""
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Príklad \"Ahoj svet\""
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Tento program beží ako proces s číslom %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/sl.po b/gettext-tools/examples/hello-c++-kde/po/sl.po
new file mode 100644
index 0000000..aae2b36
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/sl.po
@@ -0,0 +1,36 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-c++-kde-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Zgled Pozdravljen"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Zgled Pozdravljen svet"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Ta program teče kot proces številka %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/sr.po b/gettext-tools/examples/hello-c++-kde/po/sr.po
new file mode 100644
index 0000000..2db8ec0
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/sr.po
@@ -0,0 +1,36 @@
+# Serbian translation of hello-c++-kde.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "„Здраво“ пример"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "„Здраво свима“ пример"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Овај програм се извршава као процес број %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/sv.po b/gettext-tools/examples/hello-c++-kde/po/sv.po
new file mode 100644
index 0000000..fee7248
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/sv.po
@@ -0,0 +1,32 @@
+# Swedish messages for hello-c++-kde.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Hälsningsexempel"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "\"Hej världen\"-exempel"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Detta program kör som process nummer %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/tr.po b/gettext-tools/examples/hello-c++-kde/po/tr.po
new file mode 100644
index 0000000..ec2a273
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/tr.po
@@ -0,0 +1,33 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Hello örneği"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Hello world örneği"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Bu yazılım, %1 süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-c++-kde/po/uk.po b/gettext-tools/examples/hello-c++-kde/po/uk.po
new file mode 100644
index 0000000..9b6cce8
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/uk.po
@@ -0,0 +1,37 @@
+# Ukrainian translation to hello-c++-kde
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Приклад привітання"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Приклад «Привітання»"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Ця програма виконується як процес з номером %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/vi.po b/gettext-tools/examples/hello-c++-kde/po/vi.po
new file mode 100644
index 0000000..963f4af
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/vi.po
@@ -0,0 +1,38 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "Ví dụ “Chào”"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "Ví dụ “Chào thế giới”"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Chương trình này đang chạy với mã số tiến trình %1."
diff --git a/gettext-tools/examples/hello-c++-kde/po/zh_CN.po b/gettext-tools/examples/hello-c++-kde/po/zh_CN.po
new file mode 100644
index 0000000..4914580
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/zh_CN.po
@@ -0,0 +1,33 @@
+# zh_CN translation for hello-c++-kde.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-c++-kde package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "世界你好示例"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "世界你好示例"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "此程序正以进程号 %1 运行。"
diff --git a/gettext-tools/examples/hello-c++-kde/po/zh_HK.po b/gettext-tools/examples/hello-c++-kde/po/zh_HK.po
new file mode 100644
index 0000000..2e7d490
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/zh_HK.po
@@ -0,0 +1,32 @@
+# Chinese (Hong Kong) translation of hello-c++-kde.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "測試範例"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "訊息測試範例"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "本程式正在執行中,進程編號為 %1。"
diff --git a/gettext-tools/examples/hello-c++-kde/po/zh_TW.po b/gettext-tools/examples/hello-c++-kde/po/zh_TW.po
new file mode 100644
index 0000000..c6ef304
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-kde/po/zh_TW.po
@@ -0,0 +1,34 @@
+# Traditional Chinese translation of hello-c++-kde.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-kde 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:46
+msgid "Hello example"
+msgstr "測試範例"
+
+#: hello.cc:48
+msgid "Hello world example"
+msgstr "訊息測試範例"
+
+#: hellowindow.cc:42
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "本程式正在執行,行程編號為 %1。"
diff --git a/gettext-tools/examples/hello-c++-qt/BUGS b/gettext-tools/examples/hello-c++-qt/BUGS
new file mode 100644
index 0000000..6899f3e
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/BUGS
@@ -0,0 +1,3 @@
+Qt looks only at the LANG value and ignores LC_MESSAGES and LC_ALL. (Bug in
+function QTextCodec::locale().) Therefore, to make it work, you have to set
+LANG to the same value as LC_ALL or LC_MESSAGES.
diff --git a/gettext-tools/examples/hello-c++-qt/INSTALL b/gettext-tools/examples/hello-c++-qt/INSTALL
new file mode 100644
index 0000000..351c025
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/INSTALL
@@ -0,0 +1,12 @@
+This example relies on:
+ - Qt (libqt) and its dependencies: OpenGL (libGL), libpng, zlib (libz)
+ - the C++ runtime libraries (libstdc++)
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix --with-qt-dir=/usr/lib/qt3 --enable-threads
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-c++-qt/Makefile.am b/gettext-tools/examples/hello-c++-qt/Makefile.am
new file mode 100644
index 0000000..44b29ff
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/Makefile.am
@@ -0,0 +1,31 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign no-dependencies
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_PROGRAMS = hello
+
+# The source files of the 'hello' program.
+hello_SOURCES = hello.cc
+
+# Define C macros LOCALEDIR and PKGLOCALEDIR indicating where catalogs will be
+# installed.
+pkglocaledir = $(pkgdatadir)/locale
+DEFS = -DLOCALEDIR=\"$(localedir)\" -DPKGLOCALEDIR=\"$(pkglocaledir)\" @DEFS@
+
+CXXFLAGS += $(QT_CXXFLAGS) $(PTHREAD_CFLAGS)
+
+# Link time dependencies.
+LDADD = $(QT_LDFLAGS)
+LIBS += $(QT_LIBS)
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-c++-qt/autoclean.sh b/gettext-tools/examples/hello-c++-qt/autoclean.sh
new file mode 100755
index 0000000..ef9a6c5
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/autoclean.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f config.guess
+rm -f config.sub
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.qm
diff --git a/gettext-tools/examples/hello-c++-qt/autogen.sh b/gettext-tools/examples/hello-c++-qt/autogen.sh
new file mode 100755
index 0000000..11df112
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/autogen.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c --qt -o $lang.qm $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-c++-qt/configure.ac b/gettext-tools/examples/hello-c++-qt/configure.ac
new file mode 100644
index 0000000..9858a52
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/configure.ac
@@ -0,0 +1,23 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.cc)
+AM_INIT_AUTOMAKE(hello-c++-qt, 0)
+
+AC_PROG_CXX
+FUN_TYPE_BOOL
+AC_CHECK_HEADERS([unistd.h])
+FUN_HEADER_STDCXX
+FUN_CHECK_PTHREAD
+FUN_CHECK_QT(220)
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-c++-qt/hello.cc b/gettext-tools/examples/hello-c++-qt/hello.cc
new file mode 100644
index 0000000..577a54e
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/hello.cc
@@ -0,0 +1,73 @@
+// Example for use of GNU gettext.
+// This file is in the public domain.
+
+// Source code of the C++ program.
+
+#include <qapplication.h>
+#include <qmainwindow.h>
+#include <qlabel.h>
+#include <qpushbutton.h>
+#include <qstring.h>
+#include <qvbox.h>
+#include <qhbox.h>
+#include <qtextcodec.h>
+
+/* Get getpid() declaration. */
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
+int
+main (int argc, char *argv[])
+{
+ // Initializations.
+
+ QApplication application (argc, argv);
+#if 0
+ GettextTranslator *translator =
+ new GettextTranslator (&application, "hello-c++-qt", LOCALEDIR);
+#else
+ QTranslator *translator = new QTranslator (NULL);
+ translator->load (QString ("hello-c++-qt") + "_" + QTextCodec::locale(),
+ PKGLOCALEDIR);
+#endif
+ application.installTranslator (translator);
+#define _(string) application.translate ("", string)
+
+ // Create the GUI elements.
+
+ QMainWindow *window = new QMainWindow ();
+ window->setCaption ("Hello example");
+
+ QVBox *panel = new QVBox (window);
+ panel->setSpacing (2);
+
+ QLabel *label1 = new QLabel (_("Hello, world!"), panel);
+
+ QString label2text;
+ // NOT using QString::sprintf because it doesn't support reordering of
+ // arguments.
+ //label2text.sprintf (_("This program is running as process number %d"),
+ // getpid ());
+ label2text = _("This program is running as process number %1.").arg(getpid ());
+ QLabel *label2 = new QLabel (label2text, panel);
+
+ QHBox *buttonbar = new QHBox (panel);
+ QWidget *filler = new QWidget (buttonbar); // makes the button right-aligned
+ QPushButton *button = new QPushButton ("OK", buttonbar);
+ button->setMaximumWidth (button->sizeHint().width() + 20);
+ QObject::connect (button, SIGNAL (clicked ()), &application, SLOT (quit ()));
+
+ panel->resize (panel->sizeHint ());
+ window->resize (panel->frameSize ());
+
+ application.setMainWidget (window);
+
+ // Make the GUI elements visible.
+
+ window->show ();
+
+ // Start the event loop.
+
+ return application.exec ();
+}
diff --git a/gettext-tools/examples/hello-c++-qt/m4/Makefile.am b/gettext-tools/examples/hello-c++-qt/m4/Makefile.am
new file mode 100644
index 0000000..b15ec45
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/m4/Makefile.am
@@ -0,0 +1,3 @@
+EXTRA_DIST = \
+ nls.m4 po.m4 \
+ qt.m4
diff --git a/gettext-tools/examples/hello-c++-qt/m4/qt.m4 b/gettext-tools/examples/hello-c++-qt/m4/qt.m4
new file mode 100644
index 0000000..b734356
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/m4/qt.m4
@@ -0,0 +1,466 @@
+# Copyright (C) 2001 David Johnson
+# This file is free software; the author gives unlimited permission to copy
+# and/or distribute it, with or without modifications, as long as this notice
+# is preserved.
+
+# FUN_TYPE BOOL
+# check for a built-in bool type
+# HAVE_BOOL will be defined in the config header
+
+AC_DEFUN([FUN_TYPE_BOOL],
+[
+ AC_REQUIRE([AC_PROG_CXX])
+
+ AC_LANG_PUSH(C++)
+ AC_CHECK_TYPE(bool, ac_check_bool=yes, ac_check_bool=no)
+ AC_LANG_POP(C++)
+ if test "x$ac_check_bool" = "xyes" ; then
+ AC_DEFINE(HAVE_BOOL,,[define if bool is a built-in type])
+ fi
+
+ AH_BOTTOM([#ifndef HAVE_BOOL])
+ AH_BOTTOM([enum booltyp { false, true }; typedef enum booltyp bool;])
+ AH_BOTTOM([#endif])
+])# FUN_TYPE_BOOL
+
+# FUN_HEADER_STDCXX
+# check for standard ISO C++ headers
+
+AC_DEFUN([FUN_HEADER_STDCXX],
+[
+ AC_REQUIRE([AC_PROG_CXX])
+
+ AC_LANG_PUSH(C++)
+
+ ac_check_headers=no
+ AC_CHECK_HEADER(cstdlib,
+ ac_check_headers=yes,
+ ac_check_headers=no)
+ AC_CHECK_HEADER(cstring,
+ ac_check_headers=$ac_check_headers,
+ ac_check_headers=no)
+ AC_CHECK_HEADER(iostream,
+ ac_check_headers=$ac_check_headers,
+ ac_check_headers=no)
+
+ AC_LANG_POP(C++)
+
+ if test "x$ac_check_headers" = "xno" ; then
+ AC_MSG_ERROR(standard ISO C++ headers not found!)
+ fi
+])#FUN_HEADER_STDCXX
+
+# FUN_CHECK_PTHREAD
+# check for posix pthreads
+# sets PTHREAD_LIBS and PTHREAD_CFLAGS
+# sets HAVE_PTHREADS in the configuration header
+
+AC_DEFUN([FUN_CHECK_PTHREAD],
+[
+ AC_REQUIRE([AC_CANONICAL_HOST])
+ AC_REQUIRE([AC_PROG_CC])
+
+ PTHREAD_LIBS=""
+ PTHREAD_CFLAGS=""
+
+ AC_ARG_ENABLE(threads, AC_HELP_STRING([--enable-threads],
+ [enable the use of the threads [[default=no]]]),
+ ac_use_threads=$enableval, ac_use_threads=no)
+
+ if test "x$ac_use_threads" = "xyes" ; then
+
+ AC_CHECK_HEADER(pthread.h, ac_posix_threads=yes, ac_posix_threads=no)
+
+ if test "x$ac_posix_threads" = "xyes" ; then
+
+ AC_MSG_CHECKING([whether ${CC} accepts -pthread])
+ ac_cflags_save="$CFLAGS"
+ CFLAGS="$CFLAGS -pthread"
+ AC_TRY_COMPILE([#include <pthread.h>], [pthread_attr_init(0)],
+ ac_cc_pthread=yes, ac_cc_pthread=no)
+ CFLAGS="$ac_cflags_save"
+
+ if test "x$ac_cc_pthread" = "xyes" ; then
+ AC_MSG_RESULT([yes])
+ PTHREAD_CFLAGS="-pthread"
+ else
+ AC_MSG_RESULT([no])
+ ac_thread_library=none
+
+ if test "x$ac_thread_library" = "xnone" ; then
+ AC_CHECK_LIB(c_r, pthread_self, ac_thread_library=c_r)
+ fi
+ if test "x$ac_thread_library" = "xnone" ; then
+ AC_CHECK_LIB(pthread, pthread_self, ac_thread_library=pthread)
+ fi
+ if test "x$ac_thread_library" = "xnone" ; then
+ AC_CHECK_LIB(pthreads, pthread_self, ac_thread_library=pthreads)
+ fi
+ if test "x$ac_thread_library" = "xnone" ; then
+ AC_CHECK_LIB(thread, pthread_self, ac_thread_library=thread)
+ fi
+ if test "x$ac_thread_library" = "xnone" ; then
+ AC_CHECK_LIB(gthreads, pthread_self, ac_thread_library=gthreads)
+ fi
+ if test "x$ac_thread_library" = "xnone" ; then
+ AC_CHECK_LIB(c, pthread_self, ac_thread_library=c)
+ fi
+ if test "x$ac_thread_library" = "xnone" ; then
+ ac_use_threads=no
+ else
+ PTHREAD_LIBS="-l$ac_thread_library"
+ fi
+ fi
+ else
+ ac_use_threads=no
+ fi
+ fi
+
+ if test "x$ac_use_threads" = "xyes" ; then
+ AC_DEFINE(HAVE_PTHREAD, 1, [Define if you have POSIX threads])
+ case $host_os in
+ aix* | freebsd*)
+ PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_THREAD_SAFE"
+ ;;
+ linux* | solaris*)
+ PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_REENTRANT"
+ ;;
+ *)
+ ;;
+ esac
+ fi
+])#FUN_CHECK_PTHREAD
+
+# FUN_CHECK_QT([qt_min_version],[qt_max_version])
+# check for qt headers, libs, progs and compilation
+# substs QT_CXXFLAGS, QT_LDFLAGS, and QT_LIBS
+# substs QTVERSION, MOC and UIC
+# LIBQT, MOC and UIC 'precious' variables
+
+AC_DEFUN([FUN_CHECK_QT],
+[
+ AC_REQUIRE([AC_PROG_CXX])
+ AC_REQUIRE([AC_PATH_X])
+ AC_REQUIRE([AC_PATH_XTRA])
+ AC_REQUIRE([FUN_CHECK_PTHREAD])
+
+ # some 'precious' variables for configure --help
+ AC_ARG_VAR(QTMIN, minimum version of Qt to search for e.g. 220)
+ AC_ARG_VAR(QTMAX, maximum version of Qt to search for e.g. 399)
+ AC_ARG_VAR(LIBQT, library flag for the Qt libary e.g. -lqt)
+ AC_ARG_VAR(MOC, QT meta object compiler command)
+ AC_ARG_VAR(UIC, Qt UI compiler command)
+
+ AC_CACHE_SAVE
+
+ AC_MSG_NOTICE([checking for Qt])
+
+ # process our args
+ if test -z "$1" ; then
+ qt_min_version=0
+ else
+ qt_min_version=$1
+ fi
+ if test -z "$2" ; then
+ qt_max_version=9999
+ else
+ qt_max_version=$2
+ fi
+ # adjust for user preferences
+ if test "x$QTMIN" != "x" ; then
+ if expr $QTMIN '>' $qt_min_version > /dev/null ; then
+ qt_min_version=$QTMIN;
+ fi
+ fi
+ if test "x$QTMAX" != "x" ; then
+ if expr $QTMAX '<' $qt_max_version > /dev/null ; then
+ qt_max_version=$QTMAX;
+ fi
+ fi
+
+ # set up our configuration options
+ qt_dir=""
+ qt_includes=""
+ qt_libraries=""
+ qt_programs=""
+ AC_ARG_WITH([qt_dir], AC_HELP_STRING([--with-qt-dir=DIR],
+ [where the Qt package is installed]),
+ [ qt_dir="$withval"
+ qt_includes="$withval"/include
+ qt_libraries="$withval"/lib
+ qt_programs="$withval"/bin
+ ])
+ AC_ARG_WITH([qt_includes], AC_HELP_STRING([--with-qt-includes=DIR],
+ [where the Qt includes are installed]),
+ [qt_includes="$withval"])
+ AC_ARG_WITH([qt_libraries], AC_HELP_STRING([--with-qt-libraries=DIR],
+ [where the Qt libraries are installed]),
+ [qt_libraries="$withval"])
+ AC_ARG_WITH([qt_programs], AC_HELP_STRING([--with-qt-programs=DIR],
+ [where the Qt programs are installed]),
+ [qt_programs="$withval"])
+
+ QTVERSION="000"
+
+ FUN_QT_HEADERS
+
+ # check for a traditional qt installation tree
+ if ls $qt_includes/../lib/libqt* > /dev/null 2> /dev/null; then
+ qt_dir="`echo $qt_includes | sed s,'/include',,`"
+ qt_libraries="$qt_dir/lib"
+ qt_programs="$qt_dir/bin"
+ fi
+
+ FUN_QT_LIBRARIES
+ FUN_QT_PROGRAMS
+ FUN_QT_COMPILE
+
+ AC_MSG_NOTICE([Found Qt version $QTVERSION])
+
+ AC_SUBST(QTVERSION)
+ AC_SUBST(MOC)
+ AC_SUBST(UIC)
+ QT_CXXFLAGS="-I$qt_includes"
+ AC_SUBST(QT_CXXFLAGS)
+ QT_LDFLAGS="-L$qt_libraries"
+ AC_SUBST(QT_LDFLAGS)
+ QT_LIBS="$LIBQT"
+ AC_SUBST(QT_LIBS)
+])#FUN_CHECK_QT
+
+# FUN_QT_HEADERS
+# helper function for FUN_CHECK_QT
+# check for qt headers in standard locations
+
+AC_DEFUN([FUN_QT_HEADERS],
+[
+ AC_MSG_CHECKING([for Qt headers])
+
+ if test "x$qt_includes" = "x" ; then
+ # look in standard locations
+ qt_found_dirs=""
+ qt_include_dirs="
+ $QTDIR
+ /usr/include
+ /usr/local/include
+ /usr/X11R6/include
+ `ls -dr /usr/include/qt* 2>/dev/null`
+ `ls -dr /usr/local/include/qt* 2>/dev/null`
+ `ls -dr /usr/X11R6/include/qt* 2>/dev/null`
+ `ls -dr /usr/lib/qt*/include 2>/dev/null`
+ `ls -dr /usr/local/lib/qt*/include 2>/dev/null`
+ `ls -dr /usr/X11R6/lib/qt*/include 2>/dev/null`
+ `ls -dr /usr/local/qt*/include 2>/dev/null`
+ `ls -dr /opt/qt*/include 2>/dev/null` "
+ for n in $qt_include_dirs ; do
+ if test -r "$n/qglobal.h"; then
+ qt_found_dirs="$qt_found_dirs $n"
+ fi
+ done
+
+ # find the latest version between min_version and max_version
+ qt_prev_version=$qt_min_version
+ qt_found_version=""
+ for n in $qt_found_dirs ; do
+ qt_current_version=`grep -w '#define QT_VERSION' $n/qglobal.h |
+ sed s/'#define QT_VERSION'//`
+ if expr $qt_current_version '>=' $qt_prev_version > /dev/null ; then
+ if expr $qt_current_version '<=' $qt_max_version > /dev/null ; then
+ qt_includes=$n
+ qt_prev_version=$qt_current_version
+ fi
+ fi
+ done
+ fi
+
+ if test "x$qt_includes" = "x" ; then
+ AC_MSG_RESULT([no])
+ AC_MSG_ERROR([cannot find correct Qt headers!])
+ else
+ dnl TODO need to strip out white space
+ QTVERSION=$qt_prev_version;
+ AC_MSG_RESULT([$qt_includes])
+ fi
+])#FUN_QT_HEADERS
+
+# FUN_QT_LIBRARIES
+# helper function for FUN_CHECK_QT
+# check for qt libs in standard locations
+
+AC_DEFUN([FUN_QT_LIBRARIES],
+[
+ AC_REQUIRE([FUN_QT_HEADERS])
+
+ AC_MSG_CHECKING([for Qt libraries])
+
+ # check which library to look for
+ if test -z "$LIBQT" ; then
+ if test "x$ac_use_threads" = "xyes" ; then
+ LIBQT="-lqt-mt"
+ else
+ LIBQT="-lqt"
+ fi
+ fi
+
+ lib_qt=`echo $LIBQT | sed s/'-l'//`
+
+ if test "x$qt_libraries" = "x" ; then
+ # see if it is relative to the includes
+ qt_tree="$qt_includes"
+ while test "x$qt_tree" != "x" ; do
+ # first go around will fail...
+ if ls $qt_tree/lib/libqt* > /dev/null 2> /dev/null ; then
+ qt_libraries=$qt_tree/lib
+ break
+ else
+ # lop off tail of path
+ dnl not as portable as it should be...
+ qt_tree="`dirname $qt_tree`"
+ fi
+ done
+ fi
+
+ if test "x$qt_libraries" = "x" ; then
+ AC_MSG_RESULT([no])
+ AC_MSG_ERROR([cannot find Qt libraries!])
+ else
+ # check that we're looking at the right library
+ if ls $qt_libraries/lib$lib_qt.* > /dev/null 2> /dev/null ; then
+ AC_MSG_RESULT([$qt_libraries])
+ else
+ AC_MSG_RESULT([no])
+ if test "x$ac_use_threads" = "xyes" ; then
+ AC_MSG_ERROR([cannot find the threaded Qt library in $qt_libraries!])
+ else
+ AC_MSG_ERROR([cannot find the non-threaded Qt library in $qt_libraries!])
+ fi
+ fi
+ fi
+])#FUN_QT_LIBRARIES
+
+# FUN_QT_PROGRAMS
+# helper function for FUN_CHECK_QT
+# searches for moc and uic
+
+AC_DEFUN([FUN_QT_PROGRAMS],
+[
+ AC_REQUIRE([FUN_QT_LIBRARIES])
+
+ AC_MSG_CHECKING([for Qt utilities])
+
+ if test "x$q_programs" = "x" ; then
+ # see if it is relative to the libraries
+ qt_tree="$qt_libraries"
+ while test "x$qt_tree" != "x" ; do
+ # first go around will fail
+ if ls $qt_tree/bin/moc* > /dev/null 2> /dev/null ; then
+ qt_programs=$qt_tree/bin
+ break
+ else
+ # lop off tail of path
+ dnl not as portable as it should be...
+ qt_tree="`dirname $qt_tree`"
+ fi
+ done
+ # if we haven't found the progs, there's not much more we can do
+ fi
+
+ if test "x$qt_programs" = "x" ; then
+ AC_MSG_RESULT([no])
+ AC_MSG_ERROR([cannot find Qt utilities!])
+ else
+ AC_MSG_RESULT([$qt_programs])
+ # find the right moc
+ if test -z "$MOC" ; then
+ AC_CHECK_PROG(MOC, moc, moc)
+ if test "x$MOC" = "x" ; then
+ # could be renamed to avoid clashes
+ if ls $qt_programs/moc > /dev/null 2> /dev/null ; then
+ MOC="$qt_programs/moc"
+ else
+ if expr "$QTVERSION" '>=' "200" > /dev/null ; then
+ if ls $qt_programs/moc2 > /dev/null 2> /dev/null ; then
+ MOC="$qt_programs/moc2"
+ fi
+ else
+ if expr "$QTVERSION" '>=' "300" > /dev/null ; then
+ if $qt_programs/moc3 > /dev/null 2> /dev/null ; then
+ MOC="$qt_programs/moc3"
+ fi
+ fi
+ fi
+ fi
+ fi
+ if test "x$MOC" = "x" ; then
+ AC_MSG_RESULT([no])
+ AC_MSG_ERROR([cannot find Qt meta object compiler!])
+ fi
+ fi
+
+ # find the right uic
+ if expr "$QTVERSION" '>=' "220" > /dev/null ; then
+ if test -z "$UIC" ; then
+ AC_CHECK_PROG(UIC, uic, uic)
+ if test "x$UIC" = "x" ; then
+ # could be renamed to avoid clashes
+ if ls $qt_programs/uic > /dev/null 2> /dev/null ; then
+ UIC="$qt_programs/uic"
+ else
+ if expr "$QTVERSION" '>=' "300" > /dev/null ; then
+ if ls $qt_programs/uic3 > /dev/null 2> /dev/null ; then
+ UIC="$qt_programs/uic3"
+ fi
+ fi
+ fi
+ fi
+ fi
+ else
+ # if uic is important to the build, change this
+ UIC=""
+ fi
+ fi
+])#FUN_QT_PROGRAMS
+
+# FUN_QT_COMPILE
+# helper function for FUN_CHECK_QT
+# compile a simple qt program
+
+AC_DEFUN([FUN_QT_COMPILE],
+[
+ AC_REQUIRE([FUN_QT_HEADERS])
+ AC_REQUIRE([FUN_QT_LIBRARIES])
+ AC_REQUIRE([FUN_QT_PROGRAMS])
+
+ AC_MSG_CHECKING([whether a simple Qt program compiles])
+
+ AC_LANG_PUSH(C++)
+
+ ac_cxxflags_save="$CXXFLAGS"
+ ac_ldflags_save="$LDFLAGS"
+ ac_libs_save="$LIBS"
+ CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS -I$qt_includes $X_CFLAGS $all_includes"
+ LDFLAGS="$LDFLAGS -L$qt_libraries $X_LIBS "
+ LIBS="$LIBS $PTHREAD_LIBS $X_PRE_LIBS $X_EXTRA_LIBS -lXext -lX11 $LIBQT"
+
+ AC_TRY_LINK([
+ #include <qglobal.h>
+ #include <qmessagebox.h>
+ #include <qstring.h>],
+ [QString s = "hello world";
+ QMessageBox::information(0, s, "no he is not");
+ return 0;],
+ qt_compile=yes, qt_compile=no)
+
+ CXXFLAGS="$ac_cxxflags_save"
+ LDFLAGS="$ac_ldflags_save"
+ LIBS="$ac_libs_save"
+
+ AC_LANG_POP(C++)
+
+ if test "x$qt_compile" = "xyes" ; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ AC_MSG_ERROR([cannot compile a Qt program!])
+ fi
+])#FUN_QT_COMPILE
diff --git a/gettext-tools/examples/hello-c++-qt/po/LINGUAS b/gettext-tools/examples/hello-c++-qt/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-c++-qt/po/Makefile.am b/gettext-tools/examples/hello-c++-qt/po/Makefile.am
new file mode 100644
index 0000000..c0cf6da
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/Makefile.am
@@ -0,0 +1,289 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello.cc
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = \
+ --qt \
+ --keyword=tr:1,1t --keyword=tr:1,2c,2t --keyword=tr:1,1,2c,3t --flag=tr:1:pass-c-format --flag=tr:1:pass-qt-format \
+ --keyword=translate:2 --flag=translate:2:pass-c-format --flag=translate:2:pass-qt-format \
+ --keyword=QT_TR_NOOP --flag=QT_TR_NOOP:1:pass-c-format --flag=QT_TR_NOOP:1:pass-qt-format \
+ --keyword=QT_TRANSLATE_NOOP:2 --flag=QT_TRANSLATE_NOOP:2:pass-c-format --flag=QT_TRANSLATE_NOOP:2:pass-qt-format \
+ --keyword=_ --flag=_:1:pass-c-format --flag=_:1:pass-qt-format \
+ --keyword=N_ --flag=N_:1:pass-c-format --flag=N_:1:pass-qt-format
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).qm)
+QMFILES = @QMFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(lang).qm)
+CATALOGS = @QTCATALOGS@
+
+SUFFIXES = .po .qm .sed .sin .nop .po-create .po-update
+
+.po.qm:
+ @lang=`echo $* | sed -e 's,.*/,,'`; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}rm -f $${lang}.qm && $(GMSGFMT) -c --qt --statistics --verbose -o $${lang}.qm $${lang}.po"; \
+ cd $(srcdir) && rm -f $${lang}.qm && $(GMSGFMT) -c --qt --statistics --verbose -o t-$${lang}.qm $${lang}.po && mv t-$${lang}.qm $${lang}.qm
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(QMFILES) are empty.
+# In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ test -z "$(QMFILES)" || $(MAKE) $(QMFILES)
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+install-data-local: install-data-local-@USE_NLS@
+install-data-local-no: all-local
+install-data-local-yes: all-local
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)/locale
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
+ $(INSTALL_DATA) $$realcat $(DESTDIR)$(pkgdatadir)/locale/$(DOMAIN)_$$cat; \
+ echo "installing $$realcat as $(DESTDIR)$(pkgdatadir)/locale/$(DOMAIN)_$$cat"; \
+ done
+
+installdirs-local: installdirs-local-@USE_NLS@
+installdirs-local-no:
+installdirs-local-yes:
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)/locale
+
+uninstall-local: uninstall-local-@USE_NLS@
+uninstall-local-no:
+uninstall-local-yes:
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ rm -f $(DESTDIR)$(pkgdatadir)/locale/$(DOMAIN)_$$cat; \
+ done
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+MOSTLYCLEANFILES += *.o
+
+MAINTAINERCLEANFILES = stamp-po $(QMFILES)
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(QMFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-gmo
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-gmo: Makefile $(QMFILES)
+ @:
diff --git a/gettext-tools/examples/hello-c++-qt/po/af.po b/gettext-tools/examples/hello-c++-qt/po/af.po
new file mode 100644
index 0000000..1861c43
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Hierdie program loop as prosesnommer %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/ast.po b/gettext-tools/examples/hello-c++-qt/po/ast.po
new file mode 100644
index 0000000..fc56769
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/bg.po b/gettext-tools/examples/hello-c++-qt/po/bg.po
new file mode 100644
index 0000000..df5891e
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-c++-qt package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++-qt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Програмата е пусната под процес номер %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/ca.po b/gettext-tools/examples/hello-c++-qt/po/ca.po
new file mode 100644
index 0000000..91b2d75
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-c++-qt.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Aquest programa està corrent amb el número de procés %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/cs.po b/gettext-tools/examples/hello-c++-qt/po/cs.po
new file mode 100644
index 0000000..e43b4ae
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Tento program běží jako proces číslo %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/da.po b/gettext-tools/examples/hello-c++-qt/po/da.po
new file mode 100644
index 0000000..44b3bc2
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-c++-qt.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Dette program krer som proces nummer %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/de.po b/gettext-tools/examples/hello-c++-qt/po/de.po
new file mode 100644
index 0000000..b469d7e
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-c++-qt.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/el.po b/gettext-tools/examples/hello-c++-qt/po/el.po
new file mode 100644
index 0000000..5272621
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-c++-qt
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/eo.po b/gettext-tools/examples/hello-c++-qt/po/eo.po
new file mode 100644
index 0000000..85b510b
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/es.po b/gettext-tools/examples/hello-c++-qt/po/es.po
new file mode 100644
index 0000000..7cf669b
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Este programa está corriendo como el proceso número %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/fi.po b/gettext-tools/examples/hello-c++-qt/po/fi.po
new file mode 100644
index 0000000..5313d4a
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Tämän ohjelman prosessinumero on %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/fr.po b/gettext-tools/examples/hello-c++-qt/po/fr.po
new file mode 100644
index 0000000..7552f6f
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++-qt 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Ce programme est exécuté en tant que processus numéro %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/ga.po b/gettext-tools/examples/hello-c++-qt/po/ga.po
new file mode 100644
index 0000000..45d550e
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-c++-qt.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-c++-qt package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "T an clr seo rith mar phriseas %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/gl.po b/gettext-tools/examples/hello-c++-qt/po/gl.po
new file mode 100644
index 0000000..779b0d5
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-c++-qt package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Este programa estase executando como o proceso número %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/hr.po b/gettext-tools/examples/hello-c++-qt/po/hr.po
new file mode 100644
index 0000000..c8fce2e
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-c++-qt to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Ovaj program je pokrenut kao proces broj %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/hu.po b/gettext-tools/examples/hello-c++-qt/po/hu.po
new file mode 100644
index 0000000..d5a2ec5
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-c++-qt.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Ez a program a(z) %1 folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-c++-qt/po/id.po b/gettext-tools/examples/hello-c++-qt/po/id.po
new file mode 100644
index 0000000..122b58c
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-c++-qt-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Program ini berjalan sebagai proses nomor %1"
diff --git a/gettext-tools/examples/hello-c++-qt/po/it.po b/gettext-tools/examples/hello-c++-qt/po/it.po
new file mode 100644
index 0000000..4847646
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-c++-qt.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Questo programma è in esecuzione con numero di processo %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/ja.po b/gettext-tools/examples/hello-c++-qt/po/ja.po
new file mode 100644
index 0000000..e469ad1
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-c++-qt' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++-qt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Υץϥץֹ %1 ưƤޤ."
diff --git a/gettext-tools/examples/hello-c++-qt/po/ky.po b/gettext-tools/examples/hello-c++-qt/po/ky.po
new file mode 100644
index 0000000..7ddf81f
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-c++-qt' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Бул программа %1 процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-c++-qt/po/lv.po b/gettext-tools/examples/hello-c++-qt/po/lv.po
new file mode 100644
index 0000000..fa44aed
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-c++-qt
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Šī programma darbojas kā process ar numuru %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/ms.po b/gettext-tools/examples/hello-c++-qt/po/ms.po
new file mode 100644
index 0000000..b6ae5b5
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/ms.po
@@ -0,0 +1,26 @@
+# hello-c++-qt Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-c++-qt package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/mt.po b/gettext-tools/examples/hello-c++-qt/po/mt.po
new file mode 100644
index 0000000..4f9cd9e
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/mt.po
@@ -0,0 +1,26 @@
+# hello-c++-qt-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/nb.po b/gettext-tools/examples/hello-c++-qt/po/nb.po
new file mode 100644
index 0000000..742517f
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-c++-qt package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Dette programmet kjører som prosess nummer %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/nl.po b/gettext-tools/examples/hello-c++-qt/po/nl.po
new file mode 100644
index 0000000..1dda275
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-c++-qt.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Dit programma draait als proces nummer %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/pl.po b/gettext-tools/examples/hello-c++-qt/po/pl.po
new file mode 100644
index 0000000..97005d6
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-c++-qt domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Ten program działa jako proces o numerze %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/pt.po b/gettext-tools/examples/hello-c++-qt/po/pt.po
new file mode 100644
index 0000000..73c2398
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-c++-qt' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-c++-qt package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Este programa está a ser executado com o número de processo %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/pt_BR.po b/gettext-tools/examples/hello-c++-qt/po/pt_BR.po
new file mode 100644
index 0000000..41b8d50
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Este programa está executando com número de processo %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/ro.po b/gettext-tools/examples/hello-c++-qt/po/ro.po
new file mode 100644
index 0000000..a56f920
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-c++-qt-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-c++-qt.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Acest program este rulat ca procesul numrul %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/ru.po b/gettext-tools/examples/hello-c++-qt/po/ru.po
new file mode 100644
index 0000000..fd1d615
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-c++-qt-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Эта программа выполняется как процесс под номером %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/sk.po b/gettext-tools/examples/hello-c++-qt/po/sk.po
new file mode 100644
index 0000000..a682685
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-c++-qt package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++-qt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Tento program beží ako proces s číslom %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/sl.po b/gettext-tools/examples/hello-c++-qt/po/sl.po
new file mode 100644
index 0000000..470bd2d
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-c++-qt-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Ta program teče kot proces številka %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/sr.po b/gettext-tools/examples/hello-c++-qt/po/sr.po
new file mode 100644
index 0000000..5b1a328
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-c++-qt.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Овај програм се извршава као процес број %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/sv.po b/gettext-tools/examples/hello-c++-qt/po/sv.po
new file mode 100644
index 0000000..c93ca51
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-c++-qt.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Detta program kör som process nummer %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/tr.po b/gettext-tools/examples/hello-c++-qt/po/tr.po
new file mode 100644
index 0000000..305adaf
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Bu yazılım, %1 süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-c++-qt/po/uk.po b/gettext-tools/examples/hello-c++-qt/po/uk.po
new file mode 100644
index 0000000..562aae4
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-c++-qt
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Ця програма виконується як процес з номером %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/vi.po b/gettext-tools/examples/hello-c++-qt/po/vi.po
new file mode 100644
index 0000000..b90ec58
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "Chương trình này đang chạy với mã số tiến trình %1."
diff --git a/gettext-tools/examples/hello-c++-qt/po/zh_CN.po b/gettext-tools/examples/hello-c++-qt/po/zh_CN.po
new file mode 100644
index 0000000..7a7f87b
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-c++-qt.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-c++-qt package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "此程序正以进程号 %1 运行。"
diff --git a/gettext-tools/examples/hello-c++-qt/po/zh_HK.po b/gettext-tools/examples/hello-c++-qt/po/zh_HK.po
new file mode 100644
index 0000000..40cbeff
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-c++-qt.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "本程式正在執行中,進程編號為 %1。"
diff --git a/gettext-tools/examples/hello-c++-qt/po/zh_TW.po b/gettext-tools/examples/hello-c++-qt/po/zh_TW.po
new file mode 100644
index 0000000..1cd119f
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-qt/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-c++-qt.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:45
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr "本程式正在執行,行程編號為 %1。"
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/INSTALL b/gettext-tools/examples/hello-c++-wxwidgets/INSTALL
new file mode 100644
index 0000000..8658c15
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/INSTALL
@@ -0,0 +1,12 @@
+This example relies on:
+ - wxWidgets (libwx_*) and its dependencies
+ - the C++ runtime libraries (libstdc++)
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix --with-wx-prefix=/opt/wxw
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/Makefile.am b/gettext-tools/examples/hello-c++-wxwidgets/Makefile.am
new file mode 100644
index 0000000..ea1667b
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/Makefile.am
@@ -0,0 +1,31 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign no-dependencies
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_PROGRAMS = hello
+
+# The source files of the 'hello' program.
+hello_SOURCES = hello.cc
+
+# Define a C macro LOCALEDIR indicating where catalogs will be installed.
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
+
+CPPFLAGS += $(WX_CPPFLAGS)
+CFLAGS = $(WX_CFLAGS_ONLY)
+CXXFLAGS += $(WX_CXXFLAGS_ONLY)
+
+# Link time dependencies.
+LDADD = $(WX_LDADD)
+LIBS += $(WX_LIBS)
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/autoclean.sh b/gettext-tools/examples/hello-c++-wxwidgets/autoclean.sh
new file mode 100755
index 0000000..74d7673
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/autoclean.sh
@@ -0,0 +1,35 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f m4/lib-ld.m4
+rm -f m4/lib-link.m4
+rm -f m4/lib-prefix.m4
+rm -f config.rpath
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f config.guess
+rm -f config.sub
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/autogen.sh b/gettext-tools/examples/hello-c++-wxwidgets/autogen.sh
new file mode 100755
index 0000000..5413640
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/autogen.sh
@@ -0,0 +1,48 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/gnulib-m4}/lib-ld.m4 m4/lib-ld.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/gnulib-m4}/lib-link.m4 m4/lib-link.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/gnulib-m4}/lib-prefix.m4 m4/lib-prefix.m4
+cp -p ${GETTEXTSRCDIR-$GETTEXT_TOPSRCDIR/build-aux}/config.rpath config.rpath
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/configure.ac b/gettext-tools/examples/hello-c++-wxwidgets/configure.ac
new file mode 100644
index 0000000..a25a6b9
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/configure.ac
@@ -0,0 +1,23 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.cc)
+AM_INIT_AUTOMAKE(hello-c++-wxwidgets, 0)
+
+AC_PROG_CXX
+AC_CHECK_HEADERS([unistd.h])
+
+AM_OPTIONS_WXCONFIG
+AM_PATH_WXCONFIG([2.6.0], [], [AC_MSG_ERROR([wxWidgets not found])])
+AC_LIB_LINKFLAGS_FROM_LIBS([WX_LDADD], [$WX_LIBS])
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/hello.cc b/gettext-tools/examples/hello-c++-wxwidgets/hello.cc
new file mode 100644
index 0000000..47191c7
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/hello.cc
@@ -0,0 +1,80 @@
+// Example for use of GNU gettext.
+// This file is in the public domain.
+
+// Source code of the C++ program.
+
+#include <wx/wx.h>
+#include <wx/intl.h>
+
+/* Get getpid() declaration. */
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
+class MyApp: public wxApp
+{
+public:
+ virtual bool OnInit();
+private:
+ // wxWidgets has the concept of a "current locale". It is the one returned
+ // by wxGetLocale() and implicitly used by wxGetTranslation.
+ // But there is no way to explicitly set this current locale! Rather, it is
+ // always set to the last constructed locale(!), and is modified when a
+ // locale is destroyed. In such a way that the current locale points to
+ // invalid memory after you do
+ // wxLocale *a = new wxLocale;
+ // wxLocale *b = new wxLocale;
+ // delete a;
+ // delete b;
+ // So, to avoid problems, we use exactly one instance of wxLocale, and keep
+ // it alive for the entire application lifetime.
+ wxLocale appLocale;
+};
+
+class MyFrame: public wxFrame
+{
+public:
+ MyFrame();
+};
+
+// This defines the main() function.
+IMPLEMENT_APP(MyApp)
+
+bool MyApp::OnInit()
+{
+ // First, register the base directory where to look up .mo files.
+ wxLocale::AddCatalogLookupPathPrefix(wxT(LOCALEDIR));
+ // Second, initialize the locale and set the application-wide message domain.
+ appLocale.Init();
+ appLocale.AddCatalog(wxT("hello-c++-wxwidgets"));
+ // Now wxGetLocale() is initialized appropriately.
+
+ // Then only start building the GUI elements of the application.
+
+ // Create the main frame window.
+ MyFrame *frame = new MyFrame();
+
+ // Show the frame.
+ frame->Show(true);
+ SetTopWindow(frame);
+
+ return true;
+}
+
+MyFrame::MyFrame()
+ : wxFrame(NULL, wxID_ANY, _T("Hello example"))
+{
+ wxStaticText *label1 =
+ new wxStaticText(this, wxID_ANY, _("Hello, world!"));
+
+ wxString label2text =
+ wxString::Format(_("This program is running as process number %d."),
+ getpid());
+ wxStaticText *label2 =
+ new wxStaticText(this, wxID_ANY, label2text);
+
+ wxBoxSizer *topSizer = new wxBoxSizer(wxVERTICAL);
+ topSizer->Add(label1);
+ topSizer->Add(label2);
+ SetSizer(topSizer);
+}
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/m4/Makefile.am b/gettext-tools/examples/hello-c++-wxwidgets/m4/Makefile.am
new file mode 100644
index 0000000..9c2d2c2
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/m4/Makefile.am
@@ -0,0 +1,3 @@
+EXTRA_DIST = \
+ nls.m4 po.m4 \
+ wxwidgets.m4
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/m4/wxwidgets.m4 b/gettext-tools/examples/hello-c++-wxwidgets/m4/wxwidgets.m4
new file mode 100644
index 0000000..24c258a
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/m4/wxwidgets.m4
@@ -0,0 +1,345 @@
+dnl ---------------------------------------------------------------------------
+dnl Macros for wxWidgets detection. Typically used in configure.in as:
+dnl
+dnl AC_ARG_ENABLE(...)
+dnl AC_ARG_WITH(...)
+dnl ...
+dnl AM_OPTIONS_WXCONFIG
+dnl ...
+dnl ...
+dnl AM_PATH_WXCONFIG(2.6.0, wxWin=1)
+dnl if test "$wxWin" != 1; then
+dnl AC_MSG_ERROR([
+dnl wxWidgets must be installed on your system
+dnl but wx-config script couldn't be found.
+dnl
+dnl Please check that wx-config is in path, the directory
+dnl where wxWidgets libraries are installed (returned by
+dnl 'wx-config --libs' command) is in LD_LIBRARY_PATH or
+dnl equivalent variable and wxWidgets version is 2.3.4 or above.
+dnl ])
+dnl fi
+dnl CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
+dnl CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
+dnl CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
+dnl
+dnl LIBS="$LIBS $WX_LIBS"
+dnl ---------------------------------------------------------------------------
+
+dnl ---------------------------------------------------------------------------
+dnl AM_OPTIONS_WXCONFIG
+dnl
+dnl adds support for --wx-prefix, --wx-exec-prefix, --with-wxdir and
+dnl --wx-config command line options
+dnl ---------------------------------------------------------------------------
+
+AC_DEFUN([AM_OPTIONS_WXCONFIG],
+[
+ AC_ARG_WITH(wxdir,
+ [ --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH],
+ [ wx_config_name="$withval/wx-config"
+ wx_config_args="--inplace"])
+ AC_ARG_WITH(wx-config,
+ [ --with-wx-config=CONFIG wx-config script to use (optional)],
+ wx_config_name="$withval" )
+ AC_ARG_WITH(wx-prefix,
+ [ --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)],
+ wx_config_prefix="$withval", wx_config_prefix="")
+ AC_ARG_WITH(wx-exec-prefix,
+ [ --with-wx-exec-prefix=PREFIX
+ Exec prefix where wxWidgets is installed (optional)],
+ wx_config_exec_prefix="$withval", wx_config_exec_prefix="")
+])
+
+dnl Helper macro for checking if wx version is at least $1.$2.$3, set's
+dnl wx_ver_ok=yes if it is:
+AC_DEFUN([_WX_PRIVATE_CHECK_VERSION],
+[
+ wx_ver_ok=""
+ if test "x$WX_VERSION" != x ; then
+ if test $wx_config_major_version -gt $1; then
+ wx_ver_ok=yes
+ else
+ if test $wx_config_major_version -eq $1; then
+ if test $wx_config_minor_version -gt $2; then
+ wx_ver_ok=yes
+ else
+ if test $wx_config_minor_version -eq $2; then
+ if test $wx_config_micro_version -ge $3; then
+ wx_ver_ok=yes
+ fi
+ fi
+ fi
+ fi
+ fi
+ fi
+])
+
+dnl ---------------------------------------------------------------------------
+dnl AM_PATH_WXCONFIG(VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND
+dnl [, WX-LIBS [, ADDITIONAL-WX-CONFIG-FLAGS]]]])
+dnl
+dnl Test for wxWidgets, and define WX_C*FLAGS, WX_LIBS and WX_LIBS_STATIC
+dnl (the latter is for static linking against wxWidgets). Set WX_CONFIG_NAME
+dnl environment variable to override the default name of the wx-config script
+dnl to use. Set WX_CONFIG_PATH to specify the full path to wx-config - in this
+dnl case the macro won't even waste time on tests for its existence.
+dnl
+dnl Optional WX-LIBS argument contains comma- or space-separated list of
+dnl wxWidgets libraries to link against (it may include contrib libraries). If
+dnl it is not specified then WX_LIBS and WX_LIBS_STATIC will contain flags to
+dnl link with all of the core wxWidgets libraries.
+dnl
+dnl Optional ADDITIONAL-WX-CONFIG-FLAGS argument is appended to wx-config
+dnl invocation command in present. It can be used to fine-tune lookup of
+dnl best wxWidgets build available.
+dnl
+dnl Example use:
+dnl AM_PATH_WXCONFIG([2.6.0], [wxWin=1], [wxWin=0], [html,core,net]
+dnl [--unicode --debug])
+dnl ---------------------------------------------------------------------------
+
+dnl
+dnl Get the cflags and libraries from the wx-config script
+dnl
+AC_DEFUN([AM_PATH_WXCONFIG],
+[
+ dnl do we have wx-config name: it can be wx-config or wxd-config or ...
+ if test x${WX_CONFIG_NAME+set} != xset ; then
+ WX_CONFIG_NAME=wx-config
+ fi
+
+ if test "x$wx_config_name" != x ; then
+ WX_CONFIG_NAME="$wx_config_name"
+ fi
+
+ dnl deal with optional prefixes
+ if test x$wx_config_exec_prefix != x ; then
+ wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
+ WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
+ fi
+ if test x$wx_config_prefix != x ; then
+ wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
+ WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
+ fi
+ if test "$cross_compiling" = "yes"; then
+ wx_config_args="$wx_config_args --host=$host_alias"
+ fi
+
+ dnl don't search the PATH if WX_CONFIG_NAME is absolute filename
+ if test -x "$WX_CONFIG_NAME" ; then
+ AC_MSG_CHECKING(for wx-config)
+ WX_CONFIG_PATH="$WX_CONFIG_NAME"
+ AC_MSG_RESULT($WX_CONFIG_PATH)
+ else
+ AC_PATH_PROG(WX_CONFIG_PATH, $WX_CONFIG_NAME, no, "$WX_LOOKUP_PATH:$PATH")
+ fi
+
+ if test "$WX_CONFIG_PATH" != "no" ; then
+ WX_VERSION=""
+
+ min_wx_version=ifelse([$1], ,2.2.1,$1)
+ if test -z "$5" ; then
+ AC_MSG_CHECKING([for wxWidgets version >= $min_wx_version])
+ else
+ AC_MSG_CHECKING([for wxWidgets version >= $min_wx_version ($5)])
+ fi
+
+ WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $5 $4"
+
+ WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
+ wx_config_major_version=`echo $WX_VERSION | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
+ wx_config_minor_version=`echo $WX_VERSION | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
+ wx_config_micro_version=`echo $WX_VERSION | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
+
+ wx_requested_major_version=`echo $min_wx_version | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
+ wx_requested_minor_version=`echo $min_wx_version | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
+ wx_requested_micro_version=`echo $min_wx_version | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
+
+ _WX_PRIVATE_CHECK_VERSION([$wx_requested_major_version],
+ [$wx_requested_minor_version],
+ [$wx_requested_micro_version])
+
+ if test -n "$wx_ver_ok"; then
+
+ AC_MSG_RESULT(yes (version $WX_VERSION))
+ WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
+
+ dnl is this even still appropriate? --static is a real option now
+ dnl and WX_CONFIG_WITH_ARGS is likely to contain it if that is
+ dnl what the user actually wants, making this redundant at best.
+ dnl For now keep it in case anyone actually used it in the past.
+ AC_MSG_CHECKING([for wxWidgets static library])
+ WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
+ if test "x$WX_LIBS_STATIC" = "x"; then
+ AC_MSG_RESULT(no)
+ else
+ AC_MSG_RESULT(yes)
+ fi
+
+ dnl starting with version 2.2.6 wx-config has --cppflags argument
+ wx_has_cppflags=""
+ if test $wx_config_major_version -gt 2; then
+ wx_has_cppflags=yes
+ else
+ if test $wx_config_major_version -eq 2; then
+ if test $wx_config_minor_version -gt 2; then
+ wx_has_cppflags=yes
+ else
+ if test $wx_config_minor_version -eq 2; then
+ if test $wx_config_micro_version -ge 6; then
+ wx_has_cppflags=yes
+ fi
+ fi
+ fi
+ fi
+ fi
+
+ if test "x$wx_has_cppflags" = x ; then
+ dnl no choice but to define all flags like CFLAGS
+ WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
+ WX_CPPFLAGS=$WX_CFLAGS
+ WX_CXXFLAGS=$WX_CFLAGS
+
+ WX_CFLAGS_ONLY=$WX_CFLAGS
+ WX_CXXFLAGS_ONLY=$WX_CFLAGS
+ else
+ dnl we have CPPFLAGS included in CFLAGS included in CXXFLAGS
+ WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
+ WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
+ WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
+
+ WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
+ WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
+ fi
+
+ ifelse([$2], , :, [$2])
+
+ else
+
+ if test "x$WX_VERSION" = x; then
+ dnl no wx-config at all
+ AC_MSG_RESULT(no)
+ else
+ AC_MSG_RESULT(no (version $WX_VERSION is not new enough))
+ fi
+
+ WX_CFLAGS=""
+ WX_CPPFLAGS=""
+ WX_CXXFLAGS=""
+ WX_LIBS=""
+ WX_LIBS_STATIC=""
+ ifelse([$3], , :, [$3])
+
+ fi
+ else
+
+ WX_CFLAGS=""
+ WX_CPPFLAGS=""
+ WX_CXXFLAGS=""
+ WX_LIBS=""
+ WX_LIBS_STATIC=""
+ ifelse([$3], , :, [$3])
+
+ fi
+
+ AC_SUBST(WX_CPPFLAGS)
+ AC_SUBST(WX_CFLAGS)
+ AC_SUBST(WX_CXXFLAGS)
+ AC_SUBST(WX_CFLAGS_ONLY)
+ AC_SUBST(WX_CXXFLAGS_ONLY)
+ AC_SUBST(WX_LIBS)
+ AC_SUBST(WX_LIBS_STATIC)
+ AC_SUBST(WX_VERSION)
+])
+
+dnl ---------------------------------------------------------------------------
+dnl Get information on the wxrc program for making C++, Python and xrs
+dnl resource files.
+dnl
+dnl AC_ARG_ENABLE(...)
+dnl AC_ARG_WITH(...)
+dnl ...
+dnl AM_OPTIONS_WXCONFIG
+dnl AM_OPTIONS_WXRC
+dnl ...
+dnl AM_PATH_WXCONFIG(2.6.0, wxWin=1)
+dnl if test "$wxWin" != 1; then
+dnl AC_MSG_ERROR([
+dnl wxWidgets must be installed on your system
+dnl but wx-config script couldn't be found.
+dnl
+dnl Please check that wx-config is in path, the directory
+dnl where wxWidgets libraries are installed (returned by
+dnl 'wx-config --libs' command) is in LD_LIBRARY_PATH or
+dnl equivalent variable and wxWidgets version is 2.6.0 or above.
+dnl ])
+dnl fi
+dnl
+dnl AM_PATH_WXRC([HAVE_WXRC=1], [HAVE_WXRC=0])
+dnl if test "x$HAVE_WXRC" != x1; then
+dnl AC_MSG_ERROR([
+dnl The wxrc program was not installed or not found.
+dnl
+dnl Please check the wxWidgets installation.
+dnl ])
+dnl fi
+dnl
+dnl CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
+dnl CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY"
+dnl CFLAGS="$CFLAGS $WX_CFLAGS_ONLY"
+dnl
+dnl LDFLAGS="$LDFLAGS $WX_LIBS"
+dnl ---------------------------------------------------------------------------
+
+
+
+dnl ---------------------------------------------------------------------------
+dnl AM_PATH_WXRC([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+dnl
+dnl Test for wxWidgets' wxrc program for creating either C++, Python or XRS
+dnl resources. The variable WXRC will be set and substituted in the configure
+dnl script and Makefiles.
+dnl
+dnl Example use:
+dnl AM_PATH_WXRC([wxrc=1], [wxrc=0])
+dnl ---------------------------------------------------------------------------
+
+dnl
+dnl wxrc program from the wx-config script
+dnl
+AC_DEFUN([AM_PATH_WXRC],
+[
+ AC_ARG_VAR([WXRC], [Path to wxWidget's wxrc resource compiler])
+
+ if test "x$WX_CONFIG_NAME" = x; then
+ AC_MSG_ERROR([The wxrc tests must run after wxWidgets test.])
+ else
+
+ AC_MSG_CHECKING([for wxrc])
+
+ if test "x$WXRC" = x ; then
+ dnl wx-config --utility is a new addition to wxWidgets:
+ _WX_PRIVATE_CHECK_VERSION(2,5,3)
+ if test -n "$wx_ver_ok"; then
+ WXRC=`$WX_CONFIG_WITH_ARGS --utility=wxrc`
+ fi
+ fi
+
+ if test "x$WXRC" = x ; then
+ AC_MSG_RESULT([not found])
+ ifelse([$2], , :, [$2])
+ else
+ AC_MSG_RESULT([$WXRC])
+ ifelse([$1], , :, [$1])
+ fi
+
+ AC_SUBST(WXRC)
+ fi
+])
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/LINGUAS b/gettext-tools/examples/hello-c++-wxwidgets/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/Makefile.am b/gettext-tools/examples/hello-c++-wxwidgets/po/Makefile.am
new file mode 100644
index 0000000..c83f7af
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/Makefile.am
@@ -0,0 +1,362 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello.cc
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = \
+ --keyword=wxGetTranslation:1 --keyword=wxGetTranslation:1,2 \
+ --flag=wxGetTranslation:1:pass-c-format --flag=wxGetTranslation:2:pass-c-format \
+ --keyword=wxTRANSLATE --flag=wxTRANSLATE:1:pass-c-format \
+ --keyword=wxPLURAL:1,2 --flag=wxPLURAL:1:pass-c-format --flag=wxPLURAL:2:pass-c-format \
+ --keyword=_ --flag=_:1:pass-c-format \
+ --keyword=N_ --flag=N_:1:pass-c-format
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).gmo)
+GMOFILES = @GMOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(lang).gmo)
+CATALOGS = @CATALOGS@
+
+SUFFIXES = .po .gmo .mo .sed .sin .nop .po-create .po-update
+
+.po.mo:
+ @echo "$(MSGFMT) -c -o $@ $<"; \
+ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
+
+.po.gmo:
+ @lang=`echo $* | sed -e 's,.*/,,'`; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
+ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
+# In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+install-data-local: install-data-local-@USE_NLS@
+install-data-local-no: all-local
+install-data-local-yes: all-local
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
+ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
+ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
+ fi; \
+ done; \
+ done
+
+installdirs-local: installdirs-local-@USE_NLS@
+installdirs-local-no:
+installdirs-local-yes:
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ fi; \
+ done; \
+ done
+
+uninstall-local: uninstall-local-@USE_NLS@
+uninstall-local-no:
+uninstall-local-yes:
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ done; \
+ done
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+MOSTLYCLEANFILES += *.o
+
+DISTCLEANFILES = *.mo
+
+MAINTAINERCLEANFILES = stamp-po $(GMOFILES)
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-gmo
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-gmo: Makefile $(GMOFILES)
+ @:
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/af.po b/gettext-tools/examples/hello-c++-wxwidgets/po/af.po
new file mode 100644
index 0000000..bd69277
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Hierdie program loop as prosesnommer %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/ast.po b/gettext-tools/examples/hello-c++-wxwidgets/po/ast.po
new file mode 100644
index 0000000..1ed7335
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/bg.po b/gettext-tools/examples/hello-c++-wxwidgets/po/bg.po
new file mode 100644
index 0000000..bf37bba
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-c++-wxwidgets package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++-wxwidgets 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Програмата е пусната под процес номер %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/ca.po b/gettext-tools/examples/hello-c++-wxwidgets/po/ca.po
new file mode 100644
index 0000000..3837afc
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-c++-wxwidgets.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Aquest programa està corrent amb el número de procés %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/cs.po b/gettext-tools/examples/hello-c++-wxwidgets/po/cs.po
new file mode 100644
index 0000000..dda7258
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tento program běží jako proces číslo %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/da.po b/gettext-tools/examples/hello-c++-wxwidgets/po/da.po
new file mode 100644
index 0000000..383ac7b
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-c++-wxwidgets.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dette program krer som proces nummer %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/de.po b/gettext-tools/examples/hello-c++-wxwidgets/po/de.po
new file mode 100644
index 0000000..5f9cae0
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-c++-wxwidgets.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/el.po b/gettext-tools/examples/hello-c++-wxwidgets/po/el.po
new file mode 100644
index 0000000..efde163
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-c++-wxwidgets
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/eo.po b/gettext-tools/examples/hello-c++-wxwidgets/po/eo.po
new file mode 100644
index 0000000..5d1d738
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/es.po b/gettext-tools/examples/hello-c++-wxwidgets/po/es.po
new file mode 100644
index 0000000..9e2fb14
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está corriendo como el proceso número %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/fi.po b/gettext-tools/examples/hello-c++-wxwidgets/po/fi.po
new file mode 100644
index 0000000..7cd0d1b
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tämän ohjelman prosessinumero on %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/fr.po b/gettext-tools/examples/hello-c++-wxwidgets/po/fr.po
new file mode 100644
index 0000000..e3f36e1
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++-wxwidgets 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ce programme est exécuté en tant que processus numéro %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/ga.po b/gettext-tools/examples/hello-c++-wxwidgets/po/ga.po
new file mode 100644
index 0000000..714350b
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-c++-wxwidgets.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-c++-wxwidgets package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "T an clr seo rith mar phriseas %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/gl.po b/gettext-tools/examples/hello-c++-wxwidgets/po/gl.po
new file mode 100644
index 0000000..636a8a7
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-c++-wxwidgets package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa estase executando como o proceso número %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/hr.po b/gettext-tools/examples/hello-c++-wxwidgets/po/hr.po
new file mode 100644
index 0000000..e8c9d19
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-c++-wxwidgets to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ovaj program je pokrenut kao proces broj %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/hu.po b/gettext-tools/examples/hello-c++-wxwidgets/po/hu.po
new file mode 100644
index 0000000..368f8c1
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-c++-wxwidgets.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ez a program a(z) %d folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/id.po b/gettext-tools/examples/hello-c++-wxwidgets/po/id.po
new file mode 100644
index 0000000..746cf8f
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-c++-wxwidgets-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Program ini berjalan sebagai proses nomor %d"
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/it.po b/gettext-tools/examples/hello-c++-wxwidgets/po/it.po
new file mode 100644
index 0000000..7cfb877
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-c++-wxwidgets.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Questo programma è in esecuzione con numero di processo %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/ja.po b/gettext-tools/examples/hello-c++-wxwidgets/po/ja.po
new file mode 100644
index 0000000..f229a4f
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-c++-wxwidgets' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++-wxwidgets 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Υץϥץֹ %d ưƤޤ."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/ky.po b/gettext-tools/examples/hello-c++-wxwidgets/po/ky.po
new file mode 100644
index 0000000..8be86f0
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-c++-wxwidgets' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Бул программа %d процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/lv.po b/gettext-tools/examples/hello-c++-wxwidgets/po/lv.po
new file mode 100644
index 0000000..e15ad0d
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-c++-wxwidgets
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Šī programma darbojas kā process ar numuru %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/ms.po b/gettext-tools/examples/hello-c++-wxwidgets/po/ms.po
new file mode 100644
index 0000000..351f237
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/ms.po
@@ -0,0 +1,26 @@
+# hello-c++-wxwidgets Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-c++-wxwidgets package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/mt.po b/gettext-tools/examples/hello-c++-wxwidgets/po/mt.po
new file mode 100644
index 0000000..96ea0e1
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/mt.po
@@ -0,0 +1,26 @@
+# hello-c++-wxwidgets-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/nb.po b/gettext-tools/examples/hello-c++-wxwidgets/po/nb.po
new file mode 100644
index 0000000..02f990b
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-c++-wxwidgets package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dette programmet kjører som prosess nummer %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/nl.po b/gettext-tools/examples/hello-c++-wxwidgets/po/nl.po
new file mode 100644
index 0000000..5d1a5df
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-c++-wxwidgets.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dit programma draait als proces nummer %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/pl.po b/gettext-tools/examples/hello-c++-wxwidgets/po/pl.po
new file mode 100644
index 0000000..8bd08e0
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-c++-wxwidgets domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ten program działa jako proces o numerze %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/pt.po b/gettext-tools/examples/hello-c++-wxwidgets/po/pt.po
new file mode 100644
index 0000000..a7fcd8b
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-c++-wxwidgets' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-c++-wxwidgets package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está a ser executado com o número de processo %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/pt_BR.po b/gettext-tools/examples/hello-c++-wxwidgets/po/pt_BR.po
new file mode 100644
index 0000000..2dd520e
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está executando com número de processo %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/ro.po b/gettext-tools/examples/hello-c++-wxwidgets/po/ro.po
new file mode 100644
index 0000000..8f8a6de
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-c++-wxwidgets-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-c++-wxwidgets.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Acest program este rulat ca procesul numrul %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/ru.po b/gettext-tools/examples/hello-c++-wxwidgets/po/ru.po
new file mode 100644
index 0000000..b08ebeb
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-c++-wxwidgets-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Эта программа выполняется как процесс под номером %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/sk.po b/gettext-tools/examples/hello-c++-wxwidgets/po/sk.po
new file mode 100644
index 0000000..b15fdec
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-c++-wxwidgets package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++-wxwidgets 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tento program beží ako proces s číslom %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/sl.po b/gettext-tools/examples/hello-c++-wxwidgets/po/sl.po
new file mode 100644
index 0000000..8c4da1d
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-c++-wxwidgets-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ta program teče kot proces številka %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/sr.po b/gettext-tools/examples/hello-c++-wxwidgets/po/sr.po
new file mode 100644
index 0000000..ed1b5bd
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-c++-wxwidgets.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Овај програм се извршава као процес број %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/sv.po b/gettext-tools/examples/hello-c++-wxwidgets/po/sv.po
new file mode 100644
index 0000000..f4604c1
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-c++-wxwidgets.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Detta program kör som process nummer %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/tr.po b/gettext-tools/examples/hello-c++-wxwidgets/po/tr.po
new file mode 100644
index 0000000..6e762bc
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Bu yazılım, %d süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/uk.po b/gettext-tools/examples/hello-c++-wxwidgets/po/uk.po
new file mode 100644
index 0000000..4334092
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-c++-wxwidgets
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ця програма виконується як процес з номером %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/vi.po b/gettext-tools/examples/hello-c++-wxwidgets/po/vi.po
new file mode 100644
index 0000000..9ad0117
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %d."
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/zh_CN.po b/gettext-tools/examples/hello-c++-wxwidgets/po/zh_CN.po
new file mode 100644
index 0000000..2271a40
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-c++-wxwidgets.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-c++-wxwidgets package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "此程序正以进程号 %d 运行。"
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/zh_HK.po b/gettext-tools/examples/hello-c++-wxwidgets/po/zh_HK.po
new file mode 100644
index 0000000..45418b6
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-c++-wxwidgets.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行中,進程編號為 %d。"
diff --git a/gettext-tools/examples/hello-c++-wxwidgets/po/zh_TW.po b/gettext-tools/examples/hello-c++-wxwidgets/po/zh_TW.po
new file mode 100644
index 0000000..1e2117f
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-wxwidgets/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-c++-wxwidgets.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:68
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行,行程編號為 %d。"
diff --git a/gettext-tools/examples/hello-c++/INSTALL b/gettext-tools/examples/hello-c++/INSTALL
new file mode 100644
index 0000000..5837269
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/INSTALL
@@ -0,0 +1,10 @@
+This example relies on libstdc++, gettext-runtime.
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix --with-libasprintf-prefix=/previous/gettext/install/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-c++/Makefile.am b/gettext-tools/examples/hello-c++/Makefile.am
new file mode 100644
index 0000000..9ff9825
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/Makefile.am
@@ -0,0 +1,29 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign no-dependencies
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_PROGRAMS = hello
+
+# The source files of the 'hello' program.
+hello_SOURCES = hello.cc gettext.h
+
+# Define a C macro LOCALEDIR indicating where catalogs will be installed.
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
+
+# Make sure the gettext.h include file is found.
+AM_CPPFLAGS = -I. -I$(srcdir)
+
+# Link time dependencies.
+LDADD = @LIBASPRINTF@ @LIBINTL@
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-c++/autoclean.sh b/gettext-tools/examples/hello-c++/autoclean.sh
new file mode 100755
index 0000000..7575334
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/autoclean.sh
@@ -0,0 +1,62 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f gettext.h
+
+# Brought in by autopoint.
+rm -f ABOUT-NLS
+rm -f config.rpath
+rm -f m4/codeset.m4
+rm -f m4/gettext.m4
+rm -f m4/glibc2.m4
+rm -f m4/glibc21.m4
+rm -f m4/iconv.m4
+rm -f m4/intdiv0.m4
+rm -f m4/intl.m4
+rm -f m4/intldir.m4
+rm -f m4/intlmacosx.m4
+rm -f m4/intmax.m4
+rm -f m4/inttypes-pri.m4
+rm -f m4/inttypes_h.m4
+rm -f m4/lcmessage.m4
+rm -f m4/lib-ld.m4
+rm -f m4/lib-link.m4
+rm -f m4/lib-prefix.m4
+rm -f m4/lock.m4
+rm -f m4/longlong.m4
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/printf-posix.m4
+rm -f m4/progtest.m4
+rm -f m4/size_max.m4
+rm -f m4/stdint_h.m4
+rm -f m4/uintmax_t.m4
+rm -f m4/visibility.m4
+rm -f m4/wchar_t.m4
+rm -f m4/wint_t.m4
+rm -f m4/xsize.m4
+rm -f po/Makefile.in.in
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f config.guess
+rm -f config.sub
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-c++/autogen.sh b/gettext-tools/examples/hello-c++/autogen.sh
new file mode 100755
index 0000000..0332a9b
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/autogen.sh
@@ -0,0 +1,48 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${GETTEXTSRCDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-lib}/gettext.h gettext.h
+
+autopoint -f # was: gettextize -f -c
+rm po/Makevars.template
+rm po/Rules-quot
+rm po/boldquot.sed
+rm po/en@boldquot.header
+rm po/en@quot.header
+rm po/insert-header.sin
+rm po/quot.sed
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+done
+cd ..
diff --git a/gettext-tools/examples/hello-c++/configure.ac b/gettext-tools/examples/hello-c++/configure.ac
new file mode 100644
index 0000000..999937e
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/configure.ac
@@ -0,0 +1,19 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.cc)
+AM_INIT_AUTOMAKE(hello-c++, 0)
+
+AC_PROG_CXX
+AC_CHECK_HEADERS([unistd.h])
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION(0.15)
+AC_LIB_LINKFLAGS([asprintf])
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile.in])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-c++/hello.cc b/gettext-tools/examples/hello-c++/hello.cc
new file mode 100644
index 0000000..579490e
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/hello.cc
@@ -0,0 +1,43 @@
+// Example for use of GNU gettext.
+// This file is in the public domain.
+
+// Source code of the C++ program.
+
+
+// Avoid deprecation warnings from g++ 3.1 or newer.
+#if defined __GNUG__ && defined __DEPRECATED
+# include <iostream>
+using namespace std;
+#else
+# include <iostream.h>
+#endif
+
+// Get setlocale() declaration.
+#include <locale.h>
+
+// Get getpid() declaration.
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
+// Get gettext(), textdomain(), bindtextdomain() declaration.
+#include "gettext.h"
+// Define shortcut for gettext().
+#define _(string) gettext (string)
+
+// Get autosprintf class declaration.
+#include "autosprintf.h"
+using gnu::autosprintf;
+
+int
+main ()
+{
+ setlocale (LC_ALL, "");
+ textdomain ("hello-c++");
+ bindtextdomain ("hello-c++", LOCALEDIR);
+
+ cout << _("Hello, world!") << endl;
+ cout << autosprintf (_("This program is running as process number %d."),
+ getpid ())
+ << endl;
+}
diff --git a/gettext-tools/examples/hello-c++/m4/Makefile.am b/gettext-tools/examples/hello-c++/m4/Makefile.am
new file mode 100644
index 0000000..000cd06
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/m4/Makefile.am
@@ -0,0 +1,5 @@
+EXTRA_DIST = \
+ codeset.m4 gettext.m4 glibc2.m4 glibc21.m4 iconv.m4 intdiv0.m4 \
+ inttypes_h.m4 inttypes-pri.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 \
+ lib-prefix.m4 lock.m4 nls.m4 po.m4 progtest.m4 stdint_h.m4 \
+ uintmax_t.m4 visibility.m4
diff --git a/gettext-tools/examples/hello-c++/po/LINGUAS b/gettext-tools/examples/hello-c++/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-c++/po/Makevars b/gettext-tools/examples/hello-c++/po/Makevars
new file mode 100644
index 0000000..929ab53
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/Makevars
@@ -0,0 +1,56 @@
+# Makefile variables for PO directory in any package using GNU gettext.
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These two variables depend on the location of this directory.
+subdir = po
+top_builddir = ..
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = \
+ --keyword=_ --flag=_:1:pass-c-format \
+ --keyword=N_ --flag=N_:1:pass-c-format \
+ --flag=autosprintf:1:c-format
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
+# context. Possible values are "yes" and "no". Set this to yes if the
+# package uses functions taking also a message context, like pgettext(), or
+# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
+USE_MSGCTXT = no
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
diff --git a/gettext-tools/examples/hello-c++/po/POTFILES.in b/gettext-tools/examples/hello-c++/po/POTFILES.in
new file mode 100644
index 0000000..bd28e81
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/POTFILES.in
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# List of files which contain translatable strings.
+hello.cc
diff --git a/gettext-tools/examples/hello-c++/po/af.po b/gettext-tools/examples/hello-c++/po/af.po
new file mode 100644
index 0000000..c9c93ee
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Hierdie program loop as prosesnommer %d."
diff --git a/gettext-tools/examples/hello-c++/po/ast.po b/gettext-tools/examples/hello-c++/po/ast.po
new file mode 100644
index 0000000..f014abb
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %d."
diff --git a/gettext-tools/examples/hello-c++/po/bg.po b/gettext-tools/examples/hello-c++/po/bg.po
new file mode 100644
index 0000000..56e06c8
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-c++ package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++ 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Програмата е пусната под процес номер %d."
diff --git a/gettext-tools/examples/hello-c++/po/ca.po b/gettext-tools/examples/hello-c++/po/ca.po
new file mode 100644
index 0000000..110147f
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-c++.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Aquest programa està corrent amb el número de procés %d."
diff --git a/gettext-tools/examples/hello-c++/po/cs.po b/gettext-tools/examples/hello-c++/po/cs.po
new file mode 100644
index 0000000..3145cf1
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tento program běží jako proces číslo %d."
diff --git a/gettext-tools/examples/hello-c++/po/da.po b/gettext-tools/examples/hello-c++/po/da.po
new file mode 100644
index 0000000..088313d
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-c++.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dette program krer som proces nummer %d."
diff --git a/gettext-tools/examples/hello-c++/po/de.po b/gettext-tools/examples/hello-c++/po/de.po
new file mode 100644
index 0000000..16577c4
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-c++.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %d."
diff --git a/gettext-tools/examples/hello-c++/po/el.po b/gettext-tools/examples/hello-c++/po/el.po
new file mode 100644
index 0000000..cb44d28
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-c++
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d."
diff --git a/gettext-tools/examples/hello-c++/po/eo.po b/gettext-tools/examples/hello-c++/po/eo.po
new file mode 100644
index 0000000..8d89ef5
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %d."
diff --git a/gettext-tools/examples/hello-c++/po/es.po b/gettext-tools/examples/hello-c++/po/es.po
new file mode 100644
index 0000000..73c0a1d
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está corriendo como el proceso número %d."
diff --git a/gettext-tools/examples/hello-c++/po/fi.po b/gettext-tools/examples/hello-c++/po/fi.po
new file mode 100644
index 0000000..35f27cc
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tämän ohjelman prosessinumero on %d."
diff --git a/gettext-tools/examples/hello-c++/po/fr.po b/gettext-tools/examples/hello-c++/po/fr.po
new file mode 100644
index 0000000..d8bec44
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++ 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ce programme est exécuté en tant que processus numéro %d."
diff --git a/gettext-tools/examples/hello-c++/po/ga.po b/gettext-tools/examples/hello-c++/po/ga.po
new file mode 100644
index 0000000..aaba089
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-c++.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-c++ package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "T an clr seo rith mar phriseas %d."
diff --git a/gettext-tools/examples/hello-c++/po/gl.po b/gettext-tools/examples/hello-c++/po/gl.po
new file mode 100644
index 0000000..c62b0a2
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-c++ package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa estase executando como o proceso número %d."
diff --git a/gettext-tools/examples/hello-c++/po/hr.po b/gettext-tools/examples/hello-c++/po/hr.po
new file mode 100644
index 0000000..d56ffac
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-c++ to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ovaj program je pokrenut kao proces broj %d."
diff --git a/gettext-tools/examples/hello-c++/po/hu.po b/gettext-tools/examples/hello-c++/po/hu.po
new file mode 100644
index 0000000..d54a887
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-c++.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ez a program a(z) %d folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-c++/po/id.po b/gettext-tools/examples/hello-c++/po/id.po
new file mode 100644
index 0000000..bfba151
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-c++-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Program ini berjalan sebagai proses nomor %d"
diff --git a/gettext-tools/examples/hello-c++/po/it.po b/gettext-tools/examples/hello-c++/po/it.po
new file mode 100644
index 0000000..4533439
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-c++.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Questo programma è in esecuzione con numero di processo %d."
diff --git a/gettext-tools/examples/hello-c++/po/ja.po b/gettext-tools/examples/hello-c++/po/ja.po
new file mode 100644
index 0000000..0b3e156
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-c++' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++ 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Υץϥץֹ %d ưƤޤ."
diff --git a/gettext-tools/examples/hello-c++/po/ky.po b/gettext-tools/examples/hello-c++/po/ky.po
new file mode 100644
index 0000000..08e9bc9
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-c++' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Бул программа %d процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-c++/po/lv.po b/gettext-tools/examples/hello-c++/po/lv.po
new file mode 100644
index 0000000..5504cdb
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-c++
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Šī programma darbojas kā process ar numuru %d."
diff --git a/gettext-tools/examples/hello-c++/po/ms.po b/gettext-tools/examples/hello-c++/po/ms.po
new file mode 100644
index 0000000..99069ed
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/ms.po
@@ -0,0 +1,26 @@
+# hello-c++ Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-c++ package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %d."
diff --git a/gettext-tools/examples/hello-c++/po/mt.po b/gettext-tools/examples/hello-c++/po/mt.po
new file mode 100644
index 0000000..54f58c5
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/mt.po
@@ -0,0 +1,26 @@
+# hello-c++-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d."
diff --git a/gettext-tools/examples/hello-c++/po/nb.po b/gettext-tools/examples/hello-c++/po/nb.po
new file mode 100644
index 0000000..779e779
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-c++ package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dette programmet kjører som prosess nummer %d."
diff --git a/gettext-tools/examples/hello-c++/po/nl.po b/gettext-tools/examples/hello-c++/po/nl.po
new file mode 100644
index 0000000..cc3c656
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-c++.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dit programma draait als proces nummer %d."
diff --git a/gettext-tools/examples/hello-c++/po/pl.po b/gettext-tools/examples/hello-c++/po/pl.po
new file mode 100644
index 0000000..6b5347d
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-c++ domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ten program działa jako proces o numerze %d."
diff --git a/gettext-tools/examples/hello-c++/po/pt.po b/gettext-tools/examples/hello-c++/po/pt.po
new file mode 100644
index 0000000..4f76f1f
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-c++' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-c++ package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está a ser executado com o número de processo %d."
diff --git a/gettext-tools/examples/hello-c++/po/pt_BR.po b/gettext-tools/examples/hello-c++/po/pt_BR.po
new file mode 100644
index 0000000..ada39fa
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está executando com número de processo %d."
diff --git a/gettext-tools/examples/hello-c++/po/ro.po b/gettext-tools/examples/hello-c++/po/ro.po
new file mode 100644
index 0000000..2698008
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-c++-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-c++.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Acest program este rulat ca procesul numrul %d."
diff --git a/gettext-tools/examples/hello-c++/po/ru.po b/gettext-tools/examples/hello-c++/po/ru.po
new file mode 100644
index 0000000..67993f8
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-c++-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Эта программа выполняется как процесс под номером %d."
diff --git a/gettext-tools/examples/hello-c++/po/sk.po b/gettext-tools/examples/hello-c++/po/sk.po
new file mode 100644
index 0000000..32ed291
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-c++ package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c++ 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tento program beží ako proces s číslom %d."
diff --git a/gettext-tools/examples/hello-c++/po/sl.po b/gettext-tools/examples/hello-c++/po/sl.po
new file mode 100644
index 0000000..3d5550d
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-c++-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ta program teče kot proces številka %d."
diff --git a/gettext-tools/examples/hello-c++/po/sr.po b/gettext-tools/examples/hello-c++/po/sr.po
new file mode 100644
index 0000000..465c9da
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-c++.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Овај програм се извршава као процес број %d."
diff --git a/gettext-tools/examples/hello-c++/po/sv.po b/gettext-tools/examples/hello-c++/po/sv.po
new file mode 100644
index 0000000..af0274d
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-c++.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Detta program kör som process nummer %d."
diff --git a/gettext-tools/examples/hello-c++/po/tr.po b/gettext-tools/examples/hello-c++/po/tr.po
new file mode 100644
index 0000000..6ba5f7f
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Bu yazılım, %d süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-c++/po/uk.po b/gettext-tools/examples/hello-c++/po/uk.po
new file mode 100644
index 0000000..f1094b0
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-c++
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ця програма виконується як процес з номером %d."
diff --git a/gettext-tools/examples/hello-c++/po/vi.po b/gettext-tools/examples/hello-c++/po/vi.po
new file mode 100644
index 0000000..c9fd236
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %d."
diff --git a/gettext-tools/examples/hello-c++/po/zh_CN.po b/gettext-tools/examples/hello-c++/po/zh_CN.po
new file mode 100644
index 0000000..1fd4597
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-c++.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-c++ package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "此程序正以进程号 %d 运行。"
diff --git a/gettext-tools/examples/hello-c++/po/zh_HK.po b/gettext-tools/examples/hello-c++/po/zh_HK.po
new file mode 100644
index 0000000..7cebf69
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-c++.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行中,進程編號為 %d。"
diff --git a/gettext-tools/examples/hello-c++/po/zh_TW.po b/gettext-tools/examples/hello-c++/po/zh_TW.po
new file mode 100644
index 0000000..9741dd0
--- /dev/null
+++ b/gettext-tools/examples/hello-c++/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-c++.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++ 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cc:39
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行,行程編號為 %d。"
diff --git a/gettext-tools/examples/hello-c-gnome/INSTALL b/gettext-tools/examples/hello-c-gnome/INSTALL
new file mode 100644
index 0000000..6a6db9a
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/INSTALL
@@ -0,0 +1,16 @@
+This example relies on:
+ - the GNOME libraries (libgnomeui, libgnome, libgnomesupport, libart_lgpl)
+ and their dependencies: imlib (libgdk_imlib), audiofile (libaudiofile),
+ esound (libesd), zlib (libz).
+ - the GTK libraries (libgtk, libgdk)
+ - the glib libraries (libglib, libgmodule)
+ - the X11 libraries
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-c-gnome/Makefile.am b/gettext-tools/examples/hello-c-gnome/Makefile.am
new file mode 100644
index 0000000..ef6ea73
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/Makefile.am
@@ -0,0 +1,29 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign no-dependencies
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_PROGRAMS = hello
+
+# The source files of the 'hello' program.
+hello_SOURCES = hello.c
+
+# Define a C macro LOCALEDIR indicating where catalogs will be installed.
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
+
+# Make sure the gnome.h include file is found.
+AM_CPPFLAGS = $(GNOME_INCLUDEDIR)
+
+# Link time dependencies.
+LDADD = $(GNOME_LIBDIR) $(GNOMEUI_LIBS) @LIBINTL@
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-c-gnome/autoclean.sh b/gettext-tools/examples/hello-c-gnome/autoclean.sh
new file mode 100755
index 0000000..2968f90
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/autoclean.sh
@@ -0,0 +1,59 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by autopoint.
+rm -f ABOUT-NLS
+rm -f config.rpath
+rm -f m4/codeset.m4
+rm -f m4/gettext.m4
+rm -f m4/glibc2.m4
+rm -f m4/glibc21.m4
+rm -f m4/iconv.m4
+rm -f m4/intdiv0.m4
+rm -f m4/intl.m4
+rm -f m4/intldir.m4
+rm -f m4/intlmacosx.m4
+rm -f m4/intmax.m4
+rm -f m4/inttypes-pri.m4
+rm -f m4/inttypes_h.m4
+rm -f m4/lcmessage.m4
+rm -f m4/lib-ld.m4
+rm -f m4/lib-link.m4
+rm -f m4/lib-prefix.m4
+rm -f m4/lock.m4
+rm -f m4/longlong.m4
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/printf-posix.m4
+rm -f m4/progtest.m4
+rm -f m4/size_max.m4
+rm -f m4/stdint_h.m4
+rm -f m4/uintmax_t.m4
+rm -f m4/visibility.m4
+rm -f m4/wchar_t.m4
+rm -f m4/wint_t.m4
+rm -f m4/xsize.m4
+rm -f po/Makefile.in.in
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f config.guess
+rm -f config.sub
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-c-gnome/autogen.sh b/gettext-tools/examples/hello-c-gnome/autogen.sh
new file mode 100755
index 0000000..7fc2283
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/autogen.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+autopoint -f # was: gettextize -f -c
+rm po/Makevars.template
+rm po/Rules-quot
+rm po/boldquot.sed
+rm po/en@boldquot.header
+rm po/en@quot.header
+rm po/insert-header.sin
+rm po/quot.sed
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-c-gnome/configure.ac b/gettext-tools/examples/hello-c-gnome/configure.ac
new file mode 100644
index 0000000..d2e42c9
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/configure.ac
@@ -0,0 +1,19 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.c)
+AM_INIT_AUTOMAKE(hello-c-gnome, 0)
+
+AC_PROG_CC
+GNOME_INIT
+AC_CHECK_HEADERS([unistd.h])
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION(0.15)
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile.in])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-c-gnome/hello.c b/gettext-tools/examples/hello-c-gnome/hello.c
new file mode 100644
index 0000000..e7f5826
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/hello.c
@@ -0,0 +1,87 @@
+/* Example for use of GNU gettext.
+ This file is in the public domain.
+
+ Source code of the C program. */
+
+
+/* Get GNOME declarations. */
+#include <gnome.h>
+
+/* Get getpid() declaration. */
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
+static void
+quit_callback (GtkWidget *widget, void *data)
+{
+ gtk_main_quit ();
+}
+
+int
+main (int argc, char *argv[])
+{
+ GtkWidget *window;
+ GtkWidget *panel;
+ GtkWidget *label1;
+ GtkWidget *label1aligned;
+ GtkWidget *label2;
+ GtkWidget *label2aligned;
+ GtkWidget *button;
+ GtkWidget *buttonbar;
+
+ /* Initializations. */
+
+ gnome_init (PACKAGE, VERSION, argc, argv);
+ textdomain ("hello-c-gnome");
+ bindtextdomain ("hello-c-gnome", LOCALEDIR);
+
+ /* Create the GUI elements. */
+
+ window = gnome_app_new ("hello-c-gnome", "Hello example");
+ gtk_widget_realize (window);
+ gtk_signal_connect (GTK_OBJECT (window), "delete_event",
+ GTK_SIGNAL_FUNC (quit_callback), NULL);
+
+ label1 = gtk_label_new (_("Hello, world!"));
+
+ label1aligned = gtk_alignment_new (0.0, 0.5, 0, 0);
+ gtk_container_add (GTK_CONTAINER (label1aligned), label1);
+
+ label2 = gtk_label_new (g_strdup_printf (_("This program is running as process number %d."), getpid ()));
+
+ label2aligned = gtk_alignment_new (0.0, 0.5, 0, 0);
+ gtk_container_add (GTK_CONTAINER (label2aligned), label2);
+
+ button = gtk_button_new_with_label ("OK");
+ gtk_signal_connect (GTK_OBJECT (button), "clicked",
+ GTK_SIGNAL_FUNC (quit_callback), NULL);
+
+ buttonbar = gtk_hbutton_box_new ();
+ gtk_button_box_set_layout (GTK_BUTTON_BOX (buttonbar), GTK_BUTTONBOX_END);
+ gtk_box_pack_start_defaults (GTK_BOX (buttonbar), button);
+
+ panel = gtk_vbox_new (FALSE, GNOME_PAD_SMALL);
+ gtk_box_pack_start_defaults (GTK_BOX (panel), label1aligned);
+ gtk_box_pack_start_defaults (GTK_BOX (panel), label2aligned);
+ gtk_box_pack_start_defaults (GTK_BOX (panel), buttonbar);
+
+ gnome_app_set_contents (GNOME_APP (window), panel);
+
+ /* Make the GUI elements visible. */
+
+ gtk_widget_show (label1);
+ gtk_widget_show (label1aligned);
+ gtk_widget_show (label2);
+ gtk_widget_show (label2aligned);
+ gtk_widget_show (button);
+ gtk_widget_show (buttonbar);
+ gtk_widget_show (panel);
+ gtk_widget_show (window);
+
+ /* Start the event loop. */
+
+ gtk_main ();
+
+ return 0;
+}
diff --git a/gettext-tools/examples/hello-c-gnome/m4/Makefile.am b/gettext-tools/examples/hello-c-gnome/m4/Makefile.am
new file mode 100644
index 0000000..dc63c0f
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/m4/Makefile.am
@@ -0,0 +1,6 @@
+EXTRA_DIST = \
+ codeset.m4 gettext.m4 glibc2.m4 glibc21.m4 iconv.m4 intdiv0.m4 \
+ inttypes_h.m4 inttypes-pri.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 \
+ lib-prefix.m4 lock.m4 nls.m4 po.m4 progtest.m4 stdint_h.m4 \
+ uintmax_t.m4 visibility.m4 \
+ gnome.m4 gnome-gnorba-check.m4 gnome-orbit-check.m4
diff --git a/gettext-tools/examples/hello-c-gnome/m4/gnome-gnorba-check.m4 b/gettext-tools/examples/hello-c-gnome/m4/gnome-gnorba-check.m4
new file mode 100644
index 0000000..dbac0a6
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/m4/gnome-gnorba-check.m4
@@ -0,0 +1,35 @@
+dnl
+dnl GNOME_GNORBA_HOOK (script-if-gnorba-found, failflag)
+dnl
+dnl if failflag is "failure" it aborts if gnorba is not found.
+dnl
+
+AC_DEFUN([GNOME_GNORBA_HOOK],[
+ GNOME_ORBIT_HOOK([],$2)
+ AC_CACHE_CHECK([for gnorba libraries],gnome_cv_gnorba_found,[
+ gnome_cv_gnorba_found=no
+ if test x$gnome_cv_orbit_found = xyes; then
+ GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
+ GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
+ if test -n "$GNORBA_LIBS"; then
+ gnome_cv_gnorba_found=yes
+ fi
+ fi
+ ])
+ AM_CONDITIONAL(HAVE_GNORBA, test x$gnome_cv_gnorba_found = xyes)
+ if test x$gnome_cv_orbit_found = xyes; then
+ $1
+ GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
+ GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
+ AC_SUBST(GNORBA_CFLAGS)
+ AC_SUBST(GNORBA_LIBS)
+ else
+ if test x$2 = xfailure; then
+ AC_MSG_ERROR(gnorba library not installed or installation problem)
+ fi
+ fi
+])
+
+AC_DEFUN([GNOME_GNORBA_CHECK], [
+ GNOME_GNORBA_HOOK([],failure)
+])
diff --git a/gettext-tools/examples/hello-c-gnome/m4/gnome-orbit-check.m4 b/gettext-tools/examples/hello-c-gnome/m4/gnome-orbit-check.m4
new file mode 100644
index 0000000..54bf33a
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/m4/gnome-orbit-check.m4
@@ -0,0 +1,33 @@
+dnl
+dnl GNOME_ORBIT_HOOK (script-if-orbit-found, failflag)
+dnl
+dnl if failflag is "failure" it aborts if orbit is not found.
+dnl
+
+AC_DEFUN([GNOME_ORBIT_HOOK],[
+ AC_PATH_PROG(ORBIT_CONFIG,orbit-config,no)
+ AC_PATH_PROG(ORBIT_IDL,orbit-idl,no)
+ AC_CACHE_CHECK([for working ORBit environment],gnome_cv_orbit_found,[
+ if test x$ORBIT_CONFIG = xno -o x$ORBIT_IDL = xno; then
+ gnome_cv_orbit_found=no
+ else
+ gnome_cv_orbit_found=yes
+ fi
+ ])
+ AM_CONDITIONAL(HAVE_ORBIT, test x$gnome_cv_orbit_found = xyes)
+ if test x$gnome_cv_orbit_found = xyes; then
+ $1
+ ORBIT_CFLAGS=`orbit-config --cflags client server`
+ ORBIT_LIBS=`orbit-config --use-service=name --libs client server`
+ AC_SUBST(ORBIT_CFLAGS)
+ AC_SUBST(ORBIT_LIBS)
+ else
+ if test x$2 = xfailure; then
+ AC_MSG_ERROR(ORBit not installed or installation problem)
+ fi
+ fi
+])
+
+AC_DEFUN([GNOME_ORBIT_CHECK], [
+ GNOME_ORBIT_HOOK([],failure)
+])
diff --git a/gettext-tools/examples/hello-c-gnome/m4/gnome.m4 b/gettext-tools/examples/hello-c-gnome/m4/gnome.m4
new file mode 100644
index 0000000..659c22c
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/m4/gnome.m4
@@ -0,0 +1,128 @@
+dnl
+dnl GNOME_INIT_HOOK (script-if-gnome-enabled, [failflag], [additional-inits])
+dnl
+dnl if failflag is "fail" then GNOME_INIT_HOOK will abort if gnomeConf.sh
+dnl is not found.
+dnl
+
+AC_DEFUN([GNOME_INIT_HOOK],[
+ AC_SUBST(GNOME_LIBS)
+ AC_SUBST(GNOMEUI_LIBS)
+ AC_SUBST(GNOMEGNORBA_LIBS)
+ AC_SUBST(GTKXMHTML_LIBS)
+ AC_SUBST(ZVT_LIBS)
+ AC_SUBST(GNOME_LIBDIR)
+ AC_SUBST(GNOME_INCLUDEDIR)
+
+ AC_ARG_WITH(gnome-includes,
+ [ --with-gnome-includes Specify location of GNOME headers],[
+ CFLAGS="$CFLAGS -I$withval"
+ ])
+
+ AC_ARG_WITH(gnome-libs,
+ [ --with-gnome-libs Specify location of GNOME libs],[
+ LDFLAGS="$LDFLAGS -L$withval"
+ gnome_prefix=$withval
+ ])
+
+ AC_ARG_WITH(gnome,
+ [ --with-gnome Specify prefix for GNOME files],
+ if test x$withval = xyes; then
+ want_gnome=yes
+ dnl Note that an empty true branch is not
+ dnl valid sh syntax.
+ ifelse([$1], [], :, [$1])
+ else
+ if test "x$withval" = xno; then
+ want_gnome=no
+ else
+ want_gnome=yes
+ LDFLAGS="$LDFLAGS -L$withval/lib"
+ CFLAGS="$CFLAGS -I$withval/include"
+ gnome_prefix=$withval/lib
+ fi
+ fi,
+ want_gnome=yes)
+
+ if test "x$want_gnome" = xyes; then
+
+ AC_PATH_PROG(GNOME_CONFIG,gnome-config,no)
+ if test "$GNOME_CONFIG" = "no"; then
+ no_gnome_config="yes"
+ else
+ AC_MSG_CHECKING(if $GNOME_CONFIG works)
+ if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then
+ AC_MSG_RESULT(yes)
+ GNOME_GNORBA_HOOK([],$2)
+ GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome`"
+ GNOMEUI_LIBS="`$GNOME_CONFIG --libs-only-l gnomeui`"
+ GNOMEGNORBA_LIBS="`$GNOME_CONFIG --libs-only-l gnorba gnomeui`"
+ GTKXMHTML_LIBS="`$GNOME_CONFIG --libs-only-l gtkxmhtml`"
+ ZVT_LIBS="`$GNOME_CONFIG --libs-only-l zvt`"
+ GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
+ GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`"
+ $1
+ else
+ AC_MSG_RESULT(no)
+ no_gnome_config="yes"
+ fi
+ fi
+
+ if test x$exec_prefix = xNONE; then
+ if test x$prefix = xNONE; then
+ gnome_prefix=$ac_default_prefix/lib
+ else
+ gnome_prefix=$prefix/lib
+ fi
+ else
+ gnome_prefix=`eval echo \`echo $libdir\``
+ fi
+
+ if test "$no_gnome_config" = "yes"; then
+ AC_MSG_CHECKING(for gnomeConf.sh file in $gnome_prefix)
+ if test -f $gnome_prefix/gnomeConf.sh; then
+ AC_MSG_RESULT(found)
+ echo "loading gnome configuration from" \
+ "$gnome_prefix/gnomeConf.sh"
+ . $gnome_prefix/gnomeConf.sh
+ $1
+ else
+ AC_MSG_RESULT(not found)
+ if test x$2 = xfail; then
+ AC_MSG_ERROR(Could not find the gnomeConf.sh file that is generated by gnome-libs install)
+ fi
+ fi
+ fi
+ fi
+
+ if test -n "$3"; then
+ n="$3"
+ for i in $n; do
+ AC_MSG_CHECKING(extra library \"$i\")
+ case $i in
+ applets)
+ AC_SUBST(GNOME_APPLETS_LIBS)
+ GNOME_APPLETS_LIBS=`$GNOME_CONFIG --libs-only-l applets`
+ AC_MSG_RESULT($GNOME_APPLETS_LIBS);;
+ docklets)
+ AC_SUBST(GNOME_DOCKLETS_LIBS)
+ GNOME_DOCKLETS_LIBS=`$GNOME_CONFIG --libs-only-l docklets`
+ AC_MSG_RESULT($GNOME_DOCKLETS_LIBS);;
+ capplet)
+ AC_SUBST(GNOME_CAPPLET_LIBS)
+ GNOME_CAPPLET_LIBS=`$GNOME_CONFIG --libs-only-l capplet`
+ AC_MSG_RESULT($GNOME_CAPPLET_LIBS);;
+ *)
+ AC_MSG_RESULT(unknown library)
+ esac
+ done
+ fi
+])
+
+dnl
+dnl GNOME_INIT ([additional-inits])
+dnl
+
+AC_DEFUN([GNOME_INIT],[
+ GNOME_INIT_HOOK([],fail,$1)
+])
diff --git a/gettext-tools/examples/hello-c-gnome/po/LINGUAS b/gettext-tools/examples/hello-c-gnome/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-c-gnome/po/Makevars b/gettext-tools/examples/hello-c-gnome/po/Makevars
new file mode 100644
index 0000000..7b158ff
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/Makevars
@@ -0,0 +1,67 @@
+# Makefile variables for PO directory in any package using GNU gettext.
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These two variables depend on the location of this directory.
+subdir = po
+top_builddir = ..
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = \
+ --keyword=_ --flag=_:1:pass-c-format \
+ --keyword=N_ --flag=N_:1:pass-c-format \
+ --flag=g_log:3:c-format --flag=g_logv:3:c-format \
+ --flag=g_error:1:c-format --flag=g_message:1:c-format \
+ --flag=g_critical:1:c-format --flag=g_warning:1:c-format \
+ --flag=g_print:1:c-format \
+ --flag=g_printerr:1:c-format \
+ --flag=g_strdup_printf:1:c-format --flag=g_strdup_vprintf:1:c-format \
+ --flag=g_printf_string_upper_bound:1:c-format \
+ --flag=g_snprintf:3:c-format --flag=g_vsnprintf:3:c-format \
+ --flag=g_string_sprintf:2:c-format \
+ --flag=g_string_sprintfa:2:c-format \
+ --flag=g_scanner_error:2:c-format \
+ --flag=g_scanner_warn:2:c-format
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
+# context. Possible values are "yes" and "no". Set this to yes if the
+# package uses functions taking also a message context, like pgettext(), or
+# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
+USE_MSGCTXT = no
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
diff --git a/gettext-tools/examples/hello-c-gnome/po/POTFILES.in b/gettext-tools/examples/hello-c-gnome/po/POTFILES.in
new file mode 100644
index 0000000..92cdf78
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/POTFILES.in
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# List of files which contain translatable strings.
+hello.c
diff --git a/gettext-tools/examples/hello-c-gnome/po/af.po b/gettext-tools/examples/hello-c-gnome/po/af.po
new file mode 100644
index 0000000..fe76c18
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Hierdie program loop as prosesnommer %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/ast.po b/gettext-tools/examples/hello-c-gnome/po/ast.po
new file mode 100644
index 0000000..f641616
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/bg.po b/gettext-tools/examples/hello-c-gnome/po/bg.po
new file mode 100644
index 0000000..b272787
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-c-gnome package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Програмата е пусната под процес номер %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/ca.po b/gettext-tools/examples/hello-c-gnome/po/ca.po
new file mode 100644
index 0000000..4208d9d
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-c-gnome.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Aquest programa està corrent amb el número de procés %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/cs.po b/gettext-tools/examples/hello-c-gnome/po/cs.po
new file mode 100644
index 0000000..8a5314a
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tento program běží jako proces číslo %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/da.po b/gettext-tools/examples/hello-c-gnome/po/da.po
new file mode 100644
index 0000000..4977ffc
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-c-gnome.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dette program krer som proces nummer %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/de.po b/gettext-tools/examples/hello-c-gnome/po/de.po
new file mode 100644
index 0000000..1aa3870
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-c-gnome.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/el.po b/gettext-tools/examples/hello-c-gnome/po/el.po
new file mode 100644
index 0000000..5ecec32
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-c-gnome
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/eo.po b/gettext-tools/examples/hello-c-gnome/po/eo.po
new file mode 100644
index 0000000..fee62b1
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/es.po b/gettext-tools/examples/hello-c-gnome/po/es.po
new file mode 100644
index 0000000..8f2b40b
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está corriendo como el proceso número %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/fi.po b/gettext-tools/examples/hello-c-gnome/po/fi.po
new file mode 100644
index 0000000..604a767
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tämän ohjelman prosessinumero on %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/fr.po b/gettext-tools/examples/hello-c-gnome/po/fr.po
new file mode 100644
index 0000000..67f244d
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c-gnome 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ce programme est exécuté en tant que processus numéro %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/ga.po b/gettext-tools/examples/hello-c-gnome/po/ga.po
new file mode 100644
index 0000000..c5eea27
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-c-gnome.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-c-gnome package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "T an clr seo rith mar phriseas %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/gl.po b/gettext-tools/examples/hello-c-gnome/po/gl.po
new file mode 100644
index 0000000..3e5fc92
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-c-gnome package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa estase executando como o proceso número %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/hr.po b/gettext-tools/examples/hello-c-gnome/po/hr.po
new file mode 100644
index 0000000..5487326
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-c-gnome to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ovaj program je pokrenut kao proces broj %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/hu.po b/gettext-tools/examples/hello-c-gnome/po/hu.po
new file mode 100644
index 0000000..7da237c
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-c-gnome.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ez a program a(z) %d folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-c-gnome/po/id.po b/gettext-tools/examples/hello-c-gnome/po/id.po
new file mode 100644
index 0000000..a95f508
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-c-gnome-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Program ini berjalan sebagai proses nomor %d"
diff --git a/gettext-tools/examples/hello-c-gnome/po/it.po b/gettext-tools/examples/hello-c-gnome/po/it.po
new file mode 100644
index 0000000..79366b2
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-c-gnome.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Questo programma è in esecuzione con numero di processo %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/ja.po b/gettext-tools/examples/hello-c-gnome/po/ja.po
new file mode 100644
index 0000000..0a5bc76
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-c-gnome' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Υץϥץֹ %d ưƤޤ."
diff --git a/gettext-tools/examples/hello-c-gnome/po/ky.po b/gettext-tools/examples/hello-c-gnome/po/ky.po
new file mode 100644
index 0000000..03ae71b
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-c-gnome' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Бул программа %d процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-c-gnome/po/lv.po b/gettext-tools/examples/hello-c-gnome/po/lv.po
new file mode 100644
index 0000000..dfab8bb
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-c-gnome
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Šī programma darbojas kā process ar numuru %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/ms.po b/gettext-tools/examples/hello-c-gnome/po/ms.po
new file mode 100644
index 0000000..93f8077
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/ms.po
@@ -0,0 +1,26 @@
+# hello-c-gnome Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-c-gnome package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/mt.po b/gettext-tools/examples/hello-c-gnome/po/mt.po
new file mode 100644
index 0000000..d9ae123
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/mt.po
@@ -0,0 +1,26 @@
+# hello-c-gnome-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/nb.po b/gettext-tools/examples/hello-c-gnome/po/nb.po
new file mode 100644
index 0000000..20e8dd9
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-c-gnome package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dette programmet kjører som prosess nummer %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/nl.po b/gettext-tools/examples/hello-c-gnome/po/nl.po
new file mode 100644
index 0000000..3f011b1
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-c-gnome.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dit programma draait als proces nummer %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/pl.po b/gettext-tools/examples/hello-c-gnome/po/pl.po
new file mode 100644
index 0000000..650a607
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-c-gnome domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ten program działa jako proces o numerze %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/pt.po b/gettext-tools/examples/hello-c-gnome/po/pt.po
new file mode 100644
index 0000000..f0b3594
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-c-gnome' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-c-gnome package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está a ser executado com o número de processo %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/pt_BR.po b/gettext-tools/examples/hello-c-gnome/po/pt_BR.po
new file mode 100644
index 0000000..62b720c
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está executando com número de processo %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/ro.po b/gettext-tools/examples/hello-c-gnome/po/ro.po
new file mode 100644
index 0000000..3a603e9
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-c-gnome-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-c-gnome.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Acest program este rulat ca procesul numrul %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/ru.po b/gettext-tools/examples/hello-c-gnome/po/ru.po
new file mode 100644
index 0000000..b0a1ea6
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-c-gnome-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Эта программа выполняется как процесс под номером %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/sk.po b/gettext-tools/examples/hello-c-gnome/po/sk.po
new file mode 100644
index 0000000..0e916dc
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-c-gnome package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tento program beží ako proces s číslom %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/sl.po b/gettext-tools/examples/hello-c-gnome/po/sl.po
new file mode 100644
index 0000000..33c6c35
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-c-gnome-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ta program teče kot proces številka %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/sr.po b/gettext-tools/examples/hello-c-gnome/po/sr.po
new file mode 100644
index 0000000..782cc2e
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-c-gnome.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Овај програм се извршава као процес број %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/sv.po b/gettext-tools/examples/hello-c-gnome/po/sv.po
new file mode 100644
index 0000000..22fa6d1
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-c-gnome.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Detta program kör som process nummer %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/tr.po b/gettext-tools/examples/hello-c-gnome/po/tr.po
new file mode 100644
index 0000000..c73f85d
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Bu yazılım, %d süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-c-gnome/po/uk.po b/gettext-tools/examples/hello-c-gnome/po/uk.po
new file mode 100644
index 0000000..0bba76c
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-c-gnome
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ця програма виконується як процес з номером %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/vi.po b/gettext-tools/examples/hello-c-gnome/po/vi.po
new file mode 100644
index 0000000..06e3bf2
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %d."
diff --git a/gettext-tools/examples/hello-c-gnome/po/zh_CN.po b/gettext-tools/examples/hello-c-gnome/po/zh_CN.po
new file mode 100644
index 0000000..a724ff2
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-c-gnome.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-c-gnome package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "此程序正以进程号 %d 运行。"
diff --git a/gettext-tools/examples/hello-c-gnome/po/zh_HK.po b/gettext-tools/examples/hello-c-gnome/po/zh_HK.po
new file mode 100644
index 0000000..3c1ed43
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-c-gnome.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行中,進程編號為 %d。"
diff --git a/gettext-tools/examples/hello-c-gnome/po/zh_TW.po b/gettext-tools/examples/hello-c-gnome/po/zh_TW.po
new file mode 100644
index 0000000..0d47239
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-c-gnome.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:46
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行,行程編號為 %d。"
diff --git a/gettext-tools/examples/hello-c-gnome3/INSTALL b/gettext-tools/examples/hello-c-gnome3/INSTALL
new file mode 100644
index 0000000..3b9f22f
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/INSTALL
@@ -0,0 +1,12 @@
+This example relies on:
+ - the GTK libraries (libgtk, libgdk), version 3.10 or later
+ - the glib libraries (libglib)
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-c-gnome3/Makefile.am b/gettext-tools/examples/hello-c-gnome3/Makefile.am
new file mode 100644
index 0000000..5164c09
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/Makefile.am
@@ -0,0 +1,61 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign no-dependencies
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_PROGRAMS = hello
+
+# The source files of the 'hello' program.
+hello_SOURCES = hello.c resources.c
+
+# Define a C macro LOCALEDIR indicating where catalogs will be installed.
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
+
+# Make sure the gnome.h include file is found.
+AM_CPPFLAGS = $(GTK_CFLAGS)
+
+# Link time dependencies.
+LDADD = $(GTK_LIBS) @LIBINTL@
+
+BUILT_SOURCES = gschemas.compiled resources.c
+
+# Compile GSettings schema.
+gschemas.compiled: hello.gschema.xml
+ $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) .
+
+# Compile assets into a C source and link it with the application.
+resources.c: hello.gresource.xml hello.ui
+ $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $< --target=$@ \
+ --sourcedir=$(srcdir) --generate-source
+
+# Merge translations into a Desktop Entry file.
+desktopdir = $(datadir)/applications
+desktop_DATA = hello.desktop
+
+hello.desktop.in: hello.desktop.in.in
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -o $@-t \
+ -d $(top_srcdir)/po && mv $@-t $@
+
+hello.desktop: hello.desktop.in
+ @rm -f $@ $@-t
+ $(AM_V_GEN) srcdir=''; \
+ test -f ./$< || srcdir=$(srcdir)/; \
+ sed -e "s|@bindir[@]|$(bindir)|" $< > $@-t && mv $@-t $@
+
+CLEANFILES = $(BUILT_SOURCES) hello.desktop $(desktop_DATA)
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh hello.ui \
+ hello.desktop.in.in hello.desktop.in \
+ hello.gschema.xml \
+ hello.gresource.xml
+
+MAINTAINERCLEANFILES = hello.desktop.in
diff --git a/gettext-tools/examples/hello-c-gnome3/autoclean.sh b/gettext-tools/examples/hello-c-gnome3/autoclean.sh
new file mode 100755
index 0000000..2968f90
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/autoclean.sh
@@ -0,0 +1,59 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by autopoint.
+rm -f ABOUT-NLS
+rm -f config.rpath
+rm -f m4/codeset.m4
+rm -f m4/gettext.m4
+rm -f m4/glibc2.m4
+rm -f m4/glibc21.m4
+rm -f m4/iconv.m4
+rm -f m4/intdiv0.m4
+rm -f m4/intl.m4
+rm -f m4/intldir.m4
+rm -f m4/intlmacosx.m4
+rm -f m4/intmax.m4
+rm -f m4/inttypes-pri.m4
+rm -f m4/inttypes_h.m4
+rm -f m4/lcmessage.m4
+rm -f m4/lib-ld.m4
+rm -f m4/lib-link.m4
+rm -f m4/lib-prefix.m4
+rm -f m4/lock.m4
+rm -f m4/longlong.m4
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/printf-posix.m4
+rm -f m4/progtest.m4
+rm -f m4/size_max.m4
+rm -f m4/stdint_h.m4
+rm -f m4/uintmax_t.m4
+rm -f m4/visibility.m4
+rm -f m4/wchar_t.m4
+rm -f m4/wint_t.m4
+rm -f m4/xsize.m4
+rm -f po/Makefile.in.in
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f config.guess
+rm -f config.sub
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-c-gnome3/autogen.sh b/gettext-tools/examples/hello-c-gnome3/autogen.sh
new file mode 100755
index 0000000..7fc2283
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/autogen.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+autopoint -f # was: gettextize -f -c
+rm po/Makevars.template
+rm po/Rules-quot
+rm po/boldquot.sed
+rm po/en@boldquot.header
+rm po/en@quot.header
+rm po/insert-header.sin
+rm po/quot.sed
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-c-gnome3/configure.ac b/gettext-tools/examples/hello-c-gnome3/configure.ac
new file mode 100644
index 0000000..e1e6aeb
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/configure.ac
@@ -0,0 +1,56 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.c)
+AM_INIT_AUTOMAKE(hello-c-gnome3, 0)
+
+AC_PROG_CC
+AC_CHECK_HEADERS([unistd.h])
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION(0.15)
+
+dnl Check GNOME specific stuff.
+dnl
+dnl If you have full GNOME development environment installed on your
+dnl system, you should be able to use the following macros:
+dnl
+dnl AM_PATH_GLIB_2_0
+dnl PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= 3.10], ,
+dnl [AC_MSG_ERROR([can't find gtk+-3.0])])
+dnl
+dnl Here, in gettext-tools/examples, we do the checks manually for
+dnl simplicity.
+
+AC_PATH_PROG(GLIB_COMPILE_RESOURCES, [glib-compile-resources])
+AS_IF([test -z "$GLIB_COMPILE_RESOURCES"], [
+ AC_MSG_ERROR([can't find glib-compile-resources])
+])
+
+AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, [glib-compile-schemas])
+AS_IF([test -z "$GLIB_COMPILE_SCHEMAS"], [
+ AC_MSG_ERROR([can't find glib-compile-schemas])
+])
+
+AC_PATH_PROG([PKG_CONFIG], [pkg-config])
+AS_IF([test -z "$PKG_CONFIG"], [
+ AC_MSG_ERROR([can't find pkg-config])
+])
+
+GTK="gtk+-3.0 >= 3.10"
+AS_IF(["$PKG_CONFIG" --exists "$GTK"], , [
+ AC_MSG_ERROR([can't find $GTK])
+])
+
+GTK_CFLAGS=`"$PKG_CONFIG" --cflags "$GTK"`
+AC_SUBST(GTK_CFLAGS)
+
+GTK_LIBS=`"$PKG_CONFIG" --libs "$GTK"`
+AC_SUBST(GTK_LIBS)
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile.in])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-c-gnome3/hello.c b/gettext-tools/examples/hello-c-gnome3/hello.c
new file mode 100644
index 0000000..a642ac6
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/hello.c
@@ -0,0 +1,176 @@
+/* Example for use of GNU gettext.
+ This file is in the public domain.
+
+ Source code of the C program. */
+
+
+/* Get GTK declarations. */
+#include <gtk/gtk.h>
+#include <glib/gi18n.h>
+
+/* Get getpid() declaration. */
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
+#define UI_PATH "/org/gnu/gettext/examples/hello/hello.ui"
+#define APPLICATION_ID "org.gnu.gettext.examples.hello"
+#define GSETTINGS_SCHEMA "org.gnu.gettext.examples.hello"
+
+static void
+quit_callback (GtkWidget *widget, void *data)
+{
+ g_application_quit (G_APPLICATION (data));
+}
+
+/* Forward declaration of GObject types. */
+
+#define HELLO_TYPE_APPLICATION_WINDOW (hello_application_window_get_type ())
+#define HELLO_APPLICATION_WINDOW(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
+ HELLO_TYPE_APPLICATION_WINDOW, \
+ HelloApplicationWindow))
+
+typedef struct _HelloApplicationWindow HelloApplicationWindow;
+typedef struct _HelloApplicationWindowClass HelloApplicationWindowClass;
+
+#define HELLO_TYPE_APPLICATION (hello_application_get_type ())
+#define HELLO_APPLICATION(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
+ HELLO_TYPE_APPLICATION, \
+ HelloApplication))
+
+typedef struct _HelloApplication HelloApplication;
+typedef struct _HelloApplicationClass HelloApplicationClass;
+
+/* Custom application window implementation. */
+
+struct _HelloApplicationWindow
+{
+ GtkApplicationWindow parent;
+ GtkWidget *label2;
+ GtkWidget *button;
+ GSettings *settings;
+};
+
+struct _HelloApplicationWindowClass
+{
+ GtkApplicationWindowClass parent_class;
+};
+
+G_DEFINE_TYPE (HelloApplicationWindow, hello_application_window,
+ GTK_TYPE_APPLICATION_WINDOW);
+
+static void
+hello_application_window_init (HelloApplicationWindow *window)
+{
+ char *label;
+
+ gtk_widget_init_template (GTK_WIDGET (window));
+ label = g_strdup_printf (_("This program is running as process number %d."),
+ getpid ());
+ gtk_label_set_label (GTK_LABEL (window->label2), label);
+ g_free (label);
+
+ window->settings = g_settings_new (GSETTINGS_SCHEMA);
+ g_settings_bind (window->settings, "label-sensitive",
+ window->label2, "sensitive",
+ G_SETTINGS_BIND_DEFAULT);
+}
+
+static void
+hello_application_window_dispose (GObject *object)
+{
+ HelloApplicationWindow *window = HELLO_APPLICATION_WINDOW (object);
+ g_clear_object (&window->settings);
+}
+
+static void
+hello_application_window_class_init (HelloApplicationWindowClass *klass)
+{
+ GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
+
+ gobject_class->dispose = hello_application_window_dispose;
+
+ gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass),
+ UI_PATH);
+ gtk_widget_class_bind_template_child (GTK_WIDGET_CLASS (klass),
+ HelloApplicationWindow, label2);
+ gtk_widget_class_bind_template_child (GTK_WIDGET_CLASS (klass),
+ HelloApplicationWindow, button);
+}
+
+static HelloApplicationWindow *
+hello_application_window_new (HelloApplication *application)
+{
+ return g_object_new (HELLO_TYPE_APPLICATION_WINDOW,
+ "application", application,
+ NULL);
+}
+
+/* Custom application implementation. */
+
+struct _HelloApplication
+{
+ GtkApplication parent;
+};
+
+struct _HelloApplicationClass
+{
+ GtkApplicationClass parent_class;
+};
+
+G_DEFINE_TYPE (HelloApplication, hello_application, GTK_TYPE_APPLICATION);
+
+static void
+hello_application_init (HelloApplication *application)
+{
+}
+
+static void
+hello_application_activate (GApplication *application)
+{
+ HelloApplicationWindow *window;
+
+ window = hello_application_window_new (HELLO_APPLICATION (application));
+ g_signal_connect (window->button, "clicked",
+ G_CALLBACK (quit_callback), application);
+ gtk_window_present (GTK_WINDOW (window));
+}
+
+static void
+hello_application_class_init (HelloApplicationClass *klass)
+{
+ G_APPLICATION_CLASS (klass)->activate = hello_application_activate;
+}
+
+static HelloApplication *
+hello_application_new (void)
+{
+ return g_object_new (HELLO_TYPE_APPLICATION,
+ "application-id", APPLICATION_ID,
+ NULL);
+}
+
+int
+main (int argc, char *argv[])
+{
+ GApplication *application;
+ int status;
+
+ /* Load the GSettings schema from the current directory. */
+ g_setenv ("GSETTINGS_SCHEMA_DIR", ".", FALSE);
+
+ /* Initializations. */
+ textdomain ("hello-c-gnome3");
+ bindtextdomain ("hello-c-gnome3", LOCALEDIR);
+
+ /* Create application. */
+ application = G_APPLICATION (hello_application_new ());
+
+ /* Start the application. */
+ status = g_application_run (application, argc, argv);
+ g_object_unref (application);
+
+ return status;
+}
diff --git a/gettext-tools/examples/hello-c-gnome3/hello.desktop.in.in b/gettext-tools/examples/hello-c-gnome3/hello.desktop.in.in
new file mode 100644
index 0000000..a31bf93
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/hello.desktop.in.in
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Type=Application
+Name=Hello
+Comment=Hello, world!
+StartupNotify=true
+Exec=@bindir@/hello
diff --git a/gettext-tools/examples/hello-c-gnome3/hello.gresource.xml b/gettext-tools/examples/hello-c-gnome3/hello.gresource.xml
new file mode 100644
index 0000000..4d2c278
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/hello.gresource.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<gresources>
+ <gresource prefix="/org/gnu/gettext/examples/hello">
+ <file preprocess="xml-stripblanks">hello.ui</file>
+ </gresource>
+</gresources>
diff --git a/gettext-tools/examples/hello-c-gnome3/hello.gschema.xml b/gettext-tools/examples/hello-c-gnome3/hello.gschema.xml
new file mode 100644
index 0000000..40d2a90
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/hello.gschema.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schemalist>
+ <schema path="/org/gnu/gettext/examples/hello/"
+ id="org.gnu.gettext.examples.hello">
+ <key name="label-sensitive" type="b">
+ <default>true</default>
+ <summary>Set label sensitive</summary>
+ <description>Whether to set the label sensitive.</description>
+ </key>
+ </schema>
+</schemalist>
diff --git a/gettext-tools/examples/hello-c-gnome3/hello.ui b/gettext-tools/examples/hello-c-gnome3/hello.ui
new file mode 100644
index 0000000..9dc5c08
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/hello.ui
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.10 -->
+ <template class="HelloApplicationWindow" parent="GtkApplicationWindow">
+ <property name="title" translatable="yes">Example Application</property>
+ <property name="default-width">600</property>
+ <property name="default-height">400</property>
+ <child>
+ <object class="GtkBox" id="panel">
+ <property name="visible">True</property>
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkAlignment" id="label1aligned">
+ <property name="visible">True</property>
+ <property name="xalign">0.0</property>
+ <property name="yalign">0.5</property>
+ <property name="xscale">0</property>
+ <property name="yscale">0</property>
+ <child>
+ <object class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Hello, world!</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkAlignment" id="label2aligned">
+ <property name="visible">True</property>
+ <property name="xalign">0.0</property>
+ <property name="yalign">0.5</property>
+ <property name="xscale">0</property>
+ <property name="yscale">0</property>
+ <child>
+ <object class="GtkLabel" id="label2">
+ <property name="visible">True</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkHButtonBox" id="buttonbar">
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkButton" id="button">
+ <property name="visible">True</property>
+ <property name="label">gtk-ok</property>
+ <property name="use_stock">True</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </template>
+</interface>
diff --git a/gettext-tools/examples/hello-c-gnome3/m4/Makefile.am b/gettext-tools/examples/hello-c-gnome3/m4/Makefile.am
new file mode 100644
index 0000000..000cd06
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/m4/Makefile.am
@@ -0,0 +1,5 @@
+EXTRA_DIST = \
+ codeset.m4 gettext.m4 glibc2.m4 glibc21.m4 iconv.m4 intdiv0.m4 \
+ inttypes_h.m4 inttypes-pri.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 \
+ lib-prefix.m4 lock.m4 nls.m4 po.m4 progtest.m4 stdint_h.m4 \
+ uintmax_t.m4 visibility.m4
diff --git a/gettext-tools/examples/hello-c-gnome3/po/LINGUAS b/gettext-tools/examples/hello-c-gnome3/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-c-gnome3/po/Makevars b/gettext-tools/examples/hello-c-gnome3/po/Makevars
new file mode 100644
index 0000000..7b158ff
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/Makevars
@@ -0,0 +1,67 @@
+# Makefile variables for PO directory in any package using GNU gettext.
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These two variables depend on the location of this directory.
+subdir = po
+top_builddir = ..
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = \
+ --keyword=_ --flag=_:1:pass-c-format \
+ --keyword=N_ --flag=N_:1:pass-c-format \
+ --flag=g_log:3:c-format --flag=g_logv:3:c-format \
+ --flag=g_error:1:c-format --flag=g_message:1:c-format \
+ --flag=g_critical:1:c-format --flag=g_warning:1:c-format \
+ --flag=g_print:1:c-format \
+ --flag=g_printerr:1:c-format \
+ --flag=g_strdup_printf:1:c-format --flag=g_strdup_vprintf:1:c-format \
+ --flag=g_printf_string_upper_bound:1:c-format \
+ --flag=g_snprintf:3:c-format --flag=g_vsnprintf:3:c-format \
+ --flag=g_string_sprintf:2:c-format \
+ --flag=g_string_sprintfa:2:c-format \
+ --flag=g_scanner_error:2:c-format \
+ --flag=g_scanner_warn:2:c-format
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
+# context. Possible values are "yes" and "no". Set this to yes if the
+# package uses functions taking also a message context, like pgettext(), or
+# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
+USE_MSGCTXT = no
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
diff --git a/gettext-tools/examples/hello-c-gnome3/po/POTFILES.in b/gettext-tools/examples/hello-c-gnome3/po/POTFILES.in
new file mode 100644
index 0000000..6b9fd92
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/POTFILES.in
@@ -0,0 +1,8 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# List of files which contain translatable strings.
+hello.c
+hello.desktop.in.in
+hello.ui
+hello.gschema.xml
diff --git a/gettext-tools/examples/hello-c-gnome3/po/af.po b/gettext-tools/examples/hello-c-gnome3/po/af.po
new file mode 100644
index 0000000..32190c0
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/af.po
@@ -0,0 +1,41 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Hierdie program loop as prosesnommer %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/ast.po b/gettext-tools/examples/hello-c-gnome3/po/ast.po
new file mode 100644
index 0000000..a9b45ca
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/ast.po
@@ -0,0 +1,42 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/bg.po b/gettext-tools/examples/hello-c-gnome3/po/bg.po
new file mode 100644
index 0000000..d0b8ec0
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/bg.po
@@ -0,0 +1,41 @@
+# Bulgarian translations for hello-c-gnome3 package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c-gnome3 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Програмата е пусната под процес номер %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Здравейте"
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr "Примерно приложение"
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Задава чувствителност на надписа."
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Определя дали надписа да е чувствителен."
diff --git a/gettext-tools/examples/hello-c-gnome3/po/ca.po b/gettext-tools/examples/hello-c-gnome3/po/ca.po
new file mode 100644
index 0000000..d7673d1
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/ca.po
@@ -0,0 +1,42 @@
+# Catalan messages for GNU hello-c-gnome3.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Aquest programa està corrent amb el número de procés %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Hola"
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr "Aplicació d’exemple"
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Fes sensible l’etiqueta"
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Indica si fer l’etiqueta sensible o no."
diff --git a/gettext-tools/examples/hello-c-gnome3/po/cs.po b/gettext-tools/examples/hello-c-gnome3/po/cs.po
new file mode 100644
index 0000000..9c5c5a8
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/cs.po
@@ -0,0 +1,43 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tento program běží jako proces číslo %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/da.po b/gettext-tools/examples/hello-c-gnome3/po/da.po
new file mode 100644
index 0000000..d296285
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/da.po
@@ -0,0 +1,41 @@
+# Danish messages for hello-c-gnome3.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dette program krer som proces nummer %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/de.po b/gettext-tools/examples/hello-c-gnome3/po/de.po
new file mode 100644
index 0000000..1721c0d
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/de.po
@@ -0,0 +1,46 @@
+# German messages for hello-c-gnome3.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr "Beispielanwendung"
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/el.po b/gettext-tools/examples/hello-c-gnome3/po/el.po
new file mode 100644
index 0000000..7e06f8d
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/el.po
@@ -0,0 +1,41 @@
+# Greek translation of hello-c-gnome3
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/eo.po b/gettext-tools/examples/hello-c-gnome3/po/eo.po
new file mode 100644
index 0000000..e64cf70
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/eo.po
@@ -0,0 +1,41 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/es.po b/gettext-tools/examples/hello-c-gnome3/po/es.po
new file mode 100644
index 0000000..5eb208e
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/es.po
@@ -0,0 +1,45 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está corriendo como el proceso número %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Hola"
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr "Ejemplo de aplicación"
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Hace sensible la etiqueta"
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Si hacer que la etiqueta sea sensible."
diff --git a/gettext-tools/examples/hello-c-gnome3/po/fi.po b/gettext-tools/examples/hello-c-gnome3/po/fi.po
new file mode 100644
index 0000000..fc430e9
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/fi.po
@@ -0,0 +1,43 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tämän ohjelman prosessinumero on %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr "Esimerkkisovellus"
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/fr.po b/gettext-tools/examples/hello-c-gnome3/po/fr.po
new file mode 100644
index 0000000..e24d062
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/fr.po
@@ -0,0 +1,42 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c-gnome3 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ce programme est exécuté en tant que processus numéro %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/ga.po b/gettext-tools/examples/hello-c-gnome3/po/ga.po
new file mode 100644
index 0000000..ece84b3
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/ga.po
@@ -0,0 +1,41 @@
+# Irish translations for hello-c-gnome3.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-c-gnome3 package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "T an clr seo rith mar phriseas %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/gl.po b/gettext-tools/examples/hello-c-gnome3/po/gl.po
new file mode 100644
index 0000000..4a81d8b
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/gl.po
@@ -0,0 +1,46 @@
+# Galician translation for hello-c-gnome3 package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa estase executando como o proceso número %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr "Aplicativo de exemplo"
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/hr.po b/gettext-tools/examples/hello-c-gnome3/po/hr.po
new file mode 100644
index 0000000..b7e6456
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/hr.po
@@ -0,0 +1,43 @@
+# Translation of hello-c-gnome3 to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ovaj program je pokrenut kao proces broj %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/hu.po b/gettext-tools/examples/hello-c-gnome3/po/hu.po
new file mode 100644
index 0000000..d4fe192
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/hu.po
@@ -0,0 +1,44 @@
+# Hungarian translation for hello-c-gnome3.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ez a program a(z) %d folyamatazonosítóval fut."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr "Példa alkalmazás"
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/id.po b/gettext-tools/examples/hello-c-gnome3/po/id.po
new file mode 100644
index 0000000..c050a67
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/id.po
@@ -0,0 +1,42 @@
+# translation of hello-c-gnome3-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Program ini berjalan sebagai proses nomor %d"
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/it.po b/gettext-tools/examples/hello-c-gnome3/po/it.po
new file mode 100644
index 0000000..4e7d0d3
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/it.po
@@ -0,0 +1,41 @@
+# Italian messages for hello-c-gnome3.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Questo programma è in esecuzione con numero di processo %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/ja.po b/gettext-tools/examples/hello-c-gnome3/po/ja.po
new file mode 100644
index 0000000..547fcb7
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/ja.po
@@ -0,0 +1,41 @@
+# Translation of `hello-c-gnome3' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c-gnome3 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Υץϥץֹ %d ưƤޤ."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr "ˤ"
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "٥򿵽Ť˰褦"
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Υ٥򿵽Ť˰褦ꤹ뤫ݤ"
diff --git a/gettext-tools/examples/hello-c-gnome3/po/ky.po b/gettext-tools/examples/hello-c-gnome3/po/ky.po
new file mode 100644
index 0000000..2f3040b
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/ky.po
@@ -0,0 +1,43 @@
+# Translation of 'hello-c-gnome3' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Бул программа %d процесс номери катары иштеп жатат."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/lv.po b/gettext-tools/examples/hello-c-gnome3/po/lv.po
new file mode 100644
index 0000000..f6dd73a
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/lv.po
@@ -0,0 +1,45 @@
+# Latvian translation of hello-c-gnome3
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Šī programma darbojas kā process ar numuru %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/ms.po b/gettext-tools/examples/hello-c-gnome3/po/ms.po
new file mode 100644
index 0000000..540acc3
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/ms.po
@@ -0,0 +1,42 @@
+# hello-c-gnome3 Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-c-gnome3 package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/mt.po b/gettext-tools/examples/hello-c-gnome3/po/mt.po
new file mode 100644
index 0000000..0e2421d
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/mt.po
@@ -0,0 +1,42 @@
+# hello-c-gnome3-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/nb.po b/gettext-tools/examples/hello-c-gnome3/po/nb.po
new file mode 100644
index 0000000..27ec65e
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/nb.po
@@ -0,0 +1,44 @@
+# Norwegian Bokmal translations for hello-c-gnome3 package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dette programmet kjører som prosess nummer %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr "Eksempelprogram"
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/nl.po b/gettext-tools/examples/hello-c-gnome3/po/nl.po
new file mode 100644
index 0000000..7aa4025
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/nl.po
@@ -0,0 +1,46 @@
+# Dutch translations for GNU hello-c-gnome3.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dit programma draait als proces nummer %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr "Voorbeeldtoepassing"
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/pl.po b/gettext-tools/examples/hello-c-gnome3/po/pl.po
new file mode 100644
index 0000000..09d9cc7
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/pl.po
@@ -0,0 +1,42 @@
+# Polish translations for the GNU gettext messages, hello-c-gnome3 domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ten program działa jako proces o numerze %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Cześć"
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr "Program przykładowy"
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Ustawienie interpretacji etykiet"
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Czy ustawić interpretację etykiet."
diff --git a/gettext-tools/examples/hello-c-gnome3/po/pt.po b/gettext-tools/examples/hello-c-gnome3/po/pt.po
new file mode 100644
index 0000000..163d4ea
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/pt.po
@@ -0,0 +1,41 @@
+# Portuguese translation of 'hello-c-gnome3' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-c-gnome3 package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está a ser executado com o número de processo %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/pt_BR.po b/gettext-tools/examples/hello-c-gnome3/po/pt_BR.po
new file mode 100644
index 0000000..7767f8a
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/pt_BR.po
@@ -0,0 +1,45 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está executando com número de processo %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Olá"
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr "Aplicativo exemplo"
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Definir sensibilidade a rótulo"
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Se esta ação é sensível a rótulo ou não."
diff --git a/gettext-tools/examples/hello-c-gnome3/po/ro.po b/gettext-tools/examples/hello-c-gnome3/po/ro.po
new file mode 100644
index 0000000..d834113
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/ro.po
@@ -0,0 +1,41 @@
+# Mesajele n limba romn pentru pachetul hello-c-gnome3-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-c-gnome3.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Acest program este rulat ca procesul numrul %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/ru.po b/gettext-tools/examples/hello-c-gnome3/po/ru.po
new file mode 100644
index 0000000..2e4439f
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/ru.po
@@ -0,0 +1,45 @@
+# Translation of hello-c-gnome3-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Эта программа выполняется как процесс под номером %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Здравствуйте"
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr "Пример приложения"
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Чувствительность значка"
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Задаёт чувствительность значка."
diff --git a/gettext-tools/examples/hello-c-gnome3/po/sk.po b/gettext-tools/examples/hello-c-gnome3/po/sk.po
new file mode 100644
index 0000000..121598d
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/sk.po
@@ -0,0 +1,41 @@
+# Slovak translations GNU for hello-c-gnome3 package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c-gnome3 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tento program beží ako proces s číslom %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Ahoj"
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr "Ukážková aplikácia"
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Nastaviť titulok ako citlivý"
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Či nastaviť titulok ako citlivý."
diff --git a/gettext-tools/examples/hello-c-gnome3/po/sl.po b/gettext-tools/examples/hello-c-gnome3/po/sl.po
new file mode 100644
index 0000000..76fa84a
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/sl.po
@@ -0,0 +1,44 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-c-gnome3-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ta program teče kot proces številka %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Zdravo"
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr "Zgled aplikacije"
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Nastavi oznako kot občutljivo"
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Ali naj nastavimo oznako kot občutljivo"
diff --git a/gettext-tools/examples/hello-c-gnome3/po/sr.po b/gettext-tools/examples/hello-c-gnome3/po/sr.po
new file mode 100644
index 0000000..1740de0
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/sr.po
@@ -0,0 +1,44 @@
+# Serbian translation of hello-c-gnome3.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Овај програм се извршава као процес број %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr "Програм примера"
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/sv.po b/gettext-tools/examples/hello-c-gnome3/po/sv.po
new file mode 100644
index 0000000..0939fe1
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/sv.po
@@ -0,0 +1,40 @@
+# Swedish messages for hello-c-gnome3.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Detta program kör som process nummer %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Hej"
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr "Exempelprogram"
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Sätt etikett aktiv"
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Om etikett ska sättas aktiv"
diff --git a/gettext-tools/examples/hello-c-gnome3/po/tr.po b/gettext-tools/examples/hello-c-gnome3/po/tr.po
new file mode 100644
index 0000000..3b6ebbe
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/tr.po
@@ -0,0 +1,41 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Bu yazılım, %d süreç kimliği ile çalışıyor."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/uk.po b/gettext-tools/examples/hello-c-gnome3/po/uk.po
new file mode 100644
index 0000000..e30ac6f
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/uk.po
@@ -0,0 +1,45 @@
+# Ukrainian translation to hello-c-gnome3
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ця програма виконується як процес з номером %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Привіт"
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr "Програма-приклад"
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Зробити мітку чутливою"
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Чи слід робити мітку чутливою."
diff --git a/gettext-tools/examples/hello-c-gnome3/po/vi.po b/gettext-tools/examples/hello-c-gnome3/po/vi.po
new file mode 100644
index 0000000..17305cd
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/vi.po
@@ -0,0 +1,46 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %d."
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Chào"
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr "Ứng dụng mẫu"
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Đặt phân biệt nhãn"
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Có đặt phân biệt nhãn hay không."
diff --git a/gettext-tools/examples/hello-c-gnome3/po/zh_CN.po b/gettext-tools/examples/hello-c-gnome3/po/zh_CN.po
new file mode 100644
index 0000000..49e3ce0
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/zh_CN.po
@@ -0,0 +1,41 @@
+# zh_CN translation for hello-c-gnome3.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-c-gnome3 package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "此程序正以进程号 %d 运行。"
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/zh_HK.po b/gettext-tools/examples/hello-c-gnome3/po/zh_HK.po
new file mode 100644
index 0000000..1531f1d
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/zh_HK.po
@@ -0,0 +1,40 @@
+# Chinese (Hong Kong) translation of hello-c-gnome3.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行中,進程編號為 %d。"
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c-gnome3/po/zh_TW.po b/gettext-tools/examples/hello-c-gnome3/po/zh_TW.po
new file mode 100644
index 0000000..76f8da5
--- /dev/null
+++ b/gettext-tools/examples/hello-c-gnome3/po/zh_TW.po
@@ -0,0 +1,42 @@
+# Traditional Chinese translation of hello-c-gnome3.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-gnome3 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行,行程編號為 %d。"
+
+#: hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello.desktop.in.in:5 hello.ui:22
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/hello-c/INSTALL b/gettext-tools/examples/hello-c/INSTALL
new file mode 100644
index 0000000..0f981dc
--- /dev/null
+++ b/gettext-tools/examples/hello-c/INSTALL
@@ -0,0 +1,10 @@
+This example relies just on gettext-runtime (and libc, of course).
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-c/Makefile.am b/gettext-tools/examples/hello-c/Makefile.am
new file mode 100644
index 0000000..2afd456
--- /dev/null
+++ b/gettext-tools/examples/hello-c/Makefile.am
@@ -0,0 +1,29 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign no-dependencies
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_PROGRAMS = hello
+
+# The source files of the 'hello' program.
+hello_SOURCES = hello.c gettext.h
+
+# Define a C macro LOCALEDIR indicating where catalogs will be installed.
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
+
+# Make sure the gettext.h include file is found.
+AM_CPPFLAGS = -I. -I$(srcdir)
+
+# Link time dependencies.
+LDADD = @LIBINTL@
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-c/autoclean.sh b/gettext-tools/examples/hello-c/autoclean.sh
new file mode 100755
index 0000000..7575334
--- /dev/null
+++ b/gettext-tools/examples/hello-c/autoclean.sh
@@ -0,0 +1,62 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f gettext.h
+
+# Brought in by autopoint.
+rm -f ABOUT-NLS
+rm -f config.rpath
+rm -f m4/codeset.m4
+rm -f m4/gettext.m4
+rm -f m4/glibc2.m4
+rm -f m4/glibc21.m4
+rm -f m4/iconv.m4
+rm -f m4/intdiv0.m4
+rm -f m4/intl.m4
+rm -f m4/intldir.m4
+rm -f m4/intlmacosx.m4
+rm -f m4/intmax.m4
+rm -f m4/inttypes-pri.m4
+rm -f m4/inttypes_h.m4
+rm -f m4/lcmessage.m4
+rm -f m4/lib-ld.m4
+rm -f m4/lib-link.m4
+rm -f m4/lib-prefix.m4
+rm -f m4/lock.m4
+rm -f m4/longlong.m4
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/printf-posix.m4
+rm -f m4/progtest.m4
+rm -f m4/size_max.m4
+rm -f m4/stdint_h.m4
+rm -f m4/uintmax_t.m4
+rm -f m4/visibility.m4
+rm -f m4/wchar_t.m4
+rm -f m4/wint_t.m4
+rm -f m4/xsize.m4
+rm -f po/Makefile.in.in
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f config.guess
+rm -f config.sub
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-c/autogen.sh b/gettext-tools/examples/hello-c/autogen.sh
new file mode 100755
index 0000000..78b1503
--- /dev/null
+++ b/gettext-tools/examples/hello-c/autogen.sh
@@ -0,0 +1,50 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${GETTEXTSRCDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-lib}/gettext.h gettext.h
+
+autopoint -f # was: gettextize -f -c
+rm po/Makevars.template
+rm po/Rules-quot
+rm po/boldquot.sed
+rm po/en@boldquot.header
+rm po/en@quot.header
+rm po/insert-header.sin
+rm po/quot.sed
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-c/configure.ac b/gettext-tools/examples/hello-c/configure.ac
new file mode 100644
index 0000000..ce35685
--- /dev/null
+++ b/gettext-tools/examples/hello-c/configure.ac
@@ -0,0 +1,18 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.c)
+AM_INIT_AUTOMAKE(hello-c, 0)
+
+AC_PROG_CC
+AC_CHECK_HEADERS([unistd.h])
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION(0.15)
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile.in])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-c/hello.c b/gettext-tools/examples/hello-c/hello.c
new file mode 100644
index 0000000..20be7f3
--- /dev/null
+++ b/gettext-tools/examples/hello-c/hello.c
@@ -0,0 +1,35 @@
+/* Example for use of GNU gettext.
+ This file is in the public domain.
+
+ Source code of the C program. */
+
+
+/* Get setlocale() declaration. */
+#include <locale.h>
+
+/* Get printf() declaration. */
+#include <stdio.h>
+
+/* Get getpid() declaration. */
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
+/* Get gettext(), textdomain(), bindtextdomain() declaration. */
+#include "gettext.h"
+/* Define shortcut for gettext(). */
+#define _(string) gettext (string)
+
+int
+main ()
+{
+ setlocale (LC_ALL, "");
+ textdomain ("hello-c");
+ bindtextdomain ("hello-c", LOCALEDIR);
+
+ printf ("%s\n", _("Hello, world!"));
+ printf (_("This program is running as process number %d."), getpid ());
+ putchar ('\n');
+
+ return 0;
+}
diff --git a/gettext-tools/examples/hello-c/m4/Makefile.am b/gettext-tools/examples/hello-c/m4/Makefile.am
new file mode 100644
index 0000000..000cd06
--- /dev/null
+++ b/gettext-tools/examples/hello-c/m4/Makefile.am
@@ -0,0 +1,5 @@
+EXTRA_DIST = \
+ codeset.m4 gettext.m4 glibc2.m4 glibc21.m4 iconv.m4 intdiv0.m4 \
+ inttypes_h.m4 inttypes-pri.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 \
+ lib-prefix.m4 lock.m4 nls.m4 po.m4 progtest.m4 stdint_h.m4 \
+ uintmax_t.m4 visibility.m4
diff --git a/gettext-tools/examples/hello-c/po/LINGUAS b/gettext-tools/examples/hello-c/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-c/po/Makevars b/gettext-tools/examples/hello-c/po/Makevars
new file mode 100644
index 0000000..6b3a68c
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/Makevars
@@ -0,0 +1,55 @@
+# Makefile variables for PO directory in any package using GNU gettext.
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These two variables depend on the location of this directory.
+subdir = po
+top_builddir = ..
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = \
+ --keyword=_ --flag=_:1:pass-c-format \
+ --keyword=N_ --flag=N_:1:pass-c-format
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
+# context. Possible values are "yes" and "no". Set this to yes if the
+# package uses functions taking also a message context, like pgettext(), or
+# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
+USE_MSGCTXT = no
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
diff --git a/gettext-tools/examples/hello-c/po/POTFILES.in b/gettext-tools/examples/hello-c/po/POTFILES.in
new file mode 100644
index 0000000..92cdf78
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/POTFILES.in
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# List of files which contain translatable strings.
+hello.c
diff --git a/gettext-tools/examples/hello-c/po/af.po b/gettext-tools/examples/hello-c/po/af.po
new file mode 100644
index 0000000..cc52953
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Hierdie program loop as prosesnommer %d."
diff --git a/gettext-tools/examples/hello-c/po/ast.po b/gettext-tools/examples/hello-c/po/ast.po
new file mode 100644
index 0000000..1f60f4f
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %d."
diff --git a/gettext-tools/examples/hello-c/po/bg.po b/gettext-tools/examples/hello-c/po/bg.po
new file mode 100644
index 0000000..cebe8ca
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-c package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Програмата е пусната под процес номер %d."
diff --git a/gettext-tools/examples/hello-c/po/ca.po b/gettext-tools/examples/hello-c/po/ca.po
new file mode 100644
index 0000000..d9f864d
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-c.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Aquest programa està corrent amb el número de procés %d."
diff --git a/gettext-tools/examples/hello-c/po/cs.po b/gettext-tools/examples/hello-c/po/cs.po
new file mode 100644
index 0000000..54fa967
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tento program běží jako proces číslo %d."
diff --git a/gettext-tools/examples/hello-c/po/da.po b/gettext-tools/examples/hello-c/po/da.po
new file mode 100644
index 0000000..609d623
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-c.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dette program krer som proces nummer %d."
diff --git a/gettext-tools/examples/hello-c/po/de.po b/gettext-tools/examples/hello-c/po/de.po
new file mode 100644
index 0000000..abca176
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-c.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %d."
diff --git a/gettext-tools/examples/hello-c/po/el.po b/gettext-tools/examples/hello-c/po/el.po
new file mode 100644
index 0000000..ab1f681
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-c
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d."
diff --git a/gettext-tools/examples/hello-c/po/eo.po b/gettext-tools/examples/hello-c/po/eo.po
new file mode 100644
index 0000000..c5c9d8e
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %d."
diff --git a/gettext-tools/examples/hello-c/po/es.po b/gettext-tools/examples/hello-c/po/es.po
new file mode 100644
index 0000000..1e5a354
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está corriendo como el proceso número %d."
diff --git a/gettext-tools/examples/hello-c/po/fi.po b/gettext-tools/examples/hello-c/po/fi.po
new file mode 100644
index 0000000..091b42e
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tämän ohjelman prosessinumero on %d."
diff --git a/gettext-tools/examples/hello-c/po/fr.po b/gettext-tools/examples/hello-c/po/fr.po
new file mode 100644
index 0000000..3fcf38f
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ce programme est exécuté en tant que processus numéro %d."
diff --git a/gettext-tools/examples/hello-c/po/ga.po b/gettext-tools/examples/hello-c/po/ga.po
new file mode 100644
index 0000000..08cd168
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-c.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-c package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "T an clr seo rith mar phriseas %d."
diff --git a/gettext-tools/examples/hello-c/po/gl.po b/gettext-tools/examples/hello-c/po/gl.po
new file mode 100644
index 0000000..c0672d4
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-c package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa estase executando como o proceso número %d."
diff --git a/gettext-tools/examples/hello-c/po/hr.po b/gettext-tools/examples/hello-c/po/hr.po
new file mode 100644
index 0000000..07a7c85
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-c to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ovaj program je pokrenut kao proces broj %d."
diff --git a/gettext-tools/examples/hello-c/po/hu.po b/gettext-tools/examples/hello-c/po/hu.po
new file mode 100644
index 0000000..0fa89a7
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-c.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ez a program a(z) %d folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-c/po/id.po b/gettext-tools/examples/hello-c/po/id.po
new file mode 100644
index 0000000..325f94e
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-c-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Program ini berjalan sebagai proses nomor %d"
diff --git a/gettext-tools/examples/hello-c/po/it.po b/gettext-tools/examples/hello-c/po/it.po
new file mode 100644
index 0000000..480134b
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-c.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Questo programma è in esecuzione con numero di processo %d."
diff --git a/gettext-tools/examples/hello-c/po/ja.po b/gettext-tools/examples/hello-c/po/ja.po
new file mode 100644
index 0000000..288e29e
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-c' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Υץϥץֹ %d ưƤޤ."
diff --git a/gettext-tools/examples/hello-c/po/ky.po b/gettext-tools/examples/hello-c/po/ky.po
new file mode 100644
index 0000000..c26af5d
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-c' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Бул программа %d процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-c/po/lv.po b/gettext-tools/examples/hello-c/po/lv.po
new file mode 100644
index 0000000..8d02f10
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-c
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Šī programma darbojas kā process ar numuru %d."
diff --git a/gettext-tools/examples/hello-c/po/ms.po b/gettext-tools/examples/hello-c/po/ms.po
new file mode 100644
index 0000000..5ed1b88
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/ms.po
@@ -0,0 +1,26 @@
+# hello-c Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-c package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %d."
diff --git a/gettext-tools/examples/hello-c/po/mt.po b/gettext-tools/examples/hello-c/po/mt.po
new file mode 100644
index 0000000..f769fb7
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/mt.po
@@ -0,0 +1,26 @@
+# hello-c-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d."
diff --git a/gettext-tools/examples/hello-c/po/nb.po b/gettext-tools/examples/hello-c/po/nb.po
new file mode 100644
index 0000000..6ac4339
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-c package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dette programmet kjører som prosess nummer %d."
diff --git a/gettext-tools/examples/hello-c/po/nl.po b/gettext-tools/examples/hello-c/po/nl.po
new file mode 100644
index 0000000..a8c4779
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-c.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dit programma draait als proces nummer %d."
diff --git a/gettext-tools/examples/hello-c/po/pl.po b/gettext-tools/examples/hello-c/po/pl.po
new file mode 100644
index 0000000..5feaa7a
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-c domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ten program działa jako proces o numerze %d."
diff --git a/gettext-tools/examples/hello-c/po/pt.po b/gettext-tools/examples/hello-c/po/pt.po
new file mode 100644
index 0000000..d56f9bf
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-c' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-c package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está a ser executado com o número de processo %d."
diff --git a/gettext-tools/examples/hello-c/po/pt_BR.po b/gettext-tools/examples/hello-c/po/pt_BR.po
new file mode 100644
index 0000000..2245521
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está executando com número de processo %d."
diff --git a/gettext-tools/examples/hello-c/po/ro.po b/gettext-tools/examples/hello-c/po/ro.po
new file mode 100644
index 0000000..831d849
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-c-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-c.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Acest program este rulat ca procesul numrul %d."
diff --git a/gettext-tools/examples/hello-c/po/ru.po b/gettext-tools/examples/hello-c/po/ru.po
new file mode 100644
index 0000000..a22aeda
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-c-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Эта программа выполняется как процесс под номером %d."
diff --git a/gettext-tools/examples/hello-c/po/sk.po b/gettext-tools/examples/hello-c/po/sk.po
new file mode 100644
index 0000000..0eff887
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-c package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-c 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tento program beží ako proces s číslom %d."
diff --git a/gettext-tools/examples/hello-c/po/sl.po b/gettext-tools/examples/hello-c/po/sl.po
new file mode 100644
index 0000000..8bded5e
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-c-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ta program teče kot proces številka %d."
diff --git a/gettext-tools/examples/hello-c/po/sr.po b/gettext-tools/examples/hello-c/po/sr.po
new file mode 100644
index 0000000..0b08fe5
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-c.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Овај програм се извршава као процес број %d."
diff --git a/gettext-tools/examples/hello-c/po/sv.po b/gettext-tools/examples/hello-c/po/sv.po
new file mode 100644
index 0000000..1c58c73
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-c.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Detta program kör som process nummer %d."
diff --git a/gettext-tools/examples/hello-c/po/tr.po b/gettext-tools/examples/hello-c/po/tr.po
new file mode 100644
index 0000000..b01c68b
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Bu yazılım, %d süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-c/po/uk.po b/gettext-tools/examples/hello-c/po/uk.po
new file mode 100644
index 0000000..6193c1d
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-c
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ця програма виконується як процес з номером %d."
diff --git a/gettext-tools/examples/hello-c/po/vi.po b/gettext-tools/examples/hello-c/po/vi.po
new file mode 100644
index 0000000..1cfa569
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %d."
diff --git a/gettext-tools/examples/hello-c/po/zh_CN.po b/gettext-tools/examples/hello-c/po/zh_CN.po
new file mode 100644
index 0000000..95d32ef
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-c.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-c package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "此程序正以进程号 %d 运行。"
diff --git a/gettext-tools/examples/hello-c/po/zh_HK.po b/gettext-tools/examples/hello-c/po/zh_HK.po
new file mode 100644
index 0000000..0443b57
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-c.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行中,進程編號為 %d。"
diff --git a/gettext-tools/examples/hello-c/po/zh_TW.po b/gettext-tools/examples/hello-c/po/zh_TW.po
new file mode 100644
index 0000000..9340c67
--- /dev/null
+++ b/gettext-tools/examples/hello-c/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-c.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.c:30
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行,行程編號為 %d。"
diff --git a/gettext-tools/examples/hello-clisp/INSTALL b/gettext-tools/examples/hello-clisp/INSTALL
new file mode 100644
index 0000000..2d75116
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/INSTALL
@@ -0,0 +1,10 @@
+This example relies on clisp (GNU clisp).
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-clisp/Makefile.am b/gettext-tools/examples/hello-clisp/Makefile.am
new file mode 100644
index 0000000..3911ff3
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/Makefile.am
@@ -0,0 +1,29 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_SCRIPTS = hello
+
+# Compilation of Common Lisp programs.
+SUFFIXES = .lisp .fas
+.lisp.fas:
+ clisp -norc -q -c $< -o $@
+CLEANFILES = *.fas *.lib
+
+# Making a Common Lisp program executable.
+hello: hello.fas
+ (echo '#!@CLISP@'; cat $<) > $@
+ chmod a+x $@
+CLEANFILES += hello
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-clisp/autoclean.sh b/gettext-tools/examples/hello-clisp/autoclean.sh
new file mode 100755
index 0000000..7c2c432
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/autoclean.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-clisp/autogen.sh b/gettext-tools/examples/hello-clisp/autogen.sh
new file mode 100755
index 0000000..7e51979
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/autogen.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-clisp/configure.ac b/gettext-tools/examples/hello-clisp/configure.ac
new file mode 100644
index 0000000..5eed326
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/configure.ac
@@ -0,0 +1,38 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.lisp.in)
+AM_INIT_AUTOMAKE(hello-clisp, 0)
+
+dnl Check for availability of the Lisp system.
+AC_PATH_PROG(CLISP, clisp)
+if test -z "$CLISP"; then
+ echo "*** Essential program clisp not found" 1>&2
+ exit 1
+fi
+AC_SUBST(CLISP)
+
+dnl The installed program must know where to find its message catalogs.
+dnl Unfortunately, prefix gets only finally determined at the end of configure.
+if test "X$prefix" = "XNONE"; then
+ final_prefix="$ac_default_prefix"
+else
+ final_prefix="$prefix"
+fi
+save_prefix="$prefix"
+prefix="$final_prefix"
+eval "datarootdir=\"${datarootdir}\""
+eval "localedir=\"${datadir}/locale\""
+prefix="$save_prefix"
+AC_SUBST(localedir)
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile hello.lisp])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-clisp/hello.lisp.in b/gettext-tools/examples/hello-clisp/hello.lisp.in
new file mode 100644
index 0000000..ce278a6
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/hello.lisp.in
@@ -0,0 +1,15 @@
+#| Example for use of GNU gettext.
+ This file is in the public domain.
+
+ Source code of the GNU clisp program.
+|#
+
+(setf (i18n:textdomain) "hello-clisp")
+(setf (i18n:textdomaindir "hello-clisp") "@localedir@/")
+(defmacro _ (string) `(i18n:gettext ,string))
+
+(write-line (_ "Hello, world!"))
+
+(format t (_ "This program is running as process number ~D.")
+ (system::program-id))
+(terpri)
diff --git a/gettext-tools/examples/hello-clisp/m4/Makefile.am b/gettext-tools/examples/hello-clisp/m4/Makefile.am
new file mode 100644
index 0000000..8a841b3
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/m4/Makefile.am
@@ -0,0 +1,2 @@
+EXTRA_DIST = \
+ nls.m4 po.m4
diff --git a/gettext-tools/examples/hello-clisp/po/LINGUAS b/gettext-tools/examples/hello-clisp/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-clisp/po/Makefile.am b/gettext-tools/examples/hello-clisp/po/Makefile.am
new file mode 100644
index 0000000..b33ddaf
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/Makefile.am
@@ -0,0 +1,356 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello.lisp.in
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = --keyword=_ --flag=_:1:pass-lisp-format
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).gmo)
+GMOFILES = @GMOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(lang).gmo)
+CATALOGS = @CATALOGS@
+
+SUFFIXES = .po .gmo .mo .sed .sin .nop .po-create .po-update
+
+.po.mo:
+ @echo "$(MSGFMT) -c -o $@ $<"; \
+ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
+
+.po.gmo:
+ @lang=`echo $* | sed -e 's,.*/,,'`; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
+ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
+# In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+install-data-local: install-data-local-@USE_NLS@
+install-data-local-no: all-local
+install-data-local-yes: all-local
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
+ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
+ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
+ fi; \
+ done; \
+ done
+
+installdirs-local: installdirs-local-@USE_NLS@
+installdirs-local-no:
+installdirs-local-yes:
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ fi; \
+ done; \
+ done
+
+uninstall-local: uninstall-local-@USE_NLS@
+uninstall-local-no:
+uninstall-local-yes:
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ done; \
+ done
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+MOSTLYCLEANFILES += *.o
+
+DISTCLEANFILES = *.mo
+
+MAINTAINERCLEANFILES = stamp-po $(GMOFILES)
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-gmo
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-gmo: Makefile $(GMOFILES)
+ @:
diff --git a/gettext-tools/examples/hello-clisp/po/af.po b/gettext-tools/examples/hello-clisp/po/af.po
new file mode 100644
index 0000000..b8d7af1
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Hierdie program loop as prosesnommer ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/ast.po b/gettext-tools/examples/hello-clisp/po/ast.po
new file mode 100644
index 0000000..580f707
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Esti programa ta corriendo como'l procesu nmberu ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/bg.po b/gettext-tools/examples/hello-clisp/po/bg.po
new file mode 100644
index 0000000..c05d11b
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-clisp package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-clisp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Програмата е пусната под процес номер ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/ca.po b/gettext-tools/examples/hello-clisp/po/ca.po
new file mode 100644
index 0000000..9439c24
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-clisp.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Aquest programa està corrent amb el número de procés ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/cs.po b/gettext-tools/examples/hello-clisp/po/cs.po
new file mode 100644
index 0000000..427a2c1
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Tento program běží jako proces číslo ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/da.po b/gettext-tools/examples/hello-clisp/po/da.po
new file mode 100644
index 0000000..d78900a
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-clisp.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Dette program krer som proces nummer ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/de.po b/gettext-tools/examples/hello-clisp/po/de.po
new file mode 100644
index 0000000..d6d8558
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-clisp.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/el.po b/gettext-tools/examples/hello-clisp/po/el.po
new file mode 100644
index 0000000..a319c61
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-clisp
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/eo.po b/gettext-tools/examples/hello-clisp/po/eo.po
new file mode 100644
index 0000000..875b992
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/es.po b/gettext-tools/examples/hello-clisp/po/es.po
new file mode 100644
index 0000000..b38b32b
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Este programa está corriendo como el proceso número ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/fi.po b/gettext-tools/examples/hello-clisp/po/fi.po
new file mode 100644
index 0000000..2133b45
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Tämän ohjelman prosessinumero on ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/fr.po b/gettext-tools/examples/hello-clisp/po/fr.po
new file mode 100644
index 0000000..0876369
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-clisp 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Ce programme est exécuté en tant que processus numéro ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/ga.po b/gettext-tools/examples/hello-clisp/po/ga.po
new file mode 100644
index 0000000..c01ed86
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-clisp.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-clisp package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "T an clr seo rith mar phriseas ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/gl.po b/gettext-tools/examples/hello-clisp/po/gl.po
new file mode 100644
index 0000000..9f463c7
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-clisp package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Este programa estase executando como o proceso número ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/hr.po b/gettext-tools/examples/hello-clisp/po/hr.po
new file mode 100644
index 0000000..e19fbd0
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-clisp to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Ovaj program je pokrenut kao proces broj ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/hu.po b/gettext-tools/examples/hello-clisp/po/hu.po
new file mode 100644
index 0000000..db8fa0f
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-clisp.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Ez a program a(z) ~D folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-clisp/po/id.po b/gettext-tools/examples/hello-clisp/po/id.po
new file mode 100644
index 0000000..90dbed5
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-clisp-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Program ini berjalan sebagai proses nomor ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/it.po b/gettext-tools/examples/hello-clisp/po/it.po
new file mode 100644
index 0000000..49b95af
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-clisp.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Questo programma è in esecuzione con numero di processo ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/ja.po b/gettext-tools/examples/hello-clisp/po/ja.po
new file mode 100644
index 0000000..d5790df
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-clisp' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-clisp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Υץϥץֹ ~D ưƤޤ."
diff --git a/gettext-tools/examples/hello-clisp/po/ky.po b/gettext-tools/examples/hello-clisp/po/ky.po
new file mode 100644
index 0000000..b0622b1
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-clisp' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Бул программа ~D процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-clisp/po/lv.po b/gettext-tools/examples/hello-clisp/po/lv.po
new file mode 100644
index 0000000..656f90b
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-clisp
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Šī programma darbojas kā process ar numuru ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/ms.po b/gettext-tools/examples/hello-clisp/po/ms.po
new file mode 100644
index 0000000..790b1a4
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/ms.po
@@ -0,0 +1,26 @@
+# hello-clisp Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-clisp package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Program ini dilaksanakan sebagai proses bernombor ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/mt.po b/gettext-tools/examples/hello-clisp/po/mt.po
new file mode 100644
index 0000000..c045649
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/mt.po
@@ -0,0 +1,26 @@
+# hello-clisp-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/nb.po b/gettext-tools/examples/hello-clisp/po/nb.po
new file mode 100644
index 0000000..57dc898
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-clisp package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Dette programmet kjører som prosess nummer ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/nl.po b/gettext-tools/examples/hello-clisp/po/nl.po
new file mode 100644
index 0000000..f08d3f5
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-clisp.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Dit programma draait als proces nummer ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/pl.po b/gettext-tools/examples/hello-clisp/po/pl.po
new file mode 100644
index 0000000..41c066b
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-clisp domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Ten program działa jako proces o numerze ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/pt.po b/gettext-tools/examples/hello-clisp/po/pt.po
new file mode 100644
index 0000000..e2246eb
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-clisp' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-clisp package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Este programa está a ser executado com o número de processo ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/pt_BR.po b/gettext-tools/examples/hello-clisp/po/pt_BR.po
new file mode 100644
index 0000000..ab72d0a
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Este programa está executando com número de processo ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/ro.po b/gettext-tools/examples/hello-clisp/po/ro.po
new file mode 100644
index 0000000..626018e
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-clisp-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-clisp.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Acest program este rulat ca procesul numrul ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/ru.po b/gettext-tools/examples/hello-clisp/po/ru.po
new file mode 100644
index 0000000..e31c4e1
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-clisp-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Эта программа выполняется как процесс под номером ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/sk.po b/gettext-tools/examples/hello-clisp/po/sk.po
new file mode 100644
index 0000000..32489b3
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-clisp package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-clisp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Tento program beží ako proces s číslom ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/sl.po b/gettext-tools/examples/hello-clisp/po/sl.po
new file mode 100644
index 0000000..4bedc15
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-clisp-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Ta program teče kot proces številka ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/sr.po b/gettext-tools/examples/hello-clisp/po/sr.po
new file mode 100644
index 0000000..afb95ac
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-clisp.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Овај програм се извршава као процес број ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/sv.po b/gettext-tools/examples/hello-clisp/po/sv.po
new file mode 100644
index 0000000..110b9df
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-clisp.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Detta program kör som process nummer ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/tr.po b/gettext-tools/examples/hello-clisp/po/tr.po
new file mode 100644
index 0000000..8f3efe7
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Bu yazılım, ~D süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-clisp/po/uk.po b/gettext-tools/examples/hello-clisp/po/uk.po
new file mode 100644
index 0000000..ebbae18
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-clisp
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Ця програма виконується як процес з номером ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/vi.po b/gettext-tools/examples/hello-clisp/po/vi.po
new file mode 100644
index 0000000..45dd500
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "Chương trình này đang chạy với mã số tiến trình ~D."
diff --git a/gettext-tools/examples/hello-clisp/po/zh_CN.po b/gettext-tools/examples/hello-clisp/po/zh_CN.po
new file mode 100644
index 0000000..925927f
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-clisp.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-clisp package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "此程序正以进程号 ~D 运行。"
diff --git a/gettext-tools/examples/hello-clisp/po/zh_HK.po b/gettext-tools/examples/hello-clisp/po/zh_HK.po
new file mode 100644
index 0000000..afc4624
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-clisp.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "本程式正在執行中,進程編號為 ~D。"
diff --git a/gettext-tools/examples/hello-clisp/po/zh_TW.po b/gettext-tools/examples/hello-clisp/po/zh_TW.po
new file mode 100644
index 0000000..91e9e97
--- /dev/null
+++ b/gettext-tools/examples/hello-clisp/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-clisp.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.lisp.in:11
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr "本程式正在執行,行程編號為 ~D。"
diff --git a/gettext-tools/examples/hello-csharp-forms/BUGS b/gettext-tools/examples/hello-csharp-forms/BUGS
new file mode 100644
index 0000000..af7009a
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/BUGS
@@ -0,0 +1,2 @@
+Correct display of characters depends on the C# execution engine. For example,
+in pnet 0.6.0.1, Western fonts display fine but East Asian fonts don't work.
diff --git a/gettext-tools/examples/hello-csharp-forms/INSTALL b/gettext-tools/examples/hello-csharp-forms/INSTALL
new file mode 100644
index 0000000..011cc81
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/INSTALL
@@ -0,0 +1,11 @@
+This example relies on:
+ - a C# implementation with System.Windows.Forms library, e.g. pnet+pnetlib
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-csharp-forms/Makefile.am b/gettext-tools/examples/hello-csharp-forms/Makefile.am
new file mode 100644
index 0000000..bf7a7c0
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/Makefile.am
@@ -0,0 +1,74 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_CSHARPPROGRAMS = hello
+
+# The source files of the 'hello' program.
+hello_SOURCES = hello.cs
+
+# The link dependencies of the 'hello' program.
+hello_CSHARPLIBS = @GNU_GETTEXT_LDADD@ @GNU_GETTEXT_LIBS@ -l System -l System.Drawing -l System.Windows.Forms
+
+# Resources that are generated from PO files.
+MAINTAINERCLEANFILES = */*.resources.dll
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
+
+
+# ----------------- General rules for compiling C# programs -----------------
+
+pkgdatadir = $(datadir)/$(PACKAGE)
+pkglibdir = $(libdir)/$(PACKAGE)
+
+CSHARPCOMP = $(SHELL) csharpcomp.sh
+CSHARPCOMPFLAGS = -O -g
+
+EXTRA_DIST += $(hello_SOURCES)
+CLEANFILES =
+DISTCLEANFILES = csharpcomp.sh csharpexec.sh
+
+
+# Rules for compiling C# programs.
+
+all-local: hello.net.exe hello.sh
+
+hello.net.exe: $(hello_SOURCES)
+ $(CSHARPCOMP) $(CSHARPCOMPFLAGS) -o $@ $(hello_CSHARPLIBS) $(srcdir)/hello.cs
+
+hello.sh:
+ { echo '#!/bin/sh'; \
+ echo "exec /bin/sh '$(pkgdatadir)/csharpexec.sh' @GNU_GETTEXT_LDADD@ '$(pkglibdir)/hello.net.exe' \"\$$@\""; \
+ } > $@
+
+install-exec-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ $(INSTALL_SCRIPT) hello.sh $(DESTDIR)$(bindir)/hello
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)
+ $(INSTALL_DATA) hello.net.exe $(DESTDIR)$(pkglibdir)/hello.net.exe
+
+install-data-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)
+ $(INSTALL_DATA) csharpexec.sh $(DESTDIR)$(pkgdatadir)/csharpexec.sh
+
+installdirs-local:
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)
+
+uninstall-local:
+ rm -f $(DESTDIR)$(bindir)/hello
+ rm -f $(DESTDIR)$(pkglibdir)/hello.net.exe
+ rm -f $(DESTDIR)$(pkgdatadir)/csharpexec.sh
+
+CLEANFILES += hello.net.exe hello.sh
diff --git a/gettext-tools/examples/hello-csharp-forms/README b/gettext-tools/examples/hello-csharp-forms/README
new file mode 100644
index 0000000..5756710
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/README
@@ -0,0 +1,81 @@
+Before you read the hello.cs source code:
+
+Preface about GUI Programming Methodologies
+===========================================
+
+The traditional GUI programming methodology for Windows GUI programmers
+is to assemble controls using a GUI builder. These GUI builders
+don't have good techniques for determining the size and position of the
+controls depending on their contents. Instead, they *hardcode* the
+size and positions of the controls in each panel, as fixed numbers,
+measured in pixels.
+
+What are the consequences?
+
+1) Consequences for all users:
+ Such panels would not look nice when the user resizes them. So the
+ programmer simply makes the dialogs non-resizable. When such a
+ panel then contains a scrollable list of items, with 100 items and
+ a scroll window of 5 items, a user's normal reaction is to enlarge
+ the dialog, to see more items. But the dialog is not resizable!
+ Frustration.
+
+2) Consequences for disabled users:
+ Some users need bigger fonts for working comfortably. Guess what
+ happens when the user changes the size of the default system font?
+ Many labels in dialogs are truncated.
+
+3) Consequences for internationalization:
+ The translation of a term or label in another language often needs
+ more screen space. For example, Japanese translations often are 30%
+ longer than the original English label. Therefore, if only the strings
+ of a dialog are localized, many labels are truncated.
+
+Problems 1 and 2 are usually accepted in the Windows programmers
+community. (Problem 1 is not fatal, only frustrating. And problem 2
+affects only a small proportion of the users; they are simply ignored.)
+Problem 3 is "solved" by letting the localization team not only translate
+the strings, but also redo the layout of each dialog.
+
+In contrast, the methodology of programmers of the Qt/KDE, Gtk/GNOME,
+wxWidgets, AWT, Swing, Tk toolkits is to have the positions and sizes
+of controls determined at runtime, according to
+ - the needs of the control itself,
+ - the needs of the other controls in the panel,
+ - the available panel size, given by the user through resizing.
+The common technology for this approach is to group related controls
+together in containers, and perform size and position propagations
+between the controls of the container, the container, the container's
+container etc. These computations are performed by so-called
+"layout manager" objects.
+Other technologies such as global constraint systems (as in Garnet) or
+spring-like attachments are not so much in use anymore nowadays.
+
+This programmed-resizing methodology solves the problems 1), 2) and 3).
+
+What are the associated costs and efforts? Taking the programmed-resizing
+methodology as baseline, the hardcoded sizes and positions approach has
+ - the advantage that the programmer saves about 1/3 of the GUI
+ programming work (namely choosing the layout managers and setting
+ alignment hints),
+ - the drawback that each localization team has much more work, namely
+ to rearrange the controls in the panel.
+In most free software projects, there are at least ca. 5 localizations;
+successful projects even have 30 or 50 localizations.
+In other words, a program built with hardcoded sizes and positions
+cannot afford many localizations, or the effort for localization will
+be prohibitively high.
+
+For this reason, we strongly recommend to use the programmed-resizing
+methodology. In this example, since the Windows.Forms package lacks
+layout manager classes, we compute the layout by hand, through an
+override of the OnResize method. For larger programs, we would recommend
+to build a few simple layout managers, to get on par with the layout
+abilities found in Qt, Swing, etc.
+(The layout system of Gtk/GNOME is somewhat particular: It does not
+provide the ability to set a preferred alignment on controls like labels.
+Instead one uses intermediate containers for the purpose of alignment.)
+
+Acknowledgement: This preface borrows ideas from an article of Luke Plant.
+
+Copyright (C) 2006 Free Software Foundation, Inc.
diff --git a/gettext-tools/examples/hello-csharp-forms/autoclean.sh b/gettext-tools/examples/hello-csharp-forms/autoclean.sh
new file mode 100755
index 0000000..1e14444
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/autoclean.sh
@@ -0,0 +1,39 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Brought in by explicit copy.
+rm -f m4/csharpcomp.m4
+rm -f m4/csharpexec.m4
+rm -f m4/csharpexec-test.exe
+rm -f csharpcomp.sh.in
+rm -f csharpexec.sh.in
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+for f in po/*/*.resources.dll; do
+ rm -f $f
+ rmdir `echo $f | sed -e 's,/[^/]*$,,'`
+done
diff --git a/gettext-tools/examples/hello-csharp-forms/autogen.sh b/gettext-tools/examples/hello-csharp-forms/autogen.sh
new file mode 100755
index 0000000..09596de
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/autogen.sh
@@ -0,0 +1,48 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/csharpcomp.m4 m4/csharpcomp.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/csharpexec.m4 m4/csharpexec.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/csharpexec-test.exe m4/csharpexec-test.exe
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/csharp.m4 m4/csharp.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/csharpcomp.sh.in csharpcomp.sh.in
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/csharpexec.sh.in csharpexec.sh.in
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+./configure
+cd po
+make update-po
+cd ..
+make distclean
diff --git a/gettext-tools/examples/hello-csharp-forms/configure.ac b/gettext-tools/examples/hello-csharp-forms/configure.ac
new file mode 100644
index 0000000..8b4ddb3
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/configure.ac
@@ -0,0 +1,52 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.cs)
+AM_INIT_AUTOMAKE(hello-csharp-forms, 0)
+
+dnl Check whether we can build C# programs at all.
+gt_CSHARPCOMP
+if test -n "$HAVE_CSHARPCOMP"; then
+ BUILDCSHARP=yes
+else
+ BUILDCSHARP=no
+fi
+AC_SUBST(BUILDCSHARP)
+
+dnl Check whether we can execute C# programs.
+gt_CSHARPEXEC([csharpexec-test.exe], [$srcdir/m4])
+if test -n "$HAVE_CSHARPEXEC" && test $BUILDCSHARP = yes; then
+ TESTCSHARP=yes
+else
+ TESTCSHARP=no
+fi
+AC_SUBST(TESTCSHARP)
+
+dnl Checks for needed libraries.
+AM_PATH_PROG_WITH_TEST([GETTEXT_WITH_GNU_GETTEXT_DLL], [gettext],
+ [{ basedir=`echo "$ac_dir" | sed -e 's,/bin$,,'`; test -r "$basedir"/lib/GNU.Gettext.dll; }])
+if test -z "$GETTEXT_WITH_GNU_GETTEXT_DLL"; then
+ echo "Required library GNU.Gettext.dll not found." 1>&2
+ exit 1
+fi
+changequote(,)dnl
+basedir=`echo "$GETTEXT_WITH_GNU_GETTEXT_DLL" | sed -e 's,/[^/]*$,,' | sed -e 's,/bin$,,'`
+changequote([, ])dnl
+GNU_GETTEXT_DLL="$basedir"/lib/GNU.Gettext.dll
+GNU_GETTEXT_LDADD="-L $basedir/lib"
+GNU_GETTEXT_LIBS="-l GNU.Gettext"
+AC_SUBST([GNU_GETTEXT_LDADD])
+AC_SUBST([GNU_GETTEXT_LIBS])
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([csharpcomp.sh])
+AC_CONFIG_FILES([csharpexec.sh])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-csharp-forms/hello.cs b/gettext-tools/examples/hello-csharp-forms/hello.cs
new file mode 100644
index 0000000..8410334
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/hello.cs
@@ -0,0 +1,81 @@
+// Example for use of GNU gettext.
+// This file is in the public domain.
+//
+// Source code of the C#/Forms program.
+
+using System; /* String, EventHandler */
+using GNU.Gettext; /* GettextResourceManager */
+using System.Diagnostics; /* Process */
+using System.Threading; /* Thread */
+using System.Drawing; /* Point, Size */
+using System.Windows.Forms; /* Application, Form, Label, Button */
+
+public class Hello {
+
+ private static GettextResourceManager catalog =
+ new GettextResourceManager("hello-csharp-forms");
+
+ class HelloWindow : Form {
+
+ private int border;
+ private Label label1;
+ private Label label2;
+ private Button ok;
+
+ public HelloWindow () {
+ border = 2;
+
+ label1 = new Label();
+ label1.Text = catalog.GetString("Hello, world!");
+ label1.ClientSize = new Size(label1.PreferredWidth, label1.PreferredHeight);
+ Controls.Add(label1);
+
+ label2 = new Label();
+ label2.Text =
+ String.Format(
+ catalog.GetString("This program is running as process number {0}."),
+ Process.GetCurrentProcess().Id);
+ label2.ClientSize = new Size(label2.PreferredWidth, label2.PreferredHeight);
+ Controls.Add(label2);
+
+ ok = new Button();
+ Label okLabel = new Label();
+ ok.Text = okLabel.Text = "OK";
+ ok.ClientSize = new Size(okLabel.PreferredWidth + 12, okLabel.PreferredHeight + 4);
+ ok.Click += new EventHandler(Quit);
+ Controls.Add(ok);
+
+ Size total = ComputePreferredSizeWithoutBorder();
+ LayoutControls(total.Width, total.Height);
+ ClientSize = new Size(border + total.Width + border, border + total.Height + border);
+ }
+
+ protected override void OnResize(EventArgs ev) {
+ LayoutControls(ClientSize.Width - border - border, ClientSize.Height - border - border);
+ base.OnResize(ev);
+ }
+
+ // Layout computation, part 1: The preferred size of this panel.
+ private Size ComputePreferredSizeWithoutBorder () {
+ int totalWidth = Math.Max(Math.Max(label1.PreferredWidth, label2.PreferredWidth),
+ ok.Width);
+ int totalHeight = label1.PreferredHeight + label2.PreferredHeight + 6 + ok.Height;
+ return new Size(totalWidth, totalHeight);
+ }
+
+ // Layout computation, part 2: Determine where to put the sub-controls.
+ private void LayoutControls (int totalWidth, int totalHeight) {
+ label1.Location = new Point(border, border);
+ label2.Location = new Point(border, border + label1.PreferredHeight);
+ ok.Location = new Point(border + totalWidth - ok.Width, border + totalHeight - ok.Height);
+ }
+
+ private void Quit (Object sender, EventArgs ev) {
+ Application.Exit();
+ }
+ }
+
+ public static void Main () {
+ Application.Run(new HelloWindow());
+ }
+}
diff --git a/gettext-tools/examples/hello-csharp-forms/m4/Makefile.am b/gettext-tools/examples/hello-csharp-forms/m4/Makefile.am
new file mode 100644
index 0000000..de22d57
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/m4/Makefile.am
@@ -0,0 +1,3 @@
+EXTRA_DIST = \
+ nls.m4 po.m4 \
+ csharpcomp.m4 csharpexec.m4 csharpexec-test.exe
diff --git a/gettext-tools/examples/hello-csharp-forms/po/LINGUAS b/gettext-tools/examples/hello-csharp-forms/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-csharp-forms/po/Makefile.am b/gettext-tools/examples/hello-csharp-forms/po/Makefile.am
new file mode 100644
index 0000000..31d0e57
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/Makefile.am
@@ -0,0 +1,280 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello.cs
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS =
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+pkglibdir = $(libdir)/$(PACKAGE)
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
+RESOURCESDLLFILES = @RESOURCESDLLFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(frob $(lang))/$(DOMAIN).resources.dll)
+CATALOGS = @CSHARPCATALOGS@
+
+SUFFIXES = .sed .sin .nop .po-create .po-update
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(RESOURCESDLLFILES) are
+# empty. In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ test -z "$(RESOURCESDLLFILES)" || $(MAKE) $(RESOURCESDLLFILES)
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+install-data-local: install-data-local-@USE_NLS@
+install-data-local-no: all-local
+install-data-local-yes: all-local
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)/`echo $$cat | sed -e 's,/[^/]*$$,,'`; \
+ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
+ $(INSTALL_DATA) $$realcat $(DESTDIR)$(pkglibdir)/$$cat; \
+ echo "installing $$realcat as $(DESTDIR)$(pkglibdir)/$$cat"; \
+ done
+
+installdirs-local: installdirs-local-@USE_NLS@
+installdirs-local-no:
+installdirs-local-yes:
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)/`echo $$cat | sed -e 's,/[^/]*$$,,'`; \
+ done
+
+uninstall-local: uninstall-local-@USE_NLS@
+uninstall-local-no:
+uninstall-local-yes:
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ rm -f $(DESTDIR)$(pkglibdir)/$$cat; \
+ done
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+
+MAINTAINERCLEANFILES = stamp-po $(RESOURCESDLLFILES)
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(RESOURCESDLLFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-resourcesdll
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-resourcesdll: Makefile $(RESOURCESDLLFILES)
+ @:
diff --git a/gettext-tools/examples/hello-csharp-forms/po/af.po b/gettext-tools/examples/hello-csharp-forms/po/af.po
new file mode 100644
index 0000000..2278fb6
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Hierdie program loop as prosesnommer {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/ast.po b/gettext-tools/examples/hello-csharp-forms/po/ast.po
new file mode 100644
index 0000000..58199fa
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Esti programa ta corriendo como'l procesu nmberu {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/bg.po b/gettext-tools/examples/hello-csharp-forms/po/bg.po
new file mode 100644
index 0000000..aa76859
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-csharp-forms package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-csharp-forms 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Програмата е пусната под процес номер {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/ca.po b/gettext-tools/examples/hello-csharp-forms/po/ca.po
new file mode 100644
index 0000000..e2de2fa
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-csharp-forms.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Aquest programa està corrent amb el número de procés {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/cs.po b/gettext-tools/examples/hello-csharp-forms/po/cs.po
new file mode 100644
index 0000000..a9009ee
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Tento program běží jako proces číslo {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/da.po b/gettext-tools/examples/hello-csharp-forms/po/da.po
new file mode 100644
index 0000000..384cba3
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-csharp-forms.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Dette program krer som proces nummer {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/de.po b/gettext-tools/examples/hello-csharp-forms/po/de.po
new file mode 100644
index 0000000..4f9a156
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-csharp-forms.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/el.po b/gettext-tools/examples/hello-csharp-forms/po/el.po
new file mode 100644
index 0000000..dd812fc
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-csharp-forms
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/eo.po b/gettext-tools/examples/hello-csharp-forms/po/eo.po
new file mode 100644
index 0000000..82ca096
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/es.po b/gettext-tools/examples/hello-csharp-forms/po/es.po
new file mode 100644
index 0000000..de2abe7
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está corriendo como el proceso número {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/fi.po b/gettext-tools/examples/hello-csharp-forms/po/fi.po
new file mode 100644
index 0000000..27a4211
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Tämän ohjelman prosessinumero on {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/fr.po b/gettext-tools/examples/hello-csharp-forms/po/fr.po
new file mode 100644
index 0000000..b0eca21
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-csharp-forms 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ce programme est exécuté en tant que processus numéro {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/ga.po b/gettext-tools/examples/hello-csharp-forms/po/ga.po
new file mode 100644
index 0000000..1ff48ca
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-csharp-forms.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-csharp-forms package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "T an clr seo rith mar phriseas {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/gl.po b/gettext-tools/examples/hello-csharp-forms/po/gl.po
new file mode 100644
index 0000000..5fe2dea
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-csharp-forms package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa estase executando como o proceso número {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/hr.po b/gettext-tools/examples/hello-csharp-forms/po/hr.po
new file mode 100644
index 0000000..175cc73
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-csharp-forms to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ovaj program je pokrenut kao proces broj {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/hu.po b/gettext-tools/examples/hello-csharp-forms/po/hu.po
new file mode 100644
index 0000000..9d93d3b
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-csharp-forms.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ez a program a(z) {0} folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/id.po b/gettext-tools/examples/hello-csharp-forms/po/id.po
new file mode 100644
index 0000000..083be1a
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-csharp-forms-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Program ini berjalan sebagai proses nomor {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/it.po b/gettext-tools/examples/hello-csharp-forms/po/it.po
new file mode 100644
index 0000000..e94aa80
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-csharp-forms.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Questo programma è in esecuzione con numero di processo {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/ja.po b/gettext-tools/examples/hello-csharp-forms/po/ja.po
new file mode 100644
index 0000000..8b35557
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-csharp-forms' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-csharp-forms 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Υץϥץֹ {0} ưƤޤ."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/ky.po b/gettext-tools/examples/hello-csharp-forms/po/ky.po
new file mode 100644
index 0000000..8413a1d
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-csharp-forms' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Бул программа {0} процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/lv.po b/gettext-tools/examples/hello-csharp-forms/po/lv.po
new file mode 100644
index 0000000..ee1157b
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-csharp-forms
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Šī programma darbojas kā process ar numuru {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/ms.po b/gettext-tools/examples/hello-csharp-forms/po/ms.po
new file mode 100644
index 0000000..99bcb6f
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/ms.po
@@ -0,0 +1,26 @@
+# hello-csharp-forms Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-csharp-forms package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Program ini dilaksanakan sebagai proses bernombor {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/mt.po b/gettext-tools/examples/hello-csharp-forms/po/mt.po
new file mode 100644
index 0000000..67482cb
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/mt.po
@@ -0,0 +1,26 @@
+# hello-csharp-forms-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/nb.po b/gettext-tools/examples/hello-csharp-forms/po/nb.po
new file mode 100644
index 0000000..0ad26f3
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-csharp-forms package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Dette programmet kjører som prosess nummer {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/nl.po b/gettext-tools/examples/hello-csharp-forms/po/nl.po
new file mode 100644
index 0000000..291e009
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-csharp-forms.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Dit programma draait als proces nummer {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/pl.po b/gettext-tools/examples/hello-csharp-forms/po/pl.po
new file mode 100644
index 0000000..d0962d7
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-csharp-forms domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ten program działa jako proces o numerze {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/pt.po b/gettext-tools/examples/hello-csharp-forms/po/pt.po
new file mode 100644
index 0000000..529f7d7
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-csharp-forms' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-csharp-forms package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está a ser executado com o número de processo {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/pt_BR.po b/gettext-tools/examples/hello-csharp-forms/po/pt_BR.po
new file mode 100644
index 0000000..f349aeb
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está executando com número de processo {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/ro.po b/gettext-tools/examples/hello-csharp-forms/po/ro.po
new file mode 100644
index 0000000..efb5cea
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-csharp-forms-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-csharp-forms.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Acest program este rulat ca procesul numrul {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/ru.po b/gettext-tools/examples/hello-csharp-forms/po/ru.po
new file mode 100644
index 0000000..993130c
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-csharp-forms-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Эта программа выполняется как процесс под номером {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/sk.po b/gettext-tools/examples/hello-csharp-forms/po/sk.po
new file mode 100644
index 0000000..6e16dcc
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-csharp-forms package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-csharp-forms 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Tento program beží ako proces s číslom {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/sl.po b/gettext-tools/examples/hello-csharp-forms/po/sl.po
new file mode 100644
index 0000000..2e2bbda
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-csharp-forms-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ta program teče kot proces številka {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/sr.po b/gettext-tools/examples/hello-csharp-forms/po/sr.po
new file mode 100644
index 0000000..4a0d0d2
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-csharp-forms.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Овај програм се извршава као процес број {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/sv.po b/gettext-tools/examples/hello-csharp-forms/po/sv.po
new file mode 100644
index 0000000..7fe04ae
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-csharp-forms.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Detta program kör som process nummer {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/tr.po b/gettext-tools/examples/hello-csharp-forms/po/tr.po
new file mode 100644
index 0000000..ff66436
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Bu yazılım, {0} süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/uk.po b/gettext-tools/examples/hello-csharp-forms/po/uk.po
new file mode 100644
index 0000000..2d1e634
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-csharp-forms
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ця програма виконується як процес з номером {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/vi.po b/gettext-tools/examples/hello-csharp-forms/po/vi.po
new file mode 100644
index 0000000..50ba22b
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Chương trình này đang chạy với mã số tiến trình {0}."
diff --git a/gettext-tools/examples/hello-csharp-forms/po/zh_CN.po b/gettext-tools/examples/hello-csharp-forms/po/zh_CN.po
new file mode 100644
index 0000000..d5f965a
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-csharp-forms.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-csharp-forms package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "此程序正以进程号 {0} 运行。"
diff --git a/gettext-tools/examples/hello-csharp-forms/po/zh_HK.po b/gettext-tools/examples/hello-csharp-forms/po/zh_HK.po
new file mode 100644
index 0000000..afaa990
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-csharp-forms.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "本程式正在執行中,進程編號為 {0}。"
diff --git a/gettext-tools/examples/hello-csharp-forms/po/zh_TW.po b/gettext-tools/examples/hello-csharp-forms/po/zh_TW.po
new file mode 100644
index 0000000..0263898
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp-forms/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-csharp-forms.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:29
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "本程式正在執行,行程編號為 {0}。"
diff --git a/gettext-tools/examples/hello-csharp/INSTALL b/gettext-tools/examples/hello-csharp/INSTALL
new file mode 100644
index 0000000..ea09f7a
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/INSTALL
@@ -0,0 +1,11 @@
+This example relies on:
+ - a C# implementation: either pnet+pnetlib or mono+mcs
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-csharp/Makefile.am b/gettext-tools/examples/hello-csharp/Makefile.am
new file mode 100644
index 0000000..c2cd62f
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/Makefile.am
@@ -0,0 +1,74 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_CSHARPPROGRAMS = hello
+
+# The source files of the 'hello' program.
+hello_SOURCES = hello.cs
+
+# The link dependencies of the 'hello' program.
+hello_CSHARPLIBS = @GNU_GETTEXT_LDADD@ @GNU_GETTEXT_LIBS@ -l System
+
+# Resources that are generated from PO files.
+MAINTAINERCLEANFILES = */*.resources.dll
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
+
+
+# ----------------- General rules for compiling C# programs -----------------
+
+pkgdatadir = $(datadir)/$(PACKAGE)
+pkglibdir = $(libdir)/$(PACKAGE)
+
+CSHARPCOMP = $(SHELL) csharpcomp.sh
+CSHARPCOMPFLAGS = -O -g
+
+EXTRA_DIST += $(hello_SOURCES)
+CLEANFILES =
+DISTCLEANFILES = csharpcomp.sh csharpexec.sh
+
+
+# Rules for compiling C# programs.
+
+all-local: hello.net.exe hello.sh
+
+hello.net.exe: $(hello_SOURCES)
+ $(CSHARPCOMP) $(CSHARPCOMPFLAGS) -o $@ $(hello_CSHARPLIBS) $(srcdir)/hello.cs
+
+hello.sh:
+ { echo '#!/bin/sh'; \
+ echo "exec /bin/sh '$(pkgdatadir)/csharpexec.sh' @GNU_GETTEXT_LDADD@ '$(pkglibdir)/hello.net.exe' \"\$$@\""; \
+ } > $@
+
+install-exec-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ $(INSTALL_SCRIPT) hello.sh $(DESTDIR)$(bindir)/hello
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)
+ $(INSTALL_DATA) hello.net.exe $(DESTDIR)$(pkglibdir)/hello.net.exe
+
+install-data-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)
+ $(INSTALL_DATA) csharpexec.sh $(DESTDIR)$(pkgdatadir)/csharpexec.sh
+
+installdirs-local:
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)
+
+uninstall-local:
+ rm -f $(DESTDIR)$(bindir)/hello
+ rm -f $(DESTDIR)$(pkglibdir)/hello.net.exe
+ rm -f $(DESTDIR)$(pkgdatadir)/csharpexec.sh
+
+CLEANFILES += hello.net.exe hello.sh
diff --git a/gettext-tools/examples/hello-csharp/autoclean.sh b/gettext-tools/examples/hello-csharp/autoclean.sh
new file mode 100755
index 0000000..1e14444
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/autoclean.sh
@@ -0,0 +1,39 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Brought in by explicit copy.
+rm -f m4/csharpcomp.m4
+rm -f m4/csharpexec.m4
+rm -f m4/csharpexec-test.exe
+rm -f csharpcomp.sh.in
+rm -f csharpexec.sh.in
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+for f in po/*/*.resources.dll; do
+ rm -f $f
+ rmdir `echo $f | sed -e 's,/[^/]*$,,'`
+done
diff --git a/gettext-tools/examples/hello-csharp/autogen.sh b/gettext-tools/examples/hello-csharp/autogen.sh
new file mode 100755
index 0000000..09596de
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/autogen.sh
@@ -0,0 +1,48 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/csharpcomp.m4 m4/csharpcomp.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/csharpexec.m4 m4/csharpexec.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/m4}/csharpexec-test.exe m4/csharpexec-test.exe
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/csharp.m4 m4/csharp.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/csharpcomp.sh.in csharpcomp.sh.in
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/csharpexec.sh.in csharpexec.sh.in
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+./configure
+cd po
+make update-po
+cd ..
+make distclean
diff --git a/gettext-tools/examples/hello-csharp/configure.ac b/gettext-tools/examples/hello-csharp/configure.ac
new file mode 100644
index 0000000..9a61c18
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/configure.ac
@@ -0,0 +1,52 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.cs)
+AM_INIT_AUTOMAKE(hello-csharp, 0)
+
+dnl Check whether we can build C# programs at all.
+gt_CSHARPCOMP
+if test -n "$HAVE_CSHARPCOMP"; then
+ BUILDCSHARP=yes
+else
+ BUILDCSHARP=no
+fi
+AC_SUBST(BUILDCSHARP)
+
+dnl Check whether we can execute C# programs.
+gt_CSHARPEXEC([csharpexec-test.exe], [$srcdir/m4])
+if test -n "$HAVE_CSHARPEXEC" && test $BUILDCSHARP = yes; then
+ TESTCSHARP=yes
+else
+ TESTCSHARP=no
+fi
+AC_SUBST(TESTCSHARP)
+
+dnl Checks for needed libraries.
+AM_PATH_PROG_WITH_TEST([GETTEXT_WITH_GNU_GETTEXT_DLL], [gettext],
+ [{ basedir=`echo "$ac_dir" | sed -e 's,/bin$,,'`; test -r "$basedir"/lib/GNU.Gettext.dll; }])
+if test -z "$GETTEXT_WITH_GNU_GETTEXT_DLL"; then
+ echo "Required library GNU.Gettext.dll not found." 1>&2
+ exit 1
+fi
+changequote(,)dnl
+basedir=`echo "$GETTEXT_WITH_GNU_GETTEXT_DLL" | sed -e 's,/[^/]*$,,' | sed -e 's,/bin$,,'`
+changequote([, ])dnl
+GNU_GETTEXT_DLL="$basedir"/lib/GNU.Gettext.dll
+GNU_GETTEXT_LDADD="-L $basedir/lib"
+GNU_GETTEXT_LIBS="-l GNU.Gettext"
+AC_SUBST([GNU_GETTEXT_LDADD])
+AC_SUBST([GNU_GETTEXT_LIBS])
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([csharpcomp.sh])
+AC_CONFIG_FILES([csharpexec.sh])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-csharp/hello.cs b/gettext-tools/examples/hello-csharp/hello.cs
new file mode 100644
index 0000000..d46b99c
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/hello.cs
@@ -0,0 +1,20 @@
+// Example for use of GNU gettext.
+// This file is in the public domain.
+//
+// Source code of the C# program.
+
+using System; /* String, Console */
+using GNU.Gettext; /* GettextResourceManager */
+using System.Diagnostics; /* Process */
+
+public class Hello {
+ public static void Main (String[] args) {
+ GettextResourceManager catalog =
+ new GettextResourceManager("hello-csharp");
+ Console.WriteLine(catalog.GetString("Hello, world!"));
+ Console.WriteLine(
+ String.Format(
+ catalog.GetString("This program is running as process number {0}."),
+ Process.GetCurrentProcess().Id));
+ }
+}
diff --git a/gettext-tools/examples/hello-csharp/m4/Makefile.am b/gettext-tools/examples/hello-csharp/m4/Makefile.am
new file mode 100644
index 0000000..de22d57
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/m4/Makefile.am
@@ -0,0 +1,3 @@
+EXTRA_DIST = \
+ nls.m4 po.m4 \
+ csharpcomp.m4 csharpexec.m4 csharpexec-test.exe
diff --git a/gettext-tools/examples/hello-csharp/po/LINGUAS b/gettext-tools/examples/hello-csharp/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-csharp/po/Makefile.am b/gettext-tools/examples/hello-csharp/po/Makefile.am
new file mode 100644
index 0000000..31d0e57
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/Makefile.am
@@ -0,0 +1,280 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello.cs
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS =
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+pkglibdir = $(libdir)/$(PACKAGE)
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
+RESOURCESDLLFILES = @RESOURCESDLLFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(frob $(lang))/$(DOMAIN).resources.dll)
+CATALOGS = @CSHARPCATALOGS@
+
+SUFFIXES = .sed .sin .nop .po-create .po-update
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(RESOURCESDLLFILES) are
+# empty. In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ test -z "$(RESOURCESDLLFILES)" || $(MAKE) $(RESOURCESDLLFILES)
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+install-data-local: install-data-local-@USE_NLS@
+install-data-local-no: all-local
+install-data-local-yes: all-local
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)/`echo $$cat | sed -e 's,/[^/]*$$,,'`; \
+ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
+ $(INSTALL_DATA) $$realcat $(DESTDIR)$(pkglibdir)/$$cat; \
+ echo "installing $$realcat as $(DESTDIR)$(pkglibdir)/$$cat"; \
+ done
+
+installdirs-local: installdirs-local-@USE_NLS@
+installdirs-local-no:
+installdirs-local-yes:
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)/`echo $$cat | sed -e 's,/[^/]*$$,,'`; \
+ done
+
+uninstall-local: uninstall-local-@USE_NLS@
+uninstall-local-no:
+uninstall-local-yes:
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ rm -f $(DESTDIR)$(pkglibdir)/$$cat; \
+ done
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+
+MAINTAINERCLEANFILES = stamp-po $(RESOURCESDLLFILES)
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(RESOURCESDLLFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-resourcesdll
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-resourcesdll: Makefile $(RESOURCESDLLFILES)
+ @:
diff --git a/gettext-tools/examples/hello-csharp/po/af.po b/gettext-tools/examples/hello-csharp/po/af.po
new file mode 100644
index 0000000..0c1d32c
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Hierdie program loop as prosesnommer {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/ast.po b/gettext-tools/examples/hello-csharp/po/ast.po
new file mode 100644
index 0000000..6a282f2
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Esti programa ta corriendo como'l procesu nmberu {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/bg.po b/gettext-tools/examples/hello-csharp/po/bg.po
new file mode 100644
index 0000000..d325c88
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-csharp package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-csharp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Програмата е пусната под процес номер {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/ca.po b/gettext-tools/examples/hello-csharp/po/ca.po
new file mode 100644
index 0000000..b38cb6d
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-csharp.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Aquest programa està corrent amb el número de procés {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/cs.po b/gettext-tools/examples/hello-csharp/po/cs.po
new file mode 100644
index 0000000..2828b43
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Tento program běží jako proces číslo {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/da.po b/gettext-tools/examples/hello-csharp/po/da.po
new file mode 100644
index 0000000..7dc1682
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-csharp.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Dette program krer som proces nummer {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/de.po b/gettext-tools/examples/hello-csharp/po/de.po
new file mode 100644
index 0000000..18cbdb5
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-csharp.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/el.po b/gettext-tools/examples/hello-csharp/po/el.po
new file mode 100644
index 0000000..6688033
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-csharp
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/eo.po b/gettext-tools/examples/hello-csharp/po/eo.po
new file mode 100644
index 0000000..1a2ff7e
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/es.po b/gettext-tools/examples/hello-csharp/po/es.po
new file mode 100644
index 0000000..9c073ba
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está corriendo como el proceso número {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/fi.po b/gettext-tools/examples/hello-csharp/po/fi.po
new file mode 100644
index 0000000..4842d10
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Tämän ohjelman prosessinumero on {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/fr.po b/gettext-tools/examples/hello-csharp/po/fr.po
new file mode 100644
index 0000000..0196c19
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-csharp 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ce programme est exécuté en tant que processus numéro {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/ga.po b/gettext-tools/examples/hello-csharp/po/ga.po
new file mode 100644
index 0000000..6ead86a
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-csharp.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-csharp package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "T an clr seo rith mar phriseas {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/gl.po b/gettext-tools/examples/hello-csharp/po/gl.po
new file mode 100644
index 0000000..3d4c181
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-csharp package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa estase executando como o proceso número {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/hr.po b/gettext-tools/examples/hello-csharp/po/hr.po
new file mode 100644
index 0000000..9789ad2
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-csharp to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ovaj program je pokrenut kao proces broj {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/hu.po b/gettext-tools/examples/hello-csharp/po/hu.po
new file mode 100644
index 0000000..e650d35
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-csharp.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ez a program a(z) {0} folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-csharp/po/id.po b/gettext-tools/examples/hello-csharp/po/id.po
new file mode 100644
index 0000000..fe21db7
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-csharp-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Program ini berjalan sebagai proses nomor {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/it.po b/gettext-tools/examples/hello-csharp/po/it.po
new file mode 100644
index 0000000..35f087b
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-csharp.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Questo programma è in esecuzione con numero di processo {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/ja.po b/gettext-tools/examples/hello-csharp/po/ja.po
new file mode 100644
index 0000000..731b6fb
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-csharp' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-csharp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Υץϥץֹ {0} ưƤޤ."
diff --git a/gettext-tools/examples/hello-csharp/po/ky.po b/gettext-tools/examples/hello-csharp/po/ky.po
new file mode 100644
index 0000000..4d85209
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-csharp' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Бул программа {0} процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-csharp/po/lv.po b/gettext-tools/examples/hello-csharp/po/lv.po
new file mode 100644
index 0000000..334757b
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-csharp
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Šī programma darbojas kā process ar numuru {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/ms.po b/gettext-tools/examples/hello-csharp/po/ms.po
new file mode 100644
index 0000000..21a0a8b
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/ms.po
@@ -0,0 +1,26 @@
+# hello-csharp Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-csharp package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Program ini dilaksanakan sebagai proses bernombor {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/mt.po b/gettext-tools/examples/hello-csharp/po/mt.po
new file mode 100644
index 0000000..5f79a86
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/mt.po
@@ -0,0 +1,26 @@
+# hello-csharp-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/nb.po b/gettext-tools/examples/hello-csharp/po/nb.po
new file mode 100644
index 0000000..4ef8f85
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-csharp package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Dette programmet kjører som prosess nummer {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/nl.po b/gettext-tools/examples/hello-csharp/po/nl.po
new file mode 100644
index 0000000..8e7dfb6
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-csharp.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Dit programma draait als proces nummer {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/pl.po b/gettext-tools/examples/hello-csharp/po/pl.po
new file mode 100644
index 0000000..1751766
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-csharp domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ten program działa jako proces o numerze {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/pt.po b/gettext-tools/examples/hello-csharp/po/pt.po
new file mode 100644
index 0000000..2a16b7a
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-csharp' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-csharp package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está a ser executado com o número de processo {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/pt_BR.po b/gettext-tools/examples/hello-csharp/po/pt_BR.po
new file mode 100644
index 0000000..4f4c3f1
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está executando com número de processo {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/ro.po b/gettext-tools/examples/hello-csharp/po/ro.po
new file mode 100644
index 0000000..01c12b6
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-csharp-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-csharp.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Acest program este rulat ca procesul numrul {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/ru.po b/gettext-tools/examples/hello-csharp/po/ru.po
new file mode 100644
index 0000000..7984c04
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-csharp-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Эта программа выполняется как процесс под номером {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/sk.po b/gettext-tools/examples/hello-csharp/po/sk.po
new file mode 100644
index 0000000..45b5107
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-csharp package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-csharp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Tento program beží ako proces s číslom {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/sl.po b/gettext-tools/examples/hello-csharp/po/sl.po
new file mode 100644
index 0000000..39b6b5b
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-csharp-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ta program teče kot proces številka {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/sr.po b/gettext-tools/examples/hello-csharp/po/sr.po
new file mode 100644
index 0000000..e084216
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-csharp.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Овај програм се извршава као процес број {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/sv.po b/gettext-tools/examples/hello-csharp/po/sv.po
new file mode 100644
index 0000000..bdbb8d6
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-csharp.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Detta program kör som process nummer {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/tr.po b/gettext-tools/examples/hello-csharp/po/tr.po
new file mode 100644
index 0000000..1692b16
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Bu yazılım, {0} süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-csharp/po/uk.po b/gettext-tools/examples/hello-csharp/po/uk.po
new file mode 100644
index 0000000..18f8d7b
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-csharp
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ця програма виконується як процес з номером {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/vi.po b/gettext-tools/examples/hello-csharp/po/vi.po
new file mode 100644
index 0000000..c3dde2a
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Chương trình này đang chạy với mã số tiến trình {0}."
diff --git a/gettext-tools/examples/hello-csharp/po/zh_CN.po b/gettext-tools/examples/hello-csharp/po/zh_CN.po
new file mode 100644
index 0000000..edccbbf
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-csharp.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-csharp package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "此程序正以进程号 {0} 运行。"
diff --git a/gettext-tools/examples/hello-csharp/po/zh_HK.po b/gettext-tools/examples/hello-csharp/po/zh_HK.po
new file mode 100644
index 0000000..ef816a3
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-csharp.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "本程式正在執行中,進程編號為 {0}。"
diff --git a/gettext-tools/examples/hello-csharp/po/zh_TW.po b/gettext-tools/examples/hello-csharp/po/zh_TW.po
new file mode 100644
index 0000000..49ce670
--- /dev/null
+++ b/gettext-tools/examples/hello-csharp/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-csharp.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.cs:14
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "本程式正在執行,行程編號為 {0}。"
diff --git a/gettext-tools/examples/hello-gawk/INSTALL b/gettext-tools/examples/hello-gawk/INSTALL
new file mode 100644
index 0000000..1a4f2df
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/INSTALL
@@ -0,0 +1,10 @@
+This example relies on gawk (GNU awk).
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-gawk/Makefile.am b/gettext-tools/examples/hello-gawk/Makefile.am
new file mode 100644
index 0000000..b76e71d
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/Makefile.am
@@ -0,0 +1,17 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_SCRIPTS = hello
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-gawk/autoclean.sh b/gettext-tools/examples/hello-gawk/autoclean.sh
new file mode 100755
index 0000000..7c2c432
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/autoclean.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-gawk/autogen.sh b/gettext-tools/examples/hello-gawk/autogen.sh
new file mode 100755
index 0000000..7e51979
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/autogen.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-gawk/configure.ac b/gettext-tools/examples/hello-gawk/configure.ac
new file mode 100644
index 0000000..f48794d
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/configure.ac
@@ -0,0 +1,39 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.awk)
+AM_INIT_AUTOMAKE(hello-gawk, 0)
+
+dnl Check for availability of GNU awk.
+AC_PATH_PROG(GAWK, gawk)
+if test -z "$GAWK"; then
+ echo "*** Essential program gawk not found" 1>&2
+ exit 1
+fi
+AC_SUBST(GAWK)
+
+dnl The installed program must know where to find its message catalogs.
+dnl Unfortunately, prefix gets only finally determined at the end of configure.
+if test "X$prefix" = "XNONE"; then
+ final_prefix="$ac_default_prefix"
+else
+ final_prefix="$prefix"
+fi
+save_prefix="$prefix"
+prefix="$final_prefix"
+eval "datarootdir=\"${datarootdir}\""
+eval "localedir=\"${datadir}/locale\""
+prefix="$save_prefix"
+AC_SUBST(localedir)
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([hello:hello.awk], [chmod a+x hello])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-gawk/hello.awk b/gettext-tools/examples/hello-gawk/hello.awk
new file mode 100644
index 0000000..0e49fe6
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/hello.awk
@@ -0,0 +1,14 @@
+#!@GAWK@ -f
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Source code of the GNU awk program.
+
+BEGIN {
+ TEXTDOMAIN = "hello-gawk"
+ bindtextdomain ("@localedir@")
+
+ print _"Hello, world!"
+ printf _"This program is running as process number %d.", PROCINFO["pid"]
+ print
+}
diff --git a/gettext-tools/examples/hello-gawk/m4/Makefile.am b/gettext-tools/examples/hello-gawk/m4/Makefile.am
new file mode 100644
index 0000000..8a841b3
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/m4/Makefile.am
@@ -0,0 +1,2 @@
+EXTRA_DIST = \
+ nls.m4 po.m4
diff --git a/gettext-tools/examples/hello-gawk/po/LINGUAS b/gettext-tools/examples/hello-gawk/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-gawk/po/Makefile.am b/gettext-tools/examples/hello-gawk/po/Makefile.am
new file mode 100644
index 0000000..86d00ef
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/Makefile.am
@@ -0,0 +1,356 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello.awk
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS =
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).gmo)
+GMOFILES = @GMOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(lang).gmo)
+CATALOGS = @CATALOGS@
+
+SUFFIXES = .po .gmo .mo .sed .sin .nop .po-create .po-update
+
+.po.mo:
+ @echo "$(MSGFMT) -c -o $@ $<"; \
+ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
+
+.po.gmo:
+ @lang=`echo $* | sed -e 's,.*/,,'`; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
+ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
+# In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+install-data-local: install-data-local-@USE_NLS@
+install-data-local-no: all-local
+install-data-local-yes: all-local
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
+ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
+ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
+ fi; \
+ done; \
+ done
+
+installdirs-local: installdirs-local-@USE_NLS@
+installdirs-local-no:
+installdirs-local-yes:
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ fi; \
+ done; \
+ done
+
+uninstall-local: uninstall-local-@USE_NLS@
+uninstall-local-no:
+uninstall-local-yes:
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ done; \
+ done
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+MOSTLYCLEANFILES += *.o
+
+DISTCLEANFILES = *.mo
+
+MAINTAINERCLEANFILES = stamp-po $(GMOFILES)
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-gmo
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-gmo: Makefile $(GMOFILES)
+ @:
diff --git a/gettext-tools/examples/hello-gawk/po/af.po b/gettext-tools/examples/hello-gawk/po/af.po
new file mode 100644
index 0000000..c2d50f7
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Hierdie program loop as prosesnommer %d."
diff --git a/gettext-tools/examples/hello-gawk/po/ast.po b/gettext-tools/examples/hello-gawk/po/ast.po
new file mode 100644
index 0000000..65557e4
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %d."
diff --git a/gettext-tools/examples/hello-gawk/po/bg.po b/gettext-tools/examples/hello-gawk/po/bg.po
new file mode 100644
index 0000000..0afab9c
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-gawk package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-gawk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Програмата е пусната под процес номер %d."
diff --git a/gettext-tools/examples/hello-gawk/po/ca.po b/gettext-tools/examples/hello-gawk/po/ca.po
new file mode 100644
index 0000000..a532511
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-gawk.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Aquest programa està corrent amb el número de procés %d."
diff --git a/gettext-tools/examples/hello-gawk/po/cs.po b/gettext-tools/examples/hello-gawk/po/cs.po
new file mode 100644
index 0000000..394eba6
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Tento program běží jako proces číslo %d."
diff --git a/gettext-tools/examples/hello-gawk/po/da.po b/gettext-tools/examples/hello-gawk/po/da.po
new file mode 100644
index 0000000..2dca605
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-gawk.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Dette program krer som proces nummer %d."
diff --git a/gettext-tools/examples/hello-gawk/po/de.po b/gettext-tools/examples/hello-gawk/po/de.po
new file mode 100644
index 0000000..5b9902b
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-gawk.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %d."
diff --git a/gettext-tools/examples/hello-gawk/po/el.po b/gettext-tools/examples/hello-gawk/po/el.po
new file mode 100644
index 0000000..22cd9e0
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-gawk
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d."
diff --git a/gettext-tools/examples/hello-gawk/po/eo.po b/gettext-tools/examples/hello-gawk/po/eo.po
new file mode 100644
index 0000000..9dc6ee4
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %d."
diff --git a/gettext-tools/examples/hello-gawk/po/es.po b/gettext-tools/examples/hello-gawk/po/es.po
new file mode 100644
index 0000000..405e87c
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está corriendo como el proceso número %d."
diff --git a/gettext-tools/examples/hello-gawk/po/fi.po b/gettext-tools/examples/hello-gawk/po/fi.po
new file mode 100644
index 0000000..7870fa2
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Tämän ohjelman prosessinumero on %d."
diff --git a/gettext-tools/examples/hello-gawk/po/fr.po b/gettext-tools/examples/hello-gawk/po/fr.po
new file mode 100644
index 0000000..f83e663
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-gawk 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Ce programme est exécuté en tant que processus numéro %d."
diff --git a/gettext-tools/examples/hello-gawk/po/ga.po b/gettext-tools/examples/hello-gawk/po/ga.po
new file mode 100644
index 0000000..76cabbe
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-gawk.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-gawk package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "T an clr seo rith mar phriseas %d."
diff --git a/gettext-tools/examples/hello-gawk/po/gl.po b/gettext-tools/examples/hello-gawk/po/gl.po
new file mode 100644
index 0000000..9cd8c26
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-gawk package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Este programa estase executando como o proceso número %d."
diff --git a/gettext-tools/examples/hello-gawk/po/hr.po b/gettext-tools/examples/hello-gawk/po/hr.po
new file mode 100644
index 0000000..bb727fd
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-gawk to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Ovaj program je pokrenut kao proces broj %d."
diff --git a/gettext-tools/examples/hello-gawk/po/hu.po b/gettext-tools/examples/hello-gawk/po/hu.po
new file mode 100644
index 0000000..b678b12
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-gawk.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Ez a program a(z) %d folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-gawk/po/id.po b/gettext-tools/examples/hello-gawk/po/id.po
new file mode 100644
index 0000000..b442911
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-gawk-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Program ini berjalan sebagai proses nomor %d"
diff --git a/gettext-tools/examples/hello-gawk/po/it.po b/gettext-tools/examples/hello-gawk/po/it.po
new file mode 100644
index 0000000..058d52f
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-gawk.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Questo programma è in esecuzione con numero di processo %d."
diff --git a/gettext-tools/examples/hello-gawk/po/ja.po b/gettext-tools/examples/hello-gawk/po/ja.po
new file mode 100644
index 0000000..7b1e6f2
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-gawk' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-gawk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Υץϥץֹ %d ưƤޤ."
diff --git a/gettext-tools/examples/hello-gawk/po/ky.po b/gettext-tools/examples/hello-gawk/po/ky.po
new file mode 100644
index 0000000..8eda22d
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-gawk' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Бул программа %d процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-gawk/po/lv.po b/gettext-tools/examples/hello-gawk/po/lv.po
new file mode 100644
index 0000000..0166ea6
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-gawk
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Šī programma darbojas kā process ar numuru %d."
diff --git a/gettext-tools/examples/hello-gawk/po/ms.po b/gettext-tools/examples/hello-gawk/po/ms.po
new file mode 100644
index 0000000..2b31bd3
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/ms.po
@@ -0,0 +1,26 @@
+# hello-gawk Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-gawk package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %d."
diff --git a/gettext-tools/examples/hello-gawk/po/mt.po b/gettext-tools/examples/hello-gawk/po/mt.po
new file mode 100644
index 0000000..990669d
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/mt.po
@@ -0,0 +1,26 @@
+# hello-gawk-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d."
diff --git a/gettext-tools/examples/hello-gawk/po/nb.po b/gettext-tools/examples/hello-gawk/po/nb.po
new file mode 100644
index 0000000..558359a
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-gawk package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Dette programmet kjører som prosess nummer %d."
diff --git a/gettext-tools/examples/hello-gawk/po/nl.po b/gettext-tools/examples/hello-gawk/po/nl.po
new file mode 100644
index 0000000..6067829
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-gawk.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Dit programma draait als proces nummer %d."
diff --git a/gettext-tools/examples/hello-gawk/po/pl.po b/gettext-tools/examples/hello-gawk/po/pl.po
new file mode 100644
index 0000000..0cb21bc
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-gawk domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Ten program działa jako proces o numerze %d."
diff --git a/gettext-tools/examples/hello-gawk/po/pt.po b/gettext-tools/examples/hello-gawk/po/pt.po
new file mode 100644
index 0000000..80bd3ab
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-gawk' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-gawk package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está a ser executado com o número de processo %d."
diff --git a/gettext-tools/examples/hello-gawk/po/pt_BR.po b/gettext-tools/examples/hello-gawk/po/pt_BR.po
new file mode 100644
index 0000000..247403a
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está executando com número de processo %d."
diff --git a/gettext-tools/examples/hello-gawk/po/ro.po b/gettext-tools/examples/hello-gawk/po/ro.po
new file mode 100644
index 0000000..411f4e2
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-gawk-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-gawk.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Acest program este rulat ca procesul numrul %d."
diff --git a/gettext-tools/examples/hello-gawk/po/ru.po b/gettext-tools/examples/hello-gawk/po/ru.po
new file mode 100644
index 0000000..61bb34a
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-gawk-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Эта программа выполняется как процесс под номером %d."
diff --git a/gettext-tools/examples/hello-gawk/po/sk.po b/gettext-tools/examples/hello-gawk/po/sk.po
new file mode 100644
index 0000000..bf97bbd
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-gawk package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-gawk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Tento program beží ako proces s číslom %d."
diff --git a/gettext-tools/examples/hello-gawk/po/sl.po b/gettext-tools/examples/hello-gawk/po/sl.po
new file mode 100644
index 0000000..7c6fb4b
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-gawk-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Ta program teče kot proces številka %d."
diff --git a/gettext-tools/examples/hello-gawk/po/sr.po b/gettext-tools/examples/hello-gawk/po/sr.po
new file mode 100644
index 0000000..4104ec9
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-gawk.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Овај програм се извршава као процес број %d."
diff --git a/gettext-tools/examples/hello-gawk/po/sv.po b/gettext-tools/examples/hello-gawk/po/sv.po
new file mode 100644
index 0000000..ec1c555
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-gawk.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Detta program kör som process nummer %d."
diff --git a/gettext-tools/examples/hello-gawk/po/tr.po b/gettext-tools/examples/hello-gawk/po/tr.po
new file mode 100644
index 0000000..155fdcb
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Bu yazılım, %d süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-gawk/po/uk.po b/gettext-tools/examples/hello-gawk/po/uk.po
new file mode 100644
index 0000000..ee1d7b4
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-gawk
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Ця програма виконується як процес з номером %d."
diff --git a/gettext-tools/examples/hello-gawk/po/vi.po b/gettext-tools/examples/hello-gawk/po/vi.po
new file mode 100644
index 0000000..e12ff2f
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %d."
diff --git a/gettext-tools/examples/hello-gawk/po/zh_CN.po b/gettext-tools/examples/hello-gawk/po/zh_CN.po
new file mode 100644
index 0000000..b5c6f27
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-gawk.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-gawk package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "此程序正以进程号 %d 运行。"
diff --git a/gettext-tools/examples/hello-gawk/po/zh_HK.po b/gettext-tools/examples/hello-gawk/po/zh_HK.po
new file mode 100644
index 0000000..c6c56c0
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-gawk.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行中,進程編號為 %d。"
diff --git a/gettext-tools/examples/hello-gawk/po/zh_TW.po b/gettext-tools/examples/hello-gawk/po/zh_TW.po
new file mode 100644
index 0000000..f5c8fca
--- /dev/null
+++ b/gettext-tools/examples/hello-gawk/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-gawk.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.awk:11
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行,行程編號為 %d。"
diff --git a/gettext-tools/examples/hello-guile/INSTALL b/gettext-tools/examples/hello-guile/INSTALL
new file mode 100644
index 0000000..c48052f
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/INSTALL
@@ -0,0 +1,10 @@
+This example relies on GNU guile.
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-guile/Makefile.am b/gettext-tools/examples/hello-guile/Makefile.am
new file mode 100644
index 0000000..b76e71d
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/Makefile.am
@@ -0,0 +1,17 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_SCRIPTS = hello
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-guile/autoclean.sh b/gettext-tools/examples/hello-guile/autoclean.sh
new file mode 100755
index 0000000..7c2c432
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/autoclean.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-guile/autogen.sh b/gettext-tools/examples/hello-guile/autogen.sh
new file mode 100755
index 0000000..7e51979
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/autogen.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-guile/configure.ac b/gettext-tools/examples/hello-guile/configure.ac
new file mode 100644
index 0000000..0c2ceb2
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/configure.ac
@@ -0,0 +1,39 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.scm)
+AM_INIT_AUTOMAKE(hello-guile, 0)
+
+dnl Check for availability of the guile interpreter.
+AC_PATH_PROG(GUILE, guile)
+if test -z "$GUILE"; then
+ echo "*** Essential program guile not found" 1>&2
+ exit 1
+fi
+AC_SUBST(GUILE)
+
+dnl The installed program must know where to find its message catalogs.
+dnl Unfortunately, prefix gets only finally determined at the end of configure.
+if test "X$prefix" = "XNONE"; then
+ final_prefix="$ac_default_prefix"
+else
+ final_prefix="$prefix"
+fi
+save_prefix="$prefix"
+prefix="$final_prefix"
+eval "datarootdir=\"${datarootdir}\""
+eval "localedir=\"${datadir}/locale\""
+prefix="$save_prefix"
+AC_SUBST(localedir)
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([hello:hello.scm], [chmod a+x hello])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-guile/hello.scm b/gettext-tools/examples/hello-guile/hello.scm
new file mode 100644
index 0000000..43c367e
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/hello.scm
@@ -0,0 +1,18 @@
+#!@GUILE@ -s
+!#
+;;; Example for use of GNU gettext.
+;;; This file is in the public domain.
+
+;;; Source code of the GNU guile program.
+
+(use-modules (ice-9 format))
+
+(catch #t (lambda () (setlocale LC_ALL "")) (lambda args #f))
+(textdomain "hello-guile")
+(bindtextdomain "hello-guile" "@localedir@")
+(define _ gettext)
+
+(display (_ "Hello, world!"))
+(newline)
+(format #t (_ "This program is running as process number ~D.") (getpid))
+(newline)
diff --git a/gettext-tools/examples/hello-guile/m4/Makefile.am b/gettext-tools/examples/hello-guile/m4/Makefile.am
new file mode 100644
index 0000000..8a841b3
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/m4/Makefile.am
@@ -0,0 +1,2 @@
+EXTRA_DIST = \
+ nls.m4 po.m4
diff --git a/gettext-tools/examples/hello-guile/po/LINGUAS b/gettext-tools/examples/hello-guile/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-guile/po/Makefile.am b/gettext-tools/examples/hello-guile/po/Makefile.am
new file mode 100644
index 0000000..86cd1d4
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/Makefile.am
@@ -0,0 +1,356 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello.scm
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = --keyword=_ --flag=_:1:pass-scheme-format
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).gmo)
+GMOFILES = @GMOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(lang).gmo)
+CATALOGS = @CATALOGS@
+
+SUFFIXES = .po .gmo .mo .sed .sin .nop .po-create .po-update
+
+.po.mo:
+ @echo "$(MSGFMT) -c -o $@ $<"; \
+ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
+
+.po.gmo:
+ @lang=`echo $* | sed -e 's,.*/,,'`; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
+ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
+# In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+install-data-local: install-data-local-@USE_NLS@
+install-data-local-no: all-local
+install-data-local-yes: all-local
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
+ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
+ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
+ fi; \
+ done; \
+ done
+
+installdirs-local: installdirs-local-@USE_NLS@
+installdirs-local-no:
+installdirs-local-yes:
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ fi; \
+ done; \
+ done
+
+uninstall-local: uninstall-local-@USE_NLS@
+uninstall-local-no:
+uninstall-local-yes:
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ done; \
+ done
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+MOSTLYCLEANFILES += *.o
+
+DISTCLEANFILES = *.mo
+
+MAINTAINERCLEANFILES = stamp-po $(GMOFILES)
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-gmo
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-gmo: Makefile $(GMOFILES)
+ @:
diff --git a/gettext-tools/examples/hello-guile/po/af.po b/gettext-tools/examples/hello-guile/po/af.po
new file mode 100644
index 0000000..6712312
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Hierdie program loop as prosesnommer ~D."
diff --git a/gettext-tools/examples/hello-guile/po/ast.po b/gettext-tools/examples/hello-guile/po/ast.po
new file mode 100644
index 0000000..107958d
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Esti programa ta corriendo como'l procesu nmberu ~D."
diff --git a/gettext-tools/examples/hello-guile/po/bg.po b/gettext-tools/examples/hello-guile/po/bg.po
new file mode 100644
index 0000000..60242d3
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-guile package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-guile 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Програмата е пусната под процес номер ~D."
diff --git a/gettext-tools/examples/hello-guile/po/ca.po b/gettext-tools/examples/hello-guile/po/ca.po
new file mode 100644
index 0000000..ab4bc13
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-guile.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Aquest programa està corrent amb el número de procés ~D."
diff --git a/gettext-tools/examples/hello-guile/po/cs.po b/gettext-tools/examples/hello-guile/po/cs.po
new file mode 100644
index 0000000..8aad03e
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Tento program běží jako proces číslo ~D."
diff --git a/gettext-tools/examples/hello-guile/po/da.po b/gettext-tools/examples/hello-guile/po/da.po
new file mode 100644
index 0000000..e5718a0
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-guile.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Dette program krer som proces nummer ~D."
diff --git a/gettext-tools/examples/hello-guile/po/de.po b/gettext-tools/examples/hello-guile/po/de.po
new file mode 100644
index 0000000..b597682
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-guile.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer ~D."
diff --git a/gettext-tools/examples/hello-guile/po/el.po b/gettext-tools/examples/hello-guile/po/el.po
new file mode 100644
index 0000000..2ca2fbc
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-guile
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας ~D."
diff --git a/gettext-tools/examples/hello-guile/po/eo.po b/gettext-tools/examples/hello-guile/po/eo.po
new file mode 100644
index 0000000..fb9aa8f
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero ~D."
diff --git a/gettext-tools/examples/hello-guile/po/es.po b/gettext-tools/examples/hello-guile/po/es.po
new file mode 100644
index 0000000..2da09a4
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Este programa está corriendo como el proceso número ~D."
diff --git a/gettext-tools/examples/hello-guile/po/fi.po b/gettext-tools/examples/hello-guile/po/fi.po
new file mode 100644
index 0000000..1595d25
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Tämän ohjelman prosessinumero on ~D."
diff --git a/gettext-tools/examples/hello-guile/po/fr.po b/gettext-tools/examples/hello-guile/po/fr.po
new file mode 100644
index 0000000..2082591
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-guile 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Ce programme est exécuté en tant que processus numéro ~D."
diff --git a/gettext-tools/examples/hello-guile/po/ga.po b/gettext-tools/examples/hello-guile/po/ga.po
new file mode 100644
index 0000000..bf6aa09
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-guile.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-guile package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "T an clr seo rith mar phriseas ~D."
diff --git a/gettext-tools/examples/hello-guile/po/gl.po b/gettext-tools/examples/hello-guile/po/gl.po
new file mode 100644
index 0000000..7aa2990
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-guile package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Este programa estase executando como o proceso número ~D."
diff --git a/gettext-tools/examples/hello-guile/po/hr.po b/gettext-tools/examples/hello-guile/po/hr.po
new file mode 100644
index 0000000..c28352b
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-guile to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Ovaj program je pokrenut kao proces broj ~D."
diff --git a/gettext-tools/examples/hello-guile/po/hu.po b/gettext-tools/examples/hello-guile/po/hu.po
new file mode 100644
index 0000000..8ceeabe
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-guile.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Ez a program a(z) ~D folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-guile/po/id.po b/gettext-tools/examples/hello-guile/po/id.po
new file mode 100644
index 0000000..fc73151
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-guile-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Program ini berjalan sebagai proses nomor ~D."
diff --git a/gettext-tools/examples/hello-guile/po/it.po b/gettext-tools/examples/hello-guile/po/it.po
new file mode 100644
index 0000000..dba5589
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-guile.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Questo programma è in esecuzione con numero di processo ~D."
diff --git a/gettext-tools/examples/hello-guile/po/ja.po b/gettext-tools/examples/hello-guile/po/ja.po
new file mode 100644
index 0000000..40fb393
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-guile' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-guile 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Υץϥץֹ ~D ưƤޤ."
diff --git a/gettext-tools/examples/hello-guile/po/ky.po b/gettext-tools/examples/hello-guile/po/ky.po
new file mode 100644
index 0000000..42bfdc7
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-guile' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Бул программа ~D процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-guile/po/lv.po b/gettext-tools/examples/hello-guile/po/lv.po
new file mode 100644
index 0000000..d0bce30
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-guile
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Šī programma darbojas kā process ar numuru ~D."
diff --git a/gettext-tools/examples/hello-guile/po/ms.po b/gettext-tools/examples/hello-guile/po/ms.po
new file mode 100644
index 0000000..fe51035
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/ms.po
@@ -0,0 +1,26 @@
+# hello-guile Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-guile package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Program ini dilaksanakan sebagai proses bernombor ~D."
diff --git a/gettext-tools/examples/hello-guile/po/mt.po b/gettext-tools/examples/hello-guile/po/mt.po
new file mode 100644
index 0000000..5d0c685
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/mt.po
@@ -0,0 +1,26 @@
+# hello-guile-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru ~D."
diff --git a/gettext-tools/examples/hello-guile/po/nb.po b/gettext-tools/examples/hello-guile/po/nb.po
new file mode 100644
index 0000000..ae6abc7
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-guile package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Dette programmet kjører som prosess nummer ~D."
diff --git a/gettext-tools/examples/hello-guile/po/nl.po b/gettext-tools/examples/hello-guile/po/nl.po
new file mode 100644
index 0000000..ef76dcc
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-guile.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Dit programma draait als proces nummer ~D."
diff --git a/gettext-tools/examples/hello-guile/po/pl.po b/gettext-tools/examples/hello-guile/po/pl.po
new file mode 100644
index 0000000..6a73007
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-guile domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Ten program działa jako proces o numerze ~D."
diff --git a/gettext-tools/examples/hello-guile/po/pt.po b/gettext-tools/examples/hello-guile/po/pt.po
new file mode 100644
index 0000000..867c9c1
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-guile' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-guile package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Este programa está a ser executado com o número de processo ~D."
diff --git a/gettext-tools/examples/hello-guile/po/pt_BR.po b/gettext-tools/examples/hello-guile/po/pt_BR.po
new file mode 100644
index 0000000..762dd21
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Este programa está executando com número de processo ~D."
diff --git a/gettext-tools/examples/hello-guile/po/ro.po b/gettext-tools/examples/hello-guile/po/ro.po
new file mode 100644
index 0000000..d6eb5c2
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-guile-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-guile.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Acest program este rulat ca procesul numrul ~D."
diff --git a/gettext-tools/examples/hello-guile/po/ru.po b/gettext-tools/examples/hello-guile/po/ru.po
new file mode 100644
index 0000000..b9cdf21
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-guile-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Эта программа выполняется как процесс под номером ~D."
diff --git a/gettext-tools/examples/hello-guile/po/sk.po b/gettext-tools/examples/hello-guile/po/sk.po
new file mode 100644
index 0000000..a9587b6
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-guile package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-guile 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Tento program beží ako proces s číslom ~D."
diff --git a/gettext-tools/examples/hello-guile/po/sl.po b/gettext-tools/examples/hello-guile/po/sl.po
new file mode 100644
index 0000000..d8ebd62
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-guile-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Ta program teče kot proces številka ~D."
diff --git a/gettext-tools/examples/hello-guile/po/sr.po b/gettext-tools/examples/hello-guile/po/sr.po
new file mode 100644
index 0000000..6f149d6
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-guile.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Овај програм се извршава као процес број ~D."
diff --git a/gettext-tools/examples/hello-guile/po/sv.po b/gettext-tools/examples/hello-guile/po/sv.po
new file mode 100644
index 0000000..143f1c9
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-guile.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Detta program kör som process nummer ~D."
diff --git a/gettext-tools/examples/hello-guile/po/tr.po b/gettext-tools/examples/hello-guile/po/tr.po
new file mode 100644
index 0000000..c7e52bc
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Bu yazılım, ~D süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-guile/po/uk.po b/gettext-tools/examples/hello-guile/po/uk.po
new file mode 100644
index 0000000..f8d5187
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-guile
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Ця програма виконується як процес з номером ~D."
diff --git a/gettext-tools/examples/hello-guile/po/vi.po b/gettext-tools/examples/hello-guile/po/vi.po
new file mode 100644
index 0000000..0ddb665
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Chương trình này đang chạy với mã số tiến trình ~D."
diff --git a/gettext-tools/examples/hello-guile/po/zh_CN.po b/gettext-tools/examples/hello-guile/po/zh_CN.po
new file mode 100644
index 0000000..a68a5d4
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-guile.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-guile package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "此程序正以进程号 ~D 运行。"
diff --git a/gettext-tools/examples/hello-guile/po/zh_HK.po b/gettext-tools/examples/hello-guile/po/zh_HK.po
new file mode 100644
index 0000000..095cc9e
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-guile.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "本程式正在執行中,進程編號為 ~D。"
diff --git a/gettext-tools/examples/hello-guile/po/zh_TW.po b/gettext-tools/examples/hello-guile/po/zh_TW.po
new file mode 100644
index 0000000..7a09e5f
--- /dev/null
+++ b/gettext-tools/examples/hello-guile/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-guile.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.scm:15
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "本程式正在執行,行程編號為 ~D。"
diff --git a/gettext-tools/examples/hello-java-awt/BUGS b/gettext-tools/examples/hello-java-awt/BUGS
new file mode 100644
index 0000000..42eb768
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/BUGS
@@ -0,0 +1,5 @@
+Correct display of characters depends on the JVM and its locale-dependent font
+configuration. For example, on Linux/x86, in
+ Sun JDK 1.3.1 de_DE works - zh_CN doesn't work
+ IBM JDK 1.3.0 de_DE works - ja_JP, sr_YU, zh_CN don't work
+ Sun JDK 1.4.2 de_DE, ja_JP work - sr_YU, zh_CN don't work
diff --git a/gettext-tools/examples/hello-java-awt/Hello.java b/gettext-tools/examples/hello-java-awt/Hello.java
new file mode 100644
index 0000000..e10202b
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/Hello.java
@@ -0,0 +1,66 @@
+// Example for use of GNU gettext.
+// This file is in the public domain.
+//
+// Source code of the Java/AWT program.
+
+import java.util.*;
+import java.io.*;
+import java.text.*;
+import java.awt.*;
+import java.awt.event.*;
+import gnu.gettext.*;
+
+public class Hello {
+ public static void main (String[] args) {
+ ResourceBundle catalog = ResourceBundle.getBundle("hello-java-awt");
+ Frame frame = new Frame("Hello example");
+ frame.addWindowListener(
+ new WindowAdapter() {
+ public void windowClosing (WindowEvent event) {
+ System.exit(0);
+ }
+ });
+ Label label1 = new Label(GettextResource.gettext(catalog,"Hello, world!"));
+ Label label2 =
+ new Label(
+ MessageFormat.format(
+ GettextResource.gettext(catalog,
+ "This program is running as process number {0}."),
+ new Object[] { getPid() }));
+ Button button = new Button("OK");
+ button.addActionListener(
+ new ActionListener() {
+ public void actionPerformed (ActionEvent event) {
+ System.exit(0);
+ }
+ });
+ Container labels = new Container();
+ labels.setLayout(new GridLayout(2, 1));
+ labels.add(label1);
+ labels.add(label2);
+ Container buttons = new Container();
+ buttons.setLayout(new FlowLayout(FlowLayout.RIGHT));
+ buttons.add(button);
+ frame.setLayout(new BorderLayout());
+ frame.add(labels, BorderLayout.CENTER);
+ frame.add(buttons, BorderLayout.SOUTH);
+ frame.pack();
+ frame.setVisible(true);
+ }
+
+ /* Return the process ID of the current process. */
+ private static String getPid () {
+ try {
+ String[] args = new String[] { "/bin/sh", "-c", "echo $PPID" };
+ Process p = Runtime.getRuntime().exec(args);
+ InputStream p_out = p.getInputStream();
+ String s = (new BufferedReader(new InputStreamReader(p_out))).readLine();
+ p.destroy();
+ if (s != null)
+ return s;
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ return "???";
+ }
+}
diff --git a/gettext-tools/examples/hello-java-awt/INSTALL b/gettext-tools/examples/hello-java-awt/INSTALL
new file mode 100644
index 0000000..693f302
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/INSTALL
@@ -0,0 +1,11 @@
+This example relies on:
+ - a Java implementation with AWT
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-java-awt/Makefile.am b/gettext-tools/examples/hello-java-awt/Makefile.am
new file mode 100644
index 0000000..0803075
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/Makefile.am
@@ -0,0 +1,165 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_JAVAPROGRAMS = hello
+
+# The source files of the 'hello' program.
+hello_SOURCES = Hello.java
+hello_CLASSES = Hello.class
+
+# The entry point of the 'hello' program.
+hello_MAINCLASS = Hello
+
+# The link dependencies of the 'hello' program.
+hello_JAVALIBS = @LIBINTL_JAR@
+
+# The resources of the 'hello' program, excluding message catalogs, but
+# including the fallback message catalog.
+hello_RESOURCES = hello-java-awt.properties
+
+# Resources that are generated from PO files.
+MAINTAINERCLEANFILES = hello-java-awt*.properties
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
+
+
+# ----------------- General rules for compiling Java programs -----------------
+
+jardir = $(datadir)/$(PACKAGE)
+pkgdatadir = $(datadir)/$(PACKAGE)
+pkglibdir = $(libdir)/$(PACKAGE)
+
+GCJ = @GCJ@
+GCJFLAGS = @GCJFLAGS@
+JAR = @JAR@
+JAVACOMP = $(SHELL) javacomp.sh
+AR = ar
+RANLIB = @RANLIB@
+
+EXTRA_DIST += $(hello_SOURCES)
+CLEANFILES =
+DISTCLEANFILES = javacomp.sh javaexec.sh
+
+
+if USEJEXE
+
+
+# Rules for compiling Java programs as native code.
+
+all-local: $(hello_MAINCLASS)$(EXEEXT) hello-resources.jar hello.sh
+
+# Does not work yet with GCC 3.3.
+#$(hello_MAINCLASS)$(EXEEXT): $(srcdir)/Hello.java
+# CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS) $(GCJ) $(GCJFLAGS) $(srcdir)/Hello.java $(hello_JAVALIBS) --main=$(hello_MAINCLASS) -o $@
+
+$(hello_MAINCLASS)$(EXEEXT): Hello.$(OBJEXT) libintl.a
+ $(GCJ) $(GCJFLAGS) Hello.$(OBJEXT) libintl.a --main=$(hello_MAINCLASS) -o $@
+
+Hello.$(OBJEXT): $(srcdir)/Hello.java
+ CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS) $(GCJ) $(GCJFLAGS) -c $(srcdir)/Hello.java -o $@
+
+libintl.a:
+ rm -rf tmpdir
+ mkdir tmpdir
+ cd tmpdir && $(JAR) xf @LIBINTL_JAR@ && \
+ for f in `find . -name '*.class' -print`; do \
+ $(GCJ) $(GCJFLAGS) -c $$f -o `echo $$f | sed -e 's,^\./,,' -e 's,\.class$$,,' -e 's,/,.,g'`.$(OBJEXT) || exit 1; \
+ done && \
+ rm -f ../libintl.a && \
+ ar cru ../libintl.a `find . -name '*.$(OBJEXT)' -print`
+ rm -rf tmpdir
+ $(RANLIB) $@
+
+hello-resources.jar:
+ catalogs=`MAKEFLAGS= $(MAKE) -s -C po echo-catalogs`; \
+ $(JAR) cf $@ $(hello_RESOURCES) $$catalogs
+
+hello.sh:
+ { echo '#!/bin/sh'; \
+ echo "CLASSPATH='$(jardir)/hello-resources.jar'\$${CLASSPATH+\"@CLASSPATH_SEPARATOR@\$$CLASSPATH\"}"; \
+ echo "export CLASSPATH"; \
+ echo "exec '$(pkglibdir)/$(hello_MAINCLASS)$(EXEEXT)' \"\$$@\""; \
+ } > $@
+
+install-exec-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ $(INSTALL_SCRIPT) hello.sh $(DESTDIR)$(bindir)/hello
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)
+ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $(hello_MAINCLASS)$(EXEEXT) $(DESTDIR)$(pkglibdir)/$(hello_MAINCLASS)$(EXEEXT)
+
+install-data-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(jardir)
+ $(INSTALL_DATA) hello-resources.jar $(DESTDIR)$(jardir)/hello-resources.jar
+
+installdirs-local:
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)
+ $(MKDIR_P) $(DESTDIR)$(jardir)
+
+uninstall-local:
+ rm -f $(DESTDIR)$(bindir)/hello
+ rm -f $(DESTDIR)$(pkglibdir)/$(hello_MAINCLASS)$(EXEEXT)
+ rm -f $(DESTDIR)$(jardir)/hello-resources.jar
+
+CLEANFILES += $(hello_MAINCLASS)$(EXEEXT) *.$(OBJEXT) *.a tmpdir hello-resources.jar hello.sh
+
+
+else
+
+
+# Rules for compiling Java programs as jar libraries.
+# This is the preferred mode during development, because you can easily test
+# the program without installing it, simply by doing "java -jar hello.jar".
+
+all-local: hello.jar hello.sh
+
+hello.jar: $(hello_CLASSES)
+ { echo "Manifest-Version: 1.0"; echo "Main-Class: $(hello_MAINCLASS)"; echo 'Class-Path: @LIBINTL_JAR@'; } > Manifest.mf
+ catalogs=`MAKEFLAGS= $(MAKE) -s -C po echo-catalogs`; \
+ $(JAR) cfm $@ Manifest.mf Hello*.class $(hello_RESOURCES) $$catalogs
+ rm -f Manifest.mf
+
+Hello.class: $(srcdir)/Hello.java
+ CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS) $(JAVACOMP) -d . $(srcdir)/Hello.java
+
+hello.sh:
+ { echo '#!/bin/sh'; \
+ echo "CLASSPATH='$(jardir)/hello.jar@CLASSPATH_SEPARATOR@$(hello_JAVALIBS)'\$${CLASSPATH+\"@CLASSPATH_SEPARATOR@\$$CLASSPATH\"}"; \
+ echo "export CLASSPATH"; \
+ echo "exec /bin/sh '$(pkgdatadir)/javaexec.sh' $(hello_MAINCLASS) \"\$$@\""; \
+ } > $@
+
+install-exec-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ $(INSTALL_SCRIPT) hello.sh $(DESTDIR)$(bindir)/hello
+
+install-data-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(jardir)
+ $(INSTALL_DATA) hello.jar $(DESTDIR)$(jardir)/hello.jar
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)
+ $(INSTALL_DATA) javaexec.sh $(DESTDIR)$(pkgdatadir)/javaexec.sh
+
+installdirs-local:
+ $(MKDIR_P) $(DESTDIR)$(jardir)
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)
+
+uninstall-local:
+ rm -f $(DESTDIR)$(bindir)/hello
+ rm -f $(DESTDIR)$(jardir)/hello.jar
+ rm -f $(DESTDIR)$(pkgdatadir)/javaexec.sh
+
+CLEANFILES += hello.jar Hello*.class Manifest.mf hello.sh
+
+
+endif
diff --git a/gettext-tools/examples/hello-java-awt/autoclean.sh b/gettext-tools/examples/hello-java-awt/autoclean.sh
new file mode 100755
index 0000000..3e321e1
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/autoclean.sh
@@ -0,0 +1,36 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Brought in by explicit copy.
+rm -f m4/gcj.m4
+rm -f m4/javacomp.m4
+rm -f m4/javaexec.m4
+rm -f javacomp.sh.in
+rm -f javaexec.sh.in
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f hello-java-awt*.properties
diff --git a/gettext-tools/examples/hello-java-awt/autogen.sh b/gettext-tools/examples/hello-java-awt/autogen.sh
new file mode 100755
index 0000000..8568350
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/autogen.sh
@@ -0,0 +1,47 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/gcj.m4 m4/gcj.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/javacomp.m4 m4/javacomp.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/javaexec.m4 m4/javaexec.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/javacomp.sh.in javacomp.sh.in
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/javaexec.sh.in javaexec.sh.in
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+./configure
+cd po
+make update-po
+cd ..
+make distclean
diff --git a/gettext-tools/examples/hello-java-awt/configure.ac b/gettext-tools/examples/hello-java-awt/configure.ac
new file mode 100644
index 0000000..3eae8be
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/configure.ac
@@ -0,0 +1,67 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(Hello.java)
+AM_INIT_AUTOMAKE(hello-java-awt, 0)
+
+dnl Check whether we can build native executable.
+AC_ARG_ENABLE(java-exe,
+ [ --enable-java-exe compile Java to native code, not to bytecode],
+ :, enable_java_exe=no)
+gt_GCJ
+if test "$enable_java_exe" != no && test -n "$HAVE_GCJ"; then
+ BUILDJAVAEXE=yes
+else
+ BUILDJAVAEXE=no
+fi
+AC_SUBST(BUILDJAVAEXE)
+AM_CONDITIONAL([USEJEXE], [test "$BUILDJAVAEXE" = yes])
+AC_PROG_RANLIB
+
+dnl Check whether we can execute Java programs.
+gt_JAVAEXEC([TestAWT], [$srcdir/m4])
+dnl Check whether we can build Java programs.
+gt_JAVACOMP([1.3])
+AC_CHECK_PROG(JAR, jar, jar)
+if test -n "$HAVE_JAVACOMP" && test -n "$JAR"; then
+ BUILDJAVA=yes
+else
+ BUILDJAVA=no
+fi
+AC_SUBST(BUILDJAVA)
+if test -n "$HAVE_JAVAEXEC" && test "$BUILDJAVA" = yes; then
+ TESTJAVA=yes
+else
+ TESTJAVA=no
+fi
+AC_SUBST(TESTJAVA)
+
+dnl Checks for compiler output filename suffixes.
+AC_OBJEXT
+AC_EXEEXT
+
+dnl Checks for needed libraries.
+AM_PATH_PROG_WITH_TEST([GETTEXT_WITH_LIBINTL_JAR], [gettext],
+ [{ basedir=`echo "$ac_dir" | sed -e 's,/bin$,,'`; test -r "$basedir"/share/gettext/libintl.jar; }])
+if test -z "$GETTEXT_WITH_LIBINTL_JAR"; then
+ echo "Required library libintl.jar not found." 1>&2
+ exit 1
+fi
+changequote(,)dnl
+basedir=`echo "$GETTEXT_WITH_LIBINTL_JAR" | sed -e 's,/[^/]*$,,' | sed -e 's,/bin$,,'`
+changequote([, ])dnl
+LIBINTL_JAR="$basedir"/share/gettext/libintl.jar
+AC_SUBST([LIBINTL_JAR])
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([javacomp.sh])
+AC_CONFIG_FILES([javaexec.sh])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-java-awt/m4/Makefile.am b/gettext-tools/examples/hello-java-awt/m4/Makefile.am
new file mode 100644
index 0000000..26f6298
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/m4/Makefile.am
@@ -0,0 +1,3 @@
+EXTRA_DIST = \
+ nls.m4 po.m4 \
+ gcj.m4 javacomp.m4 javaexec.m4 TestAWT.java TestAWT.class
diff --git a/gettext-tools/examples/hello-java-awt/m4/TestAWT.class b/gettext-tools/examples/hello-java-awt/m4/TestAWT.class
new file mode 100644
index 0000000..1c993c5
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/m4/TestAWT.class
Binary files differ
diff --git a/gettext-tools/examples/hello-java-awt/m4/TestAWT.java b/gettext-tools/examples/hello-java-awt/m4/TestAWT.java
new file mode 100644
index 0000000..21515fc
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/m4/TestAWT.java
@@ -0,0 +1,11 @@
+// Test for working AWT.
+public class TestAWT {
+ public static void main (String[] args) {
+ try {
+ java.awt.Toolkit.getDefaultToolkit();
+ } catch (Throwable e) {
+ System.exit(1);
+ }
+ System.exit(0);
+ }
+}
diff --git a/gettext-tools/examples/hello-java-awt/po/LINGUAS b/gettext-tools/examples/hello-java-awt/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-java-awt/po/Makefile.am b/gettext-tools/examples/hello-java-awt/po/Makefile.am
new file mode 100644
index 0000000..b8cf04b
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/Makefile.am
@@ -0,0 +1,271 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ Hello.java
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS =
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGCAT = msgcat
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
+PROPERTIESFILES = @PROPERTIESFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
+CLASSFILES = @CLASSFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(DOMAIN)_$(lang).properties)
+CATALOGS = @JAVACATALOGS@
+
+SUFFIXES = .po .sed .sin .nop .po-create .po-update
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: stamp-po
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(PROPERTIESFILES) are
+# empty. In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ $(MAKE) update-properties
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+
+MAINTAINERCLEANFILES = stamp-po
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-properties
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-properties: Makefile $(DOMAIN).pot $(POFILES)
+ @echo "$(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
+ $(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
+ @for f in $(POFILES); do \
+ lang=`echo $$f | sed -e 's,.*/,,' -e 's,\.po$$,,'`; \
+ echo "$(GMSGFMT) -c --statistics --verbose -o /dev/null $(srcdir)/$${lang}.po"; \
+ $(GMSGFMT) -c --statistics --verbose -o /dev/null $(srcdir)/$${lang}.po || exit 1; \
+ echo "$(MSGCAT) --properties-output -o $(top_srcdir)/$(DOMAIN)_$$lang.properties $(srcdir)/$${lang}.po"; \
+ $(MSGCAT) --properties-output -o $(top_srcdir)/$(DOMAIN)_$$lang.properties.tmp $(srcdir)/$${lang}.po || exit 1; \
+ mv $(top_srcdir)/$(DOMAIN)_$$lang.properties.tmp $(top_srcdir)/$(DOMAIN)_$$lang.properties || exit 1; \
+ done
+
+# Alternatively, we could create classes instead of properties files.
+update-classes: Makefile $(DOMAIN).pot $(POFILES)
+ @echo "$(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
+ $(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
+ @for f in $(POFILES); do \
+ lang=`echo $$f | sed -e 's,.*/,,' -e 's,\.po$$,,'`; \
+ echo "$(GMSGFMT) -c --statistics --verbose -j -d $(top_srcdir) -r $(DOMAIN) -l $${lang} $(srcdir)/$${lang}.po"; \
+ $(GMSGFMT) -c --statistics --verbose -j -d $(top_srcdir) -r $(DOMAIN) -l $${lang} $(srcdir)/$${lang}.po || exit 1; \
+ done
+
+echo-catalogs:
+ @echo $(CATALOGS)
diff --git a/gettext-tools/examples/hello-java-awt/po/af.po b/gettext-tools/examples/hello-java-awt/po/af.po
new file mode 100644
index 0000000..2d6e6d2
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Hierdie program loop as prosesnommer {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/ast.po b/gettext-tools/examples/hello-java-awt/po/ast.po
new file mode 100644
index 0000000..f65fe75
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: Hello.java:28
+#, fuzzy, java-format
+msgid "This program is running as process number {0}."
+msgstr "Esti programa ta corriendo como'l procesu nmberu {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/bg.po b/gettext-tools/examples/hello-java-awt/po/bg.po
new file mode 100644
index 0000000..2fb7b7a
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-java-awt package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-java-awt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Програмата е пусната под процес номер {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/ca.po b/gettext-tools/examples/hello-java-awt/po/ca.po
new file mode 100644
index 0000000..f5f454f
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-java-awt.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Aquest programa està corrent amb el número de procés {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/cs.po b/gettext-tools/examples/hello-java-awt/po/cs.po
new file mode 100644
index 0000000..7b819cf
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Tento program běží jako proces číslo {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/da.po b/gettext-tools/examples/hello-java-awt/po/da.po
new file mode 100644
index 0000000..bdda6a8
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-java-awt.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dette program krer som proces nummer {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/de.po b/gettext-tools/examples/hello-java-awt/po/de.po
new file mode 100644
index 0000000..4a372ba
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-java-awt.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/el.po b/gettext-tools/examples/hello-java-awt/po/el.po
new file mode 100644
index 0000000..ad45e1d
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-java-awt
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/eo.po b/gettext-tools/examples/hello-java-awt/po/eo.po
new file mode 100644
index 0000000..f924fb2
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/es.po b/gettext-tools/examples/hello-java-awt/po/es.po
new file mode 100644
index 0000000..45dc530
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está corriendo como el proceso número {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/fi.po b/gettext-tools/examples/hello-java-awt/po/fi.po
new file mode 100644
index 0000000..0902992
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Tämän ohjelman prosessinumero on {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/fr.po b/gettext-tools/examples/hello-java-awt/po/fr.po
new file mode 100644
index 0000000..3eb3a0d
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-java-awt 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ce programme est exécuté en tant que processus numéro {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/ga.po b/gettext-tools/examples/hello-java-awt/po/ga.po
new file mode 100644
index 0000000..1452bfb
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-java-awt.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-java-awt package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "T an clr seo rith mar phriseas {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/gl.po b/gettext-tools/examples/hello-java-awt/po/gl.po
new file mode 100644
index 0000000..2be1030
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-java-awt package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa estase executando como o proceso número {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/hr.po b/gettext-tools/examples/hello-java-awt/po/hr.po
new file mode 100644
index 0000000..fa81fcb
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-java-awt to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ovaj program je pokrenut kao proces broj {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/hu.po b/gettext-tools/examples/hello-java-awt/po/hu.po
new file mode 100644
index 0000000..ea2825e
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-java-awt.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ez a program a(z) {0} folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-java-awt/po/id.po b/gettext-tools/examples/hello-java-awt/po/id.po
new file mode 100644
index 0000000..4164fac
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-java-awt-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Program ini berjalan sebagai proses nomor {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/it.po b/gettext-tools/examples/hello-java-awt/po/it.po
new file mode 100644
index 0000000..24bde9e
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-java-awt.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Questo programma è in esecuzione con numero di processo {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/ja.po b/gettext-tools/examples/hello-java-awt/po/ja.po
new file mode 100644
index 0000000..827b709
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-java-awt' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-java-awt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Υץϥץֹ {0} ưƤޤ."
diff --git a/gettext-tools/examples/hello-java-awt/po/ky.po b/gettext-tools/examples/hello-java-awt/po/ky.po
new file mode 100644
index 0000000..cfa97bc
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-java-awt' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Бул программа {0} процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-java-awt/po/lv.po b/gettext-tools/examples/hello-java-awt/po/lv.po
new file mode 100644
index 0000000..3916043
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-java-awt
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Šī programma darbojas kā process ar numuru {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/ms.po b/gettext-tools/examples/hello-java-awt/po/ms.po
new file mode 100644
index 0000000..0d80f8b
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/ms.po
@@ -0,0 +1,26 @@
+# hello-java-awt Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-java-awt package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Program ini dilaksanakan sebagai proses bernombor {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/mt.po b/gettext-tools/examples/hello-java-awt/po/mt.po
new file mode 100644
index 0000000..62bf55a
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/mt.po
@@ -0,0 +1,26 @@
+# hello-java-awt-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/nb.po b/gettext-tools/examples/hello-java-awt/po/nb.po
new file mode 100644
index 0000000..6a6e497
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-java-awt package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dette programmet kjører som prosess nummer {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/nl.po b/gettext-tools/examples/hello-java-awt/po/nl.po
new file mode 100644
index 0000000..41fa79e
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-java-awt.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dit programma draait als proces nummer {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/pl.po b/gettext-tools/examples/hello-java-awt/po/pl.po
new file mode 100644
index 0000000..66ba45a
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-java-awt domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ten program działa jako proces o numerze {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/pt.po b/gettext-tools/examples/hello-java-awt/po/pt.po
new file mode 100644
index 0000000..3d03335
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-java-awt' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-java-awt package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está a ser executado com o número de processo {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/pt_BR.po b/gettext-tools/examples/hello-java-awt/po/pt_BR.po
new file mode 100644
index 0000000..bb9415b
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está executando com número de processo {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/ro.po b/gettext-tools/examples/hello-java-awt/po/ro.po
new file mode 100644
index 0000000..1ce51d5
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-java-awt-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-java-awt.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Acest program este rulat ca procesul numrul {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/ru.po b/gettext-tools/examples/hello-java-awt/po/ru.po
new file mode 100644
index 0000000..2085119
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-java-awt-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Эта программа выполняется как процесс под номером {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/sk.po b/gettext-tools/examples/hello-java-awt/po/sk.po
new file mode 100644
index 0000000..a7c3662
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-java-awt package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-java-awt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Tento program beží ako proces s číslom {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/sl.po b/gettext-tools/examples/hello-java-awt/po/sl.po
new file mode 100644
index 0000000..442d3b9
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-java-awt-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ta program teče kot proces številka {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/sr.po b/gettext-tools/examples/hello-java-awt/po/sr.po
new file mode 100644
index 0000000..382a494
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-java-awt.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Овај програм се извршава као процес број {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/sv.po b/gettext-tools/examples/hello-java-awt/po/sv.po
new file mode 100644
index 0000000..cab9a24
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-java-awt.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Detta program kör som process nummer {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/tr.po b/gettext-tools/examples/hello-java-awt/po/tr.po
new file mode 100644
index 0000000..b3e6ca0
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Bu yazılım, {0} süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-java-awt/po/uk.po b/gettext-tools/examples/hello-java-awt/po/uk.po
new file mode 100644
index 0000000..0b761e7
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-java-awt
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ця програма виконується як процес з номером {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/vi.po b/gettext-tools/examples/hello-java-awt/po/vi.po
new file mode 100644
index 0000000..f63316c
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Chương trình này đang chạy với mã số tiến trình {0}."
diff --git a/gettext-tools/examples/hello-java-awt/po/zh_CN.po b/gettext-tools/examples/hello-java-awt/po/zh_CN.po
new file mode 100644
index 0000000..3c5accf
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-java-awt.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-java-awt package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "此程序正以进程号 {0} 运行。"
diff --git a/gettext-tools/examples/hello-java-awt/po/zh_HK.po b/gettext-tools/examples/hello-java-awt/po/zh_HK.po
new file mode 100644
index 0000000..631a796
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-java-awt.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "本程式正在執行中,進程編號為 {0}。"
diff --git a/gettext-tools/examples/hello-java-awt/po/zh_TW.po b/gettext-tools/examples/hello-java-awt/po/zh_TW.po
new file mode 100644
index 0000000..3487d55
--- /dev/null
+++ b/gettext-tools/examples/hello-java-awt/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-java-awt.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:23
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "本程式正在執行,行程編號為 {0}。"
diff --git a/gettext-tools/examples/hello-java-qtjambi/BUGS b/gettext-tools/examples/hello-java-qtjambi/BUGS
new file mode 100644
index 0000000..c0053e9
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/BUGS
@@ -0,0 +1,2 @@
+Qt looks only at the LANG and LC_ALL values and ignores LC_MESSAGES if LC_ALL is unset.
+Therefore, to make it work, you have to set LC_ALL to the same value as LC_MESSAGES.
diff --git a/gettext-tools/examples/hello-java-qtjambi/Hello.java b/gettext-tools/examples/hello-java-qtjambi/Hello.java
new file mode 100644
index 0000000..9fc8baa
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/Hello.java
@@ -0,0 +1,73 @@
+// Example for use of GNU gettext.
+// This file is in the public domain.
+//
+// Source code of the Java/QtJambi program.
+
+import java.util.*;
+import java.io.*;
+import java.text.*;
+import com.trolltech.qt.core.*;
+import com.trolltech.qt.gui.*;
+import gnu.gettext.*;
+
+public class Hello {
+ public static void main (String[] args) {
+ ResourceBundle catalog = ResourceBundle.getBundle("hello-java-qtjambi");
+
+ QApplication.initialize(args);
+
+ QMainWindow window = new QMainWindow();
+ window.setWindowTitle("Hello example");
+
+ QWidget panel = new QWidget();
+ QVBoxLayout panelLayout = new QVBoxLayout();
+ panelLayout.setSpacing(2);
+
+ QLabel label1 =
+ new QLabel(GettextResource.gettext(catalog,"Hello, world!"));
+ panelLayout.addWidget(label1);
+
+ QLabel label2 =
+ new QLabel(
+ MessageFormat.format(
+ GettextResource.gettext(catalog,
+ "This program is running as process number {0}."),
+ new Object[] { getPid() }));
+ panelLayout.addWidget(label2);
+
+ QWidget buttonBar = new QWidget();
+ QHBoxLayout buttonBarLayout = new QHBoxLayout();
+ QWidget filler = new QWidget(); // makes the button right-aligned
+ buttonBarLayout.addWidget(filler);
+ QPushButton button = new QPushButton("OK");
+ button.setMaximumWidth(button.sizeHint().width()+20);
+ button.clicked.connect(window, "close()");
+ buttonBarLayout.addWidget(button);
+ buttonBar.setLayout(buttonBarLayout);
+ panelLayout.addWidget(buttonBar);
+
+ panel.setLayout(panelLayout);
+
+ window.setCentralWidget(panel);
+
+ window.show();
+
+ QApplication.exec();
+ }
+
+ /* Return the process ID of the current process. */
+ private static String getPid () {
+ try {
+ String[] args = new String[] { "/bin/sh", "-c", "echo $PPID" };
+ Process p = Runtime.getRuntime().exec(args);
+ InputStream p_out = p.getInputStream();
+ String s = (new BufferedReader(new InputStreamReader(p_out))).readLine();
+ p.destroy();
+ if (s != null)
+ return s;
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ return "???";
+ }
+}
diff --git a/gettext-tools/examples/hello-java-qtjambi/INSTALL b/gettext-tools/examples/hello-java-qtjambi/INSTALL
new file mode 100644
index 0000000..fd166ed
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/INSTALL
@@ -0,0 +1,17 @@
+This example relies on:
+ - a recent Java implementation
+ (i.e. when using Sun's JDK: at least JDK 1.5)
+ - the Qt4/Java binding (libqtjambi)
+ - Qt4 (libQtGui, libQtCore) and its dependencies: libpng, zlib (libz)
+ - the C++ runtime libraries (libstdc++)
+
+Installation:
+ ./autogen.sh
+ export LD_LIBRARY_PATH=<directory with libqtjambi and libQt*.so.4>
+ export CLASSPATH=.:.../qtjambi.jar:.../libintl.jar
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-java-qtjambi/Makefile.am b/gettext-tools/examples/hello-java-qtjambi/Makefile.am
new file mode 100644
index 0000000..4bc1a1d
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/Makefile.am
@@ -0,0 +1,165 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_JAVAPROGRAMS = hello
+
+# The source files of the 'hello' program.
+hello_SOURCES = Hello.java
+hello_CLASSES = Hello.class
+
+# The entry point of the 'hello' program.
+hello_MAINCLASS = Hello
+
+# The link dependencies of the 'hello' program.
+hello_JAVALIBS = @LIBINTL_JAR@
+
+# The resources of the 'hello' program, excluding message catalogs, but
+# including the fallback message catalog.
+hello_RESOURCES = hello-java-qtjambi.properties
+
+# Resources that are generated from PO files.
+MAINTAINERCLEANFILES = hello-java-qtjambi*.properties
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
+
+
+# ----------------- General rules for compiling Java programs -----------------
+
+jardir = $(datadir)/$(PACKAGE)
+pkgdatadir = $(datadir)/$(PACKAGE)
+pkglibdir = $(libdir)/$(PACKAGE)
+
+GCJ = @GCJ@
+GCJFLAGS = @GCJFLAGS@
+JAR = @JAR@
+JAVACOMP = $(SHELL) javacomp.sh
+AR = ar
+RANLIB = @RANLIB@
+
+EXTRA_DIST += $(hello_SOURCES)
+CLEANFILES =
+DISTCLEANFILES = javacomp.sh javaexec.sh
+
+
+if USEJEXE
+
+
+# Rules for compiling Java programs as native code.
+
+all-local: $(hello_MAINCLASS)$(EXEEXT) hello-resources.jar hello.sh
+
+# Does not work yet with GCC 3.3.
+#$(hello_MAINCLASS)$(EXEEXT): $(srcdir)/Hello.java
+# CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS)@CLASSPATH_SEPARATOR@$$CLASSPATH $(GCJ) $(GCJFLAGS) $(srcdir)/Hello.java $(hello_JAVALIBS) --main=$(hello_MAINCLASS) -o $@
+
+$(hello_MAINCLASS)$(EXEEXT): Hello.$(OBJEXT) libintl.a
+ $(GCJ) $(GCJFLAGS) Hello.$(OBJEXT) libintl.a --main=$(hello_MAINCLASS) -o $@
+
+Hello.$(OBJEXT): $(srcdir)/Hello.java
+ CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS)@CLASSPATH_SEPARATOR@$$CLASSPATH $(GCJ) $(GCJFLAGS) -c $(srcdir)/Hello.java -o $@
+
+libintl.a:
+ rm -rf tmpdir
+ mkdir tmpdir
+ cd tmpdir && $(JAR) xf @LIBINTL_JAR@ && \
+ for f in `find . -name '*.class' -print`; do \
+ $(GCJ) $(GCJFLAGS) -c $$f -o `echo $$f | sed -e 's,^\./,,' -e 's,\.class$$,,' -e 's,/,.,g'`.$(OBJEXT) || exit 1; \
+ done && \
+ rm -f ../libintl.a && \
+ ar cru ../libintl.a `find . -name '*.$(OBJEXT)' -print`
+ rm -rf tmpdir
+ $(RANLIB) $@
+
+hello-resources.jar:
+ catalogs=`MAKEFLAGS= $(MAKE) -s -C po echo-catalogs`; \
+ $(JAR) cf $@ $(hello_RESOURCES) $$catalogs
+
+hello.sh:
+ { echo '#!/bin/sh'; \
+ echo "CLASSPATH='$(jardir)/hello-resources.jar'\$${CLASSPATH+\"@CLASSPATH_SEPARATOR@\$$CLASSPATH\"}"; \
+ echo "export CLASSPATH"; \
+ echo "exec '$(pkglibdir)/$(hello_MAINCLASS)$(EXEEXT)' \"\$$@\""; \
+ } > $@
+
+install-exec-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ $(INSTALL_SCRIPT) hello.sh $(DESTDIR)$(bindir)/hello
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)
+ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $(hello_MAINCLASS)$(EXEEXT) $(DESTDIR)$(pkglibdir)/$(hello_MAINCLASS)$(EXEEXT)
+
+install-data-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(jardir)
+ $(INSTALL_DATA) hello-resources.jar $(DESTDIR)$(jardir)/hello-resources.jar
+
+installdirs-local:
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)
+ $(MKDIR_P) $(DESTDIR)$(jardir)
+
+uninstall-local:
+ rm -f $(DESTDIR)$(bindir)/hello
+ rm -f $(DESTDIR)$(pkglibdir)/$(hello_MAINCLASS)$(EXEEXT)
+ rm -f $(DESTDIR)$(jardir)/hello-resources.jar
+
+CLEANFILES += $(hello_MAINCLASS)$(EXEEXT) *.$(OBJEXT) *.a tmpdir hello-resources.jar hello.sh
+
+
+else
+
+
+# Rules for compiling Java programs as jar libraries.
+# This is the preferred mode during development, because you can easily test
+# the program without installing it, simply by doing "java -jar hello.jar".
+
+all-local: hello.jar hello.sh
+
+hello.jar: $(hello_CLASSES)
+ { echo "Manifest-Version: 1.0"; echo "Main-Class: $(hello_MAINCLASS)"; echo 'Class-Path: @LIBINTL_JAR@'; } > Manifest.mf
+ catalogs=`MAKEFLAGS= $(MAKE) -s -C po echo-catalogs`; \
+ $(JAR) cfm $@ Manifest.mf Hello*.class $(hello_RESOURCES) $$catalogs
+ rm -f Manifest.mf
+
+Hello.class: $(srcdir)/Hello.java
+ CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS)@CLASSPATH_SEPARATOR@$$CLASSPATH $(JAVACOMP) -d . $(srcdir)/Hello.java
+
+hello.sh:
+ { echo '#!/bin/sh'; \
+ echo "CLASSPATH='$(jardir)/hello.jar@CLASSPATH_SEPARATOR@$(hello_JAVALIBS)'\$${CLASSPATH+\"@CLASSPATH_SEPARATOR@\$$CLASSPATH\"}"; \
+ echo "export CLASSPATH"; \
+ echo "exec /bin/sh '$(pkgdatadir)/javaexec.sh' $(hello_MAINCLASS) \"\$$@\""; \
+ } > $@
+
+install-exec-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ $(INSTALL_SCRIPT) hello.sh $(DESTDIR)$(bindir)/hello
+
+install-data-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(jardir)
+ $(INSTALL_DATA) hello.jar $(DESTDIR)$(jardir)/hello.jar
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)
+ $(INSTALL_DATA) javaexec.sh $(DESTDIR)$(pkgdatadir)/javaexec.sh
+
+installdirs-local:
+ $(MKDIR_P) $(DESTDIR)$(jardir)
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)
+
+uninstall-local:
+ rm -f $(DESTDIR)$(bindir)/hello
+ rm -f $(DESTDIR)$(jardir)/hello.jar
+ rm -f $(DESTDIR)$(pkgdatadir)/javaexec.sh
+
+CLEANFILES += hello.jar Hello*.class Manifest.mf hello.sh
+
+
+endif
diff --git a/gettext-tools/examples/hello-java-qtjambi/autoclean.sh b/gettext-tools/examples/hello-java-qtjambi/autoclean.sh
new file mode 100755
index 0000000..66ba430
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/autoclean.sh
@@ -0,0 +1,36 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Brought in by explicit copy.
+rm -f m4/gcj.m4
+rm -f m4/javacomp.m4
+rm -f m4/javaexec.m4
+rm -f javacomp.sh.in
+rm -f javaexec.sh.in
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f hello-java-qtjambi*.properties
diff --git a/gettext-tools/examples/hello-java-qtjambi/autogen.sh b/gettext-tools/examples/hello-java-qtjambi/autogen.sh
new file mode 100755
index 0000000..8568350
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/autogen.sh
@@ -0,0 +1,47 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/gcj.m4 m4/gcj.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/javacomp.m4 m4/javacomp.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/javaexec.m4 m4/javaexec.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/javacomp.sh.in javacomp.sh.in
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/javaexec.sh.in javaexec.sh.in
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+./configure
+cd po
+make update-po
+cd ..
+make distclean
diff --git a/gettext-tools/examples/hello-java-qtjambi/configure.ac b/gettext-tools/examples/hello-java-qtjambi/configure.ac
new file mode 100644
index 0000000..3b3e688
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/configure.ac
@@ -0,0 +1,69 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(Hello.java)
+AM_INIT_AUTOMAKE(hello-java-qtjambi, 0)
+
+dnl Check whether we can build native executable.
+dnl This does currently not work, since QtJambi requires a Java >= 1.5.
+dnl AC_ARG_ENABLE(java-exe,
+dnl [ --enable-java-exe compile Java to native code, not to bytecode],
+dnl :, enable_java_exe=no)
+dnl gt_GCJ
+dnl if test "$enable_java_exe" != no && test -n "$HAVE_GCJ"; then
+dnl BUILDJAVAEXE=yes
+dnl else
+dnl BUILDJAVAEXE=no
+dnl fi
+BUILDJAVAEXE=no
+AC_SUBST(BUILDJAVAEXE)
+AM_CONDITIONAL([USEJEXE], [test "$BUILDJAVAEXE" = yes])
+AC_PROG_RANLIB
+
+dnl Check whether we can execute Java programs.
+gt_JAVAEXEC([Test15], [$srcdir/m4])
+dnl Check whether we can build Java programs.
+gt_JAVACOMP([1.5], [1.5])
+AC_CHECK_PROG(JAR, jar, jar)
+if test -n "$HAVE_JAVACOMP" && test -n "$JAR"; then
+ BUILDJAVA=yes
+else
+ BUILDJAVA=no
+fi
+AC_SUBST(BUILDJAVA)
+if test -n "$HAVE_JAVAEXEC" && test "$BUILDJAVA" = yes; then
+ TESTJAVA=yes
+else
+ TESTJAVA=no
+fi
+AC_SUBST(TESTJAVA)
+
+dnl Checks for compiler output filename suffixes.
+AC_OBJEXT
+AC_EXEEXT
+
+dnl Checks for needed libraries.
+AM_PATH_PROG_WITH_TEST([GETTEXT_WITH_LIBINTL_JAR], [gettext],
+ [{ basedir=`echo "$ac_dir" | sed -e 's,/bin$,,'`; test -r "$basedir"/share/gettext/libintl.jar; }])
+if test -z "$GETTEXT_WITH_LIBINTL_JAR"; then
+ echo "Required library libintl.jar not found." 1>&2
+ exit 1
+fi
+changequote(,)dnl
+basedir=`echo "$GETTEXT_WITH_LIBINTL_JAR" | sed -e 's,/[^/]*$,,' | sed -e 's,/bin$,,'`
+changequote([, ])dnl
+LIBINTL_JAR="$basedir"/share/gettext/libintl.jar
+AC_SUBST([LIBINTL_JAR])
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([javacomp.sh])
+AC_CONFIG_FILES([javaexec.sh])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-java-qtjambi/m4/Makefile.am b/gettext-tools/examples/hello-java-qtjambi/m4/Makefile.am
new file mode 100644
index 0000000..62ed854
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/m4/Makefile.am
@@ -0,0 +1,3 @@
+EXTRA_DIST = \
+ nls.m4 po.m4 \
+ gcj.m4 javacomp.m4 javaexec.m4 Test15.java Test15.class
diff --git a/gettext-tools/examples/hello-java-qtjambi/m4/Test15.class b/gettext-tools/examples/hello-java-qtjambi/m4/Test15.class
new file mode 100644
index 0000000..17812cc
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/m4/Test15.class
Binary files differ
diff --git a/gettext-tools/examples/hello-java-qtjambi/m4/Test15.java b/gettext-tools/examples/hello-java-qtjambi/m4/Test15.java
new file mode 100644
index 0000000..f4bcd2c
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/m4/Test15.java
@@ -0,0 +1,26 @@
+// Test for Java 1.5 or newer.
+import java.util.*;
+public class Test15 {
+ public static void main (String[] args) {
+ try {
+ foo();
+ } catch (Throwable e) {
+ System.exit(1);
+ }
+ // Check the JVM version is at least 1.5.
+ String version = System.getProperty("java.specification.version");
+ int i = 0;
+ while (i < version.length()
+ && (Character.isDigit(version.charAt(i)) || version.charAt(i)=='.'))
+ i++;
+ float fversion = Float.valueOf(version.substring(0,i));
+ if (!(fversion >= 1.5f)) System.exit(1);
+ // Check the VM is not GNU libgcj.
+ String vm = System.getProperty("java.vm.name");
+ if (vm.startsWith("GNU")) System.exit(1);
+ System.exit(0);
+ }
+ private static List<Integer> foo() {
+ return new ArrayList<Integer>();
+ }
+}
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/LINGUAS b/gettext-tools/examples/hello-java-qtjambi/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/Makefile.am b/gettext-tools/examples/hello-java-qtjambi/po/Makefile.am
new file mode 100644
index 0000000..b8cf04b
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/Makefile.am
@@ -0,0 +1,271 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ Hello.java
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS =
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGCAT = msgcat
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
+PROPERTIESFILES = @PROPERTIESFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
+CLASSFILES = @CLASSFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(DOMAIN)_$(lang).properties)
+CATALOGS = @JAVACATALOGS@
+
+SUFFIXES = .po .sed .sin .nop .po-create .po-update
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: stamp-po
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(PROPERTIESFILES) are
+# empty. In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ $(MAKE) update-properties
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+
+MAINTAINERCLEANFILES = stamp-po
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-properties
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-properties: Makefile $(DOMAIN).pot $(POFILES)
+ @echo "$(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
+ $(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
+ @for f in $(POFILES); do \
+ lang=`echo $$f | sed -e 's,.*/,,' -e 's,\.po$$,,'`; \
+ echo "$(GMSGFMT) -c --statistics --verbose -o /dev/null $(srcdir)/$${lang}.po"; \
+ $(GMSGFMT) -c --statistics --verbose -o /dev/null $(srcdir)/$${lang}.po || exit 1; \
+ echo "$(MSGCAT) --properties-output -o $(top_srcdir)/$(DOMAIN)_$$lang.properties $(srcdir)/$${lang}.po"; \
+ $(MSGCAT) --properties-output -o $(top_srcdir)/$(DOMAIN)_$$lang.properties.tmp $(srcdir)/$${lang}.po || exit 1; \
+ mv $(top_srcdir)/$(DOMAIN)_$$lang.properties.tmp $(top_srcdir)/$(DOMAIN)_$$lang.properties || exit 1; \
+ done
+
+# Alternatively, we could create classes instead of properties files.
+update-classes: Makefile $(DOMAIN).pot $(POFILES)
+ @echo "$(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
+ $(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
+ @for f in $(POFILES); do \
+ lang=`echo $$f | sed -e 's,.*/,,' -e 's,\.po$$,,'`; \
+ echo "$(GMSGFMT) -c --statistics --verbose -j -d $(top_srcdir) -r $(DOMAIN) -l $${lang} $(srcdir)/$${lang}.po"; \
+ $(GMSGFMT) -c --statistics --verbose -j -d $(top_srcdir) -r $(DOMAIN) -l $${lang} $(srcdir)/$${lang}.po || exit 1; \
+ done
+
+echo-catalogs:
+ @echo $(CATALOGS)
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/af.po b/gettext-tools/examples/hello-java-qtjambi/po/af.po
new file mode 100644
index 0000000..27191a4
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Hierdie program loop as prosesnommer {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/ast.po b/gettext-tools/examples/hello-java-qtjambi/po/ast.po
new file mode 100644
index 0000000..445814b
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: Hello.java:34
+#, fuzzy, java-format
+msgid "This program is running as process number {0}."
+msgstr "Esti programa ta corriendo como'l procesu nmberu {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/bg.po b/gettext-tools/examples/hello-java-qtjambi/po/bg.po
new file mode 100644
index 0000000..958fd33
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-java-qtjambi package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-java-qtjambi 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Програмата е пусната под процес номер {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/ca.po b/gettext-tools/examples/hello-java-qtjambi/po/ca.po
new file mode 100644
index 0000000..aee725c
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-java-qtjambi.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Aquest programa està corrent amb el número de procés {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/cs.po b/gettext-tools/examples/hello-java-qtjambi/po/cs.po
new file mode 100644
index 0000000..ae9586d
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Tento program běží jako proces číslo {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/da.po b/gettext-tools/examples/hello-java-qtjambi/po/da.po
new file mode 100644
index 0000000..de51bbf
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-java-qtjambi.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dette program krer som proces nummer {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/de.po b/gettext-tools/examples/hello-java-qtjambi/po/de.po
new file mode 100644
index 0000000..a963ac8
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-java-qtjambi.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/el.po b/gettext-tools/examples/hello-java-qtjambi/po/el.po
new file mode 100644
index 0000000..b476c23
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-java-qtjambi
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/eo.po b/gettext-tools/examples/hello-java-qtjambi/po/eo.po
new file mode 100644
index 0000000..fde8484
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/es.po b/gettext-tools/examples/hello-java-qtjambi/po/es.po
new file mode 100644
index 0000000..2eca107
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está corriendo como el proceso número {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/fi.po b/gettext-tools/examples/hello-java-qtjambi/po/fi.po
new file mode 100644
index 0000000..90ed773
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Tämän ohjelman prosessinumero on {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/fr.po b/gettext-tools/examples/hello-java-qtjambi/po/fr.po
new file mode 100644
index 0000000..c5c94a7
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-java-qtjambi 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ce programme est exécuté en tant que processus numéro {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/ga.po b/gettext-tools/examples/hello-java-qtjambi/po/ga.po
new file mode 100644
index 0000000..fc69430
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-java-qtjambi.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-java-qtjambi package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "T an clr seo rith mar phriseas {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/gl.po b/gettext-tools/examples/hello-java-qtjambi/po/gl.po
new file mode 100644
index 0000000..2652e5c
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-java-qtjambi package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa estase executando como o proceso número {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/hr.po b/gettext-tools/examples/hello-java-qtjambi/po/hr.po
new file mode 100644
index 0000000..c1a551d
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-java-qtjambi to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ovaj program je pokrenut kao proces broj {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/hu.po b/gettext-tools/examples/hello-java-qtjambi/po/hu.po
new file mode 100644
index 0000000..c6448e9
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-java-qtjambi.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ez a program a(z) {0} folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/id.po b/gettext-tools/examples/hello-java-qtjambi/po/id.po
new file mode 100644
index 0000000..87f887d
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-java-qtjambi-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Program ini berjalan sebagai proses nomor {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/it.po b/gettext-tools/examples/hello-java-qtjambi/po/it.po
new file mode 100644
index 0000000..7e4db31
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-java-qtjambi.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Questo programma è in esecuzione con numero di processo {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/ja.po b/gettext-tools/examples/hello-java-qtjambi/po/ja.po
new file mode 100644
index 0000000..8fd7147
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-java-qtjambi' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-java-qtjambi 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Υץϥץֹ {0} ưƤޤ."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/ky.po b/gettext-tools/examples/hello-java-qtjambi/po/ky.po
new file mode 100644
index 0000000..9fe2538
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-java-qtjambi' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Бул программа {0} процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/lv.po b/gettext-tools/examples/hello-java-qtjambi/po/lv.po
new file mode 100644
index 0000000..8b1431c
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-java-qtjambi
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Šī programma darbojas kā process ar numuru {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/ms.po b/gettext-tools/examples/hello-java-qtjambi/po/ms.po
new file mode 100644
index 0000000..aef7079
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/ms.po
@@ -0,0 +1,26 @@
+# hello-java-qtjambi Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-java-qtjambi package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Program ini dilaksanakan sebagai proses bernombor {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/mt.po b/gettext-tools/examples/hello-java-qtjambi/po/mt.po
new file mode 100644
index 0000000..051da26
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/mt.po
@@ -0,0 +1,26 @@
+# hello-java-qtjambi-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/nb.po b/gettext-tools/examples/hello-java-qtjambi/po/nb.po
new file mode 100644
index 0000000..72f3aab
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-java-qtjambi package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dette programmet kjører som prosess nummer {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/nl.po b/gettext-tools/examples/hello-java-qtjambi/po/nl.po
new file mode 100644
index 0000000..dc5d285
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-java-qtjambi.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dit programma draait als proces nummer {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/pl.po b/gettext-tools/examples/hello-java-qtjambi/po/pl.po
new file mode 100644
index 0000000..9840386
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-java-qtjambi domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ten program działa jako proces o numerze {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/pt.po b/gettext-tools/examples/hello-java-qtjambi/po/pt.po
new file mode 100644
index 0000000..b50f771
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-java-qtjambi' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-java-qtjambi package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está a ser executado com o número de processo {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/pt_BR.po b/gettext-tools/examples/hello-java-qtjambi/po/pt_BR.po
new file mode 100644
index 0000000..f67e133
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está executando com número de processo {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/ro.po b/gettext-tools/examples/hello-java-qtjambi/po/ro.po
new file mode 100644
index 0000000..b31870a
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-java-qtjambi-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-java-qtjambi.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Acest program este rulat ca procesul numrul {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/ru.po b/gettext-tools/examples/hello-java-qtjambi/po/ru.po
new file mode 100644
index 0000000..72979ed
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-java-qtjambi-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Эта программа выполняется как процесс под номером {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/sk.po b/gettext-tools/examples/hello-java-qtjambi/po/sk.po
new file mode 100644
index 0000000..9f7c7c1
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-java-qtjambi package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-java-qtjambi 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Tento program beží ako proces s číslom {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/sl.po b/gettext-tools/examples/hello-java-qtjambi/po/sl.po
new file mode 100644
index 0000000..a2181d1
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-java-qtjambi-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ta program teče kot proces številka {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/sr.po b/gettext-tools/examples/hello-java-qtjambi/po/sr.po
new file mode 100644
index 0000000..b52db2f
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-java-qtjambi.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Овај програм се извршава као процес број {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/sv.po b/gettext-tools/examples/hello-java-qtjambi/po/sv.po
new file mode 100644
index 0000000..7229e22
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-java-qtjambi.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Detta program kör som process nummer {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/tr.po b/gettext-tools/examples/hello-java-qtjambi/po/tr.po
new file mode 100644
index 0000000..94d0a93
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Bu yazılım, {0} süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/uk.po b/gettext-tools/examples/hello-java-qtjambi/po/uk.po
new file mode 100644
index 0000000..d29ea2a
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-java-qtjambi
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ця програма виконується як процес з номером {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/vi.po b/gettext-tools/examples/hello-java-qtjambi/po/vi.po
new file mode 100644
index 0000000..c367d96
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Chương trình này đang chạy với mã số tiến trình {0}."
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/zh_CN.po b/gettext-tools/examples/hello-java-qtjambi/po/zh_CN.po
new file mode 100644
index 0000000..a85fa73
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-java-qtjambi.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-java-qtjambi package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "此程序正以进程号 {0} 运行。"
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/zh_HK.po b/gettext-tools/examples/hello-java-qtjambi/po/zh_HK.po
new file mode 100644
index 0000000..28f04c5
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-java-qtjambi.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "本程式正在執行中,進程編號為 {0}。"
diff --git a/gettext-tools/examples/hello-java-qtjambi/po/zh_TW.po b/gettext-tools/examples/hello-java-qtjambi/po/zh_TW.po
new file mode 100644
index 0000000..72a7d4b
--- /dev/null
+++ b/gettext-tools/examples/hello-java-qtjambi/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-java-qtjambi.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:27
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "本程式正在執行,行程編號為 {0}。"
diff --git a/gettext-tools/examples/hello-java-swing/BUGS b/gettext-tools/examples/hello-java-swing/BUGS
new file mode 100644
index 0000000..085ef9e
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/BUGS
@@ -0,0 +1,5 @@
+Correct display of characters depends on the JVM and its locale-dependent font
+configuration. For example, on Linux/x86, in
+ Sun JDK 1.3.1 de_DE, zh_CN work
+ IBM JDK 1.3.0 de_DE, sr_YU work - ja_JP, zh_CN don't work (displays squares)
+ Sun JDK 1.4.2 de_DE, sr_YU work - ja_JP, zh_CN don't work (displays squares)
diff --git a/gettext-tools/examples/hello-java-swing/Hello.java b/gettext-tools/examples/hello-java-swing/Hello.java
new file mode 100644
index 0000000..7bdef7e
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/Hello.java
@@ -0,0 +1,63 @@
+// Example for use of GNU gettext.
+// This file is in the public domain.
+//
+// Source code of the Java/Swing program.
+
+import java.util.*;
+import java.io.*;
+import java.text.*;
+import java.awt.*;
+import java.awt.event.*;
+import javax.swing.*;
+import gnu.gettext.*;
+
+public class Hello {
+ public static void main (String[] args) {
+ ResourceBundle catalog = ResourceBundle.getBundle("hello-java-swing");
+ JFrame frame = new JFrame("Hello example");
+ frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
+ JLabel label1 =
+ new JLabel(GettextResource.gettext(catalog,"Hello, world!"));
+ JLabel label2 =
+ new JLabel(
+ MessageFormat.format(
+ GettextResource.gettext(catalog,
+ "This program is running as process number {0}."),
+ new Object[] { getPid() }));
+ JButton button = new JButton("OK");
+ button.addActionListener(
+ new ActionListener() {
+ public void actionPerformed (ActionEvent event) {
+ System.exit(0);
+ }
+ });
+ JPanel labels = new JPanel();
+ labels.setLayout(new GridLayout(2, 1));
+ labels.add(label1);
+ labels.add(label2);
+ JPanel buttons = new JPanel();
+ buttons.setLayout(new FlowLayout(FlowLayout.RIGHT));
+ buttons.add(button);
+ frame.getContentPane().setLayout(new BorderLayout());
+ frame.getContentPane().add(labels, BorderLayout.CENTER);
+ frame.getContentPane().add(buttons, BorderLayout.SOUTH);
+ frame.pack();
+ frame.setVisible(true);
+ }
+
+ /* Return the process ID of the current process. */
+ private static String getPid () {
+ try {
+ String[] args = new String[] { "/bin/sh", "-c", "echo $PPID" };
+ Process p = Runtime.getRuntime().exec(args);
+ InputStream p_out = p.getInputStream();
+ String s = (new BufferedReader(new InputStreamReader(p_out))).readLine();
+ p.destroy();
+ if (s != null)
+ return s;
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ return "???";
+ }
+}
diff --git a/gettext-tools/examples/hello-java-swing/INSTALL b/gettext-tools/examples/hello-java-swing/INSTALL
new file mode 100644
index 0000000..79edfa7
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/INSTALL
@@ -0,0 +1,12 @@
+This example relies on:
+ - a Java implementation with AWT and Swing
+ (i.e. when using Sun's JDK: at least JDK 1.2)
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-java-swing/Makefile.am b/gettext-tools/examples/hello-java-swing/Makefile.am
new file mode 100644
index 0000000..fb75ef2
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/Makefile.am
@@ -0,0 +1,165 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_JAVAPROGRAMS = hello
+
+# The source files of the 'hello' program.
+hello_SOURCES = Hello.java
+hello_CLASSES = Hello.class
+
+# The entry point of the 'hello' program.
+hello_MAINCLASS = Hello
+
+# The link dependencies of the 'hello' program.
+hello_JAVALIBS = @LIBINTL_JAR@
+
+# The resources of the 'hello' program, excluding message catalogs, but
+# including the fallback message catalog.
+hello_RESOURCES = hello-java-swing.properties
+
+# Resources that are generated from PO files.
+MAINTAINERCLEANFILES = hello-java-swing*.properties
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
+
+
+# ----------------- General rules for compiling Java programs -----------------
+
+jardir = $(datadir)/$(PACKAGE)
+pkgdatadir = $(datadir)/$(PACKAGE)
+pkglibdir = $(libdir)/$(PACKAGE)
+
+GCJ = @GCJ@
+GCJFLAGS = @GCJFLAGS@
+JAR = @JAR@
+JAVACOMP = $(SHELL) javacomp.sh
+AR = ar
+RANLIB = @RANLIB@
+
+EXTRA_DIST += $(hello_SOURCES)
+CLEANFILES =
+DISTCLEANFILES = javacomp.sh javaexec.sh
+
+
+if USEJEXE
+
+
+# Rules for compiling Java programs as native code.
+
+all-local: $(hello_MAINCLASS)$(EXEEXT) hello-resources.jar hello.sh
+
+# Does not work yet with GCC 3.3.
+#$(hello_MAINCLASS)$(EXEEXT): $(srcdir)/Hello.java
+# CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS) $(GCJ) $(GCJFLAGS) $(srcdir)/Hello.java $(hello_JAVALIBS) --main=$(hello_MAINCLASS) -o $@
+
+$(hello_MAINCLASS)$(EXEEXT): Hello.$(OBJEXT) libintl.a
+ $(GCJ) $(GCJFLAGS) Hello.$(OBJEXT) libintl.a --main=$(hello_MAINCLASS) -o $@
+
+Hello.$(OBJEXT): $(srcdir)/Hello.java
+ CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS) $(GCJ) $(GCJFLAGS) -c $(srcdir)/Hello.java -o $@
+
+libintl.a:
+ rm -rf tmpdir
+ mkdir tmpdir
+ cd tmpdir && $(JAR) xf @LIBINTL_JAR@ && \
+ for f in `find . -name '*.class' -print`; do \
+ $(GCJ) $(GCJFLAGS) -c $$f -o `echo $$f | sed -e 's,^\./,,' -e 's,\.class$$,,' -e 's,/,.,g'`.$(OBJEXT) || exit 1; \
+ done && \
+ rm -f ../libintl.a && \
+ ar cru ../libintl.a `find . -name '*.$(OBJEXT)' -print`
+ rm -rf tmpdir
+ $(RANLIB) $@
+
+hello-resources.jar:
+ catalogs=`MAKEFLAGS= $(MAKE) -s -C po echo-catalogs`; \
+ $(JAR) cf $@ $(hello_RESOURCES) $$catalogs
+
+hello.sh:
+ { echo '#!/bin/sh'; \
+ echo "CLASSPATH='$(jardir)/hello-resources.jar'\$${CLASSPATH+\"@CLASSPATH_SEPARATOR@\$$CLASSPATH\"}"; \
+ echo "export CLASSPATH"; \
+ echo "exec '$(pkglibdir)/$(hello_MAINCLASS)$(EXEEXT)' \"\$$@\""; \
+ } > $@
+
+install-exec-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ $(INSTALL_SCRIPT) hello.sh $(DESTDIR)$(bindir)/hello
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)
+ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $(hello_MAINCLASS)$(EXEEXT) $(DESTDIR)$(pkglibdir)/$(hello_MAINCLASS)$(EXEEXT)
+
+install-data-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(jardir)
+ $(INSTALL_DATA) hello-resources.jar $(DESTDIR)$(jardir)/hello-resources.jar
+
+installdirs-local:
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)
+ $(MKDIR_P) $(DESTDIR)$(jardir)
+
+uninstall-local:
+ rm -f $(DESTDIR)$(bindir)/hello
+ rm -f $(DESTDIR)$(pkglibdir)/$(hello_MAINCLASS)$(EXEEXT)
+ rm -f $(DESTDIR)$(jardir)/hello-resources.jar
+
+CLEANFILES += $(hello_MAINCLASS)$(EXEEXT) *.$(OBJEXT) *.a tmpdir hello-resources.jar hello.sh
+
+
+else
+
+
+# Rules for compiling Java programs as jar libraries.
+# This is the preferred mode during development, because you can easily test
+# the program without installing it, simply by doing "java -jar hello.jar".
+
+all-local: hello.jar hello.sh
+
+hello.jar: $(hello_CLASSES)
+ { echo "Manifest-Version: 1.0"; echo "Main-Class: $(hello_MAINCLASS)"; echo 'Class-Path: @LIBINTL_JAR@'; } > Manifest.mf
+ catalogs=`MAKEFLAGS= $(MAKE) -s -C po echo-catalogs`; \
+ $(JAR) cfm $@ Manifest.mf Hello*.class $(hello_RESOURCES) $$catalogs
+ rm -f Manifest.mf
+
+Hello.class: $(srcdir)/Hello.java
+ CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS) $(JAVACOMP) -d . $(srcdir)/Hello.java
+
+hello.sh:
+ { echo '#!/bin/sh'; \
+ echo "CLASSPATH='$(jardir)/hello.jar@CLASSPATH_SEPARATOR@$(hello_JAVALIBS)'\$${CLASSPATH+\"@CLASSPATH_SEPARATOR@\$$CLASSPATH\"}"; \
+ echo "export CLASSPATH"; \
+ echo "exec /bin/sh '$(pkgdatadir)/javaexec.sh' $(hello_MAINCLASS) \"\$$@\""; \
+ } > $@
+
+install-exec-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ $(INSTALL_SCRIPT) hello.sh $(DESTDIR)$(bindir)/hello
+
+install-data-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(jardir)
+ $(INSTALL_DATA) hello.jar $(DESTDIR)$(jardir)/hello.jar
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)
+ $(INSTALL_DATA) javaexec.sh $(DESTDIR)$(pkgdatadir)/javaexec.sh
+
+installdirs-local:
+ $(MKDIR_P) $(DESTDIR)$(jardir)
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)
+
+uninstall-local:
+ rm -f $(DESTDIR)$(bindir)/hello
+ rm -f $(DESTDIR)$(jardir)/hello.jar
+ rm -f $(DESTDIR)$(pkgdatadir)/javaexec.sh
+
+CLEANFILES += hello.jar Hello*.class Manifest.mf hello.sh
+
+
+endif
diff --git a/gettext-tools/examples/hello-java-swing/autoclean.sh b/gettext-tools/examples/hello-java-swing/autoclean.sh
new file mode 100755
index 0000000..9eb5164
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/autoclean.sh
@@ -0,0 +1,36 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Brought in by explicit copy.
+rm -f m4/gcj.m4
+rm -f m4/javacomp.m4
+rm -f m4/javaexec.m4
+rm -f javacomp.sh.in
+rm -f javaexec.sh.in
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f hello-java-swing*.properties
diff --git a/gettext-tools/examples/hello-java-swing/autogen.sh b/gettext-tools/examples/hello-java-swing/autogen.sh
new file mode 100755
index 0000000..8568350
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/autogen.sh
@@ -0,0 +1,47 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/gcj.m4 m4/gcj.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/javacomp.m4 m4/javacomp.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/javaexec.m4 m4/javaexec.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/javacomp.sh.in javacomp.sh.in
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/javaexec.sh.in javaexec.sh.in
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+./configure
+cd po
+make update-po
+cd ..
+make distclean
diff --git a/gettext-tools/examples/hello-java-swing/configure.ac b/gettext-tools/examples/hello-java-swing/configure.ac
new file mode 100644
index 0000000..96fd903
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/configure.ac
@@ -0,0 +1,67 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(Hello.java)
+AM_INIT_AUTOMAKE(hello-java-swing, 0)
+
+dnl Check whether we can build native executable.
+AC_ARG_ENABLE(java-exe,
+ [ --enable-java-exe compile Java to native code, not to bytecode],
+ :, enable_java_exe=no)
+gt_GCJ
+if test "$enable_java_exe" != no && test -n "$HAVE_GCJ"; then
+ BUILDJAVAEXE=yes
+else
+ BUILDJAVAEXE=no
+fi
+AC_SUBST(BUILDJAVAEXE)
+AM_CONDITIONAL([USEJEXE], [test "$BUILDJAVAEXE" = yes])
+AC_PROG_RANLIB
+
+dnl Check whether we can execute Java programs.
+gt_JAVAEXEC([TestAWT], [$srcdir/m4])
+dnl Check whether we can build Java programs.
+gt_JAVACOMP([1.3])
+AC_CHECK_PROG(JAR, jar, jar)
+if test -n "$HAVE_JAVACOMP" && test -n "$JAR"; then
+ BUILDJAVA=yes
+else
+ BUILDJAVA=no
+fi
+AC_SUBST(BUILDJAVA)
+if test -n "$HAVE_JAVAEXEC" && test "$BUILDJAVA" = yes; then
+ TESTJAVA=yes
+else
+ TESTJAVA=no
+fi
+AC_SUBST(TESTJAVA)
+
+dnl Checks for compiler output filename suffixes.
+AC_OBJEXT
+AC_EXEEXT
+
+dnl Checks for needed libraries.
+AM_PATH_PROG_WITH_TEST([GETTEXT_WITH_LIBINTL_JAR], [gettext],
+ [{ basedir=`echo "$ac_dir" | sed -e 's,/bin$,,'`; test -r "$basedir"/share/gettext/libintl.jar; }])
+if test -z "$GETTEXT_WITH_LIBINTL_JAR"; then
+ echo "Required library libintl.jar not found." 1>&2
+ exit 1
+fi
+changequote(,)dnl
+basedir=`echo "$GETTEXT_WITH_LIBINTL_JAR" | sed -e 's,/[^/]*$,,' | sed -e 's,/bin$,,'`
+changequote([, ])dnl
+LIBINTL_JAR="$basedir"/share/gettext/libintl.jar
+AC_SUBST([LIBINTL_JAR])
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([javacomp.sh])
+AC_CONFIG_FILES([javaexec.sh])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-java-swing/m4/Makefile.am b/gettext-tools/examples/hello-java-swing/m4/Makefile.am
new file mode 100644
index 0000000..26f6298
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/m4/Makefile.am
@@ -0,0 +1,3 @@
+EXTRA_DIST = \
+ nls.m4 po.m4 \
+ gcj.m4 javacomp.m4 javaexec.m4 TestAWT.java TestAWT.class
diff --git a/gettext-tools/examples/hello-java-swing/m4/TestAWT.class b/gettext-tools/examples/hello-java-swing/m4/TestAWT.class
new file mode 100644
index 0000000..1c993c5
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/m4/TestAWT.class
Binary files differ
diff --git a/gettext-tools/examples/hello-java-swing/m4/TestAWT.java b/gettext-tools/examples/hello-java-swing/m4/TestAWT.java
new file mode 100644
index 0000000..21515fc
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/m4/TestAWT.java
@@ -0,0 +1,11 @@
+// Test for working AWT.
+public class TestAWT {
+ public static void main (String[] args) {
+ try {
+ java.awt.Toolkit.getDefaultToolkit();
+ } catch (Throwable e) {
+ System.exit(1);
+ }
+ System.exit(0);
+ }
+}
diff --git a/gettext-tools/examples/hello-java-swing/po/LINGUAS b/gettext-tools/examples/hello-java-swing/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-java-swing/po/Makefile.am b/gettext-tools/examples/hello-java-swing/po/Makefile.am
new file mode 100644
index 0000000..b8cf04b
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/Makefile.am
@@ -0,0 +1,271 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ Hello.java
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS =
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGCAT = msgcat
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
+PROPERTIESFILES = @PROPERTIESFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
+CLASSFILES = @CLASSFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(DOMAIN)_$(lang).properties)
+CATALOGS = @JAVACATALOGS@
+
+SUFFIXES = .po .sed .sin .nop .po-create .po-update
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: stamp-po
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(PROPERTIESFILES) are
+# empty. In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ $(MAKE) update-properties
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+
+MAINTAINERCLEANFILES = stamp-po
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-properties
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-properties: Makefile $(DOMAIN).pot $(POFILES)
+ @echo "$(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
+ $(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
+ @for f in $(POFILES); do \
+ lang=`echo $$f | sed -e 's,.*/,,' -e 's,\.po$$,,'`; \
+ echo "$(GMSGFMT) -c --statistics --verbose -o /dev/null $(srcdir)/$${lang}.po"; \
+ $(GMSGFMT) -c --statistics --verbose -o /dev/null $(srcdir)/$${lang}.po || exit 1; \
+ echo "$(MSGCAT) --properties-output -o $(top_srcdir)/$(DOMAIN)_$$lang.properties $(srcdir)/$${lang}.po"; \
+ $(MSGCAT) --properties-output -o $(top_srcdir)/$(DOMAIN)_$$lang.properties.tmp $(srcdir)/$${lang}.po || exit 1; \
+ mv $(top_srcdir)/$(DOMAIN)_$$lang.properties.tmp $(top_srcdir)/$(DOMAIN)_$$lang.properties || exit 1; \
+ done
+
+# Alternatively, we could create classes instead of properties files.
+update-classes: Makefile $(DOMAIN).pot $(POFILES)
+ @echo "$(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
+ $(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
+ @for f in $(POFILES); do \
+ lang=`echo $$f | sed -e 's,.*/,,' -e 's,\.po$$,,'`; \
+ echo "$(GMSGFMT) -c --statistics --verbose -j -d $(top_srcdir) -r $(DOMAIN) -l $${lang} $(srcdir)/$${lang}.po"; \
+ $(GMSGFMT) -c --statistics --verbose -j -d $(top_srcdir) -r $(DOMAIN) -l $${lang} $(srcdir)/$${lang}.po || exit 1; \
+ done
+
+echo-catalogs:
+ @echo $(CATALOGS)
diff --git a/gettext-tools/examples/hello-java-swing/po/af.po b/gettext-tools/examples/hello-java-swing/po/af.po
new file mode 100644
index 0000000..c0724c9
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Hierdie program loop as prosesnommer {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/ast.po b/gettext-tools/examples/hello-java-swing/po/ast.po
new file mode 100644
index 0000000..d6322f1
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: Hello.java:25
+#, fuzzy, java-format
+msgid "This program is running as process number {0}."
+msgstr "Esti programa ta corriendo como'l procesu nmberu {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/bg.po b/gettext-tools/examples/hello-java-swing/po/bg.po
new file mode 100644
index 0000000..60e9831
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-java-swing package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-java-swing 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Програмата е пусната под процес номер {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/ca.po b/gettext-tools/examples/hello-java-swing/po/ca.po
new file mode 100644
index 0000000..961a26e
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-java-swing.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Aquest programa està corrent amb el número de procés {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/cs.po b/gettext-tools/examples/hello-java-swing/po/cs.po
new file mode 100644
index 0000000..b77b945
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Tento program běží jako proces číslo {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/da.po b/gettext-tools/examples/hello-java-swing/po/da.po
new file mode 100644
index 0000000..1c99c85
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-java-swing.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dette program krer som proces nummer {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/de.po b/gettext-tools/examples/hello-java-swing/po/de.po
new file mode 100644
index 0000000..78515e3
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-java-swing.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/el.po b/gettext-tools/examples/hello-java-swing/po/el.po
new file mode 100644
index 0000000..2885b1c
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-java-swing
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/eo.po b/gettext-tools/examples/hello-java-swing/po/eo.po
new file mode 100644
index 0000000..0acfea8
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/es.po b/gettext-tools/examples/hello-java-swing/po/es.po
new file mode 100644
index 0000000..73b13ea
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está corriendo como el proceso número {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/fi.po b/gettext-tools/examples/hello-java-swing/po/fi.po
new file mode 100644
index 0000000..754af96
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Tämän ohjelman prosessinumero on {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/fr.po b/gettext-tools/examples/hello-java-swing/po/fr.po
new file mode 100644
index 0000000..a9d483f
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-java-swing 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ce programme est exécuté en tant que processus numéro {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/ga.po b/gettext-tools/examples/hello-java-swing/po/ga.po
new file mode 100644
index 0000000..1d0b309
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-java-swing.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-java-swing package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "T an clr seo rith mar phriseas {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/gl.po b/gettext-tools/examples/hello-java-swing/po/gl.po
new file mode 100644
index 0000000..4d9d889
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-java-swing package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa estase executando como o proceso número {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/hr.po b/gettext-tools/examples/hello-java-swing/po/hr.po
new file mode 100644
index 0000000..9267abb
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-java-swing to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ovaj program je pokrenut kao proces broj {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/hu.po b/gettext-tools/examples/hello-java-swing/po/hu.po
new file mode 100644
index 0000000..fd68ff3
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-java-swing.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ez a program a(z) {0} folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-java-swing/po/id.po b/gettext-tools/examples/hello-java-swing/po/id.po
new file mode 100644
index 0000000..b73da23
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-java-swing-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Program ini berjalan sebagai proses nomor {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/it.po b/gettext-tools/examples/hello-java-swing/po/it.po
new file mode 100644
index 0000000..6f6f940
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-java-swing.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Questo programma è in esecuzione con numero di processo {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/ja.po b/gettext-tools/examples/hello-java-swing/po/ja.po
new file mode 100644
index 0000000..9c716d9
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-java-swing' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-java-swing 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Υץϥץֹ {0} ưƤޤ."
diff --git a/gettext-tools/examples/hello-java-swing/po/ky.po b/gettext-tools/examples/hello-java-swing/po/ky.po
new file mode 100644
index 0000000..c19f051
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-java-swing' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Бул программа {0} процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-java-swing/po/lv.po b/gettext-tools/examples/hello-java-swing/po/lv.po
new file mode 100644
index 0000000..aecfb69
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-java-swing
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Šī programma darbojas kā process ar numuru {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/ms.po b/gettext-tools/examples/hello-java-swing/po/ms.po
new file mode 100644
index 0000000..563c5b1
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/ms.po
@@ -0,0 +1,26 @@
+# hello-java-swing Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-java-swing package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Program ini dilaksanakan sebagai proses bernombor {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/mt.po b/gettext-tools/examples/hello-java-swing/po/mt.po
new file mode 100644
index 0000000..c7a35df
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/mt.po
@@ -0,0 +1,26 @@
+# hello-java-swing-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/nb.po b/gettext-tools/examples/hello-java-swing/po/nb.po
new file mode 100644
index 0000000..c74d746
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-java-swing package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dette programmet kjører som prosess nummer {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/nl.po b/gettext-tools/examples/hello-java-swing/po/nl.po
new file mode 100644
index 0000000..c288f07
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-java-swing.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dit programma draait als proces nummer {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/pl.po b/gettext-tools/examples/hello-java-swing/po/pl.po
new file mode 100644
index 0000000..b1f6c60
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-java-swing domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ten program działa jako proces o numerze {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/pt.po b/gettext-tools/examples/hello-java-swing/po/pt.po
new file mode 100644
index 0000000..a566b0c
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-java-swing' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-java-swing package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está a ser executado com o número de processo {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/pt_BR.po b/gettext-tools/examples/hello-java-swing/po/pt_BR.po
new file mode 100644
index 0000000..4d4445e
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está executando com número de processo {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/ro.po b/gettext-tools/examples/hello-java-swing/po/ro.po
new file mode 100644
index 0000000..9e382a4
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-java-swing-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-java-swing.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Acest program este rulat ca procesul numrul {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/ru.po b/gettext-tools/examples/hello-java-swing/po/ru.po
new file mode 100644
index 0000000..fc689d8
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-java-swing-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Эта программа выполняется как процесс под номером {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/sk.po b/gettext-tools/examples/hello-java-swing/po/sk.po
new file mode 100644
index 0000000..e83a7bc
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-java-swing package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-java-swing 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Tento program beží ako proces s číslom {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/sl.po b/gettext-tools/examples/hello-java-swing/po/sl.po
new file mode 100644
index 0000000..03ccb1d
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-java-swing-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ta program teče kot proces številka {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/sr.po b/gettext-tools/examples/hello-java-swing/po/sr.po
new file mode 100644
index 0000000..830b536
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-java-swing.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Овај програм се извршава као процес број {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/sv.po b/gettext-tools/examples/hello-java-swing/po/sv.po
new file mode 100644
index 0000000..aaba073
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-java-swing.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Detta program kör som process nummer {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/tr.po b/gettext-tools/examples/hello-java-swing/po/tr.po
new file mode 100644
index 0000000..3e71f6a
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Bu yazılım, {0} süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-java-swing/po/uk.po b/gettext-tools/examples/hello-java-swing/po/uk.po
new file mode 100644
index 0000000..6c7642a
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-java-swing
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ця програма виконується як процес з номером {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/vi.po b/gettext-tools/examples/hello-java-swing/po/vi.po
new file mode 100644
index 0000000..e2f1aaa
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Chương trình này đang chạy với mã số tiến trình {0}."
diff --git a/gettext-tools/examples/hello-java-swing/po/zh_CN.po b/gettext-tools/examples/hello-java-swing/po/zh_CN.po
new file mode 100644
index 0000000..88bc7d0
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-java-swing.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-java-swing package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "此程序正以进程号 {0} 运行。"
diff --git a/gettext-tools/examples/hello-java-swing/po/zh_HK.po b/gettext-tools/examples/hello-java-swing/po/zh_HK.po
new file mode 100644
index 0000000..b4a9a60
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-java-swing.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "本程式正在執行中,進程編號為 {0}。"
diff --git a/gettext-tools/examples/hello-java-swing/po/zh_TW.po b/gettext-tools/examples/hello-java-swing/po/zh_TW.po
new file mode 100644
index 0000000..ba8b7a9
--- /dev/null
+++ b/gettext-tools/examples/hello-java-swing/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-java-swing.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:20
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "本程式正在執行,行程編號為 {0}。"
diff --git a/gettext-tools/examples/hello-java/Hello.java b/gettext-tools/examples/hello-java/Hello.java
new file mode 100644
index 0000000..bb4c5b3
--- /dev/null
+++ b/gettext-tools/examples/hello-java/Hello.java
@@ -0,0 +1,37 @@
+// Example for use of GNU gettext.
+// This file is in the public domain.
+//
+// Source code of the Java program.
+
+import java.util.*;
+import java.io.*;
+import java.text.*;
+import gnu.gettext.*;
+
+public class Hello {
+ public static void main (String[] args) {
+ ResourceBundle catalog = ResourceBundle.getBundle("hello-java");
+ System.out.println(GettextResource.gettext(catalog,"Hello, world!"));
+ System.out.println(
+ MessageFormat.format(
+ GettextResource.gettext(catalog,
+ "This program is running as process number {0}."),
+ new Object[] { getPid() }));
+ }
+
+ /* Return the process ID of the current process. */
+ private static String getPid () {
+ try {
+ String[] args = new String[] { "/bin/sh", "-c", "echo $PPID" };
+ Process p = Runtime.getRuntime().exec(args);
+ InputStream p_out = p.getInputStream();
+ String s = (new BufferedReader(new InputStreamReader(p_out))).readLine();
+ p.destroy();
+ if (s != null)
+ return s;
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ return "???";
+ }
+}
diff --git a/gettext-tools/examples/hello-java/INSTALL b/gettext-tools/examples/hello-java/INSTALL
new file mode 100644
index 0000000..99cf9c8
--- /dev/null
+++ b/gettext-tools/examples/hello-java/INSTALL
@@ -0,0 +1,11 @@
+This example relies on:
+ - a Java implementation
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-java/Makefile.am b/gettext-tools/examples/hello-java/Makefile.am
new file mode 100644
index 0000000..82d58f2
--- /dev/null
+++ b/gettext-tools/examples/hello-java/Makefile.am
@@ -0,0 +1,165 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_JAVAPROGRAMS = hello
+
+# The source files of the 'hello' program.
+hello_SOURCES = Hello.java
+hello_CLASSES = Hello.class
+
+# The entry point of the 'hello' program.
+hello_MAINCLASS = Hello
+
+# The link dependencies of the 'hello' program.
+hello_JAVALIBS = @LIBINTL_JAR@
+
+# The resources of the 'hello' program, excluding message catalogs, but
+# including the fallback message catalog.
+hello_RESOURCES = hello-java.properties
+
+# Resources that are generated from PO files.
+MAINTAINERCLEANFILES = hello-java*.properties
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
+
+
+# ----------------- General rules for compiling Java programs -----------------
+
+jardir = $(datadir)/$(PACKAGE)
+pkgdatadir = $(datadir)/$(PACKAGE)
+pkglibdir = $(libdir)/$(PACKAGE)
+
+GCJ = @GCJ@
+GCJFLAGS = @GCJFLAGS@
+JAR = @JAR@
+JAVACOMP = $(SHELL) javacomp.sh
+AR = ar
+RANLIB = @RANLIB@
+
+EXTRA_DIST += $(hello_SOURCES)
+CLEANFILES =
+DISTCLEANFILES = javacomp.sh javaexec.sh
+
+
+if USEJEXE
+
+
+# Rules for compiling Java programs as native code.
+
+all-local: $(hello_MAINCLASS)$(EXEEXT) hello-resources.jar hello.sh
+
+# Does not work yet with GCC 3.3.
+#$(hello_MAINCLASS)$(EXEEXT): $(srcdir)/Hello.java
+# CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS) $(GCJ) $(GCJFLAGS) $(srcdir)/Hello.java $(hello_JAVALIBS) --main=$(hello_MAINCLASS) -o $@
+
+$(hello_MAINCLASS)$(EXEEXT): Hello.$(OBJEXT) libintl.a
+ $(GCJ) $(GCJFLAGS) Hello.$(OBJEXT) libintl.a --main=$(hello_MAINCLASS) -o $@
+
+Hello.$(OBJEXT): $(srcdir)/Hello.java
+ CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS) $(GCJ) $(GCJFLAGS) -c $(srcdir)/Hello.java -o $@
+
+libintl.a:
+ rm -rf tmpdir
+ mkdir tmpdir
+ cd tmpdir && $(JAR) xf @LIBINTL_JAR@ && \
+ for f in `find . -name '*.class' -print`; do \
+ $(GCJ) $(GCJFLAGS) -c $$f -o `echo $$f | sed -e 's,^\./,,' -e 's,\.class$$,,' -e 's,/,.,g'`.$(OBJEXT) || exit 1; \
+ done && \
+ rm -f ../libintl.a && \
+ ar cru ../libintl.a `find . -name '*.$(OBJEXT)' -print`
+ rm -rf tmpdir
+ $(RANLIB) $@
+
+hello-resources.jar:
+ catalogs=`MAKEFLAGS= $(MAKE) -s -C po echo-catalogs`; \
+ $(JAR) cf $@ $(hello_RESOURCES) $$catalogs
+
+hello.sh:
+ { echo '#!/bin/sh'; \
+ echo "CLASSPATH='$(jardir)/hello-resources.jar'\$${CLASSPATH+\"@CLASSPATH_SEPARATOR@\$$CLASSPATH\"}"; \
+ echo "export CLASSPATH"; \
+ echo "exec '$(pkglibdir)/$(hello_MAINCLASS)$(EXEEXT)' \"\$$@\""; \
+ } > $@
+
+install-exec-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ $(INSTALL_SCRIPT) hello.sh $(DESTDIR)$(bindir)/hello
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)
+ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $(hello_MAINCLASS)$(EXEEXT) $(DESTDIR)$(pkglibdir)/$(hello_MAINCLASS)$(EXEEXT)
+
+install-data-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(jardir)
+ $(INSTALL_DATA) hello-resources.jar $(DESTDIR)$(jardir)/hello-resources.jar
+
+installdirs-local:
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ $(MKDIR_P) $(DESTDIR)$(pkglibdir)
+ $(MKDIR_P) $(DESTDIR)$(jardir)
+
+uninstall-local:
+ rm -f $(DESTDIR)$(bindir)/hello
+ rm -f $(DESTDIR)$(pkglibdir)/$(hello_MAINCLASS)$(EXEEXT)
+ rm -f $(DESTDIR)$(jardir)/hello-resources.jar
+
+CLEANFILES += $(hello_MAINCLASS)$(EXEEXT) *.$(OBJEXT) *.a tmpdir hello-resources.jar hello.sh
+
+
+else
+
+
+# Rules for compiling Java programs as jar libraries.
+# This is the preferred mode during development, because you can easily test
+# the program without installing it, simply by doing "java -jar hello.jar".
+
+all-local: hello.jar hello.sh
+
+hello.jar: $(hello_CLASSES)
+ { echo "Manifest-Version: 1.0"; echo "Main-Class: $(hello_MAINCLASS)"; echo 'Class-Path: @LIBINTL_JAR@'; } > Manifest.mf
+ catalogs=`MAKEFLAGS= $(MAKE) -s -C po echo-catalogs`; \
+ $(JAR) cfm $@ Manifest.mf Hello*.class $(hello_RESOURCES) $$catalogs
+ rm -f Manifest.mf
+
+Hello.class: $(srcdir)/Hello.java
+ CLASSPATH=.@CLASSPATH_SEPARATOR@$(hello_JAVALIBS) $(JAVACOMP) -d . $(srcdir)/Hello.java
+
+hello.sh:
+ { echo '#!/bin/sh'; \
+ echo "CLASSPATH='$(jardir)/hello.jar@CLASSPATH_SEPARATOR@$(hello_JAVALIBS)'\$${CLASSPATH+\"@CLASSPATH_SEPARATOR@\$$CLASSPATH\"}"; \
+ echo "export CLASSPATH"; \
+ echo "exec /bin/sh '$(pkgdatadir)/javaexec.sh' $(hello_MAINCLASS) \"\$$@\""; \
+ } > $@
+
+install-exec-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ $(INSTALL_SCRIPT) hello.sh $(DESTDIR)$(bindir)/hello
+
+install-data-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(jardir)
+ $(INSTALL_DATA) hello.jar $(DESTDIR)$(jardir)/hello.jar
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)
+ $(INSTALL_DATA) javaexec.sh $(DESTDIR)$(pkgdatadir)/javaexec.sh
+
+installdirs-local:
+ $(MKDIR_P) $(DESTDIR)$(jardir)
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)
+
+uninstall-local:
+ rm -f $(DESTDIR)$(bindir)/hello
+ rm -f $(DESTDIR)$(jardir)/hello.jar
+ rm -f $(DESTDIR)$(pkgdatadir)/javaexec.sh
+
+CLEANFILES += hello.jar Hello*.class Manifest.mf hello.sh
+
+
+endif
diff --git a/gettext-tools/examples/hello-java/autoclean.sh b/gettext-tools/examples/hello-java/autoclean.sh
new file mode 100755
index 0000000..50f9bca
--- /dev/null
+++ b/gettext-tools/examples/hello-java/autoclean.sh
@@ -0,0 +1,36 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Brought in by explicit copy.
+rm -f m4/gcj.m4
+rm -f m4/javacomp.m4
+rm -f m4/javaexec.m4
+rm -f javacomp.sh.in
+rm -f javaexec.sh.in
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f hello-java*.properties
diff --git a/gettext-tools/examples/hello-java/autogen.sh b/gettext-tools/examples/hello-java/autogen.sh
new file mode 100755
index 0000000..8568350
--- /dev/null
+++ b/gettext-tools/examples/hello-java/autogen.sh
@@ -0,0 +1,47 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/gcj.m4 m4/gcj.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/javacomp.m4 m4/javacomp.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-m4}/javaexec.m4 m4/javaexec.m4
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/javacomp.sh.in javacomp.sh.in
+cp -p ${EXAMPLESCONFIGDIR-$GETTEXT_TOPSRCDIR/build-aux}/javaexec.sh.in javaexec.sh.in
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+./configure
+cd po
+make update-po
+cd ..
+make distclean
diff --git a/gettext-tools/examples/hello-java/configure.ac b/gettext-tools/examples/hello-java/configure.ac
new file mode 100644
index 0000000..6b7a94b
--- /dev/null
+++ b/gettext-tools/examples/hello-java/configure.ac
@@ -0,0 +1,67 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(Hello.java)
+AM_INIT_AUTOMAKE(hello-java, 0)
+
+dnl Check whether we can build native executable.
+AC_ARG_ENABLE(java-exe,
+ [ --disable-java-exe compile Java to bytecode only, not to native code],
+ :, enable_java_exe=yes)
+gt_GCJ
+if test "$enable_java_exe" != no && test -n "$HAVE_GCJ"; then
+ BUILDJAVAEXE=yes
+else
+ BUILDJAVAEXE=no
+fi
+AC_SUBST(BUILDJAVAEXE)
+AM_CONDITIONAL([USEJEXE], [test "$BUILDJAVAEXE" = yes])
+AC_PROG_RANLIB
+
+dnl Check whether we can execute Java programs.
+gt_JAVAEXEC
+dnl Check whether we can build Java programs.
+gt_JAVACOMP([1.3])
+AC_CHECK_PROG(JAR, jar, jar)
+if test -n "$HAVE_JAVACOMP" && test -n "$JAR"; then
+ BUILDJAVA=yes
+else
+ BUILDJAVA=no
+fi
+AC_SUBST(BUILDJAVA)
+if test -n "$HAVE_JAVAEXEC" && test "$BUILDJAVA" = yes; then
+ TESTJAVA=yes
+else
+ TESTJAVA=no
+fi
+AC_SUBST(TESTJAVA)
+
+dnl Checks for compiler output filename suffixes.
+AC_OBJEXT
+AC_EXEEXT
+
+dnl Checks for needed libraries.
+AM_PATH_PROG_WITH_TEST([GETTEXT_WITH_LIBINTL_JAR], [gettext],
+ [{ basedir=`echo "$ac_dir" | sed -e 's,/bin$,,'`; test -r "$basedir"/share/gettext/libintl.jar; }])
+if test -z "$GETTEXT_WITH_LIBINTL_JAR"; then
+ echo "Required library libintl.jar not found." 1>&2
+ exit 1
+fi
+changequote(,)dnl
+basedir=`echo "$GETTEXT_WITH_LIBINTL_JAR" | sed -e 's,/[^/]*$,,' | sed -e 's,/bin$,,'`
+changequote([, ])dnl
+LIBINTL_JAR="$basedir"/share/gettext/libintl.jar
+AC_SUBST([LIBINTL_JAR])
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([javacomp.sh])
+AC_CONFIG_FILES([javaexec.sh])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-java/m4/Makefile.am b/gettext-tools/examples/hello-java/m4/Makefile.am
new file mode 100644
index 0000000..20c951f
--- /dev/null
+++ b/gettext-tools/examples/hello-java/m4/Makefile.am
@@ -0,0 +1,3 @@
+EXTRA_DIST = \
+ nls.m4 po.m4 \
+ gcj.m4 javacomp.m4 javaexec.m4
diff --git a/gettext-tools/examples/hello-java/po/LINGUAS b/gettext-tools/examples/hello-java/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-java/po/Makefile.am b/gettext-tools/examples/hello-java/po/Makefile.am
new file mode 100644
index 0000000..c651bc7
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/Makefile.am
@@ -0,0 +1,271 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ Hello.java
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS =
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGCAT = msgcat
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
+PROPERTIESFILES = @PROPERTIESFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
+CLASSFILES = @CLASSFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(DOMAIN)_$(lang).properties)
+CATALOGS = @JAVACATALOGS@
+
+SUFFIXES = .po .sed .sin .nop .po-create .po-update
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: stamp-po
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(PROPERTIESFILES) are
+# empty. In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test -z "$(PROPERTIESFILES)" || $(MAKE) $(PROPERTIESFILES) \
+ $(MAKE) update-properties
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+
+MAINTAINERCLEANFILES = stamp-po
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-properties
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-properties: Makefile $(DOMAIN).pot $(POFILES)
+ @echo "$(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
+ $(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
+ @for f in $(POFILES); do \
+ lang=`echo $$f | sed -e 's,.*/,,' -e 's,\.po$$,,'`; \
+ echo "$(GMSGFMT) -c --statistics --verbose -o /dev/null $(srcdir)/$${lang}.po"; \
+ $(GMSGFMT) -c --statistics --verbose -o /dev/null $(srcdir)/$${lang}.po || exit 1; \
+ echo "$(MSGCAT) --properties-output -o $(top_srcdir)/$(DOMAIN)_$$lang.properties $(srcdir)/$${lang}.po"; \
+ $(MSGCAT) --properties-output -o $(top_srcdir)/$(DOMAIN)_$$lang.properties.tmp $(srcdir)/$${lang}.po || exit 1; \
+ mv $(top_srcdir)/$(DOMAIN)_$$lang.properties.tmp $(top_srcdir)/$(DOMAIN)_$$lang.properties || exit 1; \
+ done
+
+# Alternatively, we could create classes instead of properties files.
+update-classes: Makefile $(DOMAIN).pot $(POFILES)
+ @echo "$(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties"; \
+ $(MSGINIT) -i $(DOMAIN).pot --no-translator -l en --properties-output -o $(top_srcdir)/$(DOMAIN).properties || { rm -f $(top_srcdir)/$(DOMAIN).properties; exit 1; }
+ @for f in $(POFILES); do \
+ lang=`echo $$f | sed -e 's,.*/,,' -e 's,\.po$$,,'`; \
+ echo "$(GMSGFMT) -c --statistics --verbose -j -d $(top_srcdir) -r $(DOMAIN) -l $${lang} $(srcdir)/$${lang}.po"; \
+ $(GMSGFMT) -c --statistics --verbose -j -d $(top_srcdir) -r $(DOMAIN) -l $${lang} $(srcdir)/$${lang}.po || exit 1; \
+ done
+
+echo-catalogs:
+ @echo $(CATALOGS)
diff --git a/gettext-tools/examples/hello-java/po/af.po b/gettext-tools/examples/hello-java/po/af.po
new file mode 100644
index 0000000..ef46c7e
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Hierdie program loop as prosesnommer {0}."
diff --git a/gettext-tools/examples/hello-java/po/ast.po b/gettext-tools/examples/hello-java/po/ast.po
new file mode 100644
index 0000000..a0633b7
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: Hello.java:18
+#, fuzzy, java-format
+msgid "This program is running as process number {0}."
+msgstr "Esti programa ta corriendo como'l procesu nmberu {0}."
diff --git a/gettext-tools/examples/hello-java/po/bg.po b/gettext-tools/examples/hello-java/po/bg.po
new file mode 100644
index 0000000..975bc74
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-java package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-java 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Програмата е пусната под процес номер {0}."
diff --git a/gettext-tools/examples/hello-java/po/ca.po b/gettext-tools/examples/hello-java/po/ca.po
new file mode 100644
index 0000000..7edbeda
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-java.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Aquest programa està corrent amb el número de procés {0}."
diff --git a/gettext-tools/examples/hello-java/po/cs.po b/gettext-tools/examples/hello-java/po/cs.po
new file mode 100644
index 0000000..6d94ab8
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Tento program běží jako proces číslo {0}."
diff --git a/gettext-tools/examples/hello-java/po/da.po b/gettext-tools/examples/hello-java/po/da.po
new file mode 100644
index 0000000..d668c9a
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-java.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dette program krer som proces nummer {0}."
diff --git a/gettext-tools/examples/hello-java/po/de.po b/gettext-tools/examples/hello-java/po/de.po
new file mode 100644
index 0000000..cd05bc7
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-java.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer {0}."
diff --git a/gettext-tools/examples/hello-java/po/el.po b/gettext-tools/examples/hello-java/po/el.po
new file mode 100644
index 0000000..e8c52b3
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-java
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας {0}."
diff --git a/gettext-tools/examples/hello-java/po/eo.po b/gettext-tools/examples/hello-java/po/eo.po
new file mode 100644
index 0000000..61591ea
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero {0}."
diff --git a/gettext-tools/examples/hello-java/po/es.po b/gettext-tools/examples/hello-java/po/es.po
new file mode 100644
index 0000000..f37fd67
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está corriendo como el proceso número {0}."
diff --git a/gettext-tools/examples/hello-java/po/fi.po b/gettext-tools/examples/hello-java/po/fi.po
new file mode 100644
index 0000000..0cd9c8a
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Tämän ohjelman prosessinumero on {0}."
diff --git a/gettext-tools/examples/hello-java/po/fr.po b/gettext-tools/examples/hello-java/po/fr.po
new file mode 100644
index 0000000..a06e3ed
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-java 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ce programme est exécuté en tant que processus numéro {0}."
diff --git a/gettext-tools/examples/hello-java/po/ga.po b/gettext-tools/examples/hello-java/po/ga.po
new file mode 100644
index 0000000..5481350
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-java.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-java package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "T an clr seo rith mar phriseas {0}."
diff --git a/gettext-tools/examples/hello-java/po/gl.po b/gettext-tools/examples/hello-java/po/gl.po
new file mode 100644
index 0000000..7206b44
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-java package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa estase executando como o proceso número {0}."
diff --git a/gettext-tools/examples/hello-java/po/hr.po b/gettext-tools/examples/hello-java/po/hr.po
new file mode 100644
index 0000000..18378ee
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-java to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ovaj program je pokrenut kao proces broj {0}."
diff --git a/gettext-tools/examples/hello-java/po/hu.po b/gettext-tools/examples/hello-java/po/hu.po
new file mode 100644
index 0000000..f21d211
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-java.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ez a program a(z) {0} folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-java/po/id.po b/gettext-tools/examples/hello-java/po/id.po
new file mode 100644
index 0000000..1482517
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-java-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Program ini berjalan sebagai proses nomor {0}."
diff --git a/gettext-tools/examples/hello-java/po/it.po b/gettext-tools/examples/hello-java/po/it.po
new file mode 100644
index 0000000..29d3b3f
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-java.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Questo programma è in esecuzione con numero di processo {0}."
diff --git a/gettext-tools/examples/hello-java/po/ja.po b/gettext-tools/examples/hello-java/po/ja.po
new file mode 100644
index 0000000..cf0b570
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-java' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-java 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Υץϥץֹ {0} ưƤޤ."
diff --git a/gettext-tools/examples/hello-java/po/ky.po b/gettext-tools/examples/hello-java/po/ky.po
new file mode 100644
index 0000000..74859ce
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-java' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Бул программа {0} процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-java/po/lv.po b/gettext-tools/examples/hello-java/po/lv.po
new file mode 100644
index 0000000..213dc08
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-java
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Šī programma darbojas kā process ar numuru {0}."
diff --git a/gettext-tools/examples/hello-java/po/ms.po b/gettext-tools/examples/hello-java/po/ms.po
new file mode 100644
index 0000000..b6aff53
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/ms.po
@@ -0,0 +1,26 @@
+# hello-java Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-java package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Program ini dilaksanakan sebagai proses bernombor {0}."
diff --git a/gettext-tools/examples/hello-java/po/mt.po b/gettext-tools/examples/hello-java/po/mt.po
new file mode 100644
index 0000000..1887fa8
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/mt.po
@@ -0,0 +1,26 @@
+# hello-java-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru {0}."
diff --git a/gettext-tools/examples/hello-java/po/nb.po b/gettext-tools/examples/hello-java/po/nb.po
new file mode 100644
index 0000000..6b21347
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-java package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dette programmet kjører som prosess nummer {0}."
diff --git a/gettext-tools/examples/hello-java/po/nl.po b/gettext-tools/examples/hello-java/po/nl.po
new file mode 100644
index 0000000..06f1d39
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-java.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Dit programma draait als proces nummer {0}."
diff --git a/gettext-tools/examples/hello-java/po/pl.po b/gettext-tools/examples/hello-java/po/pl.po
new file mode 100644
index 0000000..7817562
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-java domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ten program działa jako proces o numerze {0}."
diff --git a/gettext-tools/examples/hello-java/po/pt.po b/gettext-tools/examples/hello-java/po/pt.po
new file mode 100644
index 0000000..6fbb117
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-java' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-java package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está a ser executado com o número de processo {0}."
diff --git a/gettext-tools/examples/hello-java/po/pt_BR.po b/gettext-tools/examples/hello-java/po/pt_BR.po
new file mode 100644
index 0000000..f192f94
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está executando com número de processo {0}."
diff --git a/gettext-tools/examples/hello-java/po/ro.po b/gettext-tools/examples/hello-java/po/ro.po
new file mode 100644
index 0000000..d49338d
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-java-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-java.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Acest program este rulat ca procesul numrul {0}."
diff --git a/gettext-tools/examples/hello-java/po/ru.po b/gettext-tools/examples/hello-java/po/ru.po
new file mode 100644
index 0000000..5009c05
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-java-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Эта программа выполняется как процесс под номером {0}."
diff --git a/gettext-tools/examples/hello-java/po/sk.po b/gettext-tools/examples/hello-java/po/sk.po
new file mode 100644
index 0000000..36c2d2a
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-java package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-java 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Tento program beží ako proces s číslom {0}."
diff --git a/gettext-tools/examples/hello-java/po/sl.po b/gettext-tools/examples/hello-java/po/sl.po
new file mode 100644
index 0000000..378a6b7
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-java-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ta program teče kot proces številka {0}."
diff --git a/gettext-tools/examples/hello-java/po/sr.po b/gettext-tools/examples/hello-java/po/sr.po
new file mode 100644
index 0000000..c6825e2
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-java.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Овај програм се извршава као процес број {0}."
diff --git a/gettext-tools/examples/hello-java/po/sv.po b/gettext-tools/examples/hello-java/po/sv.po
new file mode 100644
index 0000000..fce2bde
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-java.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Detta program kör som process nummer {0}."
diff --git a/gettext-tools/examples/hello-java/po/tr.po b/gettext-tools/examples/hello-java/po/tr.po
new file mode 100644
index 0000000..3ae618f
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Bu yazılım, {0} süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-java/po/uk.po b/gettext-tools/examples/hello-java/po/uk.po
new file mode 100644
index 0000000..c46534f
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-java
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Ця програма виконується як процес з номером {0}."
diff --git a/gettext-tools/examples/hello-java/po/vi.po b/gettext-tools/examples/hello-java/po/vi.po
new file mode 100644
index 0000000..a0b772a
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "Chương trình này đang chạy với mã số tiến trình {0}."
diff --git a/gettext-tools/examples/hello-java/po/zh_CN.po b/gettext-tools/examples/hello-java/po/zh_CN.po
new file mode 100644
index 0000000..05309e4
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-java.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-java package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "此程序正以进程号 {0} 运行。"
diff --git a/gettext-tools/examples/hello-java/po/zh_HK.po b/gettext-tools/examples/hello-java/po/zh_HK.po
new file mode 100644
index 0000000..9fbd419
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-java.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "本程式正在執行中,進程編號為 {0}。"
diff --git a/gettext-tools/examples/hello-java/po/zh_TW.po b/gettext-tools/examples/hello-java/po/zh_TW.po
new file mode 100644
index 0000000..275ac15
--- /dev/null
+++ b/gettext-tools/examples/hello-java/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-java.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.java:14
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr "本程式正在執行,行程編號為 {0}。"
diff --git a/gettext-tools/examples/hello-librep/INSTALL b/gettext-tools/examples/hello-librep/INSTALL
new file mode 100644
index 0000000..c9970d8
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/INSTALL
@@ -0,0 +1,10 @@
+This example relies on librep.
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-librep/Makefile.am b/gettext-tools/examples/hello-librep/Makefile.am
new file mode 100644
index 0000000..86f0708
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/Makefile.am
@@ -0,0 +1,29 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_SCRIPTS = hello
+
+# Compilation of librep programs.
+SUFFIXES = .jl .jlc
+.jl.jlc:
+ rep --batch --no-rc -l compiler -f compile-batch $<
+CLEANFILES = *.jlc
+
+# Making a librep program executable.
+hello: hello.jlc
+ (echo '#!@REP@'; echo '!#'; cat $<) > $@
+ chmod a+x $@
+CLEANFILES += hello
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-librep/autoclean.sh b/gettext-tools/examples/hello-librep/autoclean.sh
new file mode 100755
index 0000000..7c2c432
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/autoclean.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-librep/autogen.sh b/gettext-tools/examples/hello-librep/autogen.sh
new file mode 100755
index 0000000..7e51979
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/autogen.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-librep/configure.ac b/gettext-tools/examples/hello-librep/configure.ac
new file mode 100644
index 0000000..b29e622
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/configure.ac
@@ -0,0 +1,38 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.jl.in)
+AM_INIT_AUTOMAKE(hello-librep, 0)
+
+dnl Check for availability of the librep interpreter.
+AC_PATH_PROG(REP, rep)
+if test -z "$REP"; then
+ echo "*** Essential program rep not found" 1>&2
+ exit 1
+fi
+AC_SUBST(REP)
+
+dnl The installed program must know where to find its message catalogs.
+dnl Unfortunately, prefix gets only finally determined at the end of configure.
+if test "X$prefix" = "XNONE"; then
+ final_prefix="$ac_default_prefix"
+else
+ final_prefix="$prefix"
+fi
+save_prefix="$prefix"
+prefix="$final_prefix"
+eval "datarootdir=\"${datarootdir}\""
+eval "localedir=\"${datadir}/locale\""
+prefix="$save_prefix"
+AC_SUBST(localedir)
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile hello.jl])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-librep/hello.jl.in b/gettext-tools/examples/hello-librep/hello.jl.in
new file mode 100644
index 0000000..2d321ca
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/hello.jl.in
@@ -0,0 +1,16 @@
+#| Example for use of GNU gettext.
+ This file is in the public domain.
+
+ Source code of the librep program.
+|#
+
+(require 'rep.i18n.gettext)
+
+(textdomain "hello-librep")
+(bindtextdomain "hello-librep" "@localedir@")
+
+(write standard-output (_ "Hello, world!"))
+(write standard-output "\n")
+(format standard-output (_ "This program is running as process number %d.")
+ (process-id))
+(write standard-output "\n")
diff --git a/gettext-tools/examples/hello-librep/m4/Makefile.am b/gettext-tools/examples/hello-librep/m4/Makefile.am
new file mode 100644
index 0000000..8a841b3
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/m4/Makefile.am
@@ -0,0 +1,2 @@
+EXTRA_DIST = \
+ nls.m4 po.m4
diff --git a/gettext-tools/examples/hello-librep/po/LINGUAS b/gettext-tools/examples/hello-librep/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-librep/po/Makefile.am b/gettext-tools/examples/hello-librep/po/Makefile.am
new file mode 100644
index 0000000..3eba3c1
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/Makefile.am
@@ -0,0 +1,356 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello.jl.in
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS =
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).gmo)
+GMOFILES = @GMOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(lang).gmo)
+CATALOGS = @CATALOGS@
+
+SUFFIXES = .po .gmo .mo .sed .sin .nop .po-create .po-update
+
+.po.mo:
+ @echo "$(MSGFMT) -c -o $@ $<"; \
+ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
+
+.po.gmo:
+ @lang=`echo $* | sed -e 's,.*/,,'`; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
+ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
+# In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+install-data-local: install-data-local-@USE_NLS@
+install-data-local-no: all-local
+install-data-local-yes: all-local
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
+ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
+ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
+ fi; \
+ done; \
+ done
+
+installdirs-local: installdirs-local-@USE_NLS@
+installdirs-local-no:
+installdirs-local-yes:
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ fi; \
+ done; \
+ done
+
+uninstall-local: uninstall-local-@USE_NLS@
+uninstall-local-no:
+uninstall-local-yes:
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ done; \
+ done
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+MOSTLYCLEANFILES += *.o
+
+DISTCLEANFILES = *.mo
+
+MAINTAINERCLEANFILES = stamp-po $(GMOFILES)
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-gmo
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-gmo: Makefile $(GMOFILES)
+ @:
diff --git a/gettext-tools/examples/hello-librep/po/af.po b/gettext-tools/examples/hello-librep/po/af.po
new file mode 100644
index 0000000..08def90
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Hierdie program loop as prosesnommer %d."
diff --git a/gettext-tools/examples/hello-librep/po/ast.po b/gettext-tools/examples/hello-librep/po/ast.po
new file mode 100644
index 0000000..bd1eb41
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %d."
diff --git a/gettext-tools/examples/hello-librep/po/bg.po b/gettext-tools/examples/hello-librep/po/bg.po
new file mode 100644
index 0000000..be383e7
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-librep package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-librep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Програмата е пусната под процес номер %d."
diff --git a/gettext-tools/examples/hello-librep/po/ca.po b/gettext-tools/examples/hello-librep/po/ca.po
new file mode 100644
index 0000000..2f75aff
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-librep.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Aquest programa està corrent amb el número de procés %d."
diff --git a/gettext-tools/examples/hello-librep/po/cs.po b/gettext-tools/examples/hello-librep/po/cs.po
new file mode 100644
index 0000000..a424215
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Tento program běží jako proces číslo %d."
diff --git a/gettext-tools/examples/hello-librep/po/da.po b/gettext-tools/examples/hello-librep/po/da.po
new file mode 100644
index 0000000..b9c0b5c
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-librep.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Dette program krer som proces nummer %d."
diff --git a/gettext-tools/examples/hello-librep/po/de.po b/gettext-tools/examples/hello-librep/po/de.po
new file mode 100644
index 0000000..4b2c3c8
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-librep.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %d."
diff --git a/gettext-tools/examples/hello-librep/po/el.po b/gettext-tools/examples/hello-librep/po/el.po
new file mode 100644
index 0000000..2ed0f4f
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-librep
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d."
diff --git a/gettext-tools/examples/hello-librep/po/eo.po b/gettext-tools/examples/hello-librep/po/eo.po
new file mode 100644
index 0000000..55d26a0
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %d."
diff --git a/gettext-tools/examples/hello-librep/po/es.po b/gettext-tools/examples/hello-librep/po/es.po
new file mode 100644
index 0000000..3389d58
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está corriendo como el proceso número %d."
diff --git a/gettext-tools/examples/hello-librep/po/fi.po b/gettext-tools/examples/hello-librep/po/fi.po
new file mode 100644
index 0000000..3ca83e8
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Tämän ohjelman prosessinumero on %d."
diff --git a/gettext-tools/examples/hello-librep/po/fr.po b/gettext-tools/examples/hello-librep/po/fr.po
new file mode 100644
index 0000000..f6657b1
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-librep 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Ce programme est exécuté en tant que processus numéro %d."
diff --git a/gettext-tools/examples/hello-librep/po/ga.po b/gettext-tools/examples/hello-librep/po/ga.po
new file mode 100644
index 0000000..34ec12a
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-librep.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-librep package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "T an clr seo rith mar phriseas %d."
diff --git a/gettext-tools/examples/hello-librep/po/gl.po b/gettext-tools/examples/hello-librep/po/gl.po
new file mode 100644
index 0000000..06b1256
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-librep package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Este programa estase executando como o proceso número %d."
diff --git a/gettext-tools/examples/hello-librep/po/hr.po b/gettext-tools/examples/hello-librep/po/hr.po
new file mode 100644
index 0000000..bb192b8
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-librep to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Ovaj program je pokrenut kao proces broj %d."
diff --git a/gettext-tools/examples/hello-librep/po/hu.po b/gettext-tools/examples/hello-librep/po/hu.po
new file mode 100644
index 0000000..4a1cfe6
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-librep.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Ez a program a(z) %d folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-librep/po/id.po b/gettext-tools/examples/hello-librep/po/id.po
new file mode 100644
index 0000000..416ed9f
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-librep-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Program ini berjalan sebagai proses nomor %d"
diff --git a/gettext-tools/examples/hello-librep/po/it.po b/gettext-tools/examples/hello-librep/po/it.po
new file mode 100644
index 0000000..b0fb817
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-librep.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Questo programma è in esecuzione con numero di processo %d."
diff --git a/gettext-tools/examples/hello-librep/po/ja.po b/gettext-tools/examples/hello-librep/po/ja.po
new file mode 100644
index 0000000..ece93c3
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-librep' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-librep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Υץϥץֹ %d ưƤޤ."
diff --git a/gettext-tools/examples/hello-librep/po/ky.po b/gettext-tools/examples/hello-librep/po/ky.po
new file mode 100644
index 0000000..eeacd15
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-librep' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Бул программа %d процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-librep/po/lv.po b/gettext-tools/examples/hello-librep/po/lv.po
new file mode 100644
index 0000000..456db15
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-librep
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Šī programma darbojas kā process ar numuru %d."
diff --git a/gettext-tools/examples/hello-librep/po/ms.po b/gettext-tools/examples/hello-librep/po/ms.po
new file mode 100644
index 0000000..1330910
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/ms.po
@@ -0,0 +1,26 @@
+# hello-librep Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-librep package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %d."
diff --git a/gettext-tools/examples/hello-librep/po/mt.po b/gettext-tools/examples/hello-librep/po/mt.po
new file mode 100644
index 0000000..6d8d1ce
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/mt.po
@@ -0,0 +1,26 @@
+# hello-librep-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d."
diff --git a/gettext-tools/examples/hello-librep/po/nb.po b/gettext-tools/examples/hello-librep/po/nb.po
new file mode 100644
index 0000000..f657b8a
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-librep package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Dette programmet kjører som prosess nummer %d."
diff --git a/gettext-tools/examples/hello-librep/po/nl.po b/gettext-tools/examples/hello-librep/po/nl.po
new file mode 100644
index 0000000..f8e502b
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-librep.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Dit programma draait als proces nummer %d."
diff --git a/gettext-tools/examples/hello-librep/po/pl.po b/gettext-tools/examples/hello-librep/po/pl.po
new file mode 100644
index 0000000..107f5b4
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-librep domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Ten program działa jako proces o numerze %d."
diff --git a/gettext-tools/examples/hello-librep/po/pt.po b/gettext-tools/examples/hello-librep/po/pt.po
new file mode 100644
index 0000000..3340e82
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-librep' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-librep package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está a ser executado com o número de processo %d."
diff --git a/gettext-tools/examples/hello-librep/po/pt_BR.po b/gettext-tools/examples/hello-librep/po/pt_BR.po
new file mode 100644
index 0000000..280e24b
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está executando com número de processo %d."
diff --git a/gettext-tools/examples/hello-librep/po/ro.po b/gettext-tools/examples/hello-librep/po/ro.po
new file mode 100644
index 0000000..8bf2d2a
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-librep-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-librep.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Acest program este rulat ca procesul numrul %d."
diff --git a/gettext-tools/examples/hello-librep/po/ru.po b/gettext-tools/examples/hello-librep/po/ru.po
new file mode 100644
index 0000000..5f2df4f
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-librep-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Эта программа выполняется как процесс под номером %d."
diff --git a/gettext-tools/examples/hello-librep/po/sk.po b/gettext-tools/examples/hello-librep/po/sk.po
new file mode 100644
index 0000000..1406afd
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-librep package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-librep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Tento program beží ako proces s číslom %d."
diff --git a/gettext-tools/examples/hello-librep/po/sl.po b/gettext-tools/examples/hello-librep/po/sl.po
new file mode 100644
index 0000000..90c5a75
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-librep-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Ta program teče kot proces številka %d."
diff --git a/gettext-tools/examples/hello-librep/po/sr.po b/gettext-tools/examples/hello-librep/po/sr.po
new file mode 100644
index 0000000..446ac93
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-librep.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Овај програм се извршава као процес број %d."
diff --git a/gettext-tools/examples/hello-librep/po/sv.po b/gettext-tools/examples/hello-librep/po/sv.po
new file mode 100644
index 0000000..70c98e9
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-librep.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Detta program kör som process nummer %d."
diff --git a/gettext-tools/examples/hello-librep/po/tr.po b/gettext-tools/examples/hello-librep/po/tr.po
new file mode 100644
index 0000000..51ab6e7
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Bu yazılım, %d süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-librep/po/uk.po b/gettext-tools/examples/hello-librep/po/uk.po
new file mode 100644
index 0000000..459af10
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-librep
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Ця програма виконується як процес з номером %d."
diff --git a/gettext-tools/examples/hello-librep/po/vi.po b/gettext-tools/examples/hello-librep/po/vi.po
new file mode 100644
index 0000000..a2ca40b
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %d."
diff --git a/gettext-tools/examples/hello-librep/po/zh_CN.po b/gettext-tools/examples/hello-librep/po/zh_CN.po
new file mode 100644
index 0000000..1dfb607
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-librep.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-librep package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "此程序正以进程号 %d 运行。"
diff --git a/gettext-tools/examples/hello-librep/po/zh_HK.po b/gettext-tools/examples/hello-librep/po/zh_HK.po
new file mode 100644
index 0000000..0057c01
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-librep.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行中,進程編號為 %d。"
diff --git a/gettext-tools/examples/hello-librep/po/zh_TW.po b/gettext-tools/examples/hello-librep/po/zh_TW.po
new file mode 100644
index 0000000..945ac27
--- /dev/null
+++ b/gettext-tools/examples/hello-librep/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-librep.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.jl.in:12
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行,行程編號為 %d。"
diff --git a/gettext-tools/examples/hello-objc-gnome/INSTALL b/gettext-tools/examples/hello-objc-gnome/INSTALL
new file mode 100644
index 0000000..1e82f28
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/INSTALL
@@ -0,0 +1,19 @@
+This example relies on:
+ - the GNOME libraries (libgnomeui, libgnome, libgnomesupport, libart_lgpl)
+ and their dependencies: imlib (libgdk_imlib), audiofile (libaudiofile),
+ esound (libesd), zlib (libz).
+ - the GTK libraries (libgtk, libgdk)
+ - the glib libraries (libglib, libgmodule)
+ - the X11 libraries
+ - the GNOME / Objective C bindings (libobgnome)
+ - the GTK / Objective C bindings (libobgtk)
+ - the Objective C runtime libraries (libobjc)
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-objc-gnome/Makefile.am b/gettext-tools/examples/hello-objc-gnome/Makefile.am
new file mode 100644
index 0000000..5756f6a
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/Makefile.am
@@ -0,0 +1,29 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign no-dependencies
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_PROGRAMS = hello
+
+# The source files of the 'hello' program.
+hello_SOURCES = hello.m
+
+# Define a C macro LOCALEDIR indicating where catalogs will be installed.
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
+
+# Make sure the gnome.h include file is found.
+AM_CPPFLAGS = $(OBGNOME_INCLUDES) $(GNOME_INCLUDEDIR)
+
+# Link time dependencies.
+LDADD = $(GNOME_LIBDIR) $(GNOMEUI_LIBS) -lobgnome -lobgtk -lobjc @LIBINTL@
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-objc-gnome/autoclean.sh b/gettext-tools/examples/hello-objc-gnome/autoclean.sh
new file mode 100755
index 0000000..2968f90
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/autoclean.sh
@@ -0,0 +1,59 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by autopoint.
+rm -f ABOUT-NLS
+rm -f config.rpath
+rm -f m4/codeset.m4
+rm -f m4/gettext.m4
+rm -f m4/glibc2.m4
+rm -f m4/glibc21.m4
+rm -f m4/iconv.m4
+rm -f m4/intdiv0.m4
+rm -f m4/intl.m4
+rm -f m4/intldir.m4
+rm -f m4/intlmacosx.m4
+rm -f m4/intmax.m4
+rm -f m4/inttypes-pri.m4
+rm -f m4/inttypes_h.m4
+rm -f m4/lcmessage.m4
+rm -f m4/lib-ld.m4
+rm -f m4/lib-link.m4
+rm -f m4/lib-prefix.m4
+rm -f m4/lock.m4
+rm -f m4/longlong.m4
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/printf-posix.m4
+rm -f m4/progtest.m4
+rm -f m4/size_max.m4
+rm -f m4/stdint_h.m4
+rm -f m4/uintmax_t.m4
+rm -f m4/visibility.m4
+rm -f m4/wchar_t.m4
+rm -f m4/wint_t.m4
+rm -f m4/xsize.m4
+rm -f po/Makefile.in.in
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f config.guess
+rm -f config.sub
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-objc-gnome/autogen.sh b/gettext-tools/examples/hello-objc-gnome/autogen.sh
new file mode 100755
index 0000000..7fc2283
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/autogen.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+autopoint -f # was: gettextize -f -c
+rm po/Makevars.template
+rm po/Rules-quot
+rm po/boldquot.sed
+rm po/en@boldquot.header
+rm po/en@quot.header
+rm po/insert-header.sin
+rm po/quot.sed
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-objc-gnome/configure.ac b/gettext-tools/examples/hello-objc-gnome/configure.ac
new file mode 100644
index 0000000..9c64efe
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/configure.ac
@@ -0,0 +1,29 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.m)
+AM_INIT_AUTOMAKE(hello-objc-gnome, 0)
+
+AC_PROG_CC
+AC_SUBST([OBJC],["$CC"])
+AC_SUBST([OBJCFLAGS],["$CFLAGS"])
+
+GNOME_INIT
+OBGNOME_INCLUDES=
+obgnome_prefix=`obgnome-config --prefix`
+if test -n "$obgnome_prefix"; then
+ OBGNOME_INCLUDES="-I $obgnome_prefix/include"
+fi
+AC_SUBST([OBGNOME_INCLUDES])
+
+AC_CHECK_HEADERS([unistd.h])
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION(0.15)
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile.in])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-objc-gnome/hello.m b/gettext-tools/examples/hello-objc-gnome/hello.m
new file mode 100644
index 0000000..eb3a0bc
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/hello.m
@@ -0,0 +1,88 @@
+/* Example for use of GNU gettext.
+ This file is in the public domain.
+
+ Source code of the Objective C program. */
+
+
+/* Get GNOME declarations. */
+#include <obgnome/obgnome.h>
+
+/* Get getpid() declaration. */
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
+static void
+quit_callback (GtkWidget *widget, void *data)
+{
+ gtk_main_quit ();
+}
+
+int
+main (int argc, char *argv[])
+{
+ Gnome_App *application;
+ Gtk_Window *window;
+ Gtk_VBox *panel;
+ Gtk_Label *label1;
+ Gtk_Alignment *label1aligned;
+ Gtk_Label *label2;
+ Gtk_Alignment *label2aligned;
+ Gtk_Button *button;
+ Gtk_ButtonBox *buttonbar;
+
+ /* Initializations. */
+
+ application = [[Gnome_App alloc] initApp: PACKAGE : VERSION : argc : argv];
+ textdomain ("hello-objc-gnome");
+ bindtextdomain ("hello-objc-gnome", LOCALEDIR);
+
+ /* Create the GUI elements. */
+
+ window = [[Gtk_Window alloc] initWithWindowInfo: GTK_WINDOW_TOPLEVEL];
+ [window set_title: "Hello example"];
+ [window realize];
+ [window signal_connect: "delete_event" signalFunc: quit_callback funcData: NULL];
+
+ label1 = [[Gtk_Label alloc] initWithLabelInfo: _("Hello, world!")];
+
+ label1aligned = [[Gtk_Alignment alloc] initWithAlignmentInfo: 0.0 : 0.5 : 0 : 0];
+ [label1aligned add: label1];
+
+ label2 = [[Gtk_Label alloc] initWithLabelInfo: g_strdup_printf (_("This program is running as process number %d."), getpid ())];
+
+ label2aligned = [[Gtk_Alignment alloc] initWithAlignmentInfo: 0.0 : 0.5 : 0 : 0];
+ [label2aligned add: label2];
+
+ button = [Gtk_Button alloc];
+ [button initWithLabel: "OK"];
+ [button signal_connect: "clicked" signalFunc: quit_callback funcData: NULL];
+
+ buttonbar = [Gtk_HButtonBox new];
+ [buttonbar set_layout: GTK_BUTTONBOX_END];
+ [buttonbar pack_start_defaults: button];
+
+ panel = [[Gtk_VBox alloc] initWithVBoxInfo: FALSE : GNOME_PAD_SMALL];
+ [panel pack_start_defaults: label1aligned];
+ [panel pack_start_defaults: label2aligned];
+ [panel pack_start_defaults: buttonbar];
+
+ [window add: panel];
+
+ /* Make the GUI elements visible. */
+
+ [label1 show];
+ [label1aligned show];
+ [label2 show];
+ [label2aligned show];
+ [button show];
+ [buttonbar show];
+ [panel show];
+ [window show];
+
+ /* Start the event loop. */
+
+ gtk_main ();
+
+ return 0;
+}
diff --git a/gettext-tools/examples/hello-objc-gnome/m4/Makefile.am b/gettext-tools/examples/hello-objc-gnome/m4/Makefile.am
new file mode 100644
index 0000000..dc63c0f
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/m4/Makefile.am
@@ -0,0 +1,6 @@
+EXTRA_DIST = \
+ codeset.m4 gettext.m4 glibc2.m4 glibc21.m4 iconv.m4 intdiv0.m4 \
+ inttypes_h.m4 inttypes-pri.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 \
+ lib-prefix.m4 lock.m4 nls.m4 po.m4 progtest.m4 stdint_h.m4 \
+ uintmax_t.m4 visibility.m4 \
+ gnome.m4 gnome-gnorba-check.m4 gnome-orbit-check.m4
diff --git a/gettext-tools/examples/hello-objc-gnome/m4/gnome-gnorba-check.m4 b/gettext-tools/examples/hello-objc-gnome/m4/gnome-gnorba-check.m4
new file mode 100644
index 0000000..dbac0a6
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/m4/gnome-gnorba-check.m4
@@ -0,0 +1,35 @@
+dnl
+dnl GNOME_GNORBA_HOOK (script-if-gnorba-found, failflag)
+dnl
+dnl if failflag is "failure" it aborts if gnorba is not found.
+dnl
+
+AC_DEFUN([GNOME_GNORBA_HOOK],[
+ GNOME_ORBIT_HOOK([],$2)
+ AC_CACHE_CHECK([for gnorba libraries],gnome_cv_gnorba_found,[
+ gnome_cv_gnorba_found=no
+ if test x$gnome_cv_orbit_found = xyes; then
+ GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
+ GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
+ if test -n "$GNORBA_LIBS"; then
+ gnome_cv_gnorba_found=yes
+ fi
+ fi
+ ])
+ AM_CONDITIONAL(HAVE_GNORBA, test x$gnome_cv_gnorba_found = xyes)
+ if test x$gnome_cv_orbit_found = xyes; then
+ $1
+ GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
+ GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
+ AC_SUBST(GNORBA_CFLAGS)
+ AC_SUBST(GNORBA_LIBS)
+ else
+ if test x$2 = xfailure; then
+ AC_MSG_ERROR(gnorba library not installed or installation problem)
+ fi
+ fi
+])
+
+AC_DEFUN([GNOME_GNORBA_CHECK], [
+ GNOME_GNORBA_HOOK([],failure)
+])
diff --git a/gettext-tools/examples/hello-objc-gnome/m4/gnome-orbit-check.m4 b/gettext-tools/examples/hello-objc-gnome/m4/gnome-orbit-check.m4
new file mode 100644
index 0000000..54bf33a
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/m4/gnome-orbit-check.m4
@@ -0,0 +1,33 @@
+dnl
+dnl GNOME_ORBIT_HOOK (script-if-orbit-found, failflag)
+dnl
+dnl if failflag is "failure" it aborts if orbit is not found.
+dnl
+
+AC_DEFUN([GNOME_ORBIT_HOOK],[
+ AC_PATH_PROG(ORBIT_CONFIG,orbit-config,no)
+ AC_PATH_PROG(ORBIT_IDL,orbit-idl,no)
+ AC_CACHE_CHECK([for working ORBit environment],gnome_cv_orbit_found,[
+ if test x$ORBIT_CONFIG = xno -o x$ORBIT_IDL = xno; then
+ gnome_cv_orbit_found=no
+ else
+ gnome_cv_orbit_found=yes
+ fi
+ ])
+ AM_CONDITIONAL(HAVE_ORBIT, test x$gnome_cv_orbit_found = xyes)
+ if test x$gnome_cv_orbit_found = xyes; then
+ $1
+ ORBIT_CFLAGS=`orbit-config --cflags client server`
+ ORBIT_LIBS=`orbit-config --use-service=name --libs client server`
+ AC_SUBST(ORBIT_CFLAGS)
+ AC_SUBST(ORBIT_LIBS)
+ else
+ if test x$2 = xfailure; then
+ AC_MSG_ERROR(ORBit not installed or installation problem)
+ fi
+ fi
+])
+
+AC_DEFUN([GNOME_ORBIT_CHECK], [
+ GNOME_ORBIT_HOOK([],failure)
+])
diff --git a/gettext-tools/examples/hello-objc-gnome/m4/gnome.m4 b/gettext-tools/examples/hello-objc-gnome/m4/gnome.m4
new file mode 100644
index 0000000..659c22c
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/m4/gnome.m4
@@ -0,0 +1,128 @@
+dnl
+dnl GNOME_INIT_HOOK (script-if-gnome-enabled, [failflag], [additional-inits])
+dnl
+dnl if failflag is "fail" then GNOME_INIT_HOOK will abort if gnomeConf.sh
+dnl is not found.
+dnl
+
+AC_DEFUN([GNOME_INIT_HOOK],[
+ AC_SUBST(GNOME_LIBS)
+ AC_SUBST(GNOMEUI_LIBS)
+ AC_SUBST(GNOMEGNORBA_LIBS)
+ AC_SUBST(GTKXMHTML_LIBS)
+ AC_SUBST(ZVT_LIBS)
+ AC_SUBST(GNOME_LIBDIR)
+ AC_SUBST(GNOME_INCLUDEDIR)
+
+ AC_ARG_WITH(gnome-includes,
+ [ --with-gnome-includes Specify location of GNOME headers],[
+ CFLAGS="$CFLAGS -I$withval"
+ ])
+
+ AC_ARG_WITH(gnome-libs,
+ [ --with-gnome-libs Specify location of GNOME libs],[
+ LDFLAGS="$LDFLAGS -L$withval"
+ gnome_prefix=$withval
+ ])
+
+ AC_ARG_WITH(gnome,
+ [ --with-gnome Specify prefix for GNOME files],
+ if test x$withval = xyes; then
+ want_gnome=yes
+ dnl Note that an empty true branch is not
+ dnl valid sh syntax.
+ ifelse([$1], [], :, [$1])
+ else
+ if test "x$withval" = xno; then
+ want_gnome=no
+ else
+ want_gnome=yes
+ LDFLAGS="$LDFLAGS -L$withval/lib"
+ CFLAGS="$CFLAGS -I$withval/include"
+ gnome_prefix=$withval/lib
+ fi
+ fi,
+ want_gnome=yes)
+
+ if test "x$want_gnome" = xyes; then
+
+ AC_PATH_PROG(GNOME_CONFIG,gnome-config,no)
+ if test "$GNOME_CONFIG" = "no"; then
+ no_gnome_config="yes"
+ else
+ AC_MSG_CHECKING(if $GNOME_CONFIG works)
+ if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then
+ AC_MSG_RESULT(yes)
+ GNOME_GNORBA_HOOK([],$2)
+ GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome`"
+ GNOMEUI_LIBS="`$GNOME_CONFIG --libs-only-l gnomeui`"
+ GNOMEGNORBA_LIBS="`$GNOME_CONFIG --libs-only-l gnorba gnomeui`"
+ GTKXMHTML_LIBS="`$GNOME_CONFIG --libs-only-l gtkxmhtml`"
+ ZVT_LIBS="`$GNOME_CONFIG --libs-only-l zvt`"
+ GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
+ GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`"
+ $1
+ else
+ AC_MSG_RESULT(no)
+ no_gnome_config="yes"
+ fi
+ fi
+
+ if test x$exec_prefix = xNONE; then
+ if test x$prefix = xNONE; then
+ gnome_prefix=$ac_default_prefix/lib
+ else
+ gnome_prefix=$prefix/lib
+ fi
+ else
+ gnome_prefix=`eval echo \`echo $libdir\``
+ fi
+
+ if test "$no_gnome_config" = "yes"; then
+ AC_MSG_CHECKING(for gnomeConf.sh file in $gnome_prefix)
+ if test -f $gnome_prefix/gnomeConf.sh; then
+ AC_MSG_RESULT(found)
+ echo "loading gnome configuration from" \
+ "$gnome_prefix/gnomeConf.sh"
+ . $gnome_prefix/gnomeConf.sh
+ $1
+ else
+ AC_MSG_RESULT(not found)
+ if test x$2 = xfail; then
+ AC_MSG_ERROR(Could not find the gnomeConf.sh file that is generated by gnome-libs install)
+ fi
+ fi
+ fi
+ fi
+
+ if test -n "$3"; then
+ n="$3"
+ for i in $n; do
+ AC_MSG_CHECKING(extra library \"$i\")
+ case $i in
+ applets)
+ AC_SUBST(GNOME_APPLETS_LIBS)
+ GNOME_APPLETS_LIBS=`$GNOME_CONFIG --libs-only-l applets`
+ AC_MSG_RESULT($GNOME_APPLETS_LIBS);;
+ docklets)
+ AC_SUBST(GNOME_DOCKLETS_LIBS)
+ GNOME_DOCKLETS_LIBS=`$GNOME_CONFIG --libs-only-l docklets`
+ AC_MSG_RESULT($GNOME_DOCKLETS_LIBS);;
+ capplet)
+ AC_SUBST(GNOME_CAPPLET_LIBS)
+ GNOME_CAPPLET_LIBS=`$GNOME_CONFIG --libs-only-l capplet`
+ AC_MSG_RESULT($GNOME_CAPPLET_LIBS);;
+ *)
+ AC_MSG_RESULT(unknown library)
+ esac
+ done
+ fi
+])
+
+dnl
+dnl GNOME_INIT ([additional-inits])
+dnl
+
+AC_DEFUN([GNOME_INIT],[
+ GNOME_INIT_HOOK([],fail,$1)
+])
diff --git a/gettext-tools/examples/hello-objc-gnome/po/LINGUAS b/gettext-tools/examples/hello-objc-gnome/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-objc-gnome/po/Makevars b/gettext-tools/examples/hello-objc-gnome/po/Makevars
new file mode 100644
index 0000000..7b158ff
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/Makevars
@@ -0,0 +1,67 @@
+# Makefile variables for PO directory in any package using GNU gettext.
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These two variables depend on the location of this directory.
+subdir = po
+top_builddir = ..
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = \
+ --keyword=_ --flag=_:1:pass-c-format \
+ --keyword=N_ --flag=N_:1:pass-c-format \
+ --flag=g_log:3:c-format --flag=g_logv:3:c-format \
+ --flag=g_error:1:c-format --flag=g_message:1:c-format \
+ --flag=g_critical:1:c-format --flag=g_warning:1:c-format \
+ --flag=g_print:1:c-format \
+ --flag=g_printerr:1:c-format \
+ --flag=g_strdup_printf:1:c-format --flag=g_strdup_vprintf:1:c-format \
+ --flag=g_printf_string_upper_bound:1:c-format \
+ --flag=g_snprintf:3:c-format --flag=g_vsnprintf:3:c-format \
+ --flag=g_string_sprintf:2:c-format \
+ --flag=g_string_sprintfa:2:c-format \
+ --flag=g_scanner_error:2:c-format \
+ --flag=g_scanner_warn:2:c-format
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
+# context. Possible values are "yes" and "no". Set this to yes if the
+# package uses functions taking also a message context, like pgettext(), or
+# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
+USE_MSGCTXT = no
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
diff --git a/gettext-tools/examples/hello-objc-gnome/po/POTFILES.in b/gettext-tools/examples/hello-objc-gnome/po/POTFILES.in
new file mode 100644
index 0000000..0f7595d
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/POTFILES.in
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# List of files which contain translatable strings.
+hello.m
diff --git a/gettext-tools/examples/hello-objc-gnome/po/af.po b/gettext-tools/examples/hello-objc-gnome/po/af.po
new file mode 100644
index 0000000..92d4abb
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Hierdie program loop as prosesnommer %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/ast.po b/gettext-tools/examples/hello-objc-gnome/po/ast.po
new file mode 100644
index 0000000..c2ed37a
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/bg.po b/gettext-tools/examples/hello-objc-gnome/po/bg.po
new file mode 100644
index 0000000..225051f
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-objc-gnome package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-objc-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Програмата е пусната под процес номер %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/ca.po b/gettext-tools/examples/hello-objc-gnome/po/ca.po
new file mode 100644
index 0000000..687a65f
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-objc-gnome.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Aquest programa està corrent amb el número de procés %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/cs.po b/gettext-tools/examples/hello-objc-gnome/po/cs.po
new file mode 100644
index 0000000..e311692
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tento program běží jako proces číslo %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/da.po b/gettext-tools/examples/hello-objc-gnome/po/da.po
new file mode 100644
index 0000000..635f175
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-objc-gnome.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dette program krer som proces nummer %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/de.po b/gettext-tools/examples/hello-objc-gnome/po/de.po
new file mode 100644
index 0000000..5ac729c
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-objc-gnome.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/el.po b/gettext-tools/examples/hello-objc-gnome/po/el.po
new file mode 100644
index 0000000..2532d29
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-objc-gnome
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/eo.po b/gettext-tools/examples/hello-objc-gnome/po/eo.po
new file mode 100644
index 0000000..a4084b1
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/es.po b/gettext-tools/examples/hello-objc-gnome/po/es.po
new file mode 100644
index 0000000..c56a4a9
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está corriendo como el proceso número %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/fi.po b/gettext-tools/examples/hello-objc-gnome/po/fi.po
new file mode 100644
index 0000000..54c24d2
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tämän ohjelman prosessinumero on %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/fr.po b/gettext-tools/examples/hello-objc-gnome/po/fr.po
new file mode 100644
index 0000000..f3aa647
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-objc-gnome 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ce programme est exécuté en tant que processus numéro %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/ga.po b/gettext-tools/examples/hello-objc-gnome/po/ga.po
new file mode 100644
index 0000000..1fdcb1a
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-objc-gnome.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-objc-gnome package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "T an clr seo rith mar phriseas %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/gl.po b/gettext-tools/examples/hello-objc-gnome/po/gl.po
new file mode 100644
index 0000000..0533b9b
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-objc-gnome package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa estase executando como o proceso número %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/hr.po b/gettext-tools/examples/hello-objc-gnome/po/hr.po
new file mode 100644
index 0000000..a7310ef
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-objc-gnome to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ovaj program je pokrenut kao proces broj %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/hu.po b/gettext-tools/examples/hello-objc-gnome/po/hu.po
new file mode 100644
index 0000000..f21144e
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-objc-gnome.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ez a program a(z) %d folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/id.po b/gettext-tools/examples/hello-objc-gnome/po/id.po
new file mode 100644
index 0000000..65a866d
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-objc-gnome-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Program ini berjalan sebagai proses nomor %d"
diff --git a/gettext-tools/examples/hello-objc-gnome/po/it.po b/gettext-tools/examples/hello-objc-gnome/po/it.po
new file mode 100644
index 0000000..0000ed9
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-objc-gnome.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Questo programma è in esecuzione con numero di processo %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/ja.po b/gettext-tools/examples/hello-objc-gnome/po/ja.po
new file mode 100644
index 0000000..7e0322d
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-objc-gnome' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-objc-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Υץϥץֹ %d ưƤޤ."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/ky.po b/gettext-tools/examples/hello-objc-gnome/po/ky.po
new file mode 100644
index 0000000..fc691dc
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-objc-gnome' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Бул программа %d процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/lv.po b/gettext-tools/examples/hello-objc-gnome/po/lv.po
new file mode 100644
index 0000000..38a9d0a
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-objc-gnome
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Šī programma darbojas kā process ar numuru %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/ms.po b/gettext-tools/examples/hello-objc-gnome/po/ms.po
new file mode 100644
index 0000000..a9eb127
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/ms.po
@@ -0,0 +1,26 @@
+# hello-objc-gnome Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-objc-gnome package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/mt.po b/gettext-tools/examples/hello-objc-gnome/po/mt.po
new file mode 100644
index 0000000..39c3f7c
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/mt.po
@@ -0,0 +1,26 @@
+# hello-objc-gnome-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/nb.po b/gettext-tools/examples/hello-objc-gnome/po/nb.po
new file mode 100644
index 0000000..4883c0e
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-objc-gnome package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dette programmet kjører som prosess nummer %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/nl.po b/gettext-tools/examples/hello-objc-gnome/po/nl.po
new file mode 100644
index 0000000..9ed3b67
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-objc-gnome.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dit programma draait als proces nummer %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/pl.po b/gettext-tools/examples/hello-objc-gnome/po/pl.po
new file mode 100644
index 0000000..7545e70
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-objc-gnome domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ten program działa jako proces o numerze %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/pt.po b/gettext-tools/examples/hello-objc-gnome/po/pt.po
new file mode 100644
index 0000000..28010c3
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-objc-gnome' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-objc-gnome package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está a ser executado com o número de processo %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/pt_BR.po b/gettext-tools/examples/hello-objc-gnome/po/pt_BR.po
new file mode 100644
index 0000000..b8fb486
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está executando com número de processo %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/ro.po b/gettext-tools/examples/hello-objc-gnome/po/ro.po
new file mode 100644
index 0000000..dc608a2
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-objc-gnome-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-objc-gnome.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Acest program este rulat ca procesul numrul %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/ru.po b/gettext-tools/examples/hello-objc-gnome/po/ru.po
new file mode 100644
index 0000000..18c3614
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-objc-gnome-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Эта программа выполняется как процесс под номером %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/sk.po b/gettext-tools/examples/hello-objc-gnome/po/sk.po
new file mode 100644
index 0000000..f796bf3
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-objc-gnome package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-objc-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tento program beží ako proces s číslom %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/sl.po b/gettext-tools/examples/hello-objc-gnome/po/sl.po
new file mode 100644
index 0000000..a36649b
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-objc-gnome-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ta program teče kot proces številka %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/sr.po b/gettext-tools/examples/hello-objc-gnome/po/sr.po
new file mode 100644
index 0000000..9fbae34
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-objc-gnome.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Овај програм се извршава као процес број %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/sv.po b/gettext-tools/examples/hello-objc-gnome/po/sv.po
new file mode 100644
index 0000000..939a1fc
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-objc-gnome.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Detta program kör som process nummer %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/tr.po b/gettext-tools/examples/hello-objc-gnome/po/tr.po
new file mode 100644
index 0000000..b43083c
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Bu yazılım, %d süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/uk.po b/gettext-tools/examples/hello-objc-gnome/po/uk.po
new file mode 100644
index 0000000..b5bb389
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-objc-gnome
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ця програма виконується як процес з номером %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/vi.po b/gettext-tools/examples/hello-objc-gnome/po/vi.po
new file mode 100644
index 0000000..2a589f5
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %d."
diff --git a/gettext-tools/examples/hello-objc-gnome/po/zh_CN.po b/gettext-tools/examples/hello-objc-gnome/po/zh_CN.po
new file mode 100644
index 0000000..cf129ff
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-objc-gnome.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-objc-gnome package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "此程序正以进程号 %d 运行。"
diff --git a/gettext-tools/examples/hello-objc-gnome/po/zh_HK.po b/gettext-tools/examples/hello-objc-gnome/po/zh_HK.po
new file mode 100644
index 0000000..17718ed
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-objc-gnome.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行中,進程編號為 %d。"
diff --git a/gettext-tools/examples/hello-objc-gnome/po/zh_TW.po b/gettext-tools/examples/hello-objc-gnome/po/zh_TW.po
new file mode 100644
index 0000000..281a24e
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnome/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-objc-gnome.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnome 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:47
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行,行程編號為 %d。"
diff --git a/gettext-tools/examples/hello-objc-gnustep/AppController.h b/gettext-tools/examples/hello-objc-gnustep/AppController.h
new file mode 100644
index 0000000..7b1912a
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/AppController.h
@@ -0,0 +1,35 @@
+/* Example for use of GNU gettext.
+ This file is in the public domain.
+
+ Interface of the AppController class. */
+
+#include <AppKit/AppKit.h>
+
+@class Hello;
+
+@interface AppController : NSObject
+{
+ Hello *hello;
+}
+
++ (void)initialize;
+
+- (id)init;
+- (void)dealloc;
+
+- (void)awakeFromNib;
+
+- (void)applicationDidFinishLaunching
+ :(NSNotification *)notif;
+
+- (BOOL)applicationShouldTerminate:(id)sender;
+- (void)applicationWillTerminate:(NSNotification *)notification;
+
+- (BOOL)application:(NSApplication *)application openFile:(NSString *)fileName;
+
+- (void)showPrefPanel:(id)sender;
+- (void)showInfoPanel:(id)sender;
+
+- (void)showHelloWindow:(id)sender;
+
+@end
diff --git a/gettext-tools/examples/hello-objc-gnustep/AppController.m b/gettext-tools/examples/hello-objc-gnustep/AppController.m
new file mode 100644
index 0000000..96475cd
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/AppController.m
@@ -0,0 +1,81 @@
+/* Example for use of GNU gettext.
+ This file is in the public domain.
+
+ Source code of the AppController class. */
+
+#include "AppController.h"
+#include "Hello.h"
+
+@implementation AppController
+
+static NSDictionary *infoDict = nil;
+
++ (void)initialize
+{
+ NSMutableDictionary *defaults = [NSMutableDictionary dictionary];
+
+ [[NSUserDefaults standardUserDefaults] registerDefaults: defaults];
+ [[NSUserDefaults standardUserDefaults] synchronize];
+}
+
+- (id)init
+{
+ self = [super init];
+ return self;
+}
+
+- (void)dealloc
+{
+ if (hello)
+ RELEASE (hello);
+
+ [super dealloc];
+}
+
+- (void)awakeFromNib
+{
+}
+
+- (void)applicationDidFinishLaunching:(NSNotification *)notif
+{
+}
+
+- (BOOL)applicationShouldTerminate:(id)sender
+{
+ return YES;
+}
+
+- (void)applicationWillTerminate:(NSNotification *)notification
+{
+}
+
+- (BOOL)application:(NSApplication *)application openFile:(NSString *)fileName
+{
+}
+
+- (void)showPrefPanel:(id)sender
+{
+}
+
+- (void)showInfoPanel:(id)sender
+{
+ if (!infoDict)
+ {
+ NSString *fp;
+ NSBundle *bundle = [NSBundle mainBundle];
+
+ fp = [bundle pathForResource: @"Info-project" ofType: @"plist"];
+ infoDict = [[NSDictionary dictionaryWithContentsOfFile: fp] retain];
+ }
+ [[NSApplication sharedApplication] orderFrontStandardInfoPanelWithOptions: infoDict];
+}
+
+- (void)showHelloWindow:(id)sender
+{
+ if (!hello)
+ hello = [[Hello alloc] init];
+
+ [hello makeKeyAndOrderFront];
+}
+
+@end
diff --git a/gettext-tools/examples/hello-objc-gnustep/BUGS b/gettext-tools/examples/hello-objc-gnustep/BUGS
new file mode 100644
index 0000000..0120751
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/BUGS
@@ -0,0 +1,3 @@
+Correct display of characters depends on the GNUstep display engine; as of
+GNUstep-1.8.0, it works only for ISO-8859-1 characters (regardless of whether
+GNUSTEP_STRING_ENCODING is set to NSUTF8StringEncoding or not).
diff --git a/gettext-tools/examples/hello-objc-gnustep/GNUmakefile b/gettext-tools/examples/hello-objc-gnustep/GNUmakefile
new file mode 100644
index 0000000..fe4b684
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/GNUmakefile
@@ -0,0 +1,36 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+
+include $(GNUSTEP_MAKEFILES)/common.make
+
+# Subprojects
+SUBPROJECTS = po
+
+# Main application
+PACKAGE_NAME = Hello
+APP_NAME = Hello
+GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_LOCAL_ROOT)
+Hello_APPLICATION_ICON =
+
+# Additional libraries
+ADDITIONAL_GUI_LIBS +=
+
+# Resource files
+Hello_RESOURCE_FILES =
+Hello_LOCALIZED_RESOURCE_FILES = Localizable.strings
+Hello_LANGUAGES := $(sort English $(shell MAKEFLAGS= $(MAKE) -s -C po echo-languages))
+
+# Header files
+Hello_HEADERS = AppController.h Hello.h
+
+# Class files
+Hello_OBJC_FILES = main.m AppController.m Hello.m
+
+# C files
+Hello_C_FILES =
+
+-include GNUmakefile.preamble
+-include GNUmakefile.local
+include $(GNUSTEP_MAKEFILES)/aggregate.make
+include $(GNUSTEP_MAKEFILES)/application.make
+-include GNUmakefile.postamble
diff --git a/gettext-tools/examples/hello-objc-gnustep/Hello.h b/gettext-tools/examples/hello-objc-gnustep/Hello.h
new file mode 100644
index 0000000..89458ed
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/Hello.h
@@ -0,0 +1,31 @@
+/* Example for use of GNU gettext.
+ This file is in the public domain.
+
+ Interface of the Hello class. */
+
+#include <AppKit/AppKit.h>
+
+@interface Hello : NSObject
+{
+ NSWindow *window;
+
+ NSTextField *label1;
+ NSTextField *label2;
+
+ id okButton;
+}
+
+- (id)init;
+- (void)dealloc;
+
+- (void)makeKeyAndOrderFront;
+
+- (void)done;
+
+@end
+
+@interface Hello (UIBuilder)
+
+- (void)createUI;
+
+@end
diff --git a/gettext-tools/examples/hello-objc-gnustep/Hello.m b/gettext-tools/examples/hello-objc-gnustep/Hello.m
new file mode 100644
index 0000000..56f31f6
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/Hello.m
@@ -0,0 +1,99 @@
+/* Example for use of GNU gettext.
+ This file is in the public domain.
+
+ Source code of the Hello class. */
+
+#include <unistd.h>
+#include "Hello.h"
+#include <GNUstepGUI/GSHbox.h>
+#include <GNUstepGUI/GSVbox.h>
+
+@implementation Hello
+
+- (id)init
+{
+ if ((self = [super init]))
+ [self createUI];
+ return self;
+}
+
+- (void)dealloc
+{
+ RELEASE (window);
+ [super dealloc];
+}
+
+- (void)makeKeyAndOrderFront
+{
+ if (![window isVisible])
+ [window center];
+ [window makeKeyAndOrderFront:self];
+}
+
+- (void)done
+{
+ [window close];
+}
+
+@end
+
+@implementation Hello (UIBuilder)
+
+- (void)createUI
+{
+ GSVbox *cview;
+ GSHbox *buttonbar;
+ int i;
+
+ label1 = [NSTextField new];
+ [label1 setStringValue: _(@"Hello, world!")];
+ [label1 setAlignment: NSLeftTextAlignment];
+ [label1 setBordered: NO];
+ [label1 setEditable: NO];
+ [label1 setBezeled: NO];
+ [label1 setDrawsBackground: NO];
+ [label1 sizeToFit];
+
+ label2 = [NSTextField new];
+ [label2 setStringValue: [NSString stringWithFormat: _(@"This program is running as process number %d."), [[NSProcessInfo processInfo] processIdentifier]]];
+ [label2 setAlignment: NSLeftTextAlignment];
+ [label2 setBordered: NO];
+ [label2 setEditable: NO];
+ [label2 setBezeled: NO];
+ [label2 setDrawsBackground: NO];
+ [label2 sizeToFit];
+
+ okButton = [NSButton new];
+ [okButton setTitle: @"OK"];
+ [okButton setTarget: self];
+ [okButton setAction: @selector(done)];
+ [okButton setFrameSize: NSMakeSize(60,22)];
+ [okButton setAutoresizingMask: 7];
+
+ buttonbar = [GSHbox new];
+ [buttonbar setAutoresizingMask: NSViewMinXMargin];
+ [buttonbar addView: okButton];
+ AUTORELEASE (okButton);
+
+ cview = [GSVbox new];
+ // GSVbox is flawed: We have to add the controls bottom-up, and mark the
+ // last one (= the topmost one) as non-resizable in Y direction, so that the
+ // Y space becomes equally distributed _between_ (not above) the subviews.
+ [cview addView: buttonbar];
+ AUTORELEASE (buttonbar);
+ [cview addView: label2];
+ AUTORELEASE (label2);
+ [cview addView: label1 enablingYResizing: NO];
+ AUTORELEASE (label1);
+
+ window = [[NSWindow alloc] initWithContentRect: NSMakeRect(0,0, [cview frame].size.width, [cview frame].size.height)
+ styleMask: (NSTitledWindowMask | NSClosableWindowMask | NSMiniaturizableWindowMask)
+ backing: NSBackingStoreBuffered
+ defer: NO];
+ [window setDelegate: self];
+ [window setTitle: @"Hello example"];
+ [window setReleasedWhenClosed: NO];
+ [window setContentView: cview];
+}
+
+@end
diff --git a/gettext-tools/examples/hello-objc-gnustep/INSTALL b/gettext-tools/examples/hello-objc-gnustep/INSTALL
new file mode 100644
index 0000000..c240e40
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/INSTALL
@@ -0,0 +1,14 @@
+This example relies on:
+ - the GNUstep libraries (libgnustep-gui, libgnustep-base)
+ and their dependencies (libiconv or glibc, and ffcall)
+ - the Objective C runtime libraries (libobjc)
+
+GNUstep applications don't need to be configured or installed in order to run;
+all you need is to
+ - Prepare your environment, as described in the GNUstep-HOWTO
+ - ./autogen.sh
+ - make
+ - openapp Hello
+Cleanup:
+ - make distclean
+ - ./autoclean.sh
diff --git a/gettext-tools/examples/hello-objc-gnustep/autoclean.sh b/gettext-tools/examples/hello-objc-gnustep/autoclean.sh
new file mode 100755
index 0000000..1fbc5e8
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/autoclean.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+make distclean
+
+rm -f po/remove-potcdate.sed
+rm -f po/remove-potcdate.sin
+rm -f po/*.pot
+rm -rf *.lproj
diff --git a/gettext-tools/examples/hello-objc-gnustep/autogen.sh b/gettext-tools/examples/hello-objc-gnustep/autogen.sh
new file mode 100755
index 0000000..1528b50
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/autogen.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
diff --git a/gettext-tools/examples/hello-objc-gnustep/main.m b/gettext-tools/examples/hello-objc-gnustep/main.m
new file mode 100644
index 0000000..6da032b
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/main.m
@@ -0,0 +1,113 @@
+/* Example for use of GNU gettext.
+ This file is in the public domain.
+
+ Source code of the main program. */
+
+#include <AppKit/AppKit.h>
+#include "AppController.h"
+
+#define APP_NAME @"Hello"
+
+/* Create the application's menu. */
+static void
+createMenu ()
+{
+ NSMenu *menu;
+ NSMenu *info;
+ NSMenu *edit;
+ NSMenu *services;
+ NSMenu *windows;
+
+ SEL action = @selector(method:);
+
+ menu = [[NSMenu alloc] initWithTitle: APP_NAME];
+ [menu addItemWithTitle: @"Info"
+ action: action
+ keyEquivalent: @""];
+ [menu addItemWithTitle: @"Edit"
+ action: action
+ keyEquivalent: @""];
+ [menu addItemWithTitle: @"Hello..."
+ action: @selector(showHelloWindow:)
+ keyEquivalent: @""];
+ [menu addItemWithTitle: @"Windows"
+ action: action
+ keyEquivalent: @""];
+ [menu addItemWithTitle: @"Services"
+ action: action
+ keyEquivalent: @""];
+ [menu addItemWithTitle: @"Hide"
+ action: @selector(hide:)
+ keyEquivalent: @"h"];
+ [menu addItemWithTitle: @"Quit"
+ action: @selector(terminate:)
+ keyEquivalent: @"q"];
+
+ info = AUTORELEASE ([[NSMenu alloc] init]);
+ [info addItemWithTitle: @"Info Panel..."
+ action: @selector(showInfoPanel:)
+ keyEquivalent: @""];
+ [info addItemWithTitle: @"Preferences"
+ action: @selector(showPrefPanel:)
+ keyEquivalent: @""];
+ [info addItemWithTitle: @"Help"
+ action: action
+ keyEquivalent: @"?"];
+ [menu setSubmenu: info forItem: [menu itemWithTitle: @"Info"]];
+
+ edit = AUTORELEASE ([[NSMenu alloc] init]);
+ [edit addItemWithTitle: @"Cut"
+ action: @selector(cut:)
+ keyEquivalent: @"x"];
+ [edit addItemWithTitle: @"Copy"
+ action: @selector(copy:)
+ keyEquivalent: @"c"];
+ [edit addItemWithTitle: @"Paste"
+ action: @selector(paste:)
+ keyEquivalent: @"v"];
+ [edit addItemWithTitle: @"Delete"
+ action: @selector(delete:)
+ keyEquivalent: @""];
+ [edit addItemWithTitle: @"Select All"
+ action: @selector(selectAll:)
+ keyEquivalent: @"a"];
+ [menu setSubmenu: edit forItem: [menu itemWithTitle: @"Edit"]];
+
+ windows = AUTORELEASE ([[NSMenu alloc] init]);
+ [windows addItemWithTitle: @"Arrange"
+ action: @selector(arrangeInFront:)
+ keyEquivalent: @""];
+ [windows addItemWithTitle: @"Miniaturize"
+ action: @selector(performMiniaturize:)
+ keyEquivalent: @"m"];
+ [windows addItemWithTitle: @"Close"
+ action: @selector(performClose:)
+ keyEquivalent: @"w"];
+ [menu setSubmenu: windows forItem: [menu itemWithTitle: @"Windows"]];
+
+ services = AUTORELEASE ([[NSMenu alloc] init]);
+ [menu setSubmenu: services forItem: [menu itemWithTitle: @"Services"]];
+
+ [[NSApplication sharedApplication] setMainMenu: menu];
+ [[NSApplication sharedApplication] setServicesMenu: services];
+ [[NSApplication sharedApplication] setWindowsMenu: windows];
+}
+
+/* Initialise and go! */
+int
+main(int argc, const char *argv[])
+{
+ NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+ AppController *controller;
+
+ [NSApplication sharedApplication];
+
+ createMenu ();
+
+ controller = [[AppController alloc] init];
+ [NSApp setDelegate:controller];
+
+ RELEASE (pool);
+
+ return NSApplicationMain (argc, argv);
+}
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile b/gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile
new file mode 100644
index 0000000..00ee523
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/GNUmakefile
@@ -0,0 +1,224 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile - processed by GNU make.
+
+# NLS is enabled by default.
+USE_NLS = yes
+
+# List of files which contain translatable strings.
+POTFILES = \
+ Hello.m
+
+# Usually the message domain is the same as the package name in lower case.
+DOMAIN = hello-objc-gnustep
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS =
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+-include $(GNUSTEP_MAKEFILES)/rules.make
+
+# Main application
+PACKAGE_NAME = Hello
+PACKAGE_VERSION = 0
+
+XGETTEXT = xgettext
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = msgmerge --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# Set of available languages.
+LINGUAS := $(shell sed -e "/^\#/d" LINGUAS)
+# Set of languages which use msgen.
+ENLINGUAS := $(filter-out $(LINGUAS), en)
+
+top_srcdir = ..
+
+include LocaleAliases
+
+POTFILES_DEPS = $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POFILES = $(foreach lang, $(LINGUAS), $(lang).po)
+UPDATEPOFILES = $(foreach lang, $(LINGUAS), $(lang).po-update)
+DUMMYPOFILES = $(foreach lang, $(LINGUAS), $(lang).nop)
+STRINGSFILES = $(foreach lang, $(LINGUAS), $(top_srcdir)/$(NSLOCALE_$(lang)).lproj/Localizable.strings)
+ENSTRINGSFILES = $(foreach lang, $(ENLINGUAS), $(top_srcdir)/$(NSLOCALE_$(lang)).lproj/Localizable.strings)
+CATALOGS = $(STRINGSFILES) $(ENSTRINGSFILES)
+
+.SUFFIXES: .po .mo .sed .sin .nop .po-create .po-update
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+internal-all:: all-local-$(USE_NLS)
+
+all-local-yes: $(CATALOGS)
+all-local-no:
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE_NAME)' ../* 2>/dev/null >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE_NAME)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).pot && \
+ mv $(DOMAIN).po $(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f $${lang}.po; then \
+ echo "$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+update-po:
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-strings
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ echo "$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+
+update-strings: $(CATALOGS)
+ @:
+
+# I don't know how to make a dependency from a particular .strings file to its
+# corresponding .po file; therefore I put here a dependency towards all .po
+# files. It's safer than no dependency at all.
+$(STRINGSFILES): $(POFILES)
+ $(MAKE) $(UNIXLOCALE_$(patsubst %.lproj,%, $(notdir $(patsubst %/,%, $(dir $@))))).po
+ mkdir -p $(patsubst %/,%, $(dir $@))
+ msgcat --stringtable-output -o $@.tmp $(UNIXLOCALE_$(patsubst %.lproj,%, $(notdir $(patsubst %/,%, $(dir $@))))).po
+ mv $@.tmp $@
+
+$(ENSTRINGSFILES): $(DOMAIN).pot
+ mkdir -p $(patsubst %/,%, $(dir $@))
+ $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $(UNIXLOCALE_$(patsubst %.lproj,%, $(notdir $(patsubst %/,%, $(dir $@))))) --stringtable-output -o $@.tmp
+ mv $@.tmp $@
+
+echo-languages:
+ @echo $(foreach lang, $(LINGUAS), $(NSLOCALE_$(lang)))
+
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/LINGUAS b/gettext-tools/examples/hello-objc-gnustep/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/LocaleAliases b/gettext-tools/examples/hello-objc-gnustep/po/LocaleAliases
new file mode 100644
index 0000000..bac4e71
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/LocaleAliases
@@ -0,0 +1,784 @@
+# The correspondence between Unix style and NeXTstep style locale names is
+# taken from
+# $prefix/System/Library/Libraries/Resources/gnustep-base/Languages/Locale.aliases
+# and converted through
+# sed -n -e 's,^ *\(..*\) = \(..*\);$,NSLOCALE_\1 = \2,p' < Locale.aliases
+# sed -n -e 's,^ *\(..*\) = \(..*\);$,UNIXLOCALE_\2 = \1,p' < Locale.aliases
+
+NSLOCALE_aa = Afar
+NSLOCALE_aa_DJ = DjiboutiAfar
+NSLOCALE_aa_ER = EritreaAfar
+NSLOCALE_aa_ET = EthiopiaAfar
+NSLOCALE_ab = Abkhazian
+NSLOCALE_ace = Achinese
+NSLOCALE_ach = Acoli
+NSLOCALE_ada = Adangme
+NSLOCALE_ady = Adyghe
+NSLOCALE_af = Afrikaans
+NSLOCALE_ak = Akan
+NSLOCALE_am = Amharic
+NSLOCALE_an = Aragonese
+NSLOCALE_anp = Angika
+NSLOCALE_ar = Arabic
+NSLOCALE_ar_AE = UnitedArabEmiratesArabic
+NSLOCALE_ar_BH = BahrainArabic
+NSLOCALE_ar_DZ = AlgeriaArabic
+NSLOCALE_ar_EG = EgyptArabic
+NSLOCALE_ar_IN = IndiaArabic
+NSLOCALE_ar_IQ = IraqArabic
+NSLOCALE_ar_JO = JordanArabic
+NSLOCALE_ar_KW = KuwaitArabic
+NSLOCALE_ar_LB = LebanonArabic
+NSLOCALE_ar_LY = LibyaArabic
+NSLOCALE_ar_MA = MoroccoArabic
+NSLOCALE_ar_OM = OmanArabic
+NSLOCALE_ar_QA = QatarArabic
+NSLOCALE_ar_SA = SaudiArabiaArabic
+NSLOCALE_ar_SD = SudanArabic
+NSLOCALE_ar_SY = SyriaArabic
+NSLOCALE_ar_TN = TunisiaArabic
+NSLOCALE_ar_YE = YemenArabic
+NSLOCALE_arn = Mapudungun
+NSLOCALE_as = Assamese
+NSLOCALE_ast = Asturian
+NSLOCALE_av = Avaric
+NSLOCALE_awa = Awadhi
+NSLOCALE_ay = Aymara
+NSLOCALE_az = Azerbaijani
+NSLOCALE_ba = Bashkir
+NSLOCALE_bal = Baluchi
+NSLOCALE_ban = Balinese
+NSLOCALE_bas = Basa
+NSLOCALE_be = Belarusian
+NSLOCALE_bej = Beja
+NSLOCALE_bem = Bemba
+NSLOCALE_bg = Bulgarian
+NSLOCALE_bh = Bihari
+NSLOCALE_bho = Bhojpuri
+NSLOCALE_bi = Bislama
+NSLOCALE_bik = Bikol
+NSLOCALE_bin = Bini
+NSLOCALE_bm = Bambara
+NSLOCALE_bn = Bengali
+NSLOCALE_bn_BD = BangladeshBengali
+NSLOCALE_bn_IN = IndiaBengali
+NSLOCALE_bo = Tibetan
+NSLOCALE_br = Breton
+NSLOCALE_bs = Bosnian
+NSLOCALE_bua = Buriat
+NSLOCALE_bug = Buginese
+NSLOCALE_byn = Blin
+NSLOCALE_ca = Catalan
+NSLOCALE_ce = Chechen
+NSLOCALE_ceb = Cebuano
+NSLOCALE_ch = Chamorro
+NSLOCALE_chm = Mari
+NSLOCALE_co = Corsican
+NSLOCALE_cr = Cree
+NSLOCALE_crh = CrimeanTatar
+NSLOCALE_cs = Czech
+NSLOCALE_cu = ChurchSlavic
+NSLOCALE_cv = Chuvash
+NSLOCALE_cy = Welsh
+NSLOCALE_da = Danish
+NSLOCALE_de = German
+NSLOCALE_de_AT = AustriaGerman
+NSLOCALE_de_BE = BelgiumGerman
+NSLOCALE_de_CH = SwitzerlandGerman
+NSLOCALE_de_LU = LuxemburgGerman
+NSLOCALE_din = Dinka
+NSLOCALE_doi = Dogri
+NSLOCALE_dv = Maldivian
+NSLOCALE_dyu = Dyula
+NSLOCALE_dz = Bhutani
+NSLOCALE_efi = Efik
+NSLOCALE_el = Greek
+NSLOCALE_el_GR = GreeceGreek
+NSLOCALE_en = English
+NSLOCALE_en_AU = AustraliaEnglish
+NSLOCALE_en_BW = BotswanaEnglish
+NSLOCALE_en_CA = CanadaEnglish
+NSLOCALE_en_DK = DenmarkEnglish
+NSLOCALE_en_GB = BritainEnglish
+NSLOCALE_en_HK = HongKongEnglish
+NSLOCALE_en_IE = IrelandEnglish
+NSLOCALE_en_IN = IndiaEnglish
+NSLOCALE_en_NZ = NewZealandEnglish
+NSLOCALE_en_PH = PhilippinesEnglish
+NSLOCALE_en_SG = SingaporeEnglish
+NSLOCALE_en_US = AmericanEnglish
+NSLOCALE_en_ZA = SouthAfricaEnglish
+NSLOCALE_en_ZW = ZimbabweEnglish
+NSLOCALE_eo = Esperanto
+NSLOCALE_es = Spanish
+NSLOCALE_es_AR = ArgentinaSpanish
+NSLOCALE_es_BO = BoliviaSpanish
+NSLOCALE_es_CL = ChileSpanish
+NSLOCALE_es_CO = ColombiaSpanish
+NSLOCALE_es_CR = CostaRicaSpanish
+NSLOCALE_es_DO = DominicanRepublicSpanish
+NSLOCALE_es_EC = EcuadorSpanish
+NSLOCALE_es_ES = SpainSpanish
+NSLOCALE_es_GT = GuatemalaSpanish
+NSLOCALE_es_HN = HondurasSpanish
+NSLOCALE_es_MX = MexicoSpanish
+NSLOCALE_es_NI = NicaraguaSpanish
+NSLOCALE_es_PA = PanamaSpanish
+NSLOCALE_es_PE = PeruSpanish
+NSLOCALE_es_PR = PuertoRicoSpanish
+NSLOCALE_es_PY = ParaguaySpanish
+NSLOCALE_es_SV = ElSalvadorSpanish
+NSLOCALE_es_US = USASpanish
+NSLOCALE_es_UY = UruguaySpanish
+NSLOCALE_es_VE = VenezuelaSpanish
+NSLOCALE_et = Estonian
+NSLOCALE_et_EE = EstoniaEstonian
+NSLOCALE_eu = Basque
+NSLOCALE_eu_ES = SpainBasque
+NSLOCALE_ewo = Ewondo
+NSLOCALE_fa = Persian
+NSLOCALE_fan = Fang
+NSLOCALE_ff = Fulah
+NSLOCALE_fi = Finnish
+NSLOCALE_fil = Filipino
+NSLOCALE_fj = Fijian
+NSLOCALE_fo = Faroese
+NSLOCALE_fon = Fon
+NSLOCALE_fr = French
+NSLOCALE_fr_BE = BelgiumFrench
+NSLOCALE_fr_CA = CanadaFrench
+NSLOCALE_fr_CH = SwitzerlandFrench
+NSLOCALE_fr_LU = LuxemburgFrench
+NSLOCALE_fur = Friulian
+NSLOCALE_fy = WesternFrisian
+NSLOCALE_ga = Irish
+NSLOCALE_gaa = Ga
+NSLOCALE_gay = Gayo
+NSLOCALE_gba = Gbaya
+NSLOCALE_gd = Gaelic
+NSLOCALE_gd_GB = ScotsGaelic
+NSLOCALE_gez = Geez
+NSLOCALE_gez_ER = EritreaGeez
+NSLOCALE_gez_ET = EthiopiaGeez
+NSLOCALE_gl = Gallegan
+NSLOCALE_gn = Guarani
+NSLOCALE_gon = Gondi
+NSLOCALE_gor = Gorontalo
+NSLOCALE_grb = Grebo
+NSLOCALE_gu = Gujarati
+NSLOCALE_gv = Manx
+NSLOCALE_ha = Hausa
+NSLOCALE_he = Hebrew
+NSLOCALE_hi = Hindi
+NSLOCALE_hil = Hiligaynon
+NSLOCALE_hmn = Hmong
+NSLOCALE_ho = HiriMotu
+NSLOCALE_hr = Croatian
+NSLOCALE_ht = Haitian
+NSLOCALE_hu = Hungarian
+NSLOCALE_hy = Armenian
+NSLOCALE_hz = Herero
+NSLOCALE_ia = Interlingua
+NSLOCALE_iba = Iban
+NSLOCALE_id = Indonesian
+NSLOCALE_ie = Interlingue
+NSLOCALE_ig = Igbo
+NSLOCALE_ii = SichuanYi
+NSLOCALE_ik = Inupiak
+NSLOCALE_ilo = Iloko
+NSLOCALE_inh = Ingush
+NSLOCALE_io = Ido
+NSLOCALE_is = Icelandic
+NSLOCALE_it = Italian
+NSLOCALE_it_CH = SwitzerlandItalian
+NSLOCALE_iu = Inuktitut
+NSLOCALE_iw = Hebrew
+NSLOCALE_ja = Japanese
+NSLOCALE_jv = Javanese
+NSLOCALE_ka = Georgian
+NSLOCALE_kaa = KaraKalpak
+NSLOCALE_kab = Kabyle
+NSLOCALE_kac = Kachin
+NSLOCALE_kam = Kamba
+NSLOCALE_kbd = Kabardian
+NSLOCALE_kg = Kongo
+NSLOCALE_kha = Khasi
+NSLOCALE_ki = Kikuyu
+NSLOCALE_kj = Kwanyama
+NSLOCALE_kk = Kazakh
+NSLOCALE_kl = Greenlandic
+NSLOCALE_km = Cambodian
+NSLOCALE_kmb = Kimbundu
+NSLOCALE_kn = Kannada
+NSLOCALE_ko = Korean
+NSLOCALE_kr = Kanuri
+NSLOCALE_krc = KarachayBalkar
+NSLOCALE_krl = Karelian
+NSLOCALE_kru = Kurukh
+NSLOCALE_ks = Kashmiri
+NSLOCALE_ku = Kurdish
+NSLOCALE_kum = Kumyk
+NSLOCALE_kv = Komi
+NSLOCALE_kw = Cornish
+NSLOCALE_ky = Kirghiz
+NSLOCALE_la = Latin
+NSLOCALE_lad = Ladino
+NSLOCALE_lam = Lamba
+NSLOCALE_lb = Luxembourgish
+NSLOCALE_lez = Lezghian
+NSLOCALE_lg = Ganda
+NSLOCALE_li = Limburgish
+NSLOCALE_ln = Lingala
+NSLOCALE_lo = Lao
+NSLOCALE_lol = Mongo
+NSLOCALE_loz = Lozi
+NSLOCALE_lt = Lithuanian
+NSLOCALE_lu = LubaKatanga
+NSLOCALE_lua = LubaLulua
+NSLOCALE_lug = Luganda
+NSLOCALE_lun = Lunda
+NSLOCALE_luo = Luo
+NSLOCALE_lus = Lushai
+NSLOCALE_lv = Latvian
+NSLOCALE_mad = Madurese
+NSLOCALE_mag = Magahi
+NSLOCALE_mai = Maithili
+NSLOCALE_mak = Makasar
+NSLOCALE_man = Mandingo
+NSLOCALE_mas = Masai
+NSLOCALE_mdf = Moksha
+NSLOCALE_mdr = Mandar
+NSLOCALE_men = Mende
+NSLOCALE_mg = Malagasy
+NSLOCALE_mh = Marshallese
+NSLOCALE_mi = Maori
+NSLOCALE_min = Minangkabau
+NSLOCALE_mk = Macedonian
+NSLOCALE_ml = Malayalam
+NSLOCALE_mn = Mongolian
+NSLOCALE_mni = Manipuri
+NSLOCALE_mo = Moldavian
+NSLOCALE_mos = Mossi
+NSLOCALE_mr = Marathi
+NSLOCALE_ms = Malay
+NSLOCALE_mt = Maltese
+NSLOCALE_my = Burmese
+NSLOCALE_myv = Erzya
+NSLOCALE_na = Nauru
+NSLOCALE_nap = Neapolitan
+NSLOCALE_nb = NorwegianBokmal
+NSLOCALE_nd = NdebeleNorth
+NSLOCALE_ne = Nepali
+NSLOCALE_new = NepalBhasa
+NSLOCALE_ng = Ndonga
+NSLOCALE_nia = Nias
+NSLOCALE_nl = Dutch
+NSLOCALE_nl_BE = BelgiumDutch
+NSLOCALE_nl_NL = NetherlandsDutch
+NSLOCALE_nn = NorwegianNynorsk
+NSLOCALE_no = Norwegian
+NSLOCALE_nr = NdebeleSouth
+NSLOCALE_nso = Pedi
+NSLOCALE_nv = Navajo
+NSLOCALE_ny = Chichewa
+NSLOCALE_nym = Nyamwezi
+NSLOCALE_nyn = Nyankole
+NSLOCALE_nyo = Nyoro
+NSLOCALE_nzi = Nzima
+NSLOCALE_oc = Occitan
+NSLOCALE_oj = Ojibwa
+NSLOCALE_om = Oromo
+NSLOCALE_om_ET = EthiopiaOromo
+NSLOCALE_om_KE = KenyaOromo
+NSLOCALE_or = Oriya
+NSLOCALE_os = Ossetian
+NSLOCALE_pa = Punjabi
+NSLOCALE_pag = Pangasinan
+NSLOCALE_pam = Pampanga
+NSLOCALE_pap = Papiamento
+NSLOCALE_pi = Pali
+NSLOCALE_pl = Polish
+NSLOCALE_ps = Pashto
+NSLOCALE_pt = Portuguese
+NSLOCALE_pt_BR = BrasilPortuguese
+NSLOCALE_qu = Quechua
+NSLOCALE_raj = Rajasthani
+NSLOCALE_rm = Romansh
+NSLOCALE_rn = Rundi
+NSLOCALE_ro = Romanian
+NSLOCALE_ru = Russian
+NSLOCALE_ru_UA = UkraineRussian
+NSLOCALE_rup = Aromanian
+NSLOCALE_rw = Kinyarwanda
+NSLOCALE_sa = Sanskrit
+NSLOCALE_sah = Yakut
+NSLOCALE_sas = Sasak
+NSLOCALE_sat = Santali
+NSLOCALE_scn = Sicilian
+NSLOCALE_sco = Scots
+NSLOCALE_sc = Sardinian
+NSLOCALE_sd = Sindhi
+NSLOCALE_se = NorthernSaami
+NSLOCALE_sg = Sango
+NSLOCALE_shn = Shan
+NSLOCALE_si = Sinhala
+NSLOCALE_sid = Sidamo
+NSLOCALE_sk = Slovak
+NSLOCALE_sl = Slovenian
+NSLOCALE_sm = Samoan
+NSLOCALE_sn = Shona
+NSLOCALE_snk = Soninke
+NSLOCALE_so = Somali
+NSLOCALE_so_DJ = DjiboutiSomali
+NSLOCALE_so_ET = EthiopiaSomali
+NSLOCALE_so_KE = KenyaSomali
+NSLOCALE_so_SO = SomaliaSomali
+NSLOCALE_sq = Albanian
+NSLOCALE_sr = Serbian
+NSLOCALE_srr = Serer
+NSLOCALE_ss = Swati
+NSLOCALE_st = Sotho
+NSLOCALE_su = Sundanese
+NSLOCALE_suk = Sukuma
+NSLOCALE_sus = Susu
+NSLOCALE_sv = Swedish
+NSLOCALE_sv_FI = FinlandSwedish
+NSLOCALE_sw = Swahili
+NSLOCALE_ta = Tamil
+NSLOCALE_te = Telugu
+NSLOCALE_tem = Timne
+NSLOCALE_tet = Tetum
+NSLOCALE_tg = Tajik
+NSLOCALE_th = Thai
+NSLOCALE_ti = Tigrinya
+NSLOCALE_ti_ER = EritreaTigrinya
+NSLOCALE_ti_ET = EthiopiaTigrinya
+NSLOCALE_tig = Tigre
+NSLOCALE_tiv = Tiv
+NSLOCALE_tk = Turkmen
+NSLOCALE_tl = Tagalog
+NSLOCALE_tn = Tswana
+NSLOCALE_to = Tonga
+NSLOCALE_tog = TongaNyasa
+NSLOCALE_tpi = TokPisin
+NSLOCALE_tr = Turkish
+NSLOCALE_ts = Tsonga
+NSLOCALE_tt = Tatar
+NSLOCALE_tum = Tumbuka
+NSLOCALE_tw = Twi
+NSLOCALE_ty = Tahitian
+NSLOCALE_tyv = Tuvinian
+NSLOCALE_udm = Udmurt
+NSLOCALE_ug = Uighur
+NSLOCALE_uk = Ukrainian
+NSLOCALE_umb = Umbundu
+NSLOCALE_ur = Urdu
+NSLOCALE_uz = Uzbek
+NSLOCALE_vai = Vai
+NSLOCALE_ve = Venda
+NSLOCALE_vi = Vietnamese
+NSLOCALE_wa = Walloon
+NSLOCALE_wal = Walamo
+NSLOCALE_war = Waray
+NSLOCALE_wo = Wolof
+NSLOCALE_xal = Kalmyk
+NSLOCALE_xh = Xhosa
+NSLOCALE_yao = Yao
+NSLOCALE_yi = Yiddish
+NSLOCALE_yo = Yoruba
+NSLOCALE_za = Zhuang
+NSLOCALE_zh = Chinese
+NSLOCALE_zh_CN = SimplifiedChinese
+NSLOCALE_zh_HK = HongKongChinese
+NSLOCALE_zh_SG = SingaporeChinese
+NSLOCALE_zh_TW = TraditionalChinese
+NSLOCALE_zu = Zulu
+
+UNIXLOCALE_Afar = aa
+UNIXLOCALE_DjiboutiAfar = aa_DJ
+UNIXLOCALE_EritreaAfar = aa_ER
+UNIXLOCALE_EthiopiaAfar = aa_ET
+UNIXLOCALE_Abkhazian = ab
+UNIXLOCALE_Achinese = ace
+UNIXLOCALE_Acoli = ach
+UNIXLOCALE_Adangme = ada
+UNIXLOCALE_Adyghe = ady
+UNIXLOCALE_Afrikaans = af
+UNIXLOCALE_Akan = ak
+UNIXLOCALE_Amharic = am
+UNIXLOCALE_Aragonese = an
+UNIXLOCALE_Angika = anp
+UNIXLOCALE_Arabic = ar
+UNIXLOCALE_UnitedArabEmiratesArabic = ar_AE
+UNIXLOCALE_BahrainArabic = ar_BH
+UNIXLOCALE_AlgeriaArabic = ar_DZ
+UNIXLOCALE_EgyptArabic = ar_EG
+UNIXLOCALE_IndiaArabic = ar_IN
+UNIXLOCALE_IraqArabic = ar_IQ
+UNIXLOCALE_JordanArabic = ar_JO
+UNIXLOCALE_KuwaitArabic = ar_KW
+UNIXLOCALE_LebanonArabic = ar_LB
+UNIXLOCALE_LibyaArabic = ar_LY
+UNIXLOCALE_MoroccoArabic = ar_MA
+UNIXLOCALE_OmanArabic = ar_OM
+UNIXLOCALE_QatarArabic = ar_QA
+UNIXLOCALE_SaudiArabiaArabic = ar_SA
+UNIXLOCALE_SudanArabic = ar_SD
+UNIXLOCALE_SyriaArabic = ar_SY
+UNIXLOCALE_TunisiaArabic = ar_TN
+UNIXLOCALE_YemenArabic = ar_YE
+UNIXLOCALE_Mapudungun = arn
+UNIXLOCALE_Assamese = as
+UNIXLOCALE_Asturian = ast
+UNIXLOCALE_Avaric = av
+UNIXLOCALE_Awadhi = awa
+UNIXLOCALE_Aymara = ay
+UNIXLOCALE_Azerbaijani = az
+UNIXLOCALE_Bashkir = ba
+UNIXLOCALE_Baluchi = bal
+UNIXLOCALE_Balinese = ban
+UNIXLOCALE_Basa = bas
+UNIXLOCALE_Belarusian = be
+UNIXLOCALE_Beja = bej
+UNIXLOCALE_Bemba = bem
+UNIXLOCALE_Bulgarian = bg
+UNIXLOCALE_Bihari = bh
+UNIXLOCALE_Bhojpuri = bho
+UNIXLOCALE_Bislama = bi
+UNIXLOCALE_Bikol = bik
+UNIXLOCALE_Bini = bin
+UNIXLOCALE_Bambara = bm
+UNIXLOCALE_Bengali = bn
+UNIXLOCALE_BangladeshBengali = bn_BD
+UNIXLOCALE_IndiaBengali = bn_IN
+UNIXLOCALE_Tibetan = bo
+UNIXLOCALE_Breton = br
+UNIXLOCALE_Bosnian = bs
+UNIXLOCALE_Buriat = bua
+UNIXLOCALE_Buginese = bug
+UNIXLOCALE_Blin = byn
+UNIXLOCALE_Catalan = ca
+UNIXLOCALE_Chechen = ce
+UNIXLOCALE_Cebuano = ceb
+UNIXLOCALE_Chamorro = ch
+UNIXLOCALE_Mari = chm
+UNIXLOCALE_Corsican = co
+UNIXLOCALE_Cree = cr
+UNIXLOCALE_CrimeanTatar = crh
+UNIXLOCALE_Czech = cs
+UNIXLOCALE_ChurchSlavic = cu
+UNIXLOCALE_Chuvash = cv
+UNIXLOCALE_Welsh = cy
+UNIXLOCALE_Danish = da
+UNIXLOCALE_German = de
+UNIXLOCALE_AustriaGerman = de_AT
+UNIXLOCALE_BelgiumGerman = de_BE
+UNIXLOCALE_SwitzerlandGerman = de_CH
+UNIXLOCALE_LuxemburgGerman = de_LU
+UNIXLOCALE_Dinka = din
+UNIXLOCALE_Dogri = doi
+UNIXLOCALE_Maldivian = dv
+UNIXLOCALE_Dyula = dyu
+UNIXLOCALE_Bhutani = dz
+UNIXLOCALE_Efik = efi
+UNIXLOCALE_Greek = el
+UNIXLOCALE_GreeceGreek = el_GR
+UNIXLOCALE_English = en
+UNIXLOCALE_AustraliaEnglish = en_AU
+UNIXLOCALE_BotswanaEnglish = en_BW
+UNIXLOCALE_CanadaEnglish = en_CA
+UNIXLOCALE_DenmarkEnglish = en_DK
+UNIXLOCALE_BritainEnglish = en_GB
+UNIXLOCALE_HongKongEnglish = en_HK
+UNIXLOCALE_IrelandEnglish = en_IE
+UNIXLOCALE_IndiaEnglish = en_IN
+UNIXLOCALE_NewZealandEnglish = en_NZ
+UNIXLOCALE_PhilippinesEnglish = en_PH
+UNIXLOCALE_SingaporeEnglish = en_SG
+UNIXLOCALE_AmericanEnglish = en_US
+UNIXLOCALE_SouthAfricaEnglish = en_ZA
+UNIXLOCALE_ZimbabweEnglish = en_ZW
+UNIXLOCALE_Esperanto = eo
+UNIXLOCALE_Spanish = es
+UNIXLOCALE_ArgentinaSpanish = es_AR
+UNIXLOCALE_BoliviaSpanish = es_BO
+UNIXLOCALE_ChileSpanish = es_CL
+UNIXLOCALE_ColombiaSpanish = es_CO
+UNIXLOCALE_CostaRicaSpanish = es_CR
+UNIXLOCALE_DominicanRepublicSpanish = es_DO
+UNIXLOCALE_EcuadorSpanish = es_EC
+UNIXLOCALE_SpainSpanish = es_ES
+UNIXLOCALE_GuatemalaSpanish = es_GT
+UNIXLOCALE_HondurasSpanish = es_HN
+UNIXLOCALE_MexicoSpanish = es_MX
+UNIXLOCALE_NicaraguaSpanish = es_NI
+UNIXLOCALE_PanamaSpanish = es_PA
+UNIXLOCALE_PeruSpanish = es_PE
+UNIXLOCALE_PuertoRicoSpanish = es_PR
+UNIXLOCALE_ParaguaySpanish = es_PY
+UNIXLOCALE_ElSalvadorSpanish = es_SV
+UNIXLOCALE_USASpanish = es_US
+UNIXLOCALE_UruguaySpanish = es_UY
+UNIXLOCALE_VenezuelaSpanish = es_VE
+UNIXLOCALE_Estonian = et
+UNIXLOCALE_EstoniaEstonian = et_EE
+UNIXLOCALE_Basque = eu
+UNIXLOCALE_SpainBasque = eu_ES
+UNIXLOCALE_Ewondo = ewo
+UNIXLOCALE_Persian = fa
+UNIXLOCALE_Fang = fan
+UNIXLOCALE_Fulah = ff
+UNIXLOCALE_Finnish = fi
+UNIXLOCALE_Filipino = fil
+UNIXLOCALE_Fijian = fj
+UNIXLOCALE_Faroese = fo
+UNIXLOCALE_Fon = fon
+UNIXLOCALE_French = fr
+UNIXLOCALE_BelgiumFrench = fr_BE
+UNIXLOCALE_CanadaFrench = fr_CA
+UNIXLOCALE_SwitzerlandFrench = fr_CH
+UNIXLOCALE_LuxemburgFrench = fr_LU
+UNIXLOCALE_Friulian = fur
+UNIXLOCALE_WesternFrisian = fy
+UNIXLOCALE_Irish = ga
+UNIXLOCALE_Ga = gaa
+UNIXLOCALE_Gayo = gay
+UNIXLOCALE_Gbaya = gba
+UNIXLOCALE_Gaelic = gd
+UNIXLOCALE_ScotsGaelic = gd_GB
+UNIXLOCALE_Geez = gez
+UNIXLOCALE_EritreaGeez = gez_ER
+UNIXLOCALE_EthiopiaGeez = gez_ET
+UNIXLOCALE_Gallegan = gl
+UNIXLOCALE_Guarani = gn
+UNIXLOCALE_Gondi = gon
+UNIXLOCALE_Gorontalo = gor
+UNIXLOCALE_Grebo = grb
+UNIXLOCALE_Gujarati = gu
+UNIXLOCALE_Manx = gv
+UNIXLOCALE_Hausa = ha
+UNIXLOCALE_Hebrew = he
+UNIXLOCALE_Hindi = hi
+UNIXLOCALE_Hiligaynon = hil
+UNIXLOCALE_Hmong = hmn
+UNIXLOCALE_HiriMotu = ho
+UNIXLOCALE_Croatian = hr
+UNIXLOCALE_Haitian = ht
+UNIXLOCALE_Hungarian = hu
+UNIXLOCALE_Armenian = hy
+UNIXLOCALE_Herero = hz
+UNIXLOCALE_Interlingua = ia
+UNIXLOCALE_Iban = iba
+UNIXLOCALE_Indonesian = id
+UNIXLOCALE_Interlingue = ie
+UNIXLOCALE_Igbo = ig
+UNIXLOCALE_SichuanYi = ii
+UNIXLOCALE_Inupiak = ik
+UNIXLOCALE_Iloko = ilo
+UNIXLOCALE_Ingush = inh
+UNIXLOCALE_Ido = io
+UNIXLOCALE_Icelandic = is
+UNIXLOCALE_Italian = it
+UNIXLOCALE_SwitzerlandItalian = it_CH
+UNIXLOCALE_Inuktitut = iu
+UNIXLOCALE_Hebrew = iw
+UNIXLOCALE_Japanese = ja
+UNIXLOCALE_Javanese = jv
+UNIXLOCALE_Georgian = ka
+UNIXLOCALE_KaraKalpak = kaa
+UNIXLOCALE_Kabyle = kab
+UNIXLOCALE_Kachin = kac
+UNIXLOCALE_Kamba = kam
+UNIXLOCALE_Kabardian = kbd
+UNIXLOCALE_Kongo = kg
+UNIXLOCALE_Khasi = kha
+UNIXLOCALE_Kikuyu = ki
+UNIXLOCALE_Kwanyama = kj
+UNIXLOCALE_Kazakh = kk
+UNIXLOCALE_Greenlandic = kl
+UNIXLOCALE_Cambodian = km
+UNIXLOCALE_Kimbundu = kmb
+UNIXLOCALE_Kannada = kn
+UNIXLOCALE_Korean = ko
+UNIXLOCALE_Kanuri = kr
+UNIXLOCALE_KarachayBalkar = krc
+UNIXLOCALE_Karelian = krl
+UNIXLOCALE_Kurukh = kru
+UNIXLOCALE_Kashmiri = ks
+UNIXLOCALE_Kurdish = ku
+UNIXLOCALE_Kumyk = kum
+UNIXLOCALE_Komi = kv
+UNIXLOCALE_Cornish = kw
+UNIXLOCALE_Kirghiz = ky
+UNIXLOCALE_Latin = la
+UNIXLOCALE_Ladino = lad
+UNIXLOCALE_Lamba = lam
+UNIXLOCALE_Luxembourgish = lb
+UNIXLOCALE_Lezghian = lez
+UNIXLOCALE_Ganda = lg
+UNIXLOCALE_Limburgish = li
+UNIXLOCALE_Lingala = ln
+UNIXLOCALE_Lao = lo
+UNIXLOCALE_Mongo = lol
+UNIXLOCALE_Lozi = loz
+UNIXLOCALE_Lithuanian = lt
+UNIXLOCALE_LubaKatanga = lu
+UNIXLOCALE_LubaLulua = lua
+UNIXLOCALE_Luganda = lug
+UNIXLOCALE_Lunda = lun
+UNIXLOCALE_Luo = luo
+UNIXLOCALE_Lushai = lus
+UNIXLOCALE_Latvian = lv
+UNIXLOCALE_Madurese = mad
+UNIXLOCALE_Magahi = mag
+UNIXLOCALE_Maithili = mai
+UNIXLOCALE_Makasar = mak
+UNIXLOCALE_Mandingo = man
+UNIXLOCALE_Masai = mas
+UNIXLOCALE_Moksha = mdf
+UNIXLOCALE_Mandar = mdr
+UNIXLOCALE_Mende = men
+UNIXLOCALE_Malagasy = mg
+UNIXLOCALE_Marshallese = mh
+UNIXLOCALE_Maori = mi
+UNIXLOCALE_Minangkabau = min
+UNIXLOCALE_Macedonian = mk
+UNIXLOCALE_Malayalam = ml
+UNIXLOCALE_Mongolian = mn
+UNIXLOCALE_Manipuri = mni
+UNIXLOCALE_Moldavian = mo
+UNIXLOCALE_Mossi = mos
+UNIXLOCALE_Marathi = mr
+UNIXLOCALE_Malay = ms
+UNIXLOCALE_Maltese = mt
+UNIXLOCALE_Burmese = my
+UNIXLOCALE_Erzya = myv
+UNIXLOCALE_Nauru = na
+UNIXLOCALE_Neapolitan = nap
+UNIXLOCALE_NorwegianBokmal = nb
+UNIXLOCALE_NdebeleNorth = nd
+UNIXLOCALE_Nepali = ne
+UNIXLOCALE_NepalBhasa = new
+UNIXLOCALE_Ndonga = ng
+UNIXLOCALE_Nias = nia
+UNIXLOCALE_Dutch = nl
+UNIXLOCALE_BelgiumDutch = nl_BE
+UNIXLOCALE_NetherlandsDutch = nl_NL
+UNIXLOCALE_NorwegianNynorsk = nn
+UNIXLOCALE_Norwegian = no
+UNIXLOCALE_NdebeleSouth = nr
+UNIXLOCALE_Pedi = nso
+UNIXLOCALE_Navajo = nv
+UNIXLOCALE_Chichewa = ny
+UNIXLOCALE_Nyamwezi = nym
+UNIXLOCALE_Nyankole = nyn
+UNIXLOCALE_Nyoro = nyo
+UNIXLOCALE_Nzima = nzi
+UNIXLOCALE_Occitan = oc
+UNIXLOCALE_Ojibwa = oj
+UNIXLOCALE_Oromo = om
+UNIXLOCALE_EthiopiaOromo = om_ET
+UNIXLOCALE_KenyaOromo = om_KE
+UNIXLOCALE_Oriya = or
+UNIXLOCALE_Ossetian = os
+UNIXLOCALE_Punjabi = pa
+UNIXLOCALE_Pangasinan = pag
+UNIXLOCALE_Pampanga = pam
+UNIXLOCALE_Papiamento = pap
+UNIXLOCALE_Pali = pi
+UNIXLOCALE_Polish = pl
+UNIXLOCALE_Pashto = ps
+UNIXLOCALE_Portuguese = pt
+UNIXLOCALE_BrasilPortuguese = pt_BR
+UNIXLOCALE_Quechua = qu
+UNIXLOCALE_Rajasthani = raj
+UNIXLOCALE_Romansh = rm
+UNIXLOCALE_Rundi = rn
+UNIXLOCALE_Romanian = ro
+UNIXLOCALE_Russian = ru
+UNIXLOCALE_UkraineRussian = ru_UA
+UNIXLOCALE_Aromanian = rup
+UNIXLOCALE_Kinyarwanda = rw
+UNIXLOCALE_Sanskrit = sa
+UNIXLOCALE_Yakut = sah
+UNIXLOCALE_Sasak = sas
+UNIXLOCALE_Santali = sat
+UNIXLOCALE_Sicilian = scn
+UNIXLOCALE_Scots = sco
+UNIXLOCALE_Sardinian = sc
+UNIXLOCALE_Sindhi = sd
+UNIXLOCALE_NorthernSaami = se
+UNIXLOCALE_Sango = sg
+UNIXLOCALE_Shan = shn
+UNIXLOCALE_Sinhala = si
+UNIXLOCALE_Sidamo = sid
+UNIXLOCALE_Slovak = sk
+UNIXLOCALE_Slovenian = sl
+UNIXLOCALE_Samoan = sm
+UNIXLOCALE_Shona = sn
+UNIXLOCALE_Soninke = snk
+UNIXLOCALE_Somali = so
+UNIXLOCALE_DjiboutiSomali = so_DJ
+UNIXLOCALE_EthiopiaSomali = so_ET
+UNIXLOCALE_KenyaSomali = so_KE
+UNIXLOCALE_SomaliaSomali = so_SO
+UNIXLOCALE_Albanian = sq
+UNIXLOCALE_Serbian = sr
+UNIXLOCALE_Serer = srr
+UNIXLOCALE_Swati = ss
+UNIXLOCALE_Sotho = st
+UNIXLOCALE_Sundanese = su
+UNIXLOCALE_Sukuma = suk
+UNIXLOCALE_Susu = sus
+UNIXLOCALE_Swedish = sv
+UNIXLOCALE_FinlandSwedish = sv_FI
+UNIXLOCALE_Swahili = sw
+UNIXLOCALE_Tamil = ta
+UNIXLOCALE_Telugu = te
+UNIXLOCALE_Timne = tem
+UNIXLOCALE_Tetum = tet
+UNIXLOCALE_Tajik = tg
+UNIXLOCALE_Thai = th
+UNIXLOCALE_Tigrinya = ti
+UNIXLOCALE_EritreaTigrinya = ti_ER
+UNIXLOCALE_EthiopiaTigrinya = ti_ET
+UNIXLOCALE_Tigre = tig
+UNIXLOCALE_Tiv = tiv
+UNIXLOCALE_Turkmen = tk
+UNIXLOCALE_Tagalog = tl
+UNIXLOCALE_Tswana = tn
+UNIXLOCALE_Tonga = to
+UNIXLOCALE_TongaNyasa = tog
+UNIXLOCALE_TokPisin = tpi
+UNIXLOCALE_Turkish = tr
+UNIXLOCALE_Tsonga = ts
+UNIXLOCALE_Tatar = tt
+UNIXLOCALE_Tumbuka = tum
+UNIXLOCALE_Twi = tw
+UNIXLOCALE_Tahitian = ty
+UNIXLOCALE_Tuvinian = tyv
+UNIXLOCALE_Udmurt = udm
+UNIXLOCALE_Uighur = ug
+UNIXLOCALE_Ukrainian = uk
+UNIXLOCALE_Umbundu = umb
+UNIXLOCALE_Urdu = ur
+UNIXLOCALE_Uzbek = uz
+UNIXLOCALE_Vai = vai
+UNIXLOCALE_Venda = ve
+UNIXLOCALE_Vietnamese = vi
+UNIXLOCALE_Walloon = wa
+UNIXLOCALE_Walamo = wal
+UNIXLOCALE_Waray = war
+UNIXLOCALE_Wolof = wo
+UNIXLOCALE_Kalmyk = xal
+UNIXLOCALE_Xhosa = xh
+UNIXLOCALE_Yao = yao
+UNIXLOCALE_Yiddish = yi
+UNIXLOCALE_Yoruba = yo
+UNIXLOCALE_Zhuang = za
+UNIXLOCALE_Chinese = zh
+UNIXLOCALE_SimplifiedChinese = zh_CN
+UNIXLOCALE_HongKongChinese = zh_HK
+UNIXLOCALE_SingaporeChinese = zh_SG
+UNIXLOCALE_TraditionalChinese = zh_TW
+UNIXLOCALE_Zulu = zu
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/af.po b/gettext-tools/examples/hello-objc-gnustep/po/af.po
new file mode 100644
index 0000000..8234e80
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Hierdie program loop as prosesnommer %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/ast.po b/gettext-tools/examples/hello-objc-gnustep/po/ast.po
new file mode 100644
index 0000000..28830d3
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/bg.po b/gettext-tools/examples/hello-objc-gnustep/po/bg.po
new file mode 100644
index 0000000..5625b4c
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-objc-gnustep package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-objc-gnustep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Програмата е пусната под процес номер %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/ca.po b/gettext-tools/examples/hello-objc-gnustep/po/ca.po
new file mode 100644
index 0000000..10147fc
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-objc-gnustep.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Aquest programa està corrent amb el número de procés %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/cs.po b/gettext-tools/examples/hello-objc-gnustep/po/cs.po
new file mode 100644
index 0000000..222d1a3
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Tento program běží jako proces číslo %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/da.po b/gettext-tools/examples/hello-objc-gnustep/po/da.po
new file mode 100644
index 0000000..39527f5
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-objc-gnustep.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Dette program krer som proces nummer %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/de.po b/gettext-tools/examples/hello-objc-gnustep/po/de.po
new file mode 100644
index 0000000..7419582
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-objc-gnustep.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/el.po b/gettext-tools/examples/hello-objc-gnustep/po/el.po
new file mode 100644
index 0000000..601e6b3
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-objc-gnustep
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/eo.po b/gettext-tools/examples/hello-objc-gnustep/po/eo.po
new file mode 100644
index 0000000..cc49a26
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/es.po b/gettext-tools/examples/hello-objc-gnustep/po/es.po
new file mode 100644
index 0000000..46b7cb2
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está corriendo como el proceso número %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/fi.po b/gettext-tools/examples/hello-objc-gnustep/po/fi.po
new file mode 100644
index 0000000..4ab61b7
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Tämän ohjelman prosessinumero on %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/fr.po b/gettext-tools/examples/hello-objc-gnustep/po/fr.po
new file mode 100644
index 0000000..66e7aad
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-objc-gnustep 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Ce programme est exécuté en tant que processus numéro %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/ga.po b/gettext-tools/examples/hello-objc-gnustep/po/ga.po
new file mode 100644
index 0000000..ef01957
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-objc-gnustep.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-objc-gnustep package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "T an clr seo rith mar phriseas %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/gl.po b/gettext-tools/examples/hello-objc-gnustep/po/gl.po
new file mode 100644
index 0000000..a7d5cf7
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-objc-gnustep package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Este programa estase executando como o proceso número %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/hr.po b/gettext-tools/examples/hello-objc-gnustep/po/hr.po
new file mode 100644
index 0000000..5937853
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-objc-gnustep to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Ovaj program je pokrenut kao proces broj %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/hu.po b/gettext-tools/examples/hello-objc-gnustep/po/hu.po
new file mode 100644
index 0000000..a3227e2
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-objc-gnustep.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Ez a program a(z) %d folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/id.po b/gettext-tools/examples/hello-objc-gnustep/po/id.po
new file mode 100644
index 0000000..479e8fb
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-objc-gnustep-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Program ini berjalan sebagai proses nomor %d"
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/it.po b/gettext-tools/examples/hello-objc-gnustep/po/it.po
new file mode 100644
index 0000000..03a5b05
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-objc-gnustep.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Questo programma è in esecuzione con numero di processo %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/ja.po b/gettext-tools/examples/hello-objc-gnustep/po/ja.po
new file mode 100644
index 0000000..26c5047
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-objc-gnustep' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-objc-gnustep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Υץϥץֹ %d ưƤޤ."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/ky.po b/gettext-tools/examples/hello-objc-gnustep/po/ky.po
new file mode 100644
index 0000000..35e6ab0
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-objc-gnustep' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Бул программа %d процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/lv.po b/gettext-tools/examples/hello-objc-gnustep/po/lv.po
new file mode 100644
index 0000000..888bdc3
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-objc-gnustep
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Šī programma darbojas kā process ar numuru %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/ms.po b/gettext-tools/examples/hello-objc-gnustep/po/ms.po
new file mode 100644
index 0000000..ac0d4fd
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/ms.po
@@ -0,0 +1,26 @@
+# hello-objc-gnustep Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-objc-gnustep package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/mt.po b/gettext-tools/examples/hello-objc-gnustep/po/mt.po
new file mode 100644
index 0000000..6daf58c
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/mt.po
@@ -0,0 +1,26 @@
+# hello-objc-gnustep-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/nb.po b/gettext-tools/examples/hello-objc-gnustep/po/nb.po
new file mode 100644
index 0000000..0d7c9b5
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-objc-gnustep package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Dette programmet kjører som prosess nummer %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/nl.po b/gettext-tools/examples/hello-objc-gnustep/po/nl.po
new file mode 100644
index 0000000..3dd7615
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-objc-gnustep.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Dit programma draait als proces nummer %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/pl.po b/gettext-tools/examples/hello-objc-gnustep/po/pl.po
new file mode 100644
index 0000000..c201cf3
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-objc-gnustep domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Ten program działa jako proces o numerze %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/pt.po b/gettext-tools/examples/hello-objc-gnustep/po/pt.po
new file mode 100644
index 0000000..e6ff6c7
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-objc-gnustep' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-objc-gnustep package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está a ser executado com o número de processo %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/pt_BR.po b/gettext-tools/examples/hello-objc-gnustep/po/pt_BR.po
new file mode 100644
index 0000000..5aabedd
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está executando com número de processo %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/ro.po b/gettext-tools/examples/hello-objc-gnustep/po/ro.po
new file mode 100644
index 0000000..8c89e48
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-objc-gnustep-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-objc-gnustep.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Acest program este rulat ca procesul numrul %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/ru.po b/gettext-tools/examples/hello-objc-gnustep/po/ru.po
new file mode 100644
index 0000000..577891a
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-objc-gnustep-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Эта программа выполняется как процесс под номером %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/sk.po b/gettext-tools/examples/hello-objc-gnustep/po/sk.po
new file mode 100644
index 0000000..3505f6d
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-objc-gnustep package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-objc-gnustep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Tento program beží ako proces s číslom %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/sl.po b/gettext-tools/examples/hello-objc-gnustep/po/sl.po
new file mode 100644
index 0000000..88e22c5
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-objc-gnustep-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Ta program teče kot proces številka %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/sr.po b/gettext-tools/examples/hello-objc-gnustep/po/sr.po
new file mode 100644
index 0000000..8ffd6c8
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-objc-gnustep.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Овај програм се извршава као процес број %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/sv.po b/gettext-tools/examples/hello-objc-gnustep/po/sv.po
new file mode 100644
index 0000000..09085c8
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-objc-gnustep.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Detta program kör som process nummer %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/tr.po b/gettext-tools/examples/hello-objc-gnustep/po/tr.po
new file mode 100644
index 0000000..41c3635
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Bu yazılım, %d süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/uk.po b/gettext-tools/examples/hello-objc-gnustep/po/uk.po
new file mode 100644
index 0000000..cdaec91
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-objc-gnustep
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Ця програма виконується як процес з номером %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/vi.po b/gettext-tools/examples/hello-objc-gnustep/po/vi.po
new file mode 100644
index 0000000..0581055
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %d."
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/zh_CN.po b/gettext-tools/examples/hello-objc-gnustep/po/zh_CN.po
new file mode 100644
index 0000000..9183f4e
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-objc-gnustep.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-objc-gnustep package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "此程序正以进程号 %d 运行。"
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/zh_HK.po b/gettext-tools/examples/hello-objc-gnustep/po/zh_HK.po
new file mode 100644
index 0000000..4047f6f
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-objc-gnustep.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行中,進程編號為 %d。"
diff --git a/gettext-tools/examples/hello-objc-gnustep/po/zh_TW.po b/gettext-tools/examples/hello-objc-gnustep/po/zh_TW.po
new file mode 100644
index 0000000..7a27bee
--- /dev/null
+++ b/gettext-tools/examples/hello-objc-gnustep/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-objc-gnustep.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-gnustep 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Hello.m:49
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行,行程編號為 %d。"
diff --git a/gettext-tools/examples/hello-objc/INSTALL b/gettext-tools/examples/hello-objc/INSTALL
new file mode 100644
index 0000000..6232f1b
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/INSTALL
@@ -0,0 +1,11 @@
+This example relies on:
+ - the Objective C runtime libraries (libobjc)
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-objc/Makefile.am b/gettext-tools/examples/hello-objc/Makefile.am
new file mode 100644
index 0000000..2d7acbb
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/Makefile.am
@@ -0,0 +1,29 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign no-dependencies
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_PROGRAMS = hello
+
+# The source files of the 'hello' program.
+hello_SOURCES = hello.m gettext.h
+
+# Define a C macro LOCALEDIR indicating where catalogs will be installed.
+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
+
+# Make sure the gettext.h include file is found.
+AM_CPPFLAGS = -I. -I$(srcdir)
+
+# Link time dependencies.
+LDADD = @LIBINTL@
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-objc/autoclean.sh b/gettext-tools/examples/hello-objc/autoclean.sh
new file mode 100755
index 0000000..7575334
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/autoclean.sh
@@ -0,0 +1,62 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f gettext.h
+
+# Brought in by autopoint.
+rm -f ABOUT-NLS
+rm -f config.rpath
+rm -f m4/codeset.m4
+rm -f m4/gettext.m4
+rm -f m4/glibc2.m4
+rm -f m4/glibc21.m4
+rm -f m4/iconv.m4
+rm -f m4/intdiv0.m4
+rm -f m4/intl.m4
+rm -f m4/intldir.m4
+rm -f m4/intlmacosx.m4
+rm -f m4/intmax.m4
+rm -f m4/inttypes-pri.m4
+rm -f m4/inttypes_h.m4
+rm -f m4/lcmessage.m4
+rm -f m4/lib-ld.m4
+rm -f m4/lib-link.m4
+rm -f m4/lib-prefix.m4
+rm -f m4/lock.m4
+rm -f m4/longlong.m4
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/printf-posix.m4
+rm -f m4/progtest.m4
+rm -f m4/size_max.m4
+rm -f m4/stdint_h.m4
+rm -f m4/uintmax_t.m4
+rm -f m4/visibility.m4
+rm -f m4/wchar_t.m4
+rm -f m4/wint_t.m4
+rm -f m4/xsize.m4
+rm -f po/Makefile.in.in
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f config.guess
+rm -f config.sub
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-objc/autogen.sh b/gettext-tools/examples/hello-objc/autogen.sh
new file mode 100755
index 0000000..78b1503
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/autogen.sh
@@ -0,0 +1,50 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${GETTEXTSRCDIR-$GETTEXT_TOPSRCDIR/gettext-tools/gnulib-lib}/gettext.h gettext.h
+
+autopoint -f # was: gettextize -f -c
+rm po/Makevars.template
+rm po/Rules-quot
+rm po/boldquot.sed
+rm po/en@boldquot.header
+rm po/en@quot.header
+rm po/insert-header.sin
+rm po/quot.sed
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-objc/configure.ac b/gettext-tools/examples/hello-objc/configure.ac
new file mode 100644
index 0000000..86ddc70
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/configure.ac
@@ -0,0 +1,19 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.m)
+AM_INIT_AUTOMAKE(hello-objc, 0)
+
+AC_PROG_CC
+AC_SUBST(OBJC,["$CC"])
+AC_CHECK_HEADERS([unistd.h])
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION(0.15)
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile.in])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-objc/hello.m b/gettext-tools/examples/hello-objc/hello.m
new file mode 100644
index 0000000..1fca03e
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/hello.m
@@ -0,0 +1,35 @@
+/* Example for use of GNU gettext.
+ This file is in the public domain.
+
+ Source code of the Objective-C program. */
+
+
+/* Get setlocale() declaration. */
+#include <locale.h>
+
+/* Get printf() declaration. */
+#include <stdio.h>
+
+/* Get getpid() declaration. */
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
+/* Get gettext(), textdomain(), bindtextdomain() declaration. */
+#include "gettext.h"
+/* Define shortcut for gettext(). */
+#define _(string) gettext (string)
+
+int
+main ()
+{
+ setlocale (LC_ALL, "");
+ textdomain ("hello-objc");
+ bindtextdomain ("hello-objc", LOCALEDIR);
+
+ printf ("%s\n", _("Hello, world!"));
+ printf (_("This program is running as process number %d."), getpid ());
+ putchar ('\n');
+
+ return 0;
+}
diff --git a/gettext-tools/examples/hello-objc/m4/Makefile.am b/gettext-tools/examples/hello-objc/m4/Makefile.am
new file mode 100644
index 0000000..000cd06
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/m4/Makefile.am
@@ -0,0 +1,5 @@
+EXTRA_DIST = \
+ codeset.m4 gettext.m4 glibc2.m4 glibc21.m4 iconv.m4 intdiv0.m4 \
+ inttypes_h.m4 inttypes-pri.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 \
+ lib-prefix.m4 lock.m4 nls.m4 po.m4 progtest.m4 stdint_h.m4 \
+ uintmax_t.m4 visibility.m4
diff --git a/gettext-tools/examples/hello-objc/po/LINGUAS b/gettext-tools/examples/hello-objc/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-objc/po/Makevars b/gettext-tools/examples/hello-objc/po/Makevars
new file mode 100644
index 0000000..6b3a68c
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/Makevars
@@ -0,0 +1,55 @@
+# Makefile variables for PO directory in any package using GNU gettext.
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These two variables depend on the location of this directory.
+subdir = po
+top_builddir = ..
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = \
+ --keyword=_ --flag=_:1:pass-c-format \
+ --keyword=N_ --flag=N_:1:pass-c-format
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
+# context. Possible values are "yes" and "no". Set this to yes if the
+# package uses functions taking also a message context, like pgettext(), or
+# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
+USE_MSGCTXT = no
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
diff --git a/gettext-tools/examples/hello-objc/po/POTFILES.in b/gettext-tools/examples/hello-objc/po/POTFILES.in
new file mode 100644
index 0000000..0f7595d
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/POTFILES.in
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# List of files which contain translatable strings.
+hello.m
diff --git a/gettext-tools/examples/hello-objc/po/af.po b/gettext-tools/examples/hello-objc/po/af.po
new file mode 100644
index 0000000..58c3a31
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Hierdie program loop as prosesnommer %d."
diff --git a/gettext-tools/examples/hello-objc/po/ast.po b/gettext-tools/examples/hello-objc/po/ast.po
new file mode 100644
index 0000000..c0c0e04
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %d."
diff --git a/gettext-tools/examples/hello-objc/po/bg.po b/gettext-tools/examples/hello-objc/po/bg.po
new file mode 100644
index 0000000..c6d828e
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-objc package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-objc 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Програмата е пусната под процес номер %d."
diff --git a/gettext-tools/examples/hello-objc/po/ca.po b/gettext-tools/examples/hello-objc/po/ca.po
new file mode 100644
index 0000000..20e7894
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-objc.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Aquest programa està corrent amb el número de procés %d."
diff --git a/gettext-tools/examples/hello-objc/po/cs.po b/gettext-tools/examples/hello-objc/po/cs.po
new file mode 100644
index 0000000..d972b75
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tento program běží jako proces číslo %d."
diff --git a/gettext-tools/examples/hello-objc/po/da.po b/gettext-tools/examples/hello-objc/po/da.po
new file mode 100644
index 0000000..2817436
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-objc.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dette program krer som proces nummer %d."
diff --git a/gettext-tools/examples/hello-objc/po/de.po b/gettext-tools/examples/hello-objc/po/de.po
new file mode 100644
index 0000000..3144a48
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-objc.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %d."
diff --git a/gettext-tools/examples/hello-objc/po/el.po b/gettext-tools/examples/hello-objc/po/el.po
new file mode 100644
index 0000000..b724427
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-objc
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d."
diff --git a/gettext-tools/examples/hello-objc/po/eo.po b/gettext-tools/examples/hello-objc/po/eo.po
new file mode 100644
index 0000000..21956a7
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %d."
diff --git a/gettext-tools/examples/hello-objc/po/es.po b/gettext-tools/examples/hello-objc/po/es.po
new file mode 100644
index 0000000..7398c20
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está corriendo como el proceso número %d."
diff --git a/gettext-tools/examples/hello-objc/po/fi.po b/gettext-tools/examples/hello-objc/po/fi.po
new file mode 100644
index 0000000..3518e7c
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tämän ohjelman prosessinumero on %d."
diff --git a/gettext-tools/examples/hello-objc/po/fr.po b/gettext-tools/examples/hello-objc/po/fr.po
new file mode 100644
index 0000000..0859ed7
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-objc 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ce programme est exécuté en tant que processus numéro %d."
diff --git a/gettext-tools/examples/hello-objc/po/ga.po b/gettext-tools/examples/hello-objc/po/ga.po
new file mode 100644
index 0000000..9ef062a
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-objc.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-objc package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "T an clr seo rith mar phriseas %d."
diff --git a/gettext-tools/examples/hello-objc/po/gl.po b/gettext-tools/examples/hello-objc/po/gl.po
new file mode 100644
index 0000000..b7f944a
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-objc package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa estase executando como o proceso número %d."
diff --git a/gettext-tools/examples/hello-objc/po/hr.po b/gettext-tools/examples/hello-objc/po/hr.po
new file mode 100644
index 0000000..50a1e50
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-objc to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ovaj program je pokrenut kao proces broj %d."
diff --git a/gettext-tools/examples/hello-objc/po/hu.po b/gettext-tools/examples/hello-objc/po/hu.po
new file mode 100644
index 0000000..1b7f32d
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-objc.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ez a program a(z) %d folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-objc/po/id.po b/gettext-tools/examples/hello-objc/po/id.po
new file mode 100644
index 0000000..d8fb99d
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-objc-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Program ini berjalan sebagai proses nomor %d"
diff --git a/gettext-tools/examples/hello-objc/po/it.po b/gettext-tools/examples/hello-objc/po/it.po
new file mode 100644
index 0000000..7ec12fc
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-objc.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Questo programma è in esecuzione con numero di processo %d."
diff --git a/gettext-tools/examples/hello-objc/po/ja.po b/gettext-tools/examples/hello-objc/po/ja.po
new file mode 100644
index 0000000..5864488
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-objc' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-objc 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Υץϥץֹ %d ưƤޤ."
diff --git a/gettext-tools/examples/hello-objc/po/ky.po b/gettext-tools/examples/hello-objc/po/ky.po
new file mode 100644
index 0000000..06d997c
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-objc' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Бул программа %d процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-objc/po/lv.po b/gettext-tools/examples/hello-objc/po/lv.po
new file mode 100644
index 0000000..87181c9
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-objc
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Šī programma darbojas kā process ar numuru %d."
diff --git a/gettext-tools/examples/hello-objc/po/ms.po b/gettext-tools/examples/hello-objc/po/ms.po
new file mode 100644
index 0000000..36af0d4
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/ms.po
@@ -0,0 +1,26 @@
+# hello-objc Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-objc package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %d."
diff --git a/gettext-tools/examples/hello-objc/po/mt.po b/gettext-tools/examples/hello-objc/po/mt.po
new file mode 100644
index 0000000..cfb6876
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/mt.po
@@ -0,0 +1,26 @@
+# hello-objc-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d."
diff --git a/gettext-tools/examples/hello-objc/po/nb.po b/gettext-tools/examples/hello-objc/po/nb.po
new file mode 100644
index 0000000..3dcf3b1
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-objc package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dette programmet kjører som prosess nummer %d."
diff --git a/gettext-tools/examples/hello-objc/po/nl.po b/gettext-tools/examples/hello-objc/po/nl.po
new file mode 100644
index 0000000..836b6df
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-objc.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Dit programma draait als proces nummer %d."
diff --git a/gettext-tools/examples/hello-objc/po/pl.po b/gettext-tools/examples/hello-objc/po/pl.po
new file mode 100644
index 0000000..b482e7f
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-objc domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ten program działa jako proces o numerze %d."
diff --git a/gettext-tools/examples/hello-objc/po/pt.po b/gettext-tools/examples/hello-objc/po/pt.po
new file mode 100644
index 0000000..a204bad
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-objc' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-objc package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está a ser executado com o número de processo %d."
diff --git a/gettext-tools/examples/hello-objc/po/pt_BR.po b/gettext-tools/examples/hello-objc/po/pt_BR.po
new file mode 100644
index 0000000..69f62bd
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está executando com número de processo %d."
diff --git a/gettext-tools/examples/hello-objc/po/ro.po b/gettext-tools/examples/hello-objc/po/ro.po
new file mode 100644
index 0000000..ac33e16
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-objc-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-objc.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Acest program este rulat ca procesul numrul %d."
diff --git a/gettext-tools/examples/hello-objc/po/ru.po b/gettext-tools/examples/hello-objc/po/ru.po
new file mode 100644
index 0000000..c83c01d
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-objc-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Эта программа выполняется как процесс под номером %d."
diff --git a/gettext-tools/examples/hello-objc/po/sk.po b/gettext-tools/examples/hello-objc/po/sk.po
new file mode 100644
index 0000000..3f1eafd
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-objc package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-objc 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Tento program beží ako proces s číslom %d."
diff --git a/gettext-tools/examples/hello-objc/po/sl.po b/gettext-tools/examples/hello-objc/po/sl.po
new file mode 100644
index 0000000..42b6229
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-objc-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ta program teče kot proces številka %d."
diff --git a/gettext-tools/examples/hello-objc/po/sr.po b/gettext-tools/examples/hello-objc/po/sr.po
new file mode 100644
index 0000000..f10af4a
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-objc.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Овај програм се извршава као процес број %d."
diff --git a/gettext-tools/examples/hello-objc/po/sv.po b/gettext-tools/examples/hello-objc/po/sv.po
new file mode 100644
index 0000000..0df8e56
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-objc.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Detta program kör som process nummer %d."
diff --git a/gettext-tools/examples/hello-objc/po/tr.po b/gettext-tools/examples/hello-objc/po/tr.po
new file mode 100644
index 0000000..5e18359
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Bu yazılım, %d süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-objc/po/uk.po b/gettext-tools/examples/hello-objc/po/uk.po
new file mode 100644
index 0000000..e6981b8
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-objc
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Ця програма виконується як процес з номером %d."
diff --git a/gettext-tools/examples/hello-objc/po/vi.po b/gettext-tools/examples/hello-objc/po/vi.po
new file mode 100644
index 0000000..4fe2b36
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %d."
diff --git a/gettext-tools/examples/hello-objc/po/zh_CN.po b/gettext-tools/examples/hello-objc/po/zh_CN.po
new file mode 100644
index 0000000..55ab2c8
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-objc.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-objc package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "此程序正以进程号 %d 运行。"
diff --git a/gettext-tools/examples/hello-objc/po/zh_HK.po b/gettext-tools/examples/hello-objc/po/zh_HK.po
new file mode 100644
index 0000000..cb50e00
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-objc.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行中,進程編號為 %d。"
diff --git a/gettext-tools/examples/hello-objc/po/zh_TW.po b/gettext-tools/examples/hello-objc/po/zh_TW.po
new file mode 100644
index 0000000..de87757
--- /dev/null
+++ b/gettext-tools/examples/hello-objc/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-objc.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-objc 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.m:30
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行,行程編號為 %d。"
diff --git a/gettext-tools/examples/hello-pascal/INSTALL b/gettext-tools/examples/hello-pascal/INSTALL
new file mode 100644
index 0000000..5960428
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/INSTALL
@@ -0,0 +1,11 @@
+This example relies on:
+ - Free Pascal 2.0 or newer (ppc386)
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-pascal/Makefile.am b/gettext-tools/examples/hello-pascal/Makefile.am
new file mode 100644
index 0000000..41b73c6
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/Makefile.am
@@ -0,0 +1,45 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_PASCALPROGRAMS = hello
+
+# The source files of the 'hello' program.
+hello_SOURCES = hello.pas
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
+
+# ---------------- General rules for compiling Pascal programs ----------------
+
+all-local: hello$(EXEEXT)
+
+# How to build the 'hello' program.
+hello$(EXEEXT) hello.rst: $(hello_SOURCES)
+ LOCALEDIR='@localedir@' $(PPC) $(hello_SOURCES)
+
+install-exec-local: all-local
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) hello$(EXEEXT) $(DESTDIR)$(bindir)/hello$(EXEEXT)
+
+installdirs-local:
+ $(MKDIR_P) $(DESTDIR)$(bindir)
+
+uninstall-local:
+ rm -f $(DESTDIR)$(bindir)/hello$(EXEEXT)
+
+# Distribute the RST file because it's needed to generate POT files and can
+# only be rebuilt on those platforms to which the Pascal compiler is ported.
+EXTRA_DIST += hello.rst
+
+# The list of auxiliary files generated during the compilation.
+CLEANFILES = hello.o hello$(EXEEXT)
diff --git a/gettext-tools/examples/hello-pascal/autoclean.sh b/gettext-tools/examples/hello-pascal/autoclean.sh
new file mode 100755
index 0000000..7c2c432
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/autoclean.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-pascal/autogen.sh b/gettext-tools/examples/hello-pascal/autogen.sh
new file mode 100755
index 0000000..7e51979
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/autogen.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-pascal/configure.ac b/gettext-tools/examples/hello-pascal/configure.ac
new file mode 100644
index 0000000..76920b8
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/configure.ac
@@ -0,0 +1,38 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.pas)
+AM_INIT_AUTOMAKE(hello-pascal, 0)
+
+dnl Check for availability of the Free Pascal Compiler.
+AC_PATH_PROG(PPC, ppc386)
+if test -z "$PPC"; then
+ echo "*** Essential program ppc386 not found" 1>&2
+ exit 1
+fi
+AC_SUBST(PPC)
+
+dnl The installed program must know where to find its message catalogs.
+dnl Unfortunately, prefix gets only finally determined at the end of configure.
+if test "X$prefix" = "XNONE"; then
+ final_prefix="$ac_default_prefix"
+else
+ final_prefix="$prefix"
+fi
+save_prefix="$prefix"
+prefix="$final_prefix"
+eval "datarootdir=\"${datarootdir}\""
+eval "localedir=\"${datadir}/locale\""
+prefix="$save_prefix"
+AC_SUBST(localedir)
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-pascal/hello.pas b/gettext-tools/examples/hello-pascal/hello.pas
new file mode 100644
index 0000000..3a10bdc
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/hello.pas
@@ -0,0 +1,20 @@
+{ Example for use of GNU gettext.
+ This file is in the public domain.
+
+ Source code of the Pascal program. }
+
+program hello;
+{$mode delphi}
+
+uses gettext, { translateresourcestrings }
+ sysutils; { format }
+
+resourcestring
+ hello_world = 'Hello, world!';
+ running_as = 'This program is running as process number %d.';
+
+begin
+ translateresourcestrings({$i %LOCALEDIR%}+'/%s/LC_MESSAGES/hello-pascal.mo');
+ writeln(hello_world);
+ writeln(format(running_as,[GetProcessID]));
+end.
diff --git a/gettext-tools/examples/hello-pascal/hello.rst b/gettext-tools/examples/hello-pascal/hello.rst
new file mode 100644
index 0000000..9f04be6
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/hello.rst
@@ -0,0 +1,8 @@
+
+# hash value = 153469889
+hello.hello_world='Hello, world!'
+
+
+# hash value = 1323310
+hello.running_as='This program is running as process number %d.'
+
diff --git a/gettext-tools/examples/hello-pascal/m4/Makefile.am b/gettext-tools/examples/hello-pascal/m4/Makefile.am
new file mode 100644
index 0000000..8a841b3
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/m4/Makefile.am
@@ -0,0 +1,2 @@
+EXTRA_DIST = \
+ nls.m4 po.m4
diff --git a/gettext-tools/examples/hello-pascal/po/LINGUAS b/gettext-tools/examples/hello-pascal/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-pascal/po/Makefile.am b/gettext-tools/examples/hello-pascal/po/Makefile.am
new file mode 100644
index 0000000..2419479
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/Makefile.am
@@ -0,0 +1,356 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello.rst
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS =
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).gmo)
+GMOFILES = @GMOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(lang).gmo)
+CATALOGS = @CATALOGS@
+
+SUFFIXES = .po .gmo .mo .sed .sin .nop .po-create .po-update
+
+.po.mo:
+ @echo "$(MSGFMT) -c -o $@ $<"; \
+ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
+
+.po.gmo:
+ @lang=`echo $* | sed -e 's,.*/,,'`; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
+ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
+# In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+install-data-local: install-data-local-@USE_NLS@
+install-data-local-no: all-local
+install-data-local-yes: all-local
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
+ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
+ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
+ fi; \
+ done; \
+ done
+
+installdirs-local: installdirs-local-@USE_NLS@
+installdirs-local-no:
+installdirs-local-yes:
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ fi; \
+ done; \
+ done
+
+uninstall-local: uninstall-local-@USE_NLS@
+uninstall-local-no:
+uninstall-local-yes:
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ done; \
+ done
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+MOSTLYCLEANFILES += *.o
+
+DISTCLEANFILES = *.mo
+
+MAINTAINERCLEANFILES = stamp-po $(GMOFILES)
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-gmo
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-gmo: Makefile $(GMOFILES)
+ @:
diff --git a/gettext-tools/examples/hello-pascal/po/af.po b/gettext-tools/examples/hello-pascal/po/af.po
new file mode 100644
index 0000000..e652dfd
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Hierdie program loop as prosesnommer %d."
diff --git a/gettext-tools/examples/hello-pascal/po/ast.po b/gettext-tools/examples/hello-pascal/po/ast.po
new file mode 100644
index 0000000..d0be695
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %d."
diff --git a/gettext-tools/examples/hello-pascal/po/bg.po b/gettext-tools/examples/hello-pascal/po/bg.po
new file mode 100644
index 0000000..4b69bcf
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-pascal package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-pascal 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Програмата е пусната под процес номер %d."
diff --git a/gettext-tools/examples/hello-pascal/po/ca.po b/gettext-tools/examples/hello-pascal/po/ca.po
new file mode 100644
index 0000000..fdc571d
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-pascal.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Aquest programa està corrent amb el número de procés %d."
diff --git a/gettext-tools/examples/hello-pascal/po/cs.po b/gettext-tools/examples/hello-pascal/po/cs.po
new file mode 100644
index 0000000..99731d5
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Tento program běží jako proces číslo %d."
diff --git a/gettext-tools/examples/hello-pascal/po/da.po b/gettext-tools/examples/hello-pascal/po/da.po
new file mode 100644
index 0000000..c39226d
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-pascal.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Dette program krer som proces nummer %d."
diff --git a/gettext-tools/examples/hello-pascal/po/de.po b/gettext-tools/examples/hello-pascal/po/de.po
new file mode 100644
index 0000000..0dccf86
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-pascal.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %d."
diff --git a/gettext-tools/examples/hello-pascal/po/el.po b/gettext-tools/examples/hello-pascal/po/el.po
new file mode 100644
index 0000000..d6600e4
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-pascal
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d."
diff --git a/gettext-tools/examples/hello-pascal/po/eo.po b/gettext-tools/examples/hello-pascal/po/eo.po
new file mode 100644
index 0000000..a350a9a
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %d."
diff --git a/gettext-tools/examples/hello-pascal/po/es.po b/gettext-tools/examples/hello-pascal/po/es.po
new file mode 100644
index 0000000..11dd07c
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está corriendo como el proceso número %d."
diff --git a/gettext-tools/examples/hello-pascal/po/fi.po b/gettext-tools/examples/hello-pascal/po/fi.po
new file mode 100644
index 0000000..6486c67
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Tämän ohjelman prosessinumero on %d."
diff --git a/gettext-tools/examples/hello-pascal/po/fr.po b/gettext-tools/examples/hello-pascal/po/fr.po
new file mode 100644
index 0000000..fba62f6
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-pascal 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Ce programme est exécuté en tant que processus numéro %d."
diff --git a/gettext-tools/examples/hello-pascal/po/ga.po b/gettext-tools/examples/hello-pascal/po/ga.po
new file mode 100644
index 0000000..29a1e42
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-pascal.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-pascal package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "T an clr seo rith mar phriseas %d."
diff --git a/gettext-tools/examples/hello-pascal/po/gl.po b/gettext-tools/examples/hello-pascal/po/gl.po
new file mode 100644
index 0000000..364a289
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-pascal package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Este programa estase executando como o proceso número %d."
diff --git a/gettext-tools/examples/hello-pascal/po/hr.po b/gettext-tools/examples/hello-pascal/po/hr.po
new file mode 100644
index 0000000..6e9567b
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-pascal to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Ovaj program je pokrenut kao proces broj %d."
diff --git a/gettext-tools/examples/hello-pascal/po/hu.po b/gettext-tools/examples/hello-pascal/po/hu.po
new file mode 100644
index 0000000..0a96e3b
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-pascal.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Ez a program a(z) %d folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-pascal/po/id.po b/gettext-tools/examples/hello-pascal/po/id.po
new file mode 100644
index 0000000..ebc320a
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-pascal-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Program ini berjalan sebagai proses nomor %d"
diff --git a/gettext-tools/examples/hello-pascal/po/it.po b/gettext-tools/examples/hello-pascal/po/it.po
new file mode 100644
index 0000000..4be3985
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-pascal.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Questo programma è in esecuzione con numero di processo %d."
diff --git a/gettext-tools/examples/hello-pascal/po/ja.po b/gettext-tools/examples/hello-pascal/po/ja.po
new file mode 100644
index 0000000..02ac37c
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-pascal' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-pascal 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Υץϥץֹ %d ưƤޤ."
diff --git a/gettext-tools/examples/hello-pascal/po/ky.po b/gettext-tools/examples/hello-pascal/po/ky.po
new file mode 100644
index 0000000..9420f62
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-pascal' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Бул программа %d процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-pascal/po/lv.po b/gettext-tools/examples/hello-pascal/po/lv.po
new file mode 100644
index 0000000..3cb5249
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-pascal
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Šī programma darbojas kā process ar numuru %d."
diff --git a/gettext-tools/examples/hello-pascal/po/ms.po b/gettext-tools/examples/hello-pascal/po/ms.po
new file mode 100644
index 0000000..693dc2f
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/ms.po
@@ -0,0 +1,26 @@
+# hello-pascal Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-pascal package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %d."
diff --git a/gettext-tools/examples/hello-pascal/po/mt.po b/gettext-tools/examples/hello-pascal/po/mt.po
new file mode 100644
index 0000000..2e27db0
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/mt.po
@@ -0,0 +1,26 @@
+# hello-pascal-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d."
diff --git a/gettext-tools/examples/hello-pascal/po/nb.po b/gettext-tools/examples/hello-pascal/po/nb.po
new file mode 100644
index 0000000..4031fc3
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-pascal package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Dette programmet kjører som prosess nummer %d."
diff --git a/gettext-tools/examples/hello-pascal/po/nl.po b/gettext-tools/examples/hello-pascal/po/nl.po
new file mode 100644
index 0000000..7474ff0
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-pascal.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Dit programma draait als proces nummer %d."
diff --git a/gettext-tools/examples/hello-pascal/po/pl.po b/gettext-tools/examples/hello-pascal/po/pl.po
new file mode 100644
index 0000000..652059c
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-pascal domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Ten program działa jako proces o numerze %d."
diff --git a/gettext-tools/examples/hello-pascal/po/pt.po b/gettext-tools/examples/hello-pascal/po/pt.po
new file mode 100644
index 0000000..fed2115
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-pascal' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-pascal package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está a ser executado com o número de processo %d."
diff --git a/gettext-tools/examples/hello-pascal/po/pt_BR.po b/gettext-tools/examples/hello-pascal/po/pt_BR.po
new file mode 100644
index 0000000..f9fc14b
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está executando com número de processo %d."
diff --git a/gettext-tools/examples/hello-pascal/po/ro.po b/gettext-tools/examples/hello-pascal/po/ro.po
new file mode 100644
index 0000000..79e575e
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-pascal-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-pascal.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Acest program este rulat ca procesul numrul %d."
diff --git a/gettext-tools/examples/hello-pascal/po/ru.po b/gettext-tools/examples/hello-pascal/po/ru.po
new file mode 100644
index 0000000..7d2f794
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-pascal-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Эта программа выполняется как процесс под номером %d."
diff --git a/gettext-tools/examples/hello-pascal/po/sk.po b/gettext-tools/examples/hello-pascal/po/sk.po
new file mode 100644
index 0000000..e35d09c
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-pascal package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-pascal 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Tento program beží ako proces s číslom %d."
diff --git a/gettext-tools/examples/hello-pascal/po/sl.po b/gettext-tools/examples/hello-pascal/po/sl.po
new file mode 100644
index 0000000..2e56619
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-pascal-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Ta program teče kot proces številka %d."
diff --git a/gettext-tools/examples/hello-pascal/po/sr.po b/gettext-tools/examples/hello-pascal/po/sr.po
new file mode 100644
index 0000000..c5bebd7
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-pascal.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Овај програм се извршава као процес број %d."
diff --git a/gettext-tools/examples/hello-pascal/po/sv.po b/gettext-tools/examples/hello-pascal/po/sv.po
new file mode 100644
index 0000000..f7cef2e
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-pascal.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Detta program kör som process nummer %d."
diff --git a/gettext-tools/examples/hello-pascal/po/tr.po b/gettext-tools/examples/hello-pascal/po/tr.po
new file mode 100644
index 0000000..5b2eef2
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Bu yazılım, %d süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-pascal/po/uk.po b/gettext-tools/examples/hello-pascal/po/uk.po
new file mode 100644
index 0000000..f8b870c
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-pascal
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Ця програма виконується як процес з номером %d."
diff --git a/gettext-tools/examples/hello-pascal/po/vi.po b/gettext-tools/examples/hello-pascal/po/vi.po
new file mode 100644
index 0000000..299b410
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %d."
diff --git a/gettext-tools/examples/hello-pascal/po/zh_CN.po b/gettext-tools/examples/hello-pascal/po/zh_CN.po
new file mode 100644
index 0000000..79abbb4
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-pascal.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-pascal package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "此程序正以进程号 %d 运行。"
diff --git a/gettext-tools/examples/hello-pascal/po/zh_HK.po b/gettext-tools/examples/hello-pascal/po/zh_HK.po
new file mode 100644
index 0000000..fb792b1
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-pascal.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行中,進程編號為 %d。"
diff --git a/gettext-tools/examples/hello-pascal/po/zh_TW.po b/gettext-tools/examples/hello-pascal/po/zh_TW.po
new file mode 100644
index 0000000..d393e89
--- /dev/null
+++ b/gettext-tools/examples/hello-pascal/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-pascal.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.hello_world
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行,行程編號為 %d。"
diff --git a/gettext-tools/examples/hello-perl/INSTALL b/gettext-tools/examples/hello-perl/INSTALL
new file mode 100644
index 0000000..609157a
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/INSTALL
@@ -0,0 +1,12 @@
+This example relies on:
+ - Perl (perl)
+ - libintl-perl 1.09 or newer
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-perl/Makefile.am b/gettext-tools/examples/hello-perl/Makefile.am
new file mode 100644
index 0000000..26b49da
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/Makefile.am
@@ -0,0 +1,17 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_SCRIPTS = hello-1 hello-2
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-perl/autoclean.sh b/gettext-tools/examples/hello-perl/autoclean.sh
new file mode 100755
index 0000000..7c2c432
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/autoclean.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-perl/autogen.sh b/gettext-tools/examples/hello-perl/autogen.sh
new file mode 100755
index 0000000..7e51979
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/autogen.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-perl/configure.ac b/gettext-tools/examples/hello-perl/configure.ac
new file mode 100644
index 0000000..df25eb9
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/configure.ac
@@ -0,0 +1,40 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello-1.pl.in)
+AM_INIT_AUTOMAKE(hello-perl, 0)
+
+dnl Check for availability of the Perl interpreter.
+AC_PATH_PROG(PERL, perl)
+if test -z "$PERL"; then
+ echo "*** Essential program perl not found" 1>&2
+ exit 1
+fi
+AC_SUBST(PERL)
+
+dnl The installed program must know where to find its message catalogs.
+dnl Unfortunately, prefix gets only finally determined at the end of configure.
+if test "X$prefix" = "XNONE"; then
+ final_prefix="$ac_default_prefix"
+else
+ final_prefix="$prefix"
+fi
+save_prefix="$prefix"
+prefix="$final_prefix"
+eval "datarootdir=\"${datarootdir}\""
+eval "localedir=\"${datadir}/locale\""
+prefix="$save_prefix"
+AC_SUBST(localedir)
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([hello-1:hello-1.pl.in], [chmod a+x hello-1])
+AC_CONFIG_FILES([hello-2:hello-2.pl.in], [chmod a+x hello-2])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-perl/hello-1.pl.in b/gettext-tools/examples/hello-perl/hello-1.pl.in
new file mode 100644
index 0000000..0b16c8e
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/hello-1.pl.in
@@ -0,0 +1,20 @@
+#!@PERL@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Source code of the Perl program, using the Locale::Messages API.
+
+use Locale::Messages qw (textdomain bindtextdomain gettext);
+use POSIX qw(getpid);
+
+binmode STDOUT, ':raw'; # Needed to make it work in UTF-8 locales in Perl-5.8.
+
+sub _ ($) { &gettext; }
+
+textdomain "hello-perl";
+bindtextdomain "hello-perl", "@localedir@";
+
+print _"Hello, world!";
+print "\n";
+printf _"This program is running as process number %d.", getpid();
+print "\n";
diff --git a/gettext-tools/examples/hello-perl/hello-2.pl.in b/gettext-tools/examples/hello-perl/hello-2.pl.in
new file mode 100644
index 0000000..afb9b6a
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/hello-2.pl.in
@@ -0,0 +1,15 @@
+#!@PERL@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Source code of the Perl program, using the Locale::TextDomain API.
+
+use Locale::TextDomain ("hello-perl" => "@localedir@");
+use POSIX qw(getpid);
+
+binmode STDOUT, ':raw'; # Needed to make it work in UTF-8 locales in Perl-5.8.
+
+print __"Hello, world!";
+print "\n";
+print __x ("This program is running as process number {pid}.", pid => getpid());
+print "\n";
diff --git a/gettext-tools/examples/hello-perl/m4/Makefile.am b/gettext-tools/examples/hello-perl/m4/Makefile.am
new file mode 100644
index 0000000..8a841b3
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/m4/Makefile.am
@@ -0,0 +1,2 @@
+EXTRA_DIST = \
+ nls.m4 po.m4
diff --git a/gettext-tools/examples/hello-perl/po/LINGUAS b/gettext-tools/examples/hello-perl/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-perl/po/Makefile.am b/gettext-tools/examples/hello-perl/po/Makefile.am
new file mode 100644
index 0000000..2ffceaa
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/Makefile.am
@@ -0,0 +1,366 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello-1.pl.in hello-2.pl.in
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = \
+ -k_ --flag=_:1:pass-perl-format --flag=_:1:pass-perl-brace-format \
+ -k__ --flag=__:1:pass-perl-format --flag=__:1:pass-perl-brace-format \
+ -k'$$__' --flag='$$__:1:pass-perl-format' --flag='$$__:1:pass-perl-brace-format' \
+ -k'%__' --flag=%__:1:pass-perl-format --flag=%__:1:pass-perl-brace-format \
+ -k__x --flag=__x:1:perl-brace-format \
+ -k__n:1,2 --flag=__n:1:pass-perl-format --flag=__n:1:pass-perl-brace-format \
+ --flag=__n:2:pass-perl-format --flag=__n:2:pass-perl-brace-format \
+ -k__nx:1,2 --flag=__nx:1:perl-brace-format --flag=__nx:2:perl-brace-format \
+ -k__xn:1,2 --flag=__xn:1:perl-brace-format --flag=__xn:2:perl-brace-format \
+ -kN__ --flag=N__:1:pass-perl-format --flag=N__:1:pass-perl-brace-format
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).gmo)
+GMOFILES = @GMOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(lang).gmo)
+CATALOGS = @CATALOGS@
+
+SUFFIXES = .po .gmo .mo .sed .sin .nop .po-create .po-update
+
+.po.mo:
+ @echo "$(MSGFMT) -c -o $@ $<"; \
+ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
+
+.po.gmo:
+ @lang=`echo $* | sed -e 's,.*/,,'`; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
+ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
+# In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+install-data-local: install-data-local-@USE_NLS@
+install-data-local-no: all-local
+install-data-local-yes: all-local
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
+ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
+ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
+ fi; \
+ done; \
+ done
+
+installdirs-local: installdirs-local-@USE_NLS@
+installdirs-local-no:
+installdirs-local-yes:
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ fi; \
+ done; \
+ done
+
+uninstall-local: uninstall-local-@USE_NLS@
+uninstall-local-no:
+uninstall-local-yes:
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ done; \
+ done
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+MOSTLYCLEANFILES += *.o
+
+DISTCLEANFILES = *.mo
+
+MAINTAINERCLEANFILES = stamp-po $(GMOFILES)
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-gmo
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-gmo: Makefile $(GMOFILES)
+ @:
diff --git a/gettext-tools/examples/hello-perl/po/af.po b/gettext-tools/examples/hello-perl/po/af.po
new file mode 100644
index 0000000..32add5f
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/af.po
@@ -0,0 +1,30 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Hierdie program loop as prosesnommer %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Hierdie program loop as prosesnommer {pid}"
diff --git a/gettext-tools/examples/hello-perl/po/ast.po b/gettext-tools/examples/hello-perl/po/ast.po
new file mode 100644
index 0000000..3d81b81
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/ast.po
@@ -0,0 +1,31 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Esti programa ta corriendo como'l procesu nmberu {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/bg.po b/gettext-tools/examples/hello-perl/po/bg.po
new file mode 100644
index 0000000..de31df2
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/bg.po
@@ -0,0 +1,30 @@
+# Bulgarian translations for hello-perl package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-perl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Програмата е пусната под процес номер %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Програмата е пусната под процес номер {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/ca.po b/gettext-tools/examples/hello-perl/po/ca.po
new file mode 100644
index 0000000..a1c7c4d
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/ca.po
@@ -0,0 +1,31 @@
+# Catalan messages for GNU hello-perl.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Aquest programa està corrent amb el número de procés %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Aquest programa està corrent amb el número de procés {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/cs.po b/gettext-tools/examples/hello-perl/po/cs.po
new file mode 100644
index 0000000..5e95cec
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/cs.po
@@ -0,0 +1,32 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Tento program běží jako proces číslo %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Tento program běží jako proces číslo {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/da.po b/gettext-tools/examples/hello-perl/po/da.po
new file mode 100644
index 0000000..ddbcfcd
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/da.po
@@ -0,0 +1,30 @@
+# Danish messages for hello-perl.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Dette program krer som proces nummer %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Dette program krer som proces nummer {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/de.po b/gettext-tools/examples/hello-perl/po/de.po
new file mode 100644
index 0000000..0940adc
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/de.po
@@ -0,0 +1,35 @@
+# German messages for hello-perl.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/el.po b/gettext-tools/examples/hello-perl/po/el.po
new file mode 100644
index 0000000..4121a5f
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/el.po
@@ -0,0 +1,30 @@
+# Greek translation of hello-perl
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/eo.po b/gettext-tools/examples/hello-perl/po/eo.po
new file mode 100644
index 0000000..a291661
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/eo.po
@@ -0,0 +1,30 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/es.po b/gettext-tools/examples/hello-perl/po/es.po
new file mode 100644
index 0000000..9a89ff7
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/es.po
@@ -0,0 +1,34 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está corriendo como el proceso número %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Este programa está corriendo como el proceso número {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/fi.po b/gettext-tools/examples/hello-perl/po/fi.po
new file mode 100644
index 0000000..676e634
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/fi.po
@@ -0,0 +1,32 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Tämän ohjelman prosessinumero on %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Tämän ohjelman prosessinumero on {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/fr.po b/gettext-tools/examples/hello-perl/po/fr.po
new file mode 100644
index 0000000..4dbcd87
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/fr.po
@@ -0,0 +1,31 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-perl 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Ce programme est exécuté en tant que processus numéro %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Ce programme est exécuté en tant que processus numéro {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/ga.po b/gettext-tools/examples/hello-perl/po/ga.po
new file mode 100644
index 0000000..9cc1b2b
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/ga.po
@@ -0,0 +1,30 @@
+# Irish translations for hello-perl.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-perl package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "T an clr seo rith mar phriseas %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "T an clr seo rith mar phriseas {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/gl.po b/gettext-tools/examples/hello-perl/po/gl.po
new file mode 100644
index 0000000..c513ab8
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/gl.po
@@ -0,0 +1,35 @@
+# Galician translation for hello-perl package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Este programa estase executando como o proceso número %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Este programa estase executando como o proceso número {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/hr.po b/gettext-tools/examples/hello-perl/po/hr.po
new file mode 100644
index 0000000..e020e87
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/hr.po
@@ -0,0 +1,32 @@
+# Translation of hello-perl to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Ovaj program je pokrenut kao proces broj %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Ovaj program je pokrenut kao proces broj {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/hu.po b/gettext-tools/examples/hello-perl/po/hu.po
new file mode 100644
index 0000000..c71420a
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/hu.po
@@ -0,0 +1,33 @@
+# Hungarian translation for hello-perl.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Ez a program a(z) %d folyamatazonosítóval fut."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Ez a program a(z) {pid} folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-perl/po/id.po b/gettext-tools/examples/hello-perl/po/id.po
new file mode 100644
index 0000000..e9c0a38
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/id.po
@@ -0,0 +1,31 @@
+# translation of hello-perl-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Program ini berjalan sebagai proses nomor %d"
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Program ini berjalan sebagai proses nomor {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/it.po b/gettext-tools/examples/hello-perl/po/it.po
new file mode 100644
index 0000000..5b9f012
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/it.po
@@ -0,0 +1,30 @@
+# Italian messages for hello-perl.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Questo programma è in esecuzione con numero di processo %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Questo programma è in esecuzione con numero di processo {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/ja.po b/gettext-tools/examples/hello-perl/po/ja.po
new file mode 100644
index 0000000..af5185c
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/ja.po
@@ -0,0 +1,30 @@
+# Translation of `hello-perl' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-perl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Υץϥץֹ %d ưƤޤ."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Υץϥץֹ {pid} ưƤޤ."
diff --git a/gettext-tools/examples/hello-perl/po/ky.po b/gettext-tools/examples/hello-perl/po/ky.po
new file mode 100644
index 0000000..516db51
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/ky.po
@@ -0,0 +1,32 @@
+# Translation of 'hello-perl' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Бул программа %d процесс номери катары иштеп жатат."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Бул программа {pid} процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-perl/po/lv.po b/gettext-tools/examples/hello-perl/po/lv.po
new file mode 100644
index 0000000..9e8d735
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/lv.po
@@ -0,0 +1,34 @@
+# Latvian translation of hello-perl
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Šī programma darbojas kā process ar numuru %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Šī programma darbojas kā process ar numuru {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/ms.po b/gettext-tools/examples/hello-perl/po/ms.po
new file mode 100644
index 0000000..a53e261
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/ms.po
@@ -0,0 +1,31 @@
+# hello-perl Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-perl package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Program ini dilaksanakan sebagai proses bernombor {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/mt.po b/gettext-tools/examples/hello-perl/po/mt.po
new file mode 100644
index 0000000..6a20154
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/mt.po
@@ -0,0 +1,31 @@
+# hello-perl-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/nb.po b/gettext-tools/examples/hello-perl/po/nb.po
new file mode 100644
index 0000000..57ca88b
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/nb.po
@@ -0,0 +1,33 @@
+# Norwegian Bokmal translations for hello-perl package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Dette programmet kjører som prosess nummer %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Dette programmet kjører som prosess nummer {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/nl.po b/gettext-tools/examples/hello-perl/po/nl.po
new file mode 100644
index 0000000..b4b1d5c
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/nl.po
@@ -0,0 +1,35 @@
+# Dutch translations for GNU hello-perl.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Dit programma draait als proces nummer %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Dit programma draait als proces nummer {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/pl.po b/gettext-tools/examples/hello-perl/po/pl.po
new file mode 100644
index 0000000..b87774e
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/pl.po
@@ -0,0 +1,31 @@
+# Polish translations for the GNU gettext messages, hello-perl domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Ten program działa jako proces o numerze %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Ten program działa jako proces o numerze {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/pt.po b/gettext-tools/examples/hello-perl/po/pt.po
new file mode 100644
index 0000000..66dad60
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/pt.po
@@ -0,0 +1,30 @@
+# Portuguese translation of 'hello-perl' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-perl package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está a ser executado com o número de processo %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Este programa está a ser executado com o número de processo {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/pt_BR.po b/gettext-tools/examples/hello-perl/po/pt_BR.po
new file mode 100644
index 0000000..d22623a
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/pt_BR.po
@@ -0,0 +1,34 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está executando com número de processo %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Este programa está executando com número de processo {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/ro.po b/gettext-tools/examples/hello-perl/po/ro.po
new file mode 100644
index 0000000..267213b
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/ro.po
@@ -0,0 +1,30 @@
+# Mesajele n limba romn pentru pachetul hello-perl-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-perl.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Acest program este rulat ca procesul numrul %d."
+
+#: hello-2.pl.in:14
+#, fuzzy, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Acest program ruleaz ca procesul numrul $pid."
diff --git a/gettext-tools/examples/hello-perl/po/ru.po b/gettext-tools/examples/hello-perl/po/ru.po
new file mode 100644
index 0000000..d1ad450
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/ru.po
@@ -0,0 +1,34 @@
+# Translation of hello-perl-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Эта программа выполняется как процесс под номером %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Эта программа выполняется как процесс под номером {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/sk.po b/gettext-tools/examples/hello-perl/po/sk.po
new file mode 100644
index 0000000..b8cf4ac
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/sk.po
@@ -0,0 +1,30 @@
+# Slovak translations GNU for hello-perl package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-perl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Tento program beží ako proces s číslom %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Tento program beží ako proces s číslom {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/sl.po b/gettext-tools/examples/hello-perl/po/sl.po
new file mode 100644
index 0000000..dffd220
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/sl.po
@@ -0,0 +1,33 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-perl-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Ta program teče kot proces številka %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Ta program teče kot proces številka {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/sr.po b/gettext-tools/examples/hello-perl/po/sr.po
new file mode 100644
index 0000000..1c5783c
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/sr.po
@@ -0,0 +1,33 @@
+# Serbian translation of hello-perl.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Овај програм се извршава као процес број %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Овај програм се извршава као процес број {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/sv.po b/gettext-tools/examples/hello-perl/po/sv.po
new file mode 100644
index 0000000..07904dd
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/sv.po
@@ -0,0 +1,29 @@
+# Swedish messages for hello-perl.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Detta program kör som process nummer %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Detta program kör som process nummer {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/tr.po b/gettext-tools/examples/hello-perl/po/tr.po
new file mode 100644
index 0000000..fddf99d
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/tr.po
@@ -0,0 +1,30 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Bu yazılım, %d süreç kimliği ile çalışıyor."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Bu yazılım, {pid} süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-perl/po/uk.po b/gettext-tools/examples/hello-perl/po/uk.po
new file mode 100644
index 0000000..d5961f8
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/uk.po
@@ -0,0 +1,34 @@
+# Ukrainian translation to hello-perl
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Ця програма виконується як процес з номером %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Ця програма виконується як процес з номером {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/vi.po b/gettext-tools/examples/hello-perl/po/vi.po
new file mode 100644
index 0000000..b892b2e
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/vi.po
@@ -0,0 +1,35 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %d."
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Chương trình này đang chạy với mã số tiến trình {pid}."
diff --git a/gettext-tools/examples/hello-perl/po/zh_CN.po b/gettext-tools/examples/hello-perl/po/zh_CN.po
new file mode 100644
index 0000000..057bd9e
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/zh_CN.po
@@ -0,0 +1,30 @@
+# zh_CN translation for hello-perl.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-perl package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "此程序正以进程号 %d 运行。"
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "此程序正以进程号 {pid} 运行。"
diff --git a/gettext-tools/examples/hello-perl/po/zh_HK.po b/gettext-tools/examples/hello-perl/po/zh_HK.po
new file mode 100644
index 0000000..9a0b8d3
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/zh_HK.po
@@ -0,0 +1,29 @@
+# Chinese (Hong Kong) translation of hello-perl.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行中,進程編號為 %d。"
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "本程式正在執行中,進程編號為 {pid}。"
diff --git a/gettext-tools/examples/hello-perl/po/zh_TW.po b/gettext-tools/examples/hello-perl/po/zh_TW.po
new file mode 100644
index 0000000..24fb05c
--- /dev/null
+++ b/gettext-tools/examples/hello-perl/po/zh_TW.po
@@ -0,0 +1,31 @@
+# Traditional Chinese translation of hello-perl.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-1.pl.in:17 hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行,行程編號為 %d。"
+
+#: hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "本程式正在執行,行程編號為 {pid}。"
diff --git a/gettext-tools/examples/hello-php/INSTALL b/gettext-tools/examples/hello-php/INSTALL
new file mode 100644
index 0000000..5e2792e
--- /dev/null
+++ b/gettext-tools/examples/hello-php/INSTALL
@@ -0,0 +1,10 @@
+This example relies on PHP.
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-php/Makefile.am b/gettext-tools/examples/hello-php/Makefile.am
new file mode 100644
index 0000000..b76e71d
--- /dev/null
+++ b/gettext-tools/examples/hello-php/Makefile.am
@@ -0,0 +1,17 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_SCRIPTS = hello
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-php/README b/gettext-tools/examples/hello-php/README
new file mode 100644
index 0000000..1658db3
--- /dev/null
+++ b/gettext-tools/examples/hello-php/README
@@ -0,0 +1,5 @@
+The gettext/PHP binding has a limitation: While it works fine for standalone
+PHP programs, it cannot be used inside a web server, to translate parts of web
+pages into the preferred encoding of user that makes a HTTP connection. The
+reason is that a web server usually is multithreaded, and the gettext() API
+relies on the process' global locale.
diff --git a/gettext-tools/examples/hello-php/autoclean.sh b/gettext-tools/examples/hello-php/autoclean.sh
new file mode 100755
index 0000000..7c2c432
--- /dev/null
+++ b/gettext-tools/examples/hello-php/autoclean.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-php/autogen.sh b/gettext-tools/examples/hello-php/autogen.sh
new file mode 100755
index 0000000..7e51979
--- /dev/null
+++ b/gettext-tools/examples/hello-php/autogen.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-php/configure.ac b/gettext-tools/examples/hello-php/configure.ac
new file mode 100644
index 0000000..d31eefd
--- /dev/null
+++ b/gettext-tools/examples/hello-php/configure.ac
@@ -0,0 +1,39 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.php)
+AM_INIT_AUTOMAKE(hello-php, 0)
+
+dnl Check for availability of the PHP system.
+AC_PATH_PROG(PHP, php)
+if test -z "$PHP"; then
+ echo "*** Essential program php not found" 1>&2
+ exit 1
+fi
+AC_SUBST(PHP)
+
+dnl The installed program must know where to find its message catalogs.
+dnl Unfortunately, prefix gets only finally determined at the end of configure.
+if test "X$prefix" = "XNONE"; then
+ final_prefix="$ac_default_prefix"
+else
+ final_prefix="$prefix"
+fi
+save_prefix="$prefix"
+prefix="$final_prefix"
+eval "datarootdir=\"${datarootdir}\""
+eval "localedir=\"${datadir}/locale\""
+prefix="$save_prefix"
+AC_SUBST(localedir)
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([hello:hello.php], [chmod a+x hello])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-php/hello.php b/gettext-tools/examples/hello-php/hello.php
new file mode 100644
index 0000000..ca226f9
--- /dev/null
+++ b/gettext-tools/examples/hello-php/hello.php
@@ -0,0 +1,17 @@
+#!@PHP@ -q
+<?
+ // Example for use of GNU gettext.
+ // This file is in the public domain.
+ //
+ // Source code of the PHP program.
+
+ setlocale (LC_ALL, "");
+ textdomain ("hello-php");
+ bindtextdomain ("hello-php", "@localedir@");
+
+ echo _("Hello, world!");
+ echo "\n";
+ echo printf (_("This program is running as process number %d."),
+ posix_getpid());
+ echo "\n";
+?>
diff --git a/gettext-tools/examples/hello-php/m4/Makefile.am b/gettext-tools/examples/hello-php/m4/Makefile.am
new file mode 100644
index 0000000..8a841b3
--- /dev/null
+++ b/gettext-tools/examples/hello-php/m4/Makefile.am
@@ -0,0 +1,2 @@
+EXTRA_DIST = \
+ nls.m4 po.m4
diff --git a/gettext-tools/examples/hello-php/po/LINGUAS b/gettext-tools/examples/hello-php/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-php/po/Makefile.am b/gettext-tools/examples/hello-php/po/Makefile.am
new file mode 100644
index 0000000..6616cac
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/Makefile.am
@@ -0,0 +1,356 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello.php
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS =
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).gmo)
+GMOFILES = @GMOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(lang).gmo)
+CATALOGS = @CATALOGS@
+
+SUFFIXES = .po .gmo .mo .sed .sin .nop .po-create .po-update
+
+.po.mo:
+ @echo "$(MSGFMT) -c -o $@ $<"; \
+ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
+
+.po.gmo:
+ @lang=`echo $* | sed -e 's,.*/,,'`; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
+ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
+# In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+install-data-local: install-data-local-@USE_NLS@
+install-data-local-no: all-local
+install-data-local-yes: all-local
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
+ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
+ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
+ fi; \
+ done; \
+ done
+
+installdirs-local: installdirs-local-@USE_NLS@
+installdirs-local-no:
+installdirs-local-yes:
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ fi; \
+ done; \
+ done
+
+uninstall-local: uninstall-local-@USE_NLS@
+uninstall-local-no:
+uninstall-local-yes:
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ done; \
+ done
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+MOSTLYCLEANFILES += *.o
+
+DISTCLEANFILES = *.mo
+
+MAINTAINERCLEANFILES = stamp-po $(GMOFILES)
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-gmo
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-gmo: Makefile $(GMOFILES)
+ @:
diff --git a/gettext-tools/examples/hello-php/po/af.po b/gettext-tools/examples/hello-php/po/af.po
new file mode 100644
index 0000000..6c78fd9
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Hierdie program loop as prosesnommer %d."
diff --git a/gettext-tools/examples/hello-php/po/ast.po b/gettext-tools/examples/hello-php/po/ast.po
new file mode 100644
index 0000000..9f7e029
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %d."
diff --git a/gettext-tools/examples/hello-php/po/bg.po b/gettext-tools/examples/hello-php/po/bg.po
new file mode 100644
index 0000000..703c9b6
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-php package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-php 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Програмата е пусната под процес номер %d."
diff --git a/gettext-tools/examples/hello-php/po/ca.po b/gettext-tools/examples/hello-php/po/ca.po
new file mode 100644
index 0000000..ef306bf
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-php.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Aquest programa està corrent amb el número de procés %d."
diff --git a/gettext-tools/examples/hello-php/po/cs.po b/gettext-tools/examples/hello-php/po/cs.po
new file mode 100644
index 0000000..a4e1245
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Tento program běží jako proces číslo %d."
diff --git a/gettext-tools/examples/hello-php/po/da.po b/gettext-tools/examples/hello-php/po/da.po
new file mode 100644
index 0000000..bf36c92
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-php.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Dette program krer som proces nummer %d."
diff --git a/gettext-tools/examples/hello-php/po/de.po b/gettext-tools/examples/hello-php/po/de.po
new file mode 100644
index 0000000..b9ab5a8
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-php.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %d."
diff --git a/gettext-tools/examples/hello-php/po/el.po b/gettext-tools/examples/hello-php/po/el.po
new file mode 100644
index 0000000..d978be1
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-php
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d."
diff --git a/gettext-tools/examples/hello-php/po/eo.po b/gettext-tools/examples/hello-php/po/eo.po
new file mode 100644
index 0000000..309fba5
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %d."
diff --git a/gettext-tools/examples/hello-php/po/es.po b/gettext-tools/examples/hello-php/po/es.po
new file mode 100644
index 0000000..d129e49
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está corriendo como el proceso número %d."
diff --git a/gettext-tools/examples/hello-php/po/fi.po b/gettext-tools/examples/hello-php/po/fi.po
new file mode 100644
index 0000000..297ba01
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Tämän ohjelman prosessinumero on %d."
diff --git a/gettext-tools/examples/hello-php/po/fr.po b/gettext-tools/examples/hello-php/po/fr.po
new file mode 100644
index 0000000..514ff2a
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-php 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Ce programme est exécuté en tant que processus numéro %d."
diff --git a/gettext-tools/examples/hello-php/po/ga.po b/gettext-tools/examples/hello-php/po/ga.po
new file mode 100644
index 0000000..7a1e02b
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-php.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-php package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "T an clr seo rith mar phriseas %d."
diff --git a/gettext-tools/examples/hello-php/po/gl.po b/gettext-tools/examples/hello-php/po/gl.po
new file mode 100644
index 0000000..1f92dcb
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-php package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Este programa estase executando como o proceso número %d."
diff --git a/gettext-tools/examples/hello-php/po/hr.po b/gettext-tools/examples/hello-php/po/hr.po
new file mode 100644
index 0000000..20f50ef
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-php to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Ovaj program je pokrenut kao proces broj %d."
diff --git a/gettext-tools/examples/hello-php/po/hu.po b/gettext-tools/examples/hello-php/po/hu.po
new file mode 100644
index 0000000..71152df
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-php.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Ez a program a(z) %d folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-php/po/id.po b/gettext-tools/examples/hello-php/po/id.po
new file mode 100644
index 0000000..aabfa24
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-php-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Program ini berjalan sebagai proses nomor %d"
diff --git a/gettext-tools/examples/hello-php/po/it.po b/gettext-tools/examples/hello-php/po/it.po
new file mode 100644
index 0000000..86a96d2
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-php.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Questo programma è in esecuzione con numero di processo %d."
diff --git a/gettext-tools/examples/hello-php/po/ja.po b/gettext-tools/examples/hello-php/po/ja.po
new file mode 100644
index 0000000..c215044
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-php' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-php 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Υץϥץֹ %d ưƤޤ."
diff --git a/gettext-tools/examples/hello-php/po/ky.po b/gettext-tools/examples/hello-php/po/ky.po
new file mode 100644
index 0000000..c167d5c
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-php' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Бул программа %d процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-php/po/lv.po b/gettext-tools/examples/hello-php/po/lv.po
new file mode 100644
index 0000000..5d05f8f
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-php
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Šī programma darbojas kā process ar numuru %d."
diff --git a/gettext-tools/examples/hello-php/po/ms.po b/gettext-tools/examples/hello-php/po/ms.po
new file mode 100644
index 0000000..58c66a8
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/ms.po
@@ -0,0 +1,26 @@
+# hello-php Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-php package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %d."
diff --git a/gettext-tools/examples/hello-php/po/mt.po b/gettext-tools/examples/hello-php/po/mt.po
new file mode 100644
index 0000000..a029024
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/mt.po
@@ -0,0 +1,26 @@
+# hello-php-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d."
diff --git a/gettext-tools/examples/hello-php/po/nb.po b/gettext-tools/examples/hello-php/po/nb.po
new file mode 100644
index 0000000..ca46bcc
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-php package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Dette programmet kjører som prosess nummer %d."
diff --git a/gettext-tools/examples/hello-php/po/nl.po b/gettext-tools/examples/hello-php/po/nl.po
new file mode 100644
index 0000000..c2ccb51
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-php.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Dit programma draait als proces nummer %d."
diff --git a/gettext-tools/examples/hello-php/po/pl.po b/gettext-tools/examples/hello-php/po/pl.po
new file mode 100644
index 0000000..780f19e
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-php domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Ten program działa jako proces o numerze %d."
diff --git a/gettext-tools/examples/hello-php/po/pt.po b/gettext-tools/examples/hello-php/po/pt.po
new file mode 100644
index 0000000..348b694
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-php' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-php package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está a ser executado com o número de processo %d."
diff --git a/gettext-tools/examples/hello-php/po/pt_BR.po b/gettext-tools/examples/hello-php/po/pt_BR.po
new file mode 100644
index 0000000..3a3ac30
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está executando com número de processo %d."
diff --git a/gettext-tools/examples/hello-php/po/ro.po b/gettext-tools/examples/hello-php/po/ro.po
new file mode 100644
index 0000000..4644840
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-php-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-php.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Acest program este rulat ca procesul numrul %d."
diff --git a/gettext-tools/examples/hello-php/po/ru.po b/gettext-tools/examples/hello-php/po/ru.po
new file mode 100644
index 0000000..ab073fa
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-php-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Эта программа выполняется как процесс под номером %d."
diff --git a/gettext-tools/examples/hello-php/po/sk.po b/gettext-tools/examples/hello-php/po/sk.po
new file mode 100644
index 0000000..b5555a0
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-php package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-php 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Tento program beží ako proces s číslom %d."
diff --git a/gettext-tools/examples/hello-php/po/sl.po b/gettext-tools/examples/hello-php/po/sl.po
new file mode 100644
index 0000000..a25b36a
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-php-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Ta program teče kot proces številka %d."
diff --git a/gettext-tools/examples/hello-php/po/sr.po b/gettext-tools/examples/hello-php/po/sr.po
new file mode 100644
index 0000000..1b00577
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-php.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Овај програм се извршава као процес број %d."
diff --git a/gettext-tools/examples/hello-php/po/sv.po b/gettext-tools/examples/hello-php/po/sv.po
new file mode 100644
index 0000000..ff5936d
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-php.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Detta program kör som process nummer %d."
diff --git a/gettext-tools/examples/hello-php/po/tr.po b/gettext-tools/examples/hello-php/po/tr.po
new file mode 100644
index 0000000..b766998
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Bu yazılım, %d süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-php/po/uk.po b/gettext-tools/examples/hello-php/po/uk.po
new file mode 100644
index 0000000..69ff79f
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-php
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Ця програма виконується як процес з номером %d."
diff --git a/gettext-tools/examples/hello-php/po/vi.po b/gettext-tools/examples/hello-php/po/vi.po
new file mode 100644
index 0000000..3376428
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %d."
diff --git a/gettext-tools/examples/hello-php/po/zh_CN.po b/gettext-tools/examples/hello-php/po/zh_CN.po
new file mode 100644
index 0000000..f077c9c
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-php.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-php package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "此程序正以进程号 %d 运行。"
diff --git a/gettext-tools/examples/hello-php/po/zh_HK.po b/gettext-tools/examples/hello-php/po/zh_HK.po
new file mode 100644
index 0000000..85ddc1a
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-php.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行中,進程編號為 %d。"
diff --git a/gettext-tools/examples/hello-php/po/zh_TW.po b/gettext-tools/examples/hello-php/po/zh_TW.po
new file mode 100644
index 0000000..d9b0f02
--- /dev/null
+++ b/gettext-tools/examples/hello-php/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-php.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.php:12
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行,行程編號為 %d。"
diff --git a/gettext-tools/examples/hello-python/INSTALL b/gettext-tools/examples/hello-python/INSTALL
new file mode 100644
index 0000000..cb9ecf7
--- /dev/null
+++ b/gettext-tools/examples/hello-python/INSTALL
@@ -0,0 +1,10 @@
+This example relies on Python 2.0 or newer.
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-python/Makefile.am b/gettext-tools/examples/hello-python/Makefile.am
new file mode 100644
index 0000000..009e9f3
--- /dev/null
+++ b/gettext-tools/examples/hello-python/Makefile.am
@@ -0,0 +1,26 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_SCRIPTS = hello
+
+# Making a Python program executable.
+# FIXME: How to make a compiled python program (output of automake's
+# py-compile command) executable?
+hello: hello.py
+ (echo '#!@PYTHON@'; cat $<) > $@
+ chmod a+x $@
+CLEANFILES = hello
+#CLEANFILES += *.pyc *.pyo
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-python/autoclean.sh b/gettext-tools/examples/hello-python/autoclean.sh
new file mode 100755
index 0000000..7c2c432
--- /dev/null
+++ b/gettext-tools/examples/hello-python/autoclean.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-python/autogen.sh b/gettext-tools/examples/hello-python/autogen.sh
new file mode 100755
index 0000000..7e51979
--- /dev/null
+++ b/gettext-tools/examples/hello-python/autogen.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-python/configure.ac b/gettext-tools/examples/hello-python/configure.ac
new file mode 100644
index 0000000..c483128
--- /dev/null
+++ b/gettext-tools/examples/hello-python/configure.ac
@@ -0,0 +1,37 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.py.in)
+AM_INIT_AUTOMAKE(hello-python, 0)
+
+dnl Check for availability of the Python interpreter.
+AM_PATH_PYTHON
+if test -z "$PYTHON"; then
+ echo "*** Essential program python not found" 1>&2
+ exit 1
+fi
+
+dnl The installed program must know where to find its message catalogs.
+dnl Unfortunately, prefix gets only finally determined at the end of configure.
+if test "X$prefix" = "XNONE"; then
+ final_prefix="$ac_default_prefix"
+else
+ final_prefix="$prefix"
+fi
+save_prefix="$prefix"
+prefix="$final_prefix"
+eval "datarootdir=\"${datarootdir}\""
+eval "localedir=\"${datadir}/locale\""
+prefix="$save_prefix"
+AC_SUBST(localedir)
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile hello.py])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-python/hello.py.in b/gettext-tools/examples/hello-python/hello.py.in
new file mode 100644
index 0000000..fffe855
--- /dev/null
+++ b/gettext-tools/examples/hello-python/hello.py.in
@@ -0,0 +1,14 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Source code of the Python program.
+
+import gettext
+import os
+
+gettext.textdomain('hello-python')
+gettext.bindtextdomain('hello-python', '@localedir@')
+
+print gettext.gettext("Hello, world!")
+print gettext.gettext("This program is running as process number %(pid)d.") \
+ % { 'pid': os.getpid() }
diff --git a/gettext-tools/examples/hello-python/m4/Makefile.am b/gettext-tools/examples/hello-python/m4/Makefile.am
new file mode 100644
index 0000000..8a841b3
--- /dev/null
+++ b/gettext-tools/examples/hello-python/m4/Makefile.am
@@ -0,0 +1,2 @@
+EXTRA_DIST = \
+ nls.m4 po.m4
diff --git a/gettext-tools/examples/hello-python/po/LINGUAS b/gettext-tools/examples/hello-python/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-python/po/Makefile.am b/gettext-tools/examples/hello-python/po/Makefile.am
new file mode 100644
index 0000000..150d154
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/Makefile.am
@@ -0,0 +1,356 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello.py.in
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS =
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).gmo)
+GMOFILES = @GMOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(lang).gmo)
+CATALOGS = @CATALOGS@
+
+SUFFIXES = .po .gmo .mo .sed .sin .nop .po-create .po-update
+
+.po.mo:
+ @echo "$(MSGFMT) -c -o $@ $<"; \
+ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
+
+.po.gmo:
+ @lang=`echo $* | sed -e 's,.*/,,'`; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
+ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
+# In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+install-data-local: install-data-local-@USE_NLS@
+install-data-local-no: all-local
+install-data-local-yes: all-local
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
+ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
+ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
+ fi; \
+ done; \
+ done
+
+installdirs-local: installdirs-local-@USE_NLS@
+installdirs-local-no:
+installdirs-local-yes:
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ fi; \
+ done; \
+ done
+
+uninstall-local: uninstall-local-@USE_NLS@
+uninstall-local-no:
+uninstall-local-yes:
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ done; \
+ done
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+MOSTLYCLEANFILES += *.o
+
+DISTCLEANFILES = *.mo
+
+MAINTAINERCLEANFILES = stamp-po $(GMOFILES)
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-gmo
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-gmo: Makefile $(GMOFILES)
+ @:
diff --git a/gettext-tools/examples/hello-python/po/af.po b/gettext-tools/examples/hello-python/po/af.po
new file mode 100644
index 0000000..c5caef8
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Hierdie program loop as prosesnommer %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/ast.po b/gettext-tools/examples/hello-python/po/ast.po
new file mode 100644
index 0000000..8f4d3ac
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/bg.po b/gettext-tools/examples/hello-python/po/bg.po
new file mode 100644
index 0000000..e66acfe
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-python package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-python 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Програмата е пусната под процес номер %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/ca.po b/gettext-tools/examples/hello-python/po/ca.po
new file mode 100644
index 0000000..285eda7
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-python.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Aquest programa està corrent amb el número de procés %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/cs.po b/gettext-tools/examples/hello-python/po/cs.po
new file mode 100644
index 0000000..425fde7
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Tento program běží jako proces číslo %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/da.po b/gettext-tools/examples/hello-python/po/da.po
new file mode 100644
index 0000000..ae710b2
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-python.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Dette program krer som proces nummer %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/de.po b/gettext-tools/examples/hello-python/po/de.po
new file mode 100644
index 0000000..a74565a
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-python.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/el.po b/gettext-tools/examples/hello-python/po/el.po
new file mode 100644
index 0000000..8b8c007
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-python
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/eo.po b/gettext-tools/examples/hello-python/po/eo.po
new file mode 100644
index 0000000..2f413a0
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/es.po b/gettext-tools/examples/hello-python/po/es.po
new file mode 100644
index 0000000..6111d1a
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Este programa está corriendo como el proceso número %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/fi.po b/gettext-tools/examples/hello-python/po/fi.po
new file mode 100644
index 0000000..ec5059e
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Tämän ohjelman prosessinumero on %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/fr.po b/gettext-tools/examples/hello-python/po/fr.po
new file mode 100644
index 0000000..03575f6
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-python 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Ce programme est exécuté en tant que processus numéro %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/ga.po b/gettext-tools/examples/hello-python/po/ga.po
new file mode 100644
index 0000000..fc8c14e
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-python.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-python package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "T an clr seo rith mar phriseas %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/gl.po b/gettext-tools/examples/hello-python/po/gl.po
new file mode 100644
index 0000000..b22247f
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-python package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Este programa estase executando como o proceso número %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/hr.po b/gettext-tools/examples/hello-python/po/hr.po
new file mode 100644
index 0000000..ccdf625
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-python to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Ovaj program je pokrenut kao proces broj %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/hu.po b/gettext-tools/examples/hello-python/po/hu.po
new file mode 100644
index 0000000..ef40d7f
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-python.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Ez a program a(z) %(pid)d folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-python/po/id.po b/gettext-tools/examples/hello-python/po/id.po
new file mode 100644
index 0000000..d40985b
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-python-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Program ini berjalan sebagai proses nomor %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/it.po b/gettext-tools/examples/hello-python/po/it.po
new file mode 100644
index 0000000..a508a38
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-python.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Questo programma è in esecuzione con numero di processo %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/ja.po b/gettext-tools/examples/hello-python/po/ja.po
new file mode 100644
index 0000000..86dbf52
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-python' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-python 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Υץϥץֹ %(pid)d ưƤޤ."
diff --git a/gettext-tools/examples/hello-python/po/ky.po b/gettext-tools/examples/hello-python/po/ky.po
new file mode 100644
index 0000000..634888b
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-python' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Бул программа %(pid)d процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-python/po/lv.po b/gettext-tools/examples/hello-python/po/lv.po
new file mode 100644
index 0000000..dd5a86a
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-python
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Šī programma darbojas kā process ar numuru %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/ms.po b/gettext-tools/examples/hello-python/po/ms.po
new file mode 100644
index 0000000..73feaf6
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/ms.po
@@ -0,0 +1,26 @@
+# hello-python Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-python package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/mt.po b/gettext-tools/examples/hello-python/po/mt.po
new file mode 100644
index 0000000..c9fceea
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/mt.po
@@ -0,0 +1,26 @@
+# hello-python-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/nb.po b/gettext-tools/examples/hello-python/po/nb.po
new file mode 100644
index 0000000..8e3b117
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-python package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Dette programmet kjører som prosess nummer %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/nl.po b/gettext-tools/examples/hello-python/po/nl.po
new file mode 100644
index 0000000..7382b53
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-python.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Dit programma draait als proces nummer %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/pl.po b/gettext-tools/examples/hello-python/po/pl.po
new file mode 100644
index 0000000..f393c7e
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-python domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Ten program działa jako proces o numerze %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/pt.po b/gettext-tools/examples/hello-python/po/pt.po
new file mode 100644
index 0000000..272f400
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-python' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-python package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Este programa está a ser executado com o número de processo %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/pt_BR.po b/gettext-tools/examples/hello-python/po/pt_BR.po
new file mode 100644
index 0000000..8609a7f
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Este programa está executando com número de processo %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/ro.po b/gettext-tools/examples/hello-python/po/ro.po
new file mode 100644
index 0000000..68cc20a
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-python-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-python.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Acest program este rulat ca procesul numrul %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/ru.po b/gettext-tools/examples/hello-python/po/ru.po
new file mode 100644
index 0000000..85e9ee2
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-python-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Эта программа выполняется как процесс под номером %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/sk.po b/gettext-tools/examples/hello-python/po/sk.po
new file mode 100644
index 0000000..8b30ce1
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-python package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-python 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Tento program beží ako proces s číslom %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/sl.po b/gettext-tools/examples/hello-python/po/sl.po
new file mode 100644
index 0000000..0540d60
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-python-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Ta program teče kot proces številka %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/sr.po b/gettext-tools/examples/hello-python/po/sr.po
new file mode 100644
index 0000000..fba707c
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-python.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Овај програм се извршава као процес број %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/sv.po b/gettext-tools/examples/hello-python/po/sv.po
new file mode 100644
index 0000000..61fdaf2
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-python.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Detta program kör som process nummer %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/tr.po b/gettext-tools/examples/hello-python/po/tr.po
new file mode 100644
index 0000000..90b9e2a
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Bu yazılım, %(pid)d süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-python/po/uk.po b/gettext-tools/examples/hello-python/po/uk.po
new file mode 100644
index 0000000..d708dfb
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-python
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Ця програма виконується як процес з номером %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/vi.po b/gettext-tools/examples/hello-python/po/vi.po
new file mode 100644
index 0000000..ef40ed3
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %(pid)d."
diff --git a/gettext-tools/examples/hello-python/po/zh_CN.po b/gettext-tools/examples/hello-python/po/zh_CN.po
new file mode 100644
index 0000000..aca0434
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-python.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-python package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "此程序正以进程号 %(pid)d 运行。"
diff --git a/gettext-tools/examples/hello-python/po/zh_HK.po b/gettext-tools/examples/hello-python/po/zh_HK.po
new file mode 100644
index 0000000..dd915cd
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-python.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "本程式正在執行中,進程編號為 %(pid)d。"
diff --git a/gettext-tools/examples/hello-python/po/zh_TW.po b/gettext-tools/examples/hello-python/po/zh_TW.po
new file mode 100644
index 0000000..2142577
--- /dev/null
+++ b/gettext-tools/examples/hello-python/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-python.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.py.in:12
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "本程式正在執行,行程編號為 %(pid)d。"
diff --git a/gettext-tools/examples/hello-sh/INSTALL b/gettext-tools/examples/hello-sh/INSTALL
new file mode 100644
index 0000000..6b7e0bd
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/INSTALL
@@ -0,0 +1,10 @@
+This example relies just on sh and gettext-runtime.
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-sh/Makefile.am b/gettext-tools/examples/hello-sh/Makefile.am
new file mode 100644
index 0000000..b76e71d
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/Makefile.am
@@ -0,0 +1,17 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_SCRIPTS = hello
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-sh/autoclean.sh b/gettext-tools/examples/hello-sh/autoclean.sh
new file mode 100755
index 0000000..7c2c432
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/autoclean.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-sh/autogen.sh b/gettext-tools/examples/hello-sh/autogen.sh
new file mode 100755
index 0000000..7e51979
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/autogen.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-sh/configure.ac b/gettext-tools/examples/hello-sh/configure.ac
new file mode 100644
index 0000000..0251b41
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/configure.ac
@@ -0,0 +1,31 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.sh)
+AM_INIT_AUTOMAKE(hello-sh, 0)
+
+dnl The installed program must know where to find its message catalogs.
+dnl Unfortunately, prefix gets only finally determined at the end of configure.
+if test "X$prefix" = "XNONE"; then
+ final_prefix="$ac_default_prefix"
+else
+ final_prefix="$prefix"
+fi
+save_prefix="$prefix"
+prefix="$final_prefix"
+eval "datarootdir=\"${datarootdir}\""
+eval "localedir=\"${datadir}/locale\""
+prefix="$save_prefix"
+AC_SUBST(localedir)
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([hello:hello.sh], [chmod a+x hello])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-sh/hello.sh b/gettext-tools/examples/hello-sh/hello.sh
new file mode 100644
index 0000000..82e41bb
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/hello.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Source code of the POSIX sh program.
+
+. gettext.sh
+
+TEXTDOMAIN=hello-sh
+export TEXTDOMAIN
+TEXTDOMAINDIR='@localedir@'
+export TEXTDOMAINDIR
+
+gettext "Hello, world!"; echo
+
+pid=$$
+eval_gettext "This program is running as process number \$pid."; echo
diff --git a/gettext-tools/examples/hello-sh/m4/Makefile.am b/gettext-tools/examples/hello-sh/m4/Makefile.am
new file mode 100644
index 0000000..8a841b3
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/m4/Makefile.am
@@ -0,0 +1,2 @@
+EXTRA_DIST = \
+ nls.m4 po.m4
diff --git a/gettext-tools/examples/hello-sh/po/LINGUAS b/gettext-tools/examples/hello-sh/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-sh/po/Makefile.am b/gettext-tools/examples/hello-sh/po/Makefile.am
new file mode 100644
index 0000000..8762b55
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/Makefile.am
@@ -0,0 +1,356 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello.sh
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS =
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).gmo)
+GMOFILES = @GMOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(lang).gmo)
+CATALOGS = @CATALOGS@
+
+SUFFIXES = .po .gmo .mo .sed .sin .nop .po-create .po-update
+
+.po.mo:
+ @echo "$(MSGFMT) -c -o $@ $<"; \
+ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
+
+.po.gmo:
+ @lang=`echo $* | sed -e 's,.*/,,'`; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
+ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
+# In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+install-data-local: install-data-local-@USE_NLS@
+install-data-local-no: all-local
+install-data-local-yes: all-local
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
+ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
+ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
+ fi; \
+ done; \
+ done
+
+installdirs-local: installdirs-local-@USE_NLS@
+installdirs-local-no:
+installdirs-local-yes:
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ fi; \
+ done; \
+ done
+
+uninstall-local: uninstall-local-@USE_NLS@
+uninstall-local-no:
+uninstall-local-yes:
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ done; \
+ done
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+MOSTLYCLEANFILES += *.o
+
+DISTCLEANFILES = *.mo
+
+MAINTAINERCLEANFILES = stamp-po $(GMOFILES)
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-gmo
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-gmo: Makefile $(GMOFILES)
+ @:
diff --git a/gettext-tools/examples/hello-sh/po/af.po b/gettext-tools/examples/hello-sh/po/af.po
new file mode 100644
index 0000000..797441b
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Hierdie program loop as prosesnommer $pid."
diff --git a/gettext-tools/examples/hello-sh/po/ast.po b/gettext-tools/examples/hello-sh/po/ast.po
new file mode 100644
index 0000000..2a0928d
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Esti programa ta corriendo como'l procesu nmberu $pid."
diff --git a/gettext-tools/examples/hello-sh/po/bg.po b/gettext-tools/examples/hello-sh/po/bg.po
new file mode 100644
index 0000000..3bbe5c0
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-sh package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-sh 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Програмата е пусната под процес номер $pid."
diff --git a/gettext-tools/examples/hello-sh/po/ca.po b/gettext-tools/examples/hello-sh/po/ca.po
new file mode 100644
index 0000000..dc14386
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-sh.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Aquest programa està corrent amb el número de procés $pid."
diff --git a/gettext-tools/examples/hello-sh/po/cs.po b/gettext-tools/examples/hello-sh/po/cs.po
new file mode 100644
index 0000000..7bd1b77
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Tento program běží jako proces číslo $pid."
diff --git a/gettext-tools/examples/hello-sh/po/da.po b/gettext-tools/examples/hello-sh/po/da.po
new file mode 100644
index 0000000..471b6be
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-sh.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Dette program krer som proces nummer $pid."
diff --git a/gettext-tools/examples/hello-sh/po/de.po b/gettext-tools/examples/hello-sh/po/de.po
new file mode 100644
index 0000000..c256c2d
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-sh.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer $pid."
diff --git a/gettext-tools/examples/hello-sh/po/el.po b/gettext-tools/examples/hello-sh/po/el.po
new file mode 100644
index 0000000..f7c24de
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-sh
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας $pid."
diff --git a/gettext-tools/examples/hello-sh/po/eo.po b/gettext-tools/examples/hello-sh/po/eo.po
new file mode 100644
index 0000000..091181e
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero $pid."
diff --git a/gettext-tools/examples/hello-sh/po/es.po b/gettext-tools/examples/hello-sh/po/es.po
new file mode 100644
index 0000000..e0849db
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Este programa está corriendo como el proceso número $pid."
diff --git a/gettext-tools/examples/hello-sh/po/fi.po b/gettext-tools/examples/hello-sh/po/fi.po
new file mode 100644
index 0000000..540ca7f
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Tämän ohjelman prosessinumero on $pid."
diff --git a/gettext-tools/examples/hello-sh/po/fr.po b/gettext-tools/examples/hello-sh/po/fr.po
new file mode 100644
index 0000000..169275d
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-sh 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Ce programme est exécuté en tant que processus numéro $pid."
diff --git a/gettext-tools/examples/hello-sh/po/ga.po b/gettext-tools/examples/hello-sh/po/ga.po
new file mode 100644
index 0000000..99faa3c
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-sh.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-sh package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "T an clr seo rith mar phriseas $pid."
diff --git a/gettext-tools/examples/hello-sh/po/gl.po b/gettext-tools/examples/hello-sh/po/gl.po
new file mode 100644
index 0000000..ba4b9bf
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-sh package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Este programa estase executando como o proceso número $pid."
diff --git a/gettext-tools/examples/hello-sh/po/hr.po b/gettext-tools/examples/hello-sh/po/hr.po
new file mode 100644
index 0000000..805bc90
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-sh to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Ovaj program je pokrenut kao proces broj $pid."
diff --git a/gettext-tools/examples/hello-sh/po/hu.po b/gettext-tools/examples/hello-sh/po/hu.po
new file mode 100644
index 0000000..5663835
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-sh.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Ez a program a(z) $pid folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-sh/po/id.po b/gettext-tools/examples/hello-sh/po/id.po
new file mode 100644
index 0000000..156fa17
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-sh-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Program ini berjalan sebagai proses nomor $pid."
diff --git a/gettext-tools/examples/hello-sh/po/it.po b/gettext-tools/examples/hello-sh/po/it.po
new file mode 100644
index 0000000..ff96ce5
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-sh.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Questo programma è in esecuzione con numero di processo $pid."
diff --git a/gettext-tools/examples/hello-sh/po/ja.po b/gettext-tools/examples/hello-sh/po/ja.po
new file mode 100644
index 0000000..abf09fa
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-sh' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-sh 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Υץϥץֹ $pid ưƤޤ."
diff --git a/gettext-tools/examples/hello-sh/po/ky.po b/gettext-tools/examples/hello-sh/po/ky.po
new file mode 100644
index 0000000..4f9d2ab
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-sh' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Бул программа $pid процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-sh/po/lv.po b/gettext-tools/examples/hello-sh/po/lv.po
new file mode 100644
index 0000000..70a5f38
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-sh
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Šī programma darbojas kā process ar numuru $pid."
diff --git a/gettext-tools/examples/hello-sh/po/ms.po b/gettext-tools/examples/hello-sh/po/ms.po
new file mode 100644
index 0000000..811d9c7
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/ms.po
@@ -0,0 +1,26 @@
+# hello-sh Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-sh package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Program ini dilaksanakan sebagai proses bernombor $pid."
diff --git a/gettext-tools/examples/hello-sh/po/mt.po b/gettext-tools/examples/hello-sh/po/mt.po
new file mode 100644
index 0000000..43311f4
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/mt.po
@@ -0,0 +1,26 @@
+# hello-sh-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru $pid."
diff --git a/gettext-tools/examples/hello-sh/po/nb.po b/gettext-tools/examples/hello-sh/po/nb.po
new file mode 100644
index 0000000..2b817b7
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-sh package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Dette programmet kjører som prosess nummer $pid."
diff --git a/gettext-tools/examples/hello-sh/po/nl.po b/gettext-tools/examples/hello-sh/po/nl.po
new file mode 100644
index 0000000..f5d6044
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-sh.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Dit programma draait als proces nummer $pid."
diff --git a/gettext-tools/examples/hello-sh/po/pl.po b/gettext-tools/examples/hello-sh/po/pl.po
new file mode 100644
index 0000000..9e61c87
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-sh domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Ten program działa jako proces o numerze $pid."
diff --git a/gettext-tools/examples/hello-sh/po/pt.po b/gettext-tools/examples/hello-sh/po/pt.po
new file mode 100644
index 0000000..f401c68
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-sh' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-sh package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Este process está a ser executado com o número de processo $pid."
diff --git a/gettext-tools/examples/hello-sh/po/pt_BR.po b/gettext-tools/examples/hello-sh/po/pt_BR.po
new file mode 100644
index 0000000..b863df4
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Este programa está executando com número de processo $pid."
diff --git a/gettext-tools/examples/hello-sh/po/ro.po b/gettext-tools/examples/hello-sh/po/ro.po
new file mode 100644
index 0000000..624ef3b
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-sh-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-sh.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Acest program ruleaz ca procesul numrul $pid."
diff --git a/gettext-tools/examples/hello-sh/po/ru.po b/gettext-tools/examples/hello-sh/po/ru.po
new file mode 100644
index 0000000..908435a
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-sh-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Эта программа выполняется как процесс под номером $pid."
diff --git a/gettext-tools/examples/hello-sh/po/sk.po b/gettext-tools/examples/hello-sh/po/sk.po
new file mode 100644
index 0000000..1b9c812
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-sh package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-sh 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Tento program beží ako proces s číslom $pid."
diff --git a/gettext-tools/examples/hello-sh/po/sl.po b/gettext-tools/examples/hello-sh/po/sl.po
new file mode 100644
index 0000000..3ab2063
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-sh-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Ta program teče kot proces številka $pid."
diff --git a/gettext-tools/examples/hello-sh/po/sr.po b/gettext-tools/examples/hello-sh/po/sr.po
new file mode 100644
index 0000000..fa61a9f
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-sh.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Овај програм се извршава као процес број $pid."
diff --git a/gettext-tools/examples/hello-sh/po/sv.po b/gettext-tools/examples/hello-sh/po/sv.po
new file mode 100644
index 0000000..6143a94
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-sh.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Detta program kör som process nummer $pid."
diff --git a/gettext-tools/examples/hello-sh/po/tr.po b/gettext-tools/examples/hello-sh/po/tr.po
new file mode 100644
index 0000000..aebfb28
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Bu yazılım, $pid süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-sh/po/uk.po b/gettext-tools/examples/hello-sh/po/uk.po
new file mode 100644
index 0000000..4f0072f
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-sh
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Ця програма виконується як процес з номером $pid."
diff --git a/gettext-tools/examples/hello-sh/po/vi.po b/gettext-tools/examples/hello-sh/po/vi.po
new file mode 100644
index 0000000..c299b5c
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Chương trình này đang chạy với mã số tiến trình $pid."
diff --git a/gettext-tools/examples/hello-sh/po/zh_CN.po b/gettext-tools/examples/hello-sh/po/zh_CN.po
new file mode 100644
index 0000000..6762422
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-sh.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-sh package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "此程序正以进程号 $pid 运行。"
diff --git a/gettext-tools/examples/hello-sh/po/zh_HK.po b/gettext-tools/examples/hello-sh/po/zh_HK.po
new file mode 100644
index 0000000..74c8aba
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-sh.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "本程式正在執行中,進程編號為 $pid。"
diff --git a/gettext-tools/examples/hello-sh/po/zh_TW.po b/gettext-tools/examples/hello-sh/po/zh_TW.po
new file mode 100644
index 0000000..83cef72
--- /dev/null
+++ b/gettext-tools/examples/hello-sh/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-sh.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.sh:14
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "本程式正在執行,行程編號為 $pid。"
diff --git a/gettext-tools/examples/hello-smalltalk/INSTALL b/gettext-tools/examples/hello-smalltalk/INSTALL
new file mode 100644
index 0000000..4a6b9f8
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/INSTALL
@@ -0,0 +1,10 @@
+This example relies on gst (GNU Smalltalk).
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-smalltalk/Makefile.am b/gettext-tools/examples/hello-smalltalk/Makefile.am
new file mode 100644
index 0000000..9796d9a
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/Makefile.am
@@ -0,0 +1,26 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_SCRIPTS = hello
+all-local: hello
+CLEANFILES = hello
+
+# The Smalltalk program is installed as data and invoked through a shell script.
+pkgdata_DATA = hello.st
+hello:
+ { echo '#!/bin/sh'; \
+ echo "exec '@GST@' -Q '$(pkgdatadir)/hello.st' \"\$$@\""; \
+ } > $@
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-smalltalk/autoclean.sh b/gettext-tools/examples/hello-smalltalk/autoclean.sh
new file mode 100755
index 0000000..7c2c432
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/autoclean.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-smalltalk/autogen.sh b/gettext-tools/examples/hello-smalltalk/autogen.sh
new file mode 100755
index 0000000..7e51979
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/autogen.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-smalltalk/configure.ac b/gettext-tools/examples/hello-smalltalk/configure.ac
new file mode 100644
index 0000000..2cb1bec
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/configure.ac
@@ -0,0 +1,38 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.st.in)
+AM_INIT_AUTOMAKE(hello-smalltalk, 0)
+
+dnl Check for availability of GNU Smalltalk.
+AC_PATH_PROG(GST, gst)
+if test -z "$GST"; then
+ echo "*** Essential program gst not found" 1>&2
+ exit 1
+fi
+AC_SUBST(GST)
+
+dnl The installed program must know where to find its message catalogs.
+dnl Unfortunately, prefix gets only finally determined at the end of configure.
+if test "X$prefix" = "XNONE"; then
+ final_prefix="$ac_default_prefix"
+else
+ final_prefix="$prefix"
+fi
+save_prefix="$prefix"
+prefix="$final_prefix"
+eval "datarootdir=\"${datarootdir}\""
+eval "localedir=\"${datadir}/locale\""
+prefix="$save_prefix"
+AC_SUBST(localedir)
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile hello.st])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-smalltalk/hello.st.in b/gettext-tools/examples/hello-smalltalk/hello.st.in
new file mode 100644
index 0000000..4ddccad
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/hello.st.in
@@ -0,0 +1,58 @@
+" Example for use of GNU gettext.
+ This file is in the public domain.
+
+ Source code of the GNU Smalltalk program.
+"
+
+"Unfortunately the PackageLoader method fileInPackage: is extra verbose:
+ It outputs 'Loading package I18N'. This will be fixed in smalltalk-2.2.
+
+PackageLoader fileInPackage: 'I18N' !
+
+In the meantime, we use this workaround."
+
+| saved sink |
+saved := Transcript message.
+sink := WriteStream with: String new.
+Transcript message: sink -> #nextPutAll:.
+PackageLoader fileInPackage: 'I18N'.
+Transcript message: saved.
+!
+
+Object subclass: #Main
+ instanceVariableNames: ''
+ classVariableNames: 'NLS'
+ poolDictionaries: ''
+ category: 'Program'
+!
+!Main methodsFor: 'running'!
+run
+ NLS := I18N Locale default messages domain: 'hello-smalltalk' localeDirectory: '@localedir@'.
+ Transcript showCr: (NLS ? 'Hello, world!').
+ Transcript showCr: ((NLS ? 'This program is running as process number %1.') bindWith: self getpid).
+!
+
+
+"Unfortunately I cannot define getpid like this - it gives
+ 'C function getpid not defined'.
+
+SystemDictionary defineCFunc: 'getpid'
+ withSelectorArgs: 'getpid'
+ returning: #int
+ args: #()
+!
+
+So let's define it through an external process."
+
+!Main methodsFor: 'auxiliary stuff'!
+getpid
+ | stream pid |
+ stream := FileDescriptor popen: 'echo $PPID' dir: #read.
+ pid := stream contents asNumber.
+ stream close.
+ ^ pid
+!
+!
+
+
+Main new run!
diff --git a/gettext-tools/examples/hello-smalltalk/m4/Makefile.am b/gettext-tools/examples/hello-smalltalk/m4/Makefile.am
new file mode 100644
index 0000000..8a841b3
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/m4/Makefile.am
@@ -0,0 +1,2 @@
+EXTRA_DIST = \
+ nls.m4 po.m4
diff --git a/gettext-tools/examples/hello-smalltalk/po/LINGUAS b/gettext-tools/examples/hello-smalltalk/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-smalltalk/po/Makefile.am b/gettext-tools/examples/hello-smalltalk/po/Makefile.am
new file mode 100644
index 0000000..81f4bad
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/Makefile.am
@@ -0,0 +1,356 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello.st.in
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS =
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).gmo)
+GMOFILES = @GMOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(lang).gmo)
+CATALOGS = @CATALOGS@
+
+SUFFIXES = .po .gmo .mo .sed .sin .nop .po-create .po-update
+
+.po.mo:
+ @echo "$(MSGFMT) -c -o $@ $<"; \
+ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
+
+.po.gmo:
+ @lang=`echo $* | sed -e 's,.*/,,'`; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
+ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
+# In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+install-data-local: install-data-local-@USE_NLS@
+install-data-local-no: all-local
+install-data-local-yes: all-local
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
+ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
+ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
+ fi; \
+ done; \
+ done
+
+installdirs-local: installdirs-local-@USE_NLS@
+installdirs-local-no:
+installdirs-local-yes:
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ fi; \
+ done; \
+ done
+
+uninstall-local: uninstall-local-@USE_NLS@
+uninstall-local-no:
+uninstall-local-yes:
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ done; \
+ done
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+MOSTLYCLEANFILES += *.o
+
+DISTCLEANFILES = *.mo
+
+MAINTAINERCLEANFILES = stamp-po $(GMOFILES)
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-gmo
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-gmo: Makefile $(GMOFILES)
+ @:
diff --git a/gettext-tools/examples/hello-smalltalk/po/af.po b/gettext-tools/examples/hello-smalltalk/po/af.po
new file mode 100644
index 0000000..98779b9
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Hierdie program loop as prosesnommer %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/ast.po b/gettext-tools/examples/hello-smalltalk/po/ast.po
new file mode 100644
index 0000000..30ea0a7
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/bg.po b/gettext-tools/examples/hello-smalltalk/po/bg.po
new file mode 100644
index 0000000..161c08c
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-smalltalk package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-smalltalk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Програмата е пусната под процес номер %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/ca.po b/gettext-tools/examples/hello-smalltalk/po/ca.po
new file mode 100644
index 0000000..c5788e0
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-smalltalk.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Aquest programa està corrent amb el número de procés %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/cs.po b/gettext-tools/examples/hello-smalltalk/po/cs.po
new file mode 100644
index 0000000..9822e40
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Tento program běží jako proces číslo %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/da.po b/gettext-tools/examples/hello-smalltalk/po/da.po
new file mode 100644
index 0000000..e25cb3f
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-smalltalk.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Dette program krer som proces nummer %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/de.po b/gettext-tools/examples/hello-smalltalk/po/de.po
new file mode 100644
index 0000000..f7c9b66
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-smalltalk.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/el.po b/gettext-tools/examples/hello-smalltalk/po/el.po
new file mode 100644
index 0000000..b9c1b5e
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-smalltalk
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/eo.po b/gettext-tools/examples/hello-smalltalk/po/eo.po
new file mode 100644
index 0000000..6182044
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/es.po b/gettext-tools/examples/hello-smalltalk/po/es.po
new file mode 100644
index 0000000..c98daea
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Este programa está corriendo como el proceso número %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/fi.po b/gettext-tools/examples/hello-smalltalk/po/fi.po
new file mode 100644
index 0000000..9ebfdbc
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Tämän ohjelman prosessinumero on %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/fr.po b/gettext-tools/examples/hello-smalltalk/po/fr.po
new file mode 100644
index 0000000..c962e86
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-smalltalk 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Ce programme est exécuté en tant que processus numéro %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/ga.po b/gettext-tools/examples/hello-smalltalk/po/ga.po
new file mode 100644
index 0000000..38af430
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-smalltalk.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-smalltalk package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "T an clr seo rith mar phriseas %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/gl.po b/gettext-tools/examples/hello-smalltalk/po/gl.po
new file mode 100644
index 0000000..2485049
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-smalltalk package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Este programa estase executando como o proceso número %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/hr.po b/gettext-tools/examples/hello-smalltalk/po/hr.po
new file mode 100644
index 0000000..543c346
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-smalltalk to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Ovaj program je pokrenut kao proces broj %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/hu.po b/gettext-tools/examples/hello-smalltalk/po/hu.po
new file mode 100644
index 0000000..aa301db
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-smalltalk.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Ez a program a(z) %1 folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-smalltalk/po/id.po b/gettext-tools/examples/hello-smalltalk/po/id.po
new file mode 100644
index 0000000..1494c56
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-smalltalk-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Program ini berjalan sebagai proses nomor %1"
diff --git a/gettext-tools/examples/hello-smalltalk/po/it.po b/gettext-tools/examples/hello-smalltalk/po/it.po
new file mode 100644
index 0000000..bc41136
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-smalltalk.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Questo programma è in esecuzione con numero di processo %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/ja.po b/gettext-tools/examples/hello-smalltalk/po/ja.po
new file mode 100644
index 0000000..985df9f
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-smalltalk' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-smalltalk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Υץϥץֹ %1 ưƤޤ."
diff --git a/gettext-tools/examples/hello-smalltalk/po/ky.po b/gettext-tools/examples/hello-smalltalk/po/ky.po
new file mode 100644
index 0000000..a84bb4c
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-smalltalk' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Бул программа %1 процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-smalltalk/po/lv.po b/gettext-tools/examples/hello-smalltalk/po/lv.po
new file mode 100644
index 0000000..6ccc038
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-smalltalk
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Šī programma darbojas kā process ar numuru %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/ms.po b/gettext-tools/examples/hello-smalltalk/po/ms.po
new file mode 100644
index 0000000..04d8214
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/ms.po
@@ -0,0 +1,26 @@
+# hello-smalltalk Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-smalltalk package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/mt.po b/gettext-tools/examples/hello-smalltalk/po/mt.po
new file mode 100644
index 0000000..418fbfb
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/mt.po
@@ -0,0 +1,26 @@
+# hello-smalltalk-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/nb.po b/gettext-tools/examples/hello-smalltalk/po/nb.po
new file mode 100644
index 0000000..ac8303e
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-smalltalk package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Dette programmet kjører som prosess nummer %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/nl.po b/gettext-tools/examples/hello-smalltalk/po/nl.po
new file mode 100644
index 0000000..7795a8e
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-smalltalk.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Dit programma draait als proces nummer %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/pl.po b/gettext-tools/examples/hello-smalltalk/po/pl.po
new file mode 100644
index 0000000..bcfa821
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-smalltalk domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Ten program działa jako proces o numerze %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/pt.po b/gettext-tools/examples/hello-smalltalk/po/pt.po
new file mode 100644
index 0000000..a88e369
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-smalltalk' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-smalltalk package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Este programa está a ser executado com o número de processo %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/pt_BR.po b/gettext-tools/examples/hello-smalltalk/po/pt_BR.po
new file mode 100644
index 0000000..d5646e5
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Este programa está executando com número de processo %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/ro.po b/gettext-tools/examples/hello-smalltalk/po/ro.po
new file mode 100644
index 0000000..bad9e44
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-smalltalk-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-smalltalk.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Acest program este rulat ca procesul numrul %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/ru.po b/gettext-tools/examples/hello-smalltalk/po/ru.po
new file mode 100644
index 0000000..559df2a
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-smalltalk-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Эта программа выполняется как процесс под номером %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/sk.po b/gettext-tools/examples/hello-smalltalk/po/sk.po
new file mode 100644
index 0000000..adee86e
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-smalltalk package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-smalltalk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Tento program beží ako proces s číslom %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/sl.po b/gettext-tools/examples/hello-smalltalk/po/sl.po
new file mode 100644
index 0000000..36b15b1
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-smalltalk-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Ta program teče kot proces številka %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/sr.po b/gettext-tools/examples/hello-smalltalk/po/sr.po
new file mode 100644
index 0000000..1fa2546
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-smalltalk.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Овај програм се извршава као процес број %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/sv.po b/gettext-tools/examples/hello-smalltalk/po/sv.po
new file mode 100644
index 0000000..92b85d0
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-smalltalk.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Detta program kör som process nummer %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/tr.po b/gettext-tools/examples/hello-smalltalk/po/tr.po
new file mode 100644
index 0000000..0062a60
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Bu yazılım, %1 süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-smalltalk/po/uk.po b/gettext-tools/examples/hello-smalltalk/po/uk.po
new file mode 100644
index 0000000..20ffa74
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-smalltalk
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Ця програма виконується як процес з номером %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/vi.po b/gettext-tools/examples/hello-smalltalk/po/vi.po
new file mode 100644
index 0000000..f3d699d
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "Chương trình này đang chạy với mã số tiến trình %1."
diff --git a/gettext-tools/examples/hello-smalltalk/po/zh_CN.po b/gettext-tools/examples/hello-smalltalk/po/zh_CN.po
new file mode 100644
index 0000000..f67420c
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-smalltalk.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-smalltalk package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "此程序正以进程号 %1 运行。"
diff --git a/gettext-tools/examples/hello-smalltalk/po/zh_HK.po b/gettext-tools/examples/hello-smalltalk/po/zh_HK.po
new file mode 100644
index 0000000..4d0e759
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-smalltalk.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "本程式正在執行中,進程編號為 %1。"
diff --git a/gettext-tools/examples/hello-smalltalk/po/zh_TW.po b/gettext-tools/examples/hello-smalltalk/po/zh_TW.po
new file mode 100644
index 0000000..6b2fef7
--- /dev/null
+++ b/gettext-tools/examples/hello-smalltalk/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-smalltalk.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.st.in:31
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr "本程式正在執行,行程編號為 %1。"
diff --git a/gettext-tools/examples/hello-tcl-tk/INSTALL b/gettext-tools/examples/hello-tcl-tk/INSTALL
new file mode 100644
index 0000000..4797fdf
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/INSTALL
@@ -0,0 +1,12 @@
+This example relies on:
+ - Tk (wish and libtk)
+ - Tcl (tclsh and libtcl)
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-tcl-tk/Makefile.am b/gettext-tools/examples/hello-tcl-tk/Makefile.am
new file mode 100644
index 0000000..b76e71d
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/Makefile.am
@@ -0,0 +1,17 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_SCRIPTS = hello
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-tcl-tk/autoclean.sh b/gettext-tools/examples/hello-tcl-tk/autoclean.sh
new file mode 100755
index 0000000..f6054e2
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/autoclean.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.msg
diff --git a/gettext-tools/examples/hello-tcl-tk/autogen.sh b/gettext-tools/examples/hello-tcl-tk/autogen.sh
new file mode 100755
index 0000000..2b5e67b
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/autogen.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c --tcl -d . -l $lang $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-tcl-tk/configure.ac b/gettext-tools/examples/hello-tcl-tk/configure.ac
new file mode 100644
index 0000000..786f9b7
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/configure.ac
@@ -0,0 +1,38 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.tcl)
+AM_INIT_AUTOMAKE(hello-tcl-tk, 0)
+
+dnl Check for availability of the Tcl/Tk interpreter.
+AC_PATH_PROG(WISH, wish)
+if test -z "$WISH"; then
+ echo "*** Essential program wish not found" 1>&2
+ exit 1
+fi
+AC_SUBST(WISH)
+
+dnl The installed program must know where to find its message catalogs.
+dnl Unfortunately, prefix gets only finally determined at the end of configure.
+if test "X$prefix" = "XNONE"; then
+ final_prefix="$ac_default_prefix"
+else
+ final_prefix="$prefix"
+fi
+save_prefix="$prefix"
+prefix="$final_prefix"
+eval "pkgdatadir=\"${datadir}/${PACKAGE}\""
+prefix="$save_prefix"
+AC_SUBST(pkgdatadir)
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([hello:hello.tcl], [chmod a+x hello])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-tcl-tk/hello.tcl b/gettext-tools/examples/hello-tcl-tk/hello.tcl
new file mode 100644
index 0000000..4dfee53
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/hello.tcl
@@ -0,0 +1,19 @@
+#!@WISH@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Source code of the Tcl/Tk program.
+
+package require msgcat
+::msgcat::mcload [file join "@pkgdatadir@" "msgs"]
+proc _ {s} {return [::msgcat::mc $s]}
+
+frame .my
+button .my.button \
+ -text [_ "Hello, world!"] \
+ -command exit
+label .my.label \
+ -text [format [_ "This program is running as process number %d."] [pid]]
+pack .my.button -side top
+pack .my.label -side bottom
+pack .my
diff --git a/gettext-tools/examples/hello-tcl-tk/m4/Makefile.am b/gettext-tools/examples/hello-tcl-tk/m4/Makefile.am
new file mode 100644
index 0000000..8a841b3
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/m4/Makefile.am
@@ -0,0 +1,2 @@
+EXTRA_DIST = \
+ nls.m4 po.m4
diff --git a/gettext-tools/examples/hello-tcl-tk/po/LINGUAS b/gettext-tools/examples/hello-tcl-tk/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-tcl-tk/po/Makefile.am b/gettext-tools/examples/hello-tcl-tk/po/Makefile.am
new file mode 100644
index 0000000..78b645b
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/Makefile.am
@@ -0,0 +1,276 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello.tcl
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = --keyword=_ --flag=_:1:pass-tcl-format
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(frob $(lang)).msg)
+MSGFILES = @MSGFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(frob $(lang)).msg)
+CATALOGS = @TCLCATALOGS@
+
+SUFFIXES = .sed .sin .nop .po-create .po-update
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(MSGFILES) are empty.
+# In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ test -z "$(MSGFILES)" || $(MAKE) $(MSGFILES)
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+install-data-local: install-data-local-@USE_NLS@
+install-data-local-no: all-local
+install-data-local-yes: all-local
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)/msgs
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
+ $(INSTALL_DATA) $$realcat $(DESTDIR)$(pkgdatadir)/msgs/$$cat; \
+ echo "installing $$realcat as $(DESTDIR)$(pkgdatadir)/msgs/$$cat"; \
+ done
+
+installdirs-local: installdirs-local-@USE_NLS@
+installdirs-local-no:
+installdirs-local-yes:
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)/msgs
+
+uninstall-local: uninstall-local-@USE_NLS@
+uninstall-local-no:
+uninstall-local-yes:
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ rm -f $(DESTDIR)$(pkgdatadir)/msgs/$$cat; \
+ done
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+MOSTLYCLEANFILES += *.o
+
+MAINTAINERCLEANFILES = stamp-po $(MSGFILES)
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(MSGFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-msg
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-msg: Makefile $(MSGFILES)
+ @:
diff --git a/gettext-tools/examples/hello-tcl-tk/po/af.po b/gettext-tools/examples/hello-tcl-tk/po/af.po
new file mode 100644
index 0000000..ad13df4
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Hierdie program loop as prosesnommer %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/ast.po b/gettext-tools/examples/hello-tcl-tk/po/ast.po
new file mode 100644
index 0000000..00b56d8
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/bg.po b/gettext-tools/examples/hello-tcl-tk/po/bg.po
new file mode 100644
index 0000000..0312265
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-tcl-tk package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-tcl-tk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Програмата е пусната под процес номер %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/ca.po b/gettext-tools/examples/hello-tcl-tk/po/ca.po
new file mode 100644
index 0000000..9dbaaad
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-tcl-tk.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Aquest programa està corrent amb el número de procés %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/cs.po b/gettext-tools/examples/hello-tcl-tk/po/cs.po
new file mode 100644
index 0000000..8ea66ff
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Tento program běží jako proces číslo %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/da.po b/gettext-tools/examples/hello-tcl-tk/po/da.po
new file mode 100644
index 0000000..14b8130
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-tcl-tk.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Dette program krer som proces nummer %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/de.po b/gettext-tools/examples/hello-tcl-tk/po/de.po
new file mode 100644
index 0000000..4a867c2
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-tcl-tk.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/el.po b/gettext-tools/examples/hello-tcl-tk/po/el.po
new file mode 100644
index 0000000..22919b5
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-tcl-tk
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/eo.po b/gettext-tools/examples/hello-tcl-tk/po/eo.po
new file mode 100644
index 0000000..1872f7e
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/es.po b/gettext-tools/examples/hello-tcl-tk/po/es.po
new file mode 100644
index 0000000..7ca0808
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está corriendo como el proceso número %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/fi.po b/gettext-tools/examples/hello-tcl-tk/po/fi.po
new file mode 100644
index 0000000..c1db4fb
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Tämän ohjelman prosessinumero on %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/fr.po b/gettext-tools/examples/hello-tcl-tk/po/fr.po
new file mode 100644
index 0000000..c5584cf
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-tcl-tk 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Ce programme est exécuté en tant que processus numéro %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/ga.po b/gettext-tools/examples/hello-tcl-tk/po/ga.po
new file mode 100644
index 0000000..dd9b152
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-tcl-tk.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-tcl-tk package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "T an clr seo rith mar phriseas %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/gl.po b/gettext-tools/examples/hello-tcl-tk/po/gl.po
new file mode 100644
index 0000000..4c40aa8
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-tcl-tk package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Este programa estase executando como o proceso número %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/hr.po b/gettext-tools/examples/hello-tcl-tk/po/hr.po
new file mode 100644
index 0000000..7ab533d
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-tcl-tk to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Ovaj program je pokrenut kao proces broj %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/hu.po b/gettext-tools/examples/hello-tcl-tk/po/hu.po
new file mode 100644
index 0000000..ab6011f
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-tcl-tk.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Ez a program a(z) %d folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/id.po b/gettext-tools/examples/hello-tcl-tk/po/id.po
new file mode 100644
index 0000000..37051cc
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-tcl-tk-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Program ini berjalan sebagai proses nomor %d"
diff --git a/gettext-tools/examples/hello-tcl-tk/po/it.po b/gettext-tools/examples/hello-tcl-tk/po/it.po
new file mode 100644
index 0000000..2c483d3
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-tcl-tk.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Questo programma è in esecuzione con numero di processo %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/ja.po b/gettext-tools/examples/hello-tcl-tk/po/ja.po
new file mode 100644
index 0000000..b783064
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-tcl-tk' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-tcl-tk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Υץϥץֹ %d ưƤޤ."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/ky.po b/gettext-tools/examples/hello-tcl-tk/po/ky.po
new file mode 100644
index 0000000..1656b54
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-tcl-tk' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Бул программа %d процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/lv.po b/gettext-tools/examples/hello-tcl-tk/po/lv.po
new file mode 100644
index 0000000..b4e858a
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-tcl-tk
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Šī programma darbojas kā process ar numuru %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/ms.po b/gettext-tools/examples/hello-tcl-tk/po/ms.po
new file mode 100644
index 0000000..919ac87
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/ms.po
@@ -0,0 +1,26 @@
+# hello-tcl-tk Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-tcl-tk package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/mt.po b/gettext-tools/examples/hello-tcl-tk/po/mt.po
new file mode 100644
index 0000000..d18081f
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/mt.po
@@ -0,0 +1,26 @@
+# hello-tcl-tk-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/nb.po b/gettext-tools/examples/hello-tcl-tk/po/nb.po
new file mode 100644
index 0000000..a546abf
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-tcl-tk package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Dette programmet kjører som prosess nummer %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/nl.po b/gettext-tools/examples/hello-tcl-tk/po/nl.po
new file mode 100644
index 0000000..52b8aaa
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-tcl-tk.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Dit programma draait als proces nummer %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/pl.po b/gettext-tools/examples/hello-tcl-tk/po/pl.po
new file mode 100644
index 0000000..35c26ca
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-tcl-tk domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Ten program działa jako proces o numerze %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/pt.po b/gettext-tools/examples/hello-tcl-tk/po/pt.po
new file mode 100644
index 0000000..d45c262
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-tcl-tk' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-tcl-tk package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está a ser executado com o número de processo %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/pt_BR.po b/gettext-tools/examples/hello-tcl-tk/po/pt_BR.po
new file mode 100644
index 0000000..257f7a2
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está executando com número de processo %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/ro.po b/gettext-tools/examples/hello-tcl-tk/po/ro.po
new file mode 100644
index 0000000..0ddf9a3
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-tcl-tk-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-tcl-tk.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Acest program este rulat ca procesul numrul %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/ru.po b/gettext-tools/examples/hello-tcl-tk/po/ru.po
new file mode 100644
index 0000000..3626264
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-tcl-tk-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Эта программа выполняется как процесс под номером %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/sk.po b/gettext-tools/examples/hello-tcl-tk/po/sk.po
new file mode 100644
index 0000000..59ab69d
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-tcl-tk package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-tcl-tk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Tento program beží ako proces s číslom %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/sl.po b/gettext-tools/examples/hello-tcl-tk/po/sl.po
new file mode 100644
index 0000000..7362466
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-tcl-tk-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Ta program teče kot proces številka %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/sr.po b/gettext-tools/examples/hello-tcl-tk/po/sr.po
new file mode 100644
index 0000000..196c778
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-tcl-tk.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Овај програм се извршава као процес број %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/sv.po b/gettext-tools/examples/hello-tcl-tk/po/sv.po
new file mode 100644
index 0000000..95afec9
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-tcl-tk.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Detta program kör som process nummer %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/tr.po b/gettext-tools/examples/hello-tcl-tk/po/tr.po
new file mode 100644
index 0000000..d6dcb4f
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Bu yazılım, %d süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/uk.po b/gettext-tools/examples/hello-tcl-tk/po/uk.po
new file mode 100644
index 0000000..b087916
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-tcl-tk
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Ця програма виконується як процес з номером %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/vi.po b/gettext-tools/examples/hello-tcl-tk/po/vi.po
new file mode 100644
index 0000000..17074c9
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %d."
diff --git a/gettext-tools/examples/hello-tcl-tk/po/zh_CN.po b/gettext-tools/examples/hello-tcl-tk/po/zh_CN.po
new file mode 100644
index 0000000..087dfc3
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-tcl-tk.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-tcl-tk package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "此程序正以进程号 %d 运行。"
diff --git a/gettext-tools/examples/hello-tcl-tk/po/zh_HK.po b/gettext-tools/examples/hello-tcl-tk/po/zh_HK.po
new file mode 100644
index 0000000..d58548d
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-tcl-tk.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行中,進程編號為 %d。"
diff --git a/gettext-tools/examples/hello-tcl-tk/po/zh_TW.po b/gettext-tools/examples/hello-tcl-tk/po/zh_TW.po
new file mode 100644
index 0000000..b312355
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl-tk/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-tcl-tk.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:13
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行,行程編號為 %d。"
diff --git a/gettext-tools/examples/hello-tcl/INSTALL b/gettext-tools/examples/hello-tcl/INSTALL
new file mode 100644
index 0000000..c020e47
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/INSTALL
@@ -0,0 +1,11 @@
+This example relies on:
+ - Tcl (tclsh and libtcl)
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-tcl/Makefile.am b/gettext-tools/examples/hello-tcl/Makefile.am
new file mode 100644
index 0000000..b76e71d
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/Makefile.am
@@ -0,0 +1,17 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_SCRIPTS = hello
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-tcl/autoclean.sh b/gettext-tools/examples/hello-tcl/autoclean.sh
new file mode 100755
index 0000000..f6054e2
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/autoclean.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.msg
diff --git a/gettext-tools/examples/hello-tcl/autogen.sh b/gettext-tools/examples/hello-tcl/autogen.sh
new file mode 100755
index 0000000..2b5e67b
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/autogen.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c --tcl -d . -l $lang $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-tcl/configure.ac b/gettext-tools/examples/hello-tcl/configure.ac
new file mode 100644
index 0000000..30538b8
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/configure.ac
@@ -0,0 +1,38 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.tcl)
+AM_INIT_AUTOMAKE(hello-tcl, 0)
+
+dnl Check for availability of the Tcl interpreter.
+AC_PATH_PROG(TCLSH, tclsh)
+if test -z "$TCLSH"; then
+ echo "*** Essential program tclsh not found" 1>&2
+ exit 1
+fi
+AC_SUBST(TCLSH)
+
+dnl The installed program must know where to find its message catalogs.
+dnl Unfortunately, prefix gets only finally determined at the end of configure.
+if test "X$prefix" = "XNONE"; then
+ final_prefix="$ac_default_prefix"
+else
+ final_prefix="$prefix"
+fi
+save_prefix="$prefix"
+prefix="$final_prefix"
+eval "pkgdatadir=\"${datadir}/${PACKAGE}\""
+prefix="$save_prefix"
+AC_SUBST(pkgdatadir)
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([hello:hello.tcl], [chmod a+x hello])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-tcl/hello.tcl b/gettext-tools/examples/hello-tcl/hello.tcl
new file mode 100644
index 0000000..1983273
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/hello.tcl
@@ -0,0 +1,12 @@
+#!@TCLSH@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Source code of the Tcl program.
+
+package require msgcat
+::msgcat::mcload [file join "@pkgdatadir@" "msgs"]
+proc _ {s} {return [::msgcat::mc $s]}
+
+puts [_ "Hello, world!"]
+puts [format [_ "This program is running as process number %d."] [pid]]
diff --git a/gettext-tools/examples/hello-tcl/m4/Makefile.am b/gettext-tools/examples/hello-tcl/m4/Makefile.am
new file mode 100644
index 0000000..8a841b3
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/m4/Makefile.am
@@ -0,0 +1,2 @@
+EXTRA_DIST = \
+ nls.m4 po.m4
diff --git a/gettext-tools/examples/hello-tcl/po/LINGUAS b/gettext-tools/examples/hello-tcl/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-tcl/po/Makefile.am b/gettext-tools/examples/hello-tcl/po/Makefile.am
new file mode 100644
index 0000000..78b645b
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/Makefile.am
@@ -0,0 +1,276 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello.tcl
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = --keyword=_ --flag=_:1:pass-tcl-format
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(frob $(lang)).msg)
+MSGFILES = @MSGFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(frob $(lang)).msg)
+CATALOGS = @TCLCATALOGS@
+
+SUFFIXES = .sed .sin .nop .po-create .po-update
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(MSGFILES) are empty.
+# In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ test -z "$(MSGFILES)" || $(MAKE) $(MSGFILES)
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+install-data-local: install-data-local-@USE_NLS@
+install-data-local-no: all-local
+install-data-local-yes: all-local
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)/msgs
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
+ $(INSTALL_DATA) $$realcat $(DESTDIR)$(pkgdatadir)/msgs/$$cat; \
+ echo "installing $$realcat as $(DESTDIR)$(pkgdatadir)/msgs/$$cat"; \
+ done
+
+installdirs-local: installdirs-local-@USE_NLS@
+installdirs-local-no:
+installdirs-local-yes:
+ $(MKDIR_P) $(DESTDIR)$(pkgdatadir)/msgs
+
+uninstall-local: uninstall-local-@USE_NLS@
+uninstall-local-no:
+uninstall-local-yes:
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ rm -f $(DESTDIR)$(pkgdatadir)/msgs/$$cat; \
+ done
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+MOSTLYCLEANFILES += *.o
+
+MAINTAINERCLEANFILES = stamp-po $(MSGFILES)
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(MSGFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-msg
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-msg: Makefile $(MSGFILES)
+ @:
diff --git a/gettext-tools/examples/hello-tcl/po/af.po b/gettext-tools/examples/hello-tcl/po/af.po
new file mode 100644
index 0000000..fd6ad22
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Hierdie program loop as prosesnommer %d."
diff --git a/gettext-tools/examples/hello-tcl/po/ast.po b/gettext-tools/examples/hello-tcl/po/ast.po
new file mode 100644
index 0000000..486d098
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %d."
diff --git a/gettext-tools/examples/hello-tcl/po/bg.po b/gettext-tools/examples/hello-tcl/po/bg.po
new file mode 100644
index 0000000..a57097b
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-tcl package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-tcl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Програмата е пусната под процес номер %d."
diff --git a/gettext-tools/examples/hello-tcl/po/ca.po b/gettext-tools/examples/hello-tcl/po/ca.po
new file mode 100644
index 0000000..ace9423
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-tcl.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Aquest programa està corrent amb el número de procés %d."
diff --git a/gettext-tools/examples/hello-tcl/po/cs.po b/gettext-tools/examples/hello-tcl/po/cs.po
new file mode 100644
index 0000000..1815f96
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Tento program běží jako proces číslo %d."
diff --git a/gettext-tools/examples/hello-tcl/po/da.po b/gettext-tools/examples/hello-tcl/po/da.po
new file mode 100644
index 0000000..2833310
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-tcl.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Dette program krer som proces nummer %d."
diff --git a/gettext-tools/examples/hello-tcl/po/de.po b/gettext-tools/examples/hello-tcl/po/de.po
new file mode 100644
index 0000000..66cf7a7
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-tcl.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %d."
diff --git a/gettext-tools/examples/hello-tcl/po/el.po b/gettext-tools/examples/hello-tcl/po/el.po
new file mode 100644
index 0000000..7d1f480
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-tcl
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d."
diff --git a/gettext-tools/examples/hello-tcl/po/eo.po b/gettext-tools/examples/hello-tcl/po/eo.po
new file mode 100644
index 0000000..72dcab5
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %d."
diff --git a/gettext-tools/examples/hello-tcl/po/es.po b/gettext-tools/examples/hello-tcl/po/es.po
new file mode 100644
index 0000000..0232ff5
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está corriendo como el proceso número %d."
diff --git a/gettext-tools/examples/hello-tcl/po/fi.po b/gettext-tools/examples/hello-tcl/po/fi.po
new file mode 100644
index 0000000..db84716
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Tämän ohjelman prosessinumero on %d."
diff --git a/gettext-tools/examples/hello-tcl/po/fr.po b/gettext-tools/examples/hello-tcl/po/fr.po
new file mode 100644
index 0000000..92c974e
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-tcl 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Ce programme est exécuté en tant que processus numéro %d."
diff --git a/gettext-tools/examples/hello-tcl/po/ga.po b/gettext-tools/examples/hello-tcl/po/ga.po
new file mode 100644
index 0000000..7ab4a8d
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-tcl.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-tcl package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "T an clr seo rith mar phriseas %d."
diff --git a/gettext-tools/examples/hello-tcl/po/gl.po b/gettext-tools/examples/hello-tcl/po/gl.po
new file mode 100644
index 0000000..245592b
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-tcl package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Este programa estase executando como o proceso número %d."
diff --git a/gettext-tools/examples/hello-tcl/po/hr.po b/gettext-tools/examples/hello-tcl/po/hr.po
new file mode 100644
index 0000000..7621bbd
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-tcl to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Ovaj program je pokrenut kao proces broj %d."
diff --git a/gettext-tools/examples/hello-tcl/po/hu.po b/gettext-tools/examples/hello-tcl/po/hu.po
new file mode 100644
index 0000000..16f2afd
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-tcl.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Ez a program a(z) %d folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-tcl/po/id.po b/gettext-tools/examples/hello-tcl/po/id.po
new file mode 100644
index 0000000..f4772e1
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-tcl-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Program ini berjalan sebagai proses nomor %d"
diff --git a/gettext-tools/examples/hello-tcl/po/it.po b/gettext-tools/examples/hello-tcl/po/it.po
new file mode 100644
index 0000000..a5751e7
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-tcl.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Questo programma è in esecuzione con numero di processo %d."
diff --git a/gettext-tools/examples/hello-tcl/po/ja.po b/gettext-tools/examples/hello-tcl/po/ja.po
new file mode 100644
index 0000000..28bf4d1
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-tcl' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-tcl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Υץϥץֹ %d ưƤޤ."
diff --git a/gettext-tools/examples/hello-tcl/po/ky.po b/gettext-tools/examples/hello-tcl/po/ky.po
new file mode 100644
index 0000000..776abd4
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-tcl' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Бул программа %d процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-tcl/po/lv.po b/gettext-tools/examples/hello-tcl/po/lv.po
new file mode 100644
index 0000000..b809470
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-tcl
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Šī programma darbojas kā process ar numuru %d."
diff --git a/gettext-tools/examples/hello-tcl/po/ms.po b/gettext-tools/examples/hello-tcl/po/ms.po
new file mode 100644
index 0000000..53c5898
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/ms.po
@@ -0,0 +1,26 @@
+# hello-tcl Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-tcl package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %d."
diff --git a/gettext-tools/examples/hello-tcl/po/mt.po b/gettext-tools/examples/hello-tcl/po/mt.po
new file mode 100644
index 0000000..87e2e5e
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/mt.po
@@ -0,0 +1,26 @@
+# hello-tcl-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d."
diff --git a/gettext-tools/examples/hello-tcl/po/nb.po b/gettext-tools/examples/hello-tcl/po/nb.po
new file mode 100644
index 0000000..9f22216
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-tcl package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Dette programmet kjører som prosess nummer %d."
diff --git a/gettext-tools/examples/hello-tcl/po/nl.po b/gettext-tools/examples/hello-tcl/po/nl.po
new file mode 100644
index 0000000..cbb4fe1
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-tcl.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Dit programma draait als proces nummer %d."
diff --git a/gettext-tools/examples/hello-tcl/po/pl.po b/gettext-tools/examples/hello-tcl/po/pl.po
new file mode 100644
index 0000000..b9e90d1
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-tcl domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Ten program działa jako proces o numerze %d."
diff --git a/gettext-tools/examples/hello-tcl/po/pt.po b/gettext-tools/examples/hello-tcl/po/pt.po
new file mode 100644
index 0000000..20dd7ca
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-tcl' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-tcl package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está a ser executado com o número de processo %d."
diff --git a/gettext-tools/examples/hello-tcl/po/pt_BR.po b/gettext-tools/examples/hello-tcl/po/pt_BR.po
new file mode 100644
index 0000000..5df43eb
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está executando com número de processo %d."
diff --git a/gettext-tools/examples/hello-tcl/po/ro.po b/gettext-tools/examples/hello-tcl/po/ro.po
new file mode 100644
index 0000000..1d0768b
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-tcl-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-tcl.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Acest program este rulat ca procesul numrul %d."
diff --git a/gettext-tools/examples/hello-tcl/po/ru.po b/gettext-tools/examples/hello-tcl/po/ru.po
new file mode 100644
index 0000000..044ced7
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-tcl-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Эта программа выполняется как процесс под номером %d."
diff --git a/gettext-tools/examples/hello-tcl/po/sk.po b/gettext-tools/examples/hello-tcl/po/sk.po
new file mode 100644
index 0000000..611bbed
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-tcl package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-tcl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Tento program beží ako proces s číslom %d."
diff --git a/gettext-tools/examples/hello-tcl/po/sl.po b/gettext-tools/examples/hello-tcl/po/sl.po
new file mode 100644
index 0000000..ef632b9
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-tcl-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Ta program teče kot proces številka %d."
diff --git a/gettext-tools/examples/hello-tcl/po/sr.po b/gettext-tools/examples/hello-tcl/po/sr.po
new file mode 100644
index 0000000..1685d2a
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-tcl.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Овај програм се извршава као процес број %d."
diff --git a/gettext-tools/examples/hello-tcl/po/sv.po b/gettext-tools/examples/hello-tcl/po/sv.po
new file mode 100644
index 0000000..48501f9
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-tcl.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Detta program kör som process nummer %d."
diff --git a/gettext-tools/examples/hello-tcl/po/tr.po b/gettext-tools/examples/hello-tcl/po/tr.po
new file mode 100644
index 0000000..f439a1d
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Bu yazılım, %d süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-tcl/po/uk.po b/gettext-tools/examples/hello-tcl/po/uk.po
new file mode 100644
index 0000000..9968d90
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-tcl
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Ця програма виконується як процес з номером %d."
diff --git a/gettext-tools/examples/hello-tcl/po/vi.po b/gettext-tools/examples/hello-tcl/po/vi.po
new file mode 100644
index 0000000..a5dd992
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %d."
diff --git a/gettext-tools/examples/hello-tcl/po/zh_CN.po b/gettext-tools/examples/hello-tcl/po/zh_CN.po
new file mode 100644
index 0000000..df04972
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-tcl.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-tcl package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "此程序正以进程号 %d 运行。"
diff --git a/gettext-tools/examples/hello-tcl/po/zh_HK.po b/gettext-tools/examples/hello-tcl/po/zh_HK.po
new file mode 100644
index 0000000..54d782f
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-tcl.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行中,進程編號為 %d。"
diff --git a/gettext-tools/examples/hello-tcl/po/zh_TW.po b/gettext-tools/examples/hello-tcl/po/zh_TW.po
new file mode 100644
index 0000000..8a4f2cf
--- /dev/null
+++ b/gettext-tools/examples/hello-tcl/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-tcl.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.tcl:11
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行,行程編號為 %d。"
diff --git a/gettext-tools/examples/hello-ycp/INSTALL b/gettext-tools/examples/hello-ycp/INSTALL
new file mode 100644
index 0000000..1aaff4e
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/INSTALL
@@ -0,0 +1,16 @@
+This example relies on YaST2 (SuSE Linux: package yast2-core).
+
+Before "make install", you need to make the locale directory writable:
+ chmod a+w /usr/share/YaST2/locale
+ chmod a+w /usr/share/YaST2/locale/*/LC_MESSAGES
+Unfortunately this directory is hardwired in YaST; there is no way to
+put the message catalogs elsewhere.
+
+Installation:
+ ./autogen.sh
+ ./configure --prefix=/some/prefix
+ make
+ make install
+Cleanup:
+ make distclean
+ ./autoclean.sh
diff --git a/gettext-tools/examples/hello-ycp/Makefile.am b/gettext-tools/examples/hello-ycp/Makefile.am
new file mode 100644
index 0000000..ceeda90
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/Makefile.am
@@ -0,0 +1,30 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# General automake options.
+AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I m4
+
+# The list of subdirectories containing Makefiles.
+SUBDIRS = m4 po
+
+# The list of programs that are built.
+bin_SCRIPTS = hello
+all-local: hello
+CLEANFILES = hello
+
+# The YCP program is installed as data and invoked through a shell script.
+pkgdata_DATA = hello.ycp
+hello:
+ { echo '#!/bin/sh'; \
+ echo 'if test -n "$$DISPLAY"; then'; \
+ echo " exec /usr/lib/YaST2/bin/y2base '$(pkgdatadir)/hello.ycp' qt"; \
+ echo 'else'; \
+ echo " exec /usr/lib/YaST2/bin/y2base '$(pkgdatadir)/hello.ycp' ncurses"; \
+ echo 'fi'; \
+ } > $@
+
+# Additional files to be distributed.
+EXTRA_DIST = autogen.sh autoclean.sh
diff --git a/gettext-tools/examples/hello-ycp/autoclean.sh b/gettext-tools/examples/hello-ycp/autoclean.sh
new file mode 100755
index 0000000..7c2c432
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/autoclean.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for cleaning all autogenerated files.
+
+test ! -f Makefile || make distclean
+
+# Brought in by explicit copy.
+rm -f m4/nls.m4
+rm -f m4/po.m4
+rm -f m4/progtest.m4
+rm -f po/remove-potcdate.sin
+
+# Generated by aclocal.
+rm -f aclocal.m4
+
+# Generated by autoconf.
+rm -f configure
+
+# Generated or brought in by automake.
+rm -f Makefile.in
+rm -f m4/Makefile.in
+rm -f po/Makefile.in
+rm -f install-sh
+rm -f missing
+rm -f po/*.pot
+rm -f po/stamp-po
+rm -f po/*.gmo
diff --git a/gettext-tools/examples/hello-ycp/autogen.sh b/gettext-tools/examples/hello-ycp/autogen.sh
new file mode 100755
index 0000000..7e51979
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/autogen.sh
@@ -0,0 +1,44 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+if test -r ../Makefile.am; then
+ # Inside the gettext source directory.
+ GETTEXT_TOPSRCDIR=../../..
+else
+ if test -r ../Makefile; then
+ # Inside a gettext build directory.
+ GETTEXT_TOOLS_SRCDIR=`sed -n -e 's,^top_srcdir *= *\(.*\)$,\1,p' ../Makefile`
+ # Adjust a relative top_srcdir.
+ case $GETTEXT_TOOLS_SRCDIR in
+ /*) ;;
+ *) GETTEXT_TOOLS_SRCDIR=../$GETTEXT_TOOLS_SRCDIR ;;
+ esac
+ GETTEXT_TOPSRCDIR=$GETTEXT_TOOLS_SRCDIR/../..
+ else
+ # Installed under ${prefix}/share/doc/gettext/examples.
+ . ../installpaths
+ fi
+fi
+
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/nls.m4 m4/nls.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/po.m4 m4/po.m4
+cp -p ${ACLOCALDIR-$GETTEXT_TOPSRCDIR/gettext-runtime/m4}/progtest.m4 m4/progtest.m4
+cp -p ${GETTEXTSRCPODIR-$GETTEXT_TOPSRCDIR/gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..
diff --git a/gettext-tools/examples/hello-ycp/configure.ac b/gettext-tools/examples/hello-ycp/configure.ac
new file mode 100644
index 0000000..91bba93
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/configure.ac
@@ -0,0 +1,27 @@
+dnl Example for use of GNU gettext.
+dnl This file is in the public domain.
+dnl
+dnl Configuration file - processed by autoconf.
+
+AC_INIT
+AC_CONFIG_SRCDIR(hello.ycp)
+AM_INIT_AUTOMAKE(hello-ycp, 0)
+
+dnl Check for availability of YaST's engine.
+test -f /usr/lib/YaST2/bin/y2base || {
+ echo "*** Essential program y2base not found" 1>&2
+ exit 1
+}
+
+dnl The installed program must know where to find its message catalogs.
+dnl Unfortunately, YaST hard codes the message catalog directory.
+localedir=/usr/share/YaST2/locale
+AC_SUBST(localedir)
+
+dnl Support for the po directory.
+AM_PO_SUBDIRS
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([m4/Makefile])
+AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+AC_OUTPUT
diff --git a/gettext-tools/examples/hello-ycp/hello.ycp b/gettext-tools/examples/hello-ycp/hello.ycp
new file mode 100644
index 0000000..0affb10
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/hello.ycp
@@ -0,0 +1,30 @@
+// Example for use of GNU gettext.
+// This file is in the public domain.
+
+// Source code of the YCP program.
+
+UI(``{
+ textdomain "hello-ycp";
+
+ map bash_out = SCR::Execute (.target.bash_output, "echo $PPID");
+ integer pid = tointeger (bash_out["stdout"]:"99999");
+
+ OpenDialog (
+ `VBox (
+ `HBox (
+ `Label (_("Hello, world!")),
+ `HStretch ()
+ ),
+ `HBox (
+ `Label (sformat (_("This program is running as process number %1."), pid)),
+ `HStretch ()
+ ),
+ `HBox (
+ `HStretch (),
+ `PushButton (`opt(`default), "&OK")
+ )
+ )
+ );
+ UserInput();
+ CloseDialog();
+})
diff --git a/gettext-tools/examples/hello-ycp/m4/Makefile.am b/gettext-tools/examples/hello-ycp/m4/Makefile.am
new file mode 100644
index 0000000..8a841b3
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/m4/Makefile.am
@@ -0,0 +1,2 @@
+EXTRA_DIST = \
+ nls.m4 po.m4
diff --git a/gettext-tools/examples/hello-ycp/po/LINGUAS b/gettext-tools/examples/hello-ycp/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/hello-ycp/po/Makefile.am b/gettext-tools/examples/hello-ycp/po/Makefile.am
new file mode 100644
index 0000000..3c6e254
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/Makefile.am
@@ -0,0 +1,356 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Makefile configuration - processed by automake.
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello.ycp
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(PACKAGE)
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS =
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).gmo)
+GMOFILES = @GMOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+
+# This is computed as
+# $(foreach lang, user-specified subset of $(LINGUAS), $(lang).gmo)
+CATALOGS = @CATALOGS@
+
+SUFFIXES = .po .gmo .mo .sed .sin .nop .po-create .po-update
+
+.po.mo:
+ @echo "$(MSGFMT) -c -o $@ $<"; \
+ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
+
+.po.gmo:
+ @lang=`echo $* | sed -e 's,.*/,,'`; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
+ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty.
+# In this case, stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ test ! -f $(srcdir)/$(DOMAIN).pot || \
+ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) remove-potcdate.sed
+ if LC_ALL=C grep 'GNU $(PACKAGE)' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
+ package_gnu='GNU '; \
+ else \
+ package_gnu=''; \
+ fi; \
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ *) \
+ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --package-name="$${package_gnu}$(PACKAGE)" \
+ --package-version='$(VERSION)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ $(POTFILES) \
+ ;; \
+ esac
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ if test -f "$(srcdir)/$${lang}.po"; then \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) \
+ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \
+ esac; \
+ }; \
+ else \
+ $(MAKE) $${lang}.po-create; \
+ fi
+
+
+install-data-local: install-data-local-@USE_NLS@
+install-data-local-no: all-local
+install-data-local-yes: all-local
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
+ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
+ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
+ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
+ fi; \
+ done; \
+ done
+
+installdirs-local: installdirs-local-@USE_NLS@
+installdirs-local-no:
+installdirs-local-yes:
+ $(MKDIR_P) $(DESTDIR)$(datadir)
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(MKDIR_P) $(DESTDIR)$$dir; \
+ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
+ if test -n "$$lc"; then \
+ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
+ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
+ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
+ for file in *; do \
+ if test -f $$file; then \
+ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
+ fi; \
+ done); \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
+ else \
+ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
+ :; \
+ else \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
+ fi; \
+ fi; \
+ fi; \
+ done; \
+ done
+
+uninstall-local: uninstall-local-@USE_NLS@
+uninstall-local-no:
+uninstall-local-yes:
+ catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
+ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
+ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
+ done; \
+ done
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+MOSTLYCLEANFILES += *.o
+
+DISTCLEANFILES = *.mo
+
+MAINTAINERCLEANFILES = stamp-po $(GMOFILES)
+
+EXTRA_DIST = remove-potcdate.sin LINGUAS $(POFILES) $(GMOFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ $(MAKE) update-po
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po; do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+ $(MAKE) update-gmo
+
+# General rule for creating PO files.
+
+.nop.po-create:
+ @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \
+ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \
+ exit 1
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ *) \
+ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \
+ esac; \
+ }; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+update-gmo: Makefile $(GMOFILES)
+ @:
diff --git a/gettext-tools/examples/hello-ycp/po/af.po b/gettext-tools/examples/hello-ycp/po/af.po
new file mode 100644
index 0000000..1a870ef
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/af.po
@@ -0,0 +1,25 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Hierdie program loop as prosesnommer %1."
diff --git a/gettext-tools/examples/hello-ycp/po/ast.po b/gettext-tools/examples/hello-ycp/po/ast.po
new file mode 100644
index 0000000..168abae
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/ast.po
@@ -0,0 +1,26 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %1."
diff --git a/gettext-tools/examples/hello-ycp/po/bg.po b/gettext-tools/examples/hello-ycp/po/bg.po
new file mode 100644
index 0000000..947bb49
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/bg.po
@@ -0,0 +1,25 @@
+# Bulgarian translations for hello-ycp package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-ycp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Програмата е пусната под процес номер %1."
diff --git a/gettext-tools/examples/hello-ycp/po/ca.po b/gettext-tools/examples/hello-ycp/po/ca.po
new file mode 100644
index 0000000..bb2e93e
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/ca.po
@@ -0,0 +1,26 @@
+# Catalan messages for GNU hello-ycp.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Aquest programa està corrent amb el número de procés %1."
diff --git a/gettext-tools/examples/hello-ycp/po/cs.po b/gettext-tools/examples/hello-ycp/po/cs.po
new file mode 100644
index 0000000..c3ec34b
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/cs.po
@@ -0,0 +1,27 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Tento program běží jako proces číslo %1."
diff --git a/gettext-tools/examples/hello-ycp/po/da.po b/gettext-tools/examples/hello-ycp/po/da.po
new file mode 100644
index 0000000..337abd0
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/da.po
@@ -0,0 +1,25 @@
+# Danish messages for hello-ycp.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Dette program krer som proces nummer %1."
diff --git a/gettext-tools/examples/hello-ycp/po/de.po b/gettext-tools/examples/hello-ycp/po/de.po
new file mode 100644
index 0000000..03806fb
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/de.po
@@ -0,0 +1,30 @@
+# German messages for hello-ycp.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %1."
diff --git a/gettext-tools/examples/hello-ycp/po/el.po b/gettext-tools/examples/hello-ycp/po/el.po
new file mode 100644
index 0000000..8367692
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/el.po
@@ -0,0 +1,25 @@
+# Greek translation of hello-ycp
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %1."
diff --git a/gettext-tools/examples/hello-ycp/po/eo.po b/gettext-tools/examples/hello-ycp/po/eo.po
new file mode 100644
index 0000000..ddad31e
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/eo.po
@@ -0,0 +1,25 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %1."
diff --git a/gettext-tools/examples/hello-ycp/po/es.po b/gettext-tools/examples/hello-ycp/po/es.po
new file mode 100644
index 0000000..10cdf4f
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/es.po
@@ -0,0 +1,29 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Este programa está corriendo como el proceso número %1."
diff --git a/gettext-tools/examples/hello-ycp/po/fi.po b/gettext-tools/examples/hello-ycp/po/fi.po
new file mode 100644
index 0000000..1e6d28e
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/fi.po
@@ -0,0 +1,27 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Tämän ohjelman prosessinumero on %1."
diff --git a/gettext-tools/examples/hello-ycp/po/fr.po b/gettext-tools/examples/hello-ycp/po/fr.po
new file mode 100644
index 0000000..2ca09d1
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/fr.po
@@ -0,0 +1,26 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-ycp 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Ce programme est exécuté en tant que processus numéro %1."
diff --git a/gettext-tools/examples/hello-ycp/po/ga.po b/gettext-tools/examples/hello-ycp/po/ga.po
new file mode 100644
index 0000000..b6586b6
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/ga.po
@@ -0,0 +1,25 @@
+# Irish translations for hello-ycp.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-ycp package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "T an clr seo rith mar phriseas %1."
diff --git a/gettext-tools/examples/hello-ycp/po/gl.po b/gettext-tools/examples/hello-ycp/po/gl.po
new file mode 100644
index 0000000..24c4bf2
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/gl.po
@@ -0,0 +1,30 @@
+# Galician translation for hello-ycp package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Este programa estase executando como o proceso número %1."
diff --git a/gettext-tools/examples/hello-ycp/po/hr.po b/gettext-tools/examples/hello-ycp/po/hr.po
new file mode 100644
index 0000000..9deacd0
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/hr.po
@@ -0,0 +1,27 @@
+# Translation of hello-ycp to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Ovaj program je pokrenut kao proces broj %1."
diff --git a/gettext-tools/examples/hello-ycp/po/hu.po b/gettext-tools/examples/hello-ycp/po/hu.po
new file mode 100644
index 0000000..5863363
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/hu.po
@@ -0,0 +1,28 @@
+# Hungarian translation for hello-ycp.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Ez a program a(z) %1 folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/hello-ycp/po/id.po b/gettext-tools/examples/hello-ycp/po/id.po
new file mode 100644
index 0000000..172a696
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/id.po
@@ -0,0 +1,26 @@
+# translation of hello-ycp-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Program ini berjalan sebagai proses nomor %1"
diff --git a/gettext-tools/examples/hello-ycp/po/it.po b/gettext-tools/examples/hello-ycp/po/it.po
new file mode 100644
index 0000000..d017e50
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/it.po
@@ -0,0 +1,25 @@
+# Italian messages for hello-ycp.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Questo programma è in esecuzione con numero di processo %1."
diff --git a/gettext-tools/examples/hello-ycp/po/ja.po b/gettext-tools/examples/hello-ycp/po/ja.po
new file mode 100644
index 0000000..8ed8d69
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/ja.po
@@ -0,0 +1,25 @@
+# Translation of `hello-ycp' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-ycp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Υץϥץֹ %1 ưƤޤ."
diff --git a/gettext-tools/examples/hello-ycp/po/ky.po b/gettext-tools/examples/hello-ycp/po/ky.po
new file mode 100644
index 0000000..82e855e
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/ky.po
@@ -0,0 +1,27 @@
+# Translation of 'hello-ycp' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Бул программа %1 процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/hello-ycp/po/lv.po b/gettext-tools/examples/hello-ycp/po/lv.po
new file mode 100644
index 0000000..3467a3c
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/lv.po
@@ -0,0 +1,29 @@
+# Latvian translation of hello-ycp
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Šī programma darbojas kā process ar numuru %1."
diff --git a/gettext-tools/examples/hello-ycp/po/ms.po b/gettext-tools/examples/hello-ycp/po/ms.po
new file mode 100644
index 0000000..5a5c293
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/ms.po
@@ -0,0 +1,26 @@
+# hello-ycp Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-ycp package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %1."
diff --git a/gettext-tools/examples/hello-ycp/po/mt.po b/gettext-tools/examples/hello-ycp/po/mt.po
new file mode 100644
index 0000000..68e6709
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/mt.po
@@ -0,0 +1,26 @@
+# hello-ycp-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %1."
diff --git a/gettext-tools/examples/hello-ycp/po/nb.po b/gettext-tools/examples/hello-ycp/po/nb.po
new file mode 100644
index 0000000..f73642a
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/nb.po
@@ -0,0 +1,28 @@
+# Norwegian Bokmal translations for hello-ycp package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Dette programmet kjører som prosess nummer %1."
diff --git a/gettext-tools/examples/hello-ycp/po/nl.po b/gettext-tools/examples/hello-ycp/po/nl.po
new file mode 100644
index 0000000..f722e51
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/nl.po
@@ -0,0 +1,30 @@
+# Dutch translations for GNU hello-ycp.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Dit programma draait als proces nummer %1."
diff --git a/gettext-tools/examples/hello-ycp/po/pl.po b/gettext-tools/examples/hello-ycp/po/pl.po
new file mode 100644
index 0000000..1701030
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/pl.po
@@ -0,0 +1,26 @@
+# Polish translations for the GNU gettext messages, hello-ycp domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Ten program działa jako proces o numerze %1."
diff --git a/gettext-tools/examples/hello-ycp/po/pt.po b/gettext-tools/examples/hello-ycp/po/pt.po
new file mode 100644
index 0000000..c5597e8
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/pt.po
@@ -0,0 +1,25 @@
+# Portuguese translation of 'hello-ycp' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the hello-ycp package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Este programa está a ser executado com o número de processo %1."
diff --git a/gettext-tools/examples/hello-ycp/po/pt_BR.po b/gettext-tools/examples/hello-ycp/po/pt_BR.po
new file mode 100644
index 0000000..eed1a8e
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/pt_BR.po
@@ -0,0 +1,29 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Este programa está executando com número de processo %1."
diff --git a/gettext-tools/examples/hello-ycp/po/ro.po b/gettext-tools/examples/hello-ycp/po/ro.po
new file mode 100644
index 0000000..738fd2b
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/ro.po
@@ -0,0 +1,25 @@
+# Mesajele n limba romn pentru pachetul hello-ycp-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul hello-ycp.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Acest program este rulat ca procesul numrul %1."
diff --git a/gettext-tools/examples/hello-ycp/po/ru.po b/gettext-tools/examples/hello-ycp/po/ru.po
new file mode 100644
index 0000000..0804f38
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/ru.po
@@ -0,0 +1,29 @@
+# Translation of hello-ycp-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Эта программа выполняется как процесс под номером %1."
diff --git a/gettext-tools/examples/hello-ycp/po/sk.po b/gettext-tools/examples/hello-ycp/po/sk.po
new file mode 100644
index 0000000..dc55a41
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/sk.po
@@ -0,0 +1,25 @@
+# Slovak translations GNU for hello-ycp package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU hello-ycp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Tento program beží ako proces s číslom %1."
diff --git a/gettext-tools/examples/hello-ycp/po/sl.po b/gettext-tools/examples/hello-ycp/po/sl.po
new file mode 100644
index 0000000..5a94dde
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/sl.po
@@ -0,0 +1,28 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: hello-ycp-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Ta program teče kot proces številka %1."
diff --git a/gettext-tools/examples/hello-ycp/po/sr.po b/gettext-tools/examples/hello-ycp/po/sr.po
new file mode 100644
index 0000000..a6a1151
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/sr.po
@@ -0,0 +1,28 @@
+# Serbian translation of hello-ycp.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Овај програм се извршава као процес број %1."
diff --git a/gettext-tools/examples/hello-ycp/po/sv.po b/gettext-tools/examples/hello-ycp/po/sv.po
new file mode 100644
index 0000000..ad918cd
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/sv.po
@@ -0,0 +1,24 @@
+# Swedish messages for hello-ycp.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Detta program kör som process nummer %1."
diff --git a/gettext-tools/examples/hello-ycp/po/tr.po b/gettext-tools/examples/hello-ycp/po/tr.po
new file mode 100644
index 0000000..4447712
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/tr.po
@@ -0,0 +1,25 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Bu yazılım, %1 süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/hello-ycp/po/uk.po b/gettext-tools/examples/hello-ycp/po/uk.po
new file mode 100644
index 0000000..138a7ce
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/uk.po
@@ -0,0 +1,29 @@
+# Ukrainian translation to hello-ycp
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Ця програма виконується як процес з номером %1."
diff --git a/gettext-tools/examples/hello-ycp/po/vi.po b/gettext-tools/examples/hello-ycp/po/vi.po
new file mode 100644
index 0000000..54c2cb3
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/vi.po
@@ -0,0 +1,30 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Chương trình này đang chạy với mã số tiến trình %1."
diff --git a/gettext-tools/examples/hello-ycp/po/zh_CN.po b/gettext-tools/examples/hello-ycp/po/zh_CN.po
new file mode 100644
index 0000000..61833b5
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/zh_CN.po
@@ -0,0 +1,25 @@
+# zh_CN translation for hello-ycp.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the hello-ycp package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "此程序正以进程号 %1 运行。"
diff --git a/gettext-tools/examples/hello-ycp/po/zh_HK.po b/gettext-tools/examples/hello-ycp/po/zh_HK.po
new file mode 100644
index 0000000..39b1867
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/zh_HK.po
@@ -0,0 +1,24 @@
+# Chinese (Hong Kong) translation of hello-ycp.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "本程式正在執行中,進程編號為 %1。"
diff --git a/gettext-tools/examples/hello-ycp/po/zh_TW.po b/gettext-tools/examples/hello-ycp/po/zh_TW.po
new file mode 100644
index 0000000..8a32068
--- /dev/null
+++ b/gettext-tools/examples/hello-ycp/po/zh_TW.po
@@ -0,0 +1,26 @@
+# Traditional Chinese translation of hello-ycp.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello.ycp:15
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "本程式正在執行,行程編號為 %1。"
diff --git a/gettext-tools/examples/installpaths.in b/gettext-tools/examples/installpaths.in
new file mode 100644
index 0000000..5528f0b
--- /dev/null
+++ b/gettext-tools/examples/installpaths.in
@@ -0,0 +1,9 @@
+prefix='@prefix@'
+exec_prefix="@exec_prefix@"
+datarootdir="@datarootdir@"
+datadir="@datadir@"
+docdir="@docdir@"
+ACLOCALDIR="@aclocaldir@"
+GETTEXTSRCDIR="@datadir@/gettext"
+GETTEXTSRCPODIR="@datadir@/gettext/po"
+EXAMPLESCONFIGDIR="@docdir@/examples/config"
diff --git a/gettext-tools/examples/po/LINGUAS b/gettext-tools/examples/po/LINGUAS
new file mode 100644
index 0000000..339c7f9
--- /dev/null
+++ b/gettext-tools/examples/po/LINGUAS
@@ -0,0 +1,5 @@
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Set of available languages.
+af ast bg ca cs da de el eo es fi fr ga gl hr hu id it ja ky lv ms mt nb nl pl pt pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_HK zh_TW
diff --git a/gettext-tools/examples/po/Makefile.am b/gettext-tools/examples/po/Makefile.am
new file mode 100644
index 0000000..cd9b365
--- /dev/null
+++ b/gettext-tools/examples/po/Makefile.am
@@ -0,0 +1,504 @@
+## Makefile for the gettext-tools/examples/po subdirectory of GNU gettext
+## Copyright (C) 1995-1998, 2000-2007, 2009 Free Software Foundation, Inc.
+##
+## This program is free software: you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 3 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+## Process this file with automake to produce Makefile.in.
+
+AUTOMAKE_OPTIONS = 1.5 gnits
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello-c/hello.c \
+ hello-c-gnome/hello.c \
+ hello-c-gnome3/hello.c \
+ hello-c-gnome3/hello.desktop.in.in \
+ hello-c-gnome3/hello.gschema.xml \
+ hello-c-gnome3/hello.ui \
+ hello-c++/hello.cc \
+ hello-c++-qt/hello.cc \
+ hello-c++-kde/hello.cc \
+ hello-c++-kde/hellowindow.h \
+ hello-c++-kde/hellowindow.cc \
+ hello-c++-gnome/hello.cc \
+ hello-c++-wxwidgets/hello.cc \
+ hello-objc/hello.m \
+ hello-objc-gnustep/main.m \
+ hello-objc-gnustep/AppController.h \
+ hello-objc-gnustep/AppController.m \
+ hello-objc-gnustep/Hello.h \
+ hello-objc-gnustep/Hello.m \
+ hello-objc-gnome/hello.m \
+ hello-sh/hello.sh \
+ hello-python/hello.py.in \
+ hello-clisp/hello.lisp.in \
+ hello-librep/hello.jl.in \
+ hello-guile/hello.scm \
+ hello-smalltalk/hello.st.in \
+ hello-java/Hello.java \
+ hello-java-awt/Hello.java \
+ hello-java-swing/Hello.java \
+ hello-java-qtjambi/Hello.java \
+ hello-csharp/hello.cs \
+ hello-csharp-forms/hello.cs \
+ hello-gawk/hello.awk \
+ hello-pascal/hello.pas \
+ hello-ycp/hello.ycp \
+ hello-tcl/hello.tcl \
+ hello-tcl-tk/hello.tcl \
+ hello-perl/hello-1.pl.in \
+ hello-perl/hello-2.pl.in \
+ hello-php/hello.php
+
+# List of small POT files.
+SMALLPOTS = \
+ hello-c.pot \
+ hello-c-gnome.pot \
+ hello-c-gnome3.pot \
+ hello-c++.pot \
+ hello-c++-qt.pot \
+ hello-c++-kde.pot \
+ hello-c++-gnome.pot \
+ hello-c++-wxwidgets.pot \
+ hello-objc.pot \
+ hello-objc-gnustep.pot \
+ hello-objc-gnome.pot \
+ hello-sh.pot \
+ hello-python.pot \
+ hello-clisp.pot \
+ hello-librep.pot \
+ hello-guile.pot \
+ hello-smalltalk.pot \
+ hello-java.pot \
+ hello-java-awt.pot \
+ hello-java-swing.pot \
+ hello-java-qtjambi.pot \
+ hello-csharp.pot \
+ hello-csharp-forms.pot \
+ hello-gawk.pot \
+ hello-pascal.pot \
+ hello-ycp.pot \
+ hello-tcl.pot \
+ hello-tcl-tk.pot \
+ hello-perl.pot \
+ hello-php.pot
+
+# This is a synthetic domain name.
+DOMAIN = gettext-examples
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+
+MSGMERGE = msgmerge
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+
+SUFFIXES = .po .sed .sin .nop .po-update
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) is empty. In this case,
+# stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) $(SMALLPOTS) remove-potcdate.sed
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ $(XGETTEXT) --default-domain=$(DOMAIN) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ --directory='$(srcdir)' \
+ $(SMALLPOTS)
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+
+hello-c.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c
+
+hello-c-gnome.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c-gnome
+
+hello-c-gnome3.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c-gnome3
+
+hello-c++.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c++
+
+hello-c++-qt.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c++-qt
+
+hello-c++-kde.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c++-kde
+
+hello-c++-gnome.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c++-gnome
+
+hello-c++-wxwidgets.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c++-wxwidgets
+
+hello-objc.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-objc
+
+hello-objc-gnustep.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-objc-gnustep
+
+hello-objc-gnome.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-objc-gnome
+
+hello-sh.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-sh
+
+hello-python.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-python
+
+hello-clisp.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-clisp
+
+hello-librep.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-librep
+
+hello-guile.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-guile
+
+hello-smalltalk.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-smalltalk
+
+hello-java.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-java
+
+hello-java-awt.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-java-awt
+
+hello-java-swing.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-java-swing
+
+hello-java-qtjambi.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-java-qtjambi
+
+hello-csharp.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-csharp
+
+hello-csharp-forms.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-csharp-forms
+
+hello-gawk.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-gawk
+
+hello-pascal.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-pascal
+
+hello-ycp.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-ycp
+
+hello-tcl.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-tcl
+
+hello-tcl-tk.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-tcl-tk
+
+hello-perl.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-perl
+
+hello-php.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-php
+
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) && $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot
+
+
+html ID:
+
+MOSTLYCLEANFILES =
+MOSTLYCLEANFILES += remove-potcdate.sed
+MOSTLYCLEANFILES += stamp-poT
+MOSTLYCLEANFILES += core core.* *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
+MOSTLYCLEANFILES += *.o
+
+MAINTAINERCLEANFILES = stamp-po $(SMALLPOTS)
+
+EXTRA_DIST = remove-potcdate.sin xsmallpot.sh mmsmallpo.sh LINGUAS \
+ $(POFILES)
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po $(SMALLPOTS); do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if $(MSGMERGE) $(MSGMERGE_OPTIONS) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ $(MAKE) $(SMALLPOFILES_FOR_lang) LL=$$lang; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+
+# Rules for updating small PO files in the other directories.
+# Depend on LL being set.
+
+SMALLPOFILES_FOR_lang = \
+ ../hello-c/po/$$lang.po \
+ ../hello-c-gnome/po/$$lang.po \
+ ../hello-c-gnome3/po/$$lang.po \
+ ../hello-c++/po/$$lang.po \
+ ../hello-c++-qt/po/$$lang.po \
+ ../hello-c++-kde/po/$$lang.po \
+ ../hello-c++-gnome/po/$$lang.po \
+ ../hello-c++-wxwidgets/po/$$lang.po \
+ ../hello-objc/po/$$lang.po \
+ ../hello-objc-gnustep/po/$$lang.po \
+ ../hello-objc-gnome/po/$$lang.po \
+ ../hello-sh/po/$$lang.po \
+ ../hello-python/po/$$lang.po \
+ ../hello-clisp/po/$$lang.po \
+ ../hello-librep/po/$$lang.po \
+ ../hello-guile/po/$$lang.po \
+ ../hello-smalltalk/po/$$lang.po \
+ ../hello-java/po/$$lang.po \
+ ../hello-java-awt/po/$$lang.po \
+ ../hello-java-swing/po/$$lang.po \
+ ../hello-java-qtjambi/po/$$lang.po \
+ ../hello-csharp/po/$$lang.po \
+ ../hello-csharp-forms/po/$$lang.po \
+ ../hello-gawk/po/$$lang.po \
+ ../hello-pascal/po/$$lang.po \
+ ../hello-ycp/po/$$lang.po \
+ ../hello-tcl/po/$$lang.po \
+ ../hello-tcl-tk/po/$$lang.po \
+ ../hello-perl/po/$$lang.po \
+ ../hello-php/po/$$lang.po
+
+../hello-c/po/$(LL).po: hello-c.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-c $(LL)
+
+../hello-c-gnome/po/$(LL).po: hello-c-gnome.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-c-gnome $(LL)
+
+../hello-c-gnome3/po/$(LL).po: hello-c-gnome3.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-c-gnome3 $(LL)
+
+../hello-c++/po/$(LL).po: hello-c++.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-c++ $(LL)
+
+../hello-c++-qt/po/$(LL).po: hello-c++-qt.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-c++-qt $(LL)
+
+../hello-c++-kde/po/$(LL).po: hello-c++-kde.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-c++-kde $(LL)
+
+../hello-c++-gnome/po/$(LL).po: hello-c++-gnome.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-c++-gnome $(LL)
+
+../hello-c++-wxwidgets/po/$(LL).po: hello-c++-wxwidgets.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-c++-wxwidgets $(LL)
+
+../hello-objc/po/$(LL).po: hello-objc.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-objc $(LL)
+
+../hello-objc-gnustep/po/$(LL).po: hello-objc-gnustep.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-objc-gnustep $(LL)
+
+../hello-objc-gnome/po/$(LL).po: hello-objc-gnome.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-objc-gnome $(LL)
+
+../hello-sh/po/$(LL).po: hello-sh.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-sh $(LL)
+
+../hello-python/po/$(LL).po: hello-python.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-python $(LL)
+
+../hello-clisp/po/$(LL).po: hello-clisp.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-clisp $(LL)
+
+../hello-librep/po/$(LL).po: hello-librep.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-librep $(LL)
+
+../hello-guile/po/$(LL).po: hello-guile.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-guile $(LL)
+
+../hello-smalltalk/po/$(LL).po: hello-smalltalk.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-smalltalk $(LL)
+
+../hello-java/po/$(LL).po: hello-java.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-java $(LL)
+
+../hello-java-awt/po/$(LL).po: hello-java-awt.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-java-awt $(LL)
+
+../hello-java-swing/po/$(LL).po: hello-java-swing.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-java-swing $(LL)
+
+../hello-java-qtjambi/po/$(LL).po: hello-java-qtjambi.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-java-qtjambi $(LL)
+
+../hello-csharp/po/$(LL).po: hello-csharp.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-csharp $(LL)
+
+../hello-csharp-forms/po/$(LL).po: hello-csharp-forms.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-csharp-forms $(LL)
+
+../hello-gawk/po/$(LL).po: hello-gawk.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-gawk $(LL)
+
+../hello-pascal/po/$(LL).po: hello-pascal.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-pascal $(LL)
+
+../hello-ycp/po/$(LL).po: hello-ycp.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-ycp $(LL)
+
+../hello-tcl/po/$(LL).po: hello-tcl.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-tcl $(LL)
+
+../hello-tcl-tk/po/$(LL).po: hello-tcl-tk.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-tcl-tk $(LL)
+
+../hello-perl/po/$(LL).po: hello-perl.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-perl $(LL)
+
+../hello-php/po/$(LL).po: hello-php.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-php $(LL)
diff --git a/gettext-tools/examples/po/Makefile.in b/gettext-tools/examples/po/Makefile.in
new file mode 100644
index 0000000..50ae90f
--- /dev/null
+++ b/gettext-tools/examples/po/Makefile.in
@@ -0,0 +1,863 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+subdir = po
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/../../build-aux/mkinstalldirs
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/../../m4/fixautomake.m4 \
+ $(top_srcdir)/../../gettext-runtime/m4/nls.m4 \
+ $(top_srcdir)/../../gettext-runtime/m4/po.m4 \
+ $(top_srcdir)/../../gettext-runtime/m4/progtest.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/../../build-aux/mkinstalldirs
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
+GMSGFMT = @GMSGFMT@
+GMSGFMT_015 = @GMSGFMT_015@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+MSGFMT = @MSGFMT@
+MSGFMT_015 = @MSGFMT_015@
+MSGMERGE = msgmerge
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+USE_NLS = @USE_NLS@
+VERSION = @VERSION@
+XGETTEXT = @XGETTEXT@
+XGETTEXT_015 = @XGETTEXT_015@
+XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+aclocaldir = @aclocaldir@
+am__leading_dot = @am__leading_dot@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build_alias = @build_alias@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host_alias = @host_alias@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+AUTOMAKE_OPTIONS = 1.5 gnits
+
+# List of files which contain translatable strings.
+POTFILES = \
+ hello-c/hello.c \
+ hello-c-gnome/hello.c \
+ hello-c-gnome3/hello.c \
+ hello-c-gnome3/hello.desktop.in.in \
+ hello-c-gnome3/hello.gschema.xml \
+ hello-c-gnome3/hello.ui \
+ hello-c++/hello.cc \
+ hello-c++-qt/hello.cc \
+ hello-c++-kde/hello.cc \
+ hello-c++-kde/hellowindow.h \
+ hello-c++-kde/hellowindow.cc \
+ hello-c++-gnome/hello.cc \
+ hello-c++-wxwidgets/hello.cc \
+ hello-objc/hello.m \
+ hello-objc-gnustep/main.m \
+ hello-objc-gnustep/AppController.h \
+ hello-objc-gnustep/AppController.m \
+ hello-objc-gnustep/Hello.h \
+ hello-objc-gnustep/Hello.m \
+ hello-objc-gnome/hello.m \
+ hello-sh/hello.sh \
+ hello-python/hello.py.in \
+ hello-clisp/hello.lisp.in \
+ hello-librep/hello.jl.in \
+ hello-guile/hello.scm \
+ hello-smalltalk/hello.st.in \
+ hello-java/Hello.java \
+ hello-java-awt/Hello.java \
+ hello-java-swing/Hello.java \
+ hello-java-qtjambi/Hello.java \
+ hello-csharp/hello.cs \
+ hello-csharp-forms/hello.cs \
+ hello-gawk/hello.awk \
+ hello-pascal/hello.pas \
+ hello-ycp/hello.ycp \
+ hello-tcl/hello.tcl \
+ hello-tcl-tk/hello.tcl \
+ hello-perl/hello-1.pl.in \
+ hello-perl/hello-2.pl.in \
+ hello-php/hello.php
+
+
+# List of small POT files.
+SMALLPOTS = \
+ hello-c.pot \
+ hello-c-gnome.pot \
+ hello-c-gnome3.pot \
+ hello-c++.pot \
+ hello-c++-qt.pot \
+ hello-c++-kde.pot \
+ hello-c++-gnome.pot \
+ hello-c++-wxwidgets.pot \
+ hello-objc.pot \
+ hello-objc-gnustep.pot \
+ hello-objc-gnome.pot \
+ hello-sh.pot \
+ hello-python.pot \
+ hello-clisp.pot \
+ hello-librep.pot \
+ hello-guile.pot \
+ hello-smalltalk.pot \
+ hello-java.pot \
+ hello-java-awt.pot \
+ hello-java-swing.pot \
+ hello-java-qtjambi.pot \
+ hello-csharp.pot \
+ hello-csharp-forms.pot \
+ hello-gawk.pot \
+ hello-pascal.pot \
+ hello-ycp.pot \
+ hello-tcl.pot \
+ hello-tcl-tk.pot \
+ hello-perl.pot \
+ hello-php.pot
+
+
+# This is a synthetic domain name.
+DOMAIN = gettext-examples
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER = Yoyodyne, Inc.
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = bug-gnu-gettext@gnu.org
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
+
+# These options get passed to msgmerge.
+# Useful options are in particular:
+# --previous to keep previous msgids of translated messages,
+# --quiet to reduce the verbosity.
+MSGMERGE_OPTIONS = --quiet
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+MSGINIT = msginit
+MSGCONV = msgconv
+MSGFILTER = msgfilter
+
+# This is computed as $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
+POTFILES_DEPS = @POTFILES_DEPS@
+
+# This is computed as $(foreach lang, $(LINGUAS), $(srcdir)/$(lang).po)
+POFILES = @POFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).po-update)
+UPDATEPOFILES = @UPDATEPOFILES@
+# This is computed as $(foreach lang, $(LINGUAS), $(lang).nop)
+DUMMYPOFILES = @DUMMYPOFILES@
+SUFFIXES = .po .sed .sin .nop .po-update
+MOSTLYCLEANFILES = remove-potcdate.sed stamp-poT core core.* \
+ *.stackdump $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po \
+ *.o
+MAINTAINERCLEANFILES = stamp-po $(SMALLPOTS)
+EXTRA_DIST = remove-potcdate.sin xsmallpot.sh mmsmallpo.sh LINGUAS \
+ $(POFILES)
+
+
+# Rules for updating small PO files in the other directories.
+# Depend on LL being set.
+SMALLPOFILES_FOR_lang = \
+ ../hello-c/po/$$lang.po \
+ ../hello-c-gnome/po/$$lang.po \
+ ../hello-c-gnome3/po/$$lang.po \
+ ../hello-c++/po/$$lang.po \
+ ../hello-c++-qt/po/$$lang.po \
+ ../hello-c++-kde/po/$$lang.po \
+ ../hello-c++-gnome/po/$$lang.po \
+ ../hello-c++-wxwidgets/po/$$lang.po \
+ ../hello-objc/po/$$lang.po \
+ ../hello-objc-gnustep/po/$$lang.po \
+ ../hello-objc-gnome/po/$$lang.po \
+ ../hello-sh/po/$$lang.po \
+ ../hello-python/po/$$lang.po \
+ ../hello-clisp/po/$$lang.po \
+ ../hello-librep/po/$$lang.po \
+ ../hello-guile/po/$$lang.po \
+ ../hello-smalltalk/po/$$lang.po \
+ ../hello-java/po/$$lang.po \
+ ../hello-java-awt/po/$$lang.po \
+ ../hello-java-swing/po/$$lang.po \
+ ../hello-java-qtjambi/po/$$lang.po \
+ ../hello-csharp/po/$$lang.po \
+ ../hello-csharp-forms/po/$$lang.po \
+ ../hello-gawk/po/$$lang.po \
+ ../hello-pascal/po/$$lang.po \
+ ../hello-ycp/po/$$lang.po \
+ ../hello-tcl/po/$$lang.po \
+ ../hello-tcl-tk/po/$$lang.po \
+ ../hello-perl/po/$$lang.po \
+ ../hello-php/po/$$lang.po
+
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .po .sed .sin .nop .po-update
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits po/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnits po/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile all-local
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+ -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+ -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
+clean: clean-am
+
+clean-am: clean-generic mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am all-local check check-am clean clean-generic \
+ cscopelist-am ctags-am distclean distclean-generic distdir dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
+ pdf-am ps ps-am tags-am uninstall uninstall-am
+
+
+.sin.sed:
+ sed -e '/^#/d' $< > t-$@
+ mv t-$@ $@
+
+all-local: all-local-@USE_NLS@
+
+all-local-yes: stamp-po
+all-local-no:
+
+# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no
+# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because
+# we don't want to bother translators with empty POT files). We assume that
+# LINGUAS is empty in this case, i.e. $(POFILES) is empty. In this case,
+# stamp-po is a nop (i.e. a phony target).
+
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
+# been loosely updated. Its purpose is that when a developer or translator
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
+# invocations of "make" will do nothing. This timestamp would not be necessary
+# if updating the $(CATALOGS) would always touch them; however, the rule for
+# $(POFILES) has been designed to not touch files that don't need to be
+# changed.
+stamp-po: $(srcdir)/$(DOMAIN).pot
+ @test ! -f $(srcdir)/$(DOMAIN).pot || { \
+ echo "touch stamp-po" && \
+ echo timestamp > stamp-poT && \
+ mv stamp-poT stamp-po; \
+ }
+
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
+# otherwise packages like GCC can not be built if only parts of the source
+# have been downloaded.
+
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
+$(DOMAIN).pot-update: $(POTFILES_DEPS) $(SMALLPOTS) remove-potcdate.sed
+ if test -n '$(MSGID_BUGS_ADDRESS)'; then \
+ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \
+ else \
+ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \
+ fi; \
+ $(XGETTEXT) --default-domain=$(DOMAIN) \
+ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \
+ --copyright-holder='$(COPYRIGHT_HOLDER)' \
+ --msgid-bugs-address="$$msgid_bugs_address" \
+ --directory='$(srcdir)' \
+ $(SMALLPOTS)
+ test ! -f $(DOMAIN).po || { \
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
+ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
+ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
+ else \
+ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ else \
+ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
+ fi; \
+ }
+
+hello-c.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c
+
+hello-c-gnome.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c-gnome
+
+hello-c-gnome3.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c-gnome3
+
+hello-c++.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c++
+
+hello-c++-qt.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c++-qt
+
+hello-c++-kde.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c++-kde
+
+hello-c++-gnome.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c++-gnome
+
+hello-c++-wxwidgets.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-c++-wxwidgets
+
+hello-objc.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-objc
+
+hello-objc-gnustep.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-objc-gnustep
+
+hello-objc-gnome.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-objc-gnome
+
+hello-sh.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-sh
+
+hello-python.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-python
+
+hello-clisp.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-clisp
+
+hello-librep.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-librep
+
+hello-guile.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-guile
+
+hello-smalltalk.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-smalltalk
+
+hello-java.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-java
+
+hello-java-awt.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-java-awt
+
+hello-java-swing.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-java-swing
+
+hello-java-qtjambi.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-java-qtjambi
+
+hello-csharp.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-csharp
+
+hello-csharp-forms.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-csharp-forms
+
+hello-gawk.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-gawk
+
+hello-pascal.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-pascal
+
+hello-ycp.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-ycp
+
+hello-tcl.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-tcl
+
+hello-tcl-tk.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-tcl-tk
+
+hello-perl.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-perl
+
+hello-php.pot : $(POTFILES_DEPS)
+ $(SHELL) '$(srcdir)/xsmallpot.sh' '$(srcdir)' hello-php
+
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
+# every "make" invocation, only create it when it is missing.
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
+$(srcdir)/$(DOMAIN).pot:
+ $(MAKE) $(DOMAIN).pot-update
+
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
+# Note that a PO file is not touched if it doesn't need to be changed.
+$(POFILES): $(srcdir)/$(DOMAIN).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot"; \
+ cd $(srcdir) && $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot
+
+html ID:
+
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ if test -f $(srcdir)/$(DOMAIN).pot; then \
+ for file in $(DOMAIN).pot stamp-po $(SMALLPOTS); do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done; \
+ fi
+
+update-po: Makefile
+ $(MAKE) $(DOMAIN).pot-update
+ test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
+
+# General rule for updating PO files.
+
+.nop.po-update:
+ @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
+ tmpdir=`pwd`; \
+ echo "$$lang:"; \
+ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
+ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
+ cd $(srcdir); \
+ if $(MSGMERGE) $(MSGMERGE_OPTIONS) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
+ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
+ rm -f $$tmpdir/$$lang.new.po; \
+ else \
+ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
+ :; \
+ else \
+ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
+ exit 1; \
+ fi; \
+ fi; \
+ $(MAKE) $(SMALLPOFILES_FOR_lang) LL=$$lang; \
+ else \
+ echo "msgmerge for $$lang.po failed!" 1>&2; \
+ rm -f $$tmpdir/$$lang.new.po; \
+ fi
+
+$(DUMMYPOFILES):
+
+../hello-c/po/$(LL).po: hello-c.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-c $(LL)
+
+../hello-c-gnome/po/$(LL).po: hello-c-gnome.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-c-gnome $(LL)
+
+../hello-c-gnome3/po/$(LL).po: hello-c-gnome3.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-c-gnome3 $(LL)
+
+../hello-c++/po/$(LL).po: hello-c++.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-c++ $(LL)
+
+../hello-c++-qt/po/$(LL).po: hello-c++-qt.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-c++-qt $(LL)
+
+../hello-c++-kde/po/$(LL).po: hello-c++-kde.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-c++-kde $(LL)
+
+../hello-c++-gnome/po/$(LL).po: hello-c++-gnome.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-c++-gnome $(LL)
+
+../hello-c++-wxwidgets/po/$(LL).po: hello-c++-wxwidgets.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-c++-wxwidgets $(LL)
+
+../hello-objc/po/$(LL).po: hello-objc.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-objc $(LL)
+
+../hello-objc-gnustep/po/$(LL).po: hello-objc-gnustep.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-objc-gnustep $(LL)
+
+../hello-objc-gnome/po/$(LL).po: hello-objc-gnome.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-objc-gnome $(LL)
+
+../hello-sh/po/$(LL).po: hello-sh.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-sh $(LL)
+
+../hello-python/po/$(LL).po: hello-python.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-python $(LL)
+
+../hello-clisp/po/$(LL).po: hello-clisp.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-clisp $(LL)
+
+../hello-librep/po/$(LL).po: hello-librep.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-librep $(LL)
+
+../hello-guile/po/$(LL).po: hello-guile.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-guile $(LL)
+
+../hello-smalltalk/po/$(LL).po: hello-smalltalk.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-smalltalk $(LL)
+
+../hello-java/po/$(LL).po: hello-java.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-java $(LL)
+
+../hello-java-awt/po/$(LL).po: hello-java-awt.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-java-awt $(LL)
+
+../hello-java-swing/po/$(LL).po: hello-java-swing.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-java-swing $(LL)
+
+../hello-java-qtjambi/po/$(LL).po: hello-java-qtjambi.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-java-qtjambi $(LL)
+
+../hello-csharp/po/$(LL).po: hello-csharp.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-csharp $(LL)
+
+../hello-csharp-forms/po/$(LL).po: hello-csharp-forms.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-csharp-forms $(LL)
+
+../hello-gawk/po/$(LL).po: hello-gawk.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-gawk $(LL)
+
+../hello-pascal/po/$(LL).po: hello-pascal.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-pascal $(LL)
+
+../hello-ycp/po/$(LL).po: hello-ycp.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-ycp $(LL)
+
+../hello-tcl/po/$(LL).po: hello-tcl.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-tcl $(LL)
+
+../hello-tcl-tk/po/$(LL).po: hello-tcl-tk.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-tcl-tk $(LL)
+
+../hello-perl/po/$(LL).po: hello-perl.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-perl $(LL)
+
+../hello-php/po/$(LL).po: hello-php.pot $(LL).po
+ $(SHELL) mmsmallpo.sh hello-php $(LL)
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/gettext-tools/examples/po/af.po b/gettext-tools/examples/po/af.po
new file mode 100644
index 0000000..88e07a5
--- /dev/null
+++ b/gettext-tools/examples/po/af.po
@@ -0,0 +1,105 @@
+# Afrikaans translation for Silky
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# This file is distributed under the same license as the silky package.
+# Hanlie Pretorius <hpretorius@pnp.co.za>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples-0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2003-12-31 10:30+2\n"
+"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
+"Language-Team: Afrikaans <i18n@af.org.za>\n"
+"Language: af\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Hallo wêreld!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Hierdie program loop as prosesnommer %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Hierdie program loop as prosesnommer %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Hallo voorbeeld"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Hallo wêreld voorbeeld"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Hierdie program loop as prosesnommer $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Hierdie program loop as prosesnommer %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Hierdie program loop as prosesnommer ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Hierdie program loop as prosesnommer {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Hierdie program loop as prosesnommer {pid}"
diff --git a/gettext-tools/examples/po/ast.po b/gettext-tools/examples/po/ast.po
new file mode 100644
index 0000000..2a51288
--- /dev/null
+++ b/gettext-tools/examples/po/ast.po
@@ -0,0 +1,106 @@
+# Mensajes en asturianu para GNU gettext.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2009 Free Software Foundation, Inc.
+# Marquinos <maacub@gmail.com>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2009-12-15 12:16+0100\n"
+"Last-Translator: Marquinos <maacub@gmail.com>\n"
+"Language-Team: Asturian <ubuntu-l10n-ast@lists.ubuntu.com>\n"
+"Language: ast\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Hola, mundu!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Hola exemplu"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Exemplu de hola mundu"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Esti programa ta corriendo como'l procesu nmberu $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Esti programa ta corriendo como'l procesu nmberu %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Esti programa ta corriendo como'l procesu nmberu ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Esti programa ta corriendo como'l procesu nmberu {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Esti programa ta corriendo como'l procesu nmberu {pid}."
diff --git a/gettext-tools/examples/po/bg.po b/gettext-tools/examples/po/bg.po
new file mode 100644
index 0000000..282e77b
--- /dev/null
+++ b/gettext-tools/examples/po/bg.po
@@ -0,0 +1,105 @@
+# Bulgarian translations for gettext-examples package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Roumen Petrov <transl@roumenpetrov.info>, 2010,2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU gettext-examples 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-12-16 22:12+0200\n"
+"Last-Translator: Roumen Petrov <transl@roumenpetrov.info>\n"
+"Language-Team: Bulgarian <dict@ludost.net>\n"
+"Language: bg\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Здравейте на всички !"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Програмата е пусната под процес номер %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Здравейте"
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr "Примерно приложение"
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Задава чувствителност на надписа."
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Определя дали надписа да е чувствителен."
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Програмата е пусната под процес номер %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Пример: Здравейте"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Пример: Здравейте на всички"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Програмата е пусната под процес номер $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Програмата е пусната под процес номер %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Програмата е пусната под процес номер ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Програмата е пусната под процес номер {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Програмата е пусната под процес номер {pid}."
diff --git a/gettext-tools/examples/po/ca.po b/gettext-tools/examples/po/ca.po
new file mode 100644
index 0000000..e02ed58
--- /dev/null
+++ b/gettext-tools/examples/po/ca.po
@@ -0,0 +1,106 @@
+# Catalan messages for GNU gettext-examples.
+# Copyright (C) 2003, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Ivan Vilata i Balaguer <ivan@selidor.net>, 2003, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-12-12 14:23+0100\n"
+"Last-Translator: Ivan Vilata i Balaguer <ivan@selidor.net>\n"
+"Language-Team: Catalan <ca@dodds.net>\n"
+"Language: ca\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"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Hola, món!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Aquest programa està corrent amb el número de procés %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Hola"
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr "Aplicació d’exemple"
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Fes sensible l’etiqueta"
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Indica si fer l’etiqueta sensible o no."
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Aquest programa està corrent amb el número de procés %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Exemple Hola"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Exemple Hola Món"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Aquest programa està corrent amb el número de procés $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Aquest programa està corrent amb el número de procés %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Aquest programa està corrent amb el número de procés ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Aquest programa està corrent amb el número de procés {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Aquest programa està corrent amb el número de procés {pid}."
diff --git a/gettext-tools/examples/po/cs.po b/gettext-tools/examples/po/cs.po
new file mode 100644
index 0000000..c33e2d6
--- /dev/null
+++ b/gettext-tools/examples/po/cs.po
@@ -0,0 +1,107 @@
+# The Czech translation for the gettext package.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Marek Černocký <marek@manet.cz>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2011-11-30 16:10+0100\n"
+"Last-Translator: Marek Černocký <marek@manet.cz>\n"
+"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Ahoj světe!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Tento program běží jako proces číslo %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Tento program běží jako proces číslo %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Příklad „Hello“"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Příklad „Hello world“"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Tento program běží jako proces číslo $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Tento program běží jako proces číslo %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Tento program běží jako proces číslo ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Tento program běží jako proces číslo {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Tento program běží jako proces číslo {pid}."
diff --git a/gettext-tools/examples/po/da.po b/gettext-tools/examples/po/da.po
new file mode 100644
index 0000000..5f8943b
--- /dev/null
+++ b/gettext-tools/examples/po/da.po
@@ -0,0 +1,105 @@
+# Danish messages for gettext-examples.
+# Copyright (C) 2011 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djrv <jan.h.d@swipnet.se>, 2003, 2006
+# Keld Simonsen <keld@keldix.com>, 2011
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2011-01-08 12:39+0100\n"
+"Last-Translator: Keld Simonsen <keld@keldix.com>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"Language: da\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Hej verden!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Dette program krer som proces nummer %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Dette program krer som proces nummer %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Eksempel p hilsen"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "\"Hej verden\"-eksempel"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Dette program krer som proces nummer $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Dette program krer som proces nummer %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Dette program krer som proces nummer ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Dette program krer som proces nummer {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Dette program krer som proces nummer {pid}."
diff --git a/gettext-tools/examples/po/de.po b/gettext-tools/examples/po/de.po
new file mode 100644
index 0000000..c91b738
--- /dev/null
+++ b/gettext-tools/examples/po/de.po
@@ -0,0 +1,110 @@
+# German messages for gettext-examples.
+# Copyright © 2003, 2013 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Bruno Haible <bruno@clisp.org>, 2003.
+# Karl Eichwalder <ke@gnu.franken.de>, 2003.
+# Jakob Kramer <jakob.kramer@gmx.de>, 2013.
+# Mario Blättermann <mario.blaettermann@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-05-10 17:47+0100\n"
+"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
+"Language: de\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: Poedit 1.5.4\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Hallo Welt!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr "Beispielanwendung"
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Beispiel Hallo"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Beispiel Hallo-Welt"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Dieses Programm läuft mit der Prozess-Nummer {pid}."
diff --git a/gettext-tools/examples/po/el.po b/gettext-tools/examples/po/el.po
new file mode 100644
index 0000000..3953430
--- /dev/null
+++ b/gettext-tools/examples/po/el.po
@@ -0,0 +1,105 @@
+# Greek translation of gettext-examples
+# Copyright (C) 2005 Free Software Foundation, Inc.
+# Simos Xenitellis <simos74@gmx.net>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2005-01-06 18:50+0000\n"
+"Last-Translator: Simos Xenitellis <simos74@gmx.net>\n"
+"Language-Team: Greek <nls@tux.hellug.gr>\n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Γεια σου, κόσμε!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Παράδειγμα χαιρετισμού"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Παράδειγμα \"γεια σου κόσμε\""
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Αυτό το πρόγραμμα εκτελείται με αριθμό διεργασίας {pid}."
diff --git a/gettext-tools/examples/po/eo.po b/gettext-tools/examples/po/eo.po
new file mode 100644
index 0000000..8179126
--- /dev/null
+++ b/gettext-tools/examples/po/eo.po
@@ -0,0 +1,105 @@
+# La teksto por la mesaĝoj de la programo "gettext".
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Edmund GRIMLEY EVANS <edmundo@rano.org>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2006-07-02 19:24+0100\n"
+"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
+"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+"Language: eo\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Saluton, mondo!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Saluto-ekzemplo"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Saluton-mondo-ekzemplo"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Ĉi tiu programo rulas kiel procezo kun numero {pid}."
diff --git a/gettext-tools/examples/po/es.po b/gettext-tools/examples/po/es.po
new file mode 100644
index 0000000..bad46a3
--- /dev/null
+++ b/gettext-tools/examples/po/es.po
@@ -0,0 +1,109 @@
+# Mensajes en español para GNU gettext.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# This file is distributed under the same license as the gettext package.
+#
+# Max de Mendizábal <max@upn.mx>, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004.
+# Antonio Ceballos <aceballos@gmail.com>, 2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-12-11 00:40+0100\n"
+"Last-Translator: Antonio Ceballos <aceballos@gmail.com>\n"
+"Language-Team: Spanish <es@tp.org.es>\n"
+"Language: es\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"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "¡Hola, mundo!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está corriendo como el proceso número %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Hola"
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr "Ejemplo de aplicación"
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Hace sensible la etiqueta"
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Si hacer que la etiqueta sea sensible."
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Este programa está corriendo como el proceso número %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Hola ejemplo"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Ejemplo de hola mundo"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Este programa está corriendo como el proceso número $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Este programa está corriendo como el proceso número %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Este programa está corriendo como el proceso número ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está corriendo como el proceso número {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Este programa está corriendo como el proceso número {pid}."
diff --git a/gettext-tools/examples/po/fi.po b/gettext-tools/examples/po/fi.po
new file mode 100644
index 0000000..0cdc496
--- /dev/null
+++ b/gettext-tools/examples/po/fi.po
@@ -0,0 +1,107 @@
+# Finnish messages for GNU Gettext examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright © 2007, 2014 Yoyodyne, Inc. (msgids)
+# Lauri Nurmi <lanurmi@iki.fi>, 2007.
+# Jorma Karvonen <karvonen.jorma@gmail.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-06-23 16:51+0300\n"
+"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
+"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# Tämä nimenomainen käännös valittu GNU Hellon mukaisesti.
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Terve maailma!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Tämän ohjelman prosessinumero on %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr "Esimerkkisovellus"
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Tämän ohjelman prosessinumero on %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Tervehdysesimerkki"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Terve maailma -esimerkki"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Tämän ohjelman prosessinumero on $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Tämän ohjelman prosessinumero on %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Tämän ohjelman prosessinumero on ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Tämän ohjelman prosessinumero on {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Tämän ohjelman prosessinumero on {pid}."
diff --git a/gettext-tools/examples/po/fr.po b/gettext-tools/examples/po/fr.po
new file mode 100644
index 0000000..ea8c138
--- /dev/null
+++ b/gettext-tools/examples/po/fr.po
@@ -0,0 +1,106 @@
+# Messages français pour GNU gettext.
+# Copyright © 2006 Yoyodyne, Inc.
+# Michel Robitaille <robitail@IRO.UMontreal.CA>, 2006.
+# Christophe Combelles <ccomb@free.fr>, 2006
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU gettext-examples 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2006-10-01 02:29+0200\n"
+"Last-Translator: Christophe Combelles <ccomb@free.fr>\n"
+"Language-Team: French <traduc@traduc.org>\n"
+"Language: fr\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"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Bonjour, le monde !"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Ce programme est exécuté en tant que processus numéro %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Ce programme est exécuté en tant que processus numéro %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Exemple Hello"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Exemple de « Hello world »"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Ce programme est exécuté en tant que processus numéro $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Ce programme est exécuté en tant que processus numéro %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Ce programme est exécuté en tant que processus numéro ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ce programme est exécuté en tant que processus numéro {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Ce programme est exécuté en tant que processus numéro {pid}."
diff --git a/gettext-tools/examples/po/ga.po b/gettext-tools/examples/po/ga.po
new file mode 100644
index 0000000..49593e7
--- /dev/null
+++ b/gettext-tools/examples/po/ga.po
@@ -0,0 +1,105 @@
+# Irish translations for gettext-examples.
+# Copyright (C) 2004 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext-examples package.
+# Kevin Patrick Scannell <scannell@SLU.EDU>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.14.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2005-02-07 12:09-0500\n"
+"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
+"Language-Team: Irish <ga@li.org>\n"
+"Language: ga\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Dia duit, a dhomhain!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "T an clr seo rith mar phriseas %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "T an clr seo rith mar phriseas %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Sampla `Dia duit'"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Sampla `Dia duit a dhomhain'"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "T an clr seo rith mar phriseas $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "T an clr seo rith mar phriseas %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "T an clr seo rith mar phriseas ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "T an clr seo rith mar phriseas {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "T an clr seo rith mar phriseas {pid}."
diff --git a/gettext-tools/examples/po/gettext-examples.pot b/gettext-tools/examples/po/gettext-examples.pot
new file mode 100644
index 0000000..55ba121
--- /dev/null
+++ b/gettext-tools/examples/po/gettext-examples.pot
@@ -0,0 +1,106 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr ""
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr ""
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr ""
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr ""
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr ""
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr ""
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr ""
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr ""
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr ""
diff --git a/gettext-tools/examples/po/gl.po b/gettext-tools/examples/po/gl.po
new file mode 100644
index 0000000..593fa04
--- /dev/null
+++ b/gettext-tools/examples/po/gl.po
@@ -0,0 +1,110 @@
+# Galician translation for gettext-examples package.
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Leandro Regueiro <leandro.regueiro@gmail.com>, 2010-2014.
+#
+# Proxecto Trasno - Adaptación do software libre á lingua galega: Se desexas
+# colaborar connosco, podes atopar máis información en <http://trasno.net>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-05-10 16:34+0100\n"
+"Last-Translator: Leandro Regueiro <leandro.regueiro@gmail.com>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"Language: gl\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"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Ola, mundo!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Este programa estase executando como o proceso número %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr "Aplicativo de exemplo"
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Este programa estase executando como o proceso número %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Exemplo ola"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Exemplo ola mundo"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Este programa estase executando como o proceso número $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Este programa estase executando como o proceso número %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Este programa estase executando como o proceso número ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa estase executando como o proceso número {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Este programa estase executando como o proceso número {pid}."
diff --git a/gettext-tools/examples/po/hello-c++-gnome.pot b/gettext-tools/examples/po/hello-c++-gnome.pot
new file mode 100644
index 0000000..3ad25ca
--- /dev/null
+++ b/gettext-tools/examples/po/hello-c++-gnome.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c++-gnome/hello.cc:50
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-c++-gnome/hello.cc:55
+#, c-format
+msgid "This program is running as process number %d."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-c++-kde.pot b/gettext-tools/examples/po/hello-c++-kde.pot
new file mode 100644
index 0000000..840aaf9
--- /dev/null
+++ b/gettext-tools/examples/po/hello-c++-kde.pot
@@ -0,0 +1,35 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr ""
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr ""
+
+#: hello-c++-kde/hellowindow.cc:42
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-c++-kde/hellowindow.cc:49
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-c++-qt.pot b/gettext-tools/examples/po/hello-c++-qt.pot
new file mode 100644
index 0000000..3524d42
--- /dev/null
+++ b/gettext-tools/examples/po/hello-c++-qt.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-qt 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c++-qt/hello.cc:45
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52
+#, qt-format
+msgid "This program is running as process number %1."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-c++-wxwidgets.pot b/gettext-tools/examples/po/hello-c++-wxwidgets.pot
new file mode 100644
index 0000000..bda4d10
--- /dev/null
+++ b/gettext-tools/examples/po/hello-c++-wxwidgets.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-c++-wxwidgets 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c++-wxwidgets/hello.cc:68
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-c++-wxwidgets/hello.cc:71
+#, c-format
+msgid "This program is running as process number %d."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-c++.pot b/gettext-tools/examples/po/hello-c++.pot
new file mode 100644
index 0000000..7bdcb52
--- /dev/null
+++ b/gettext-tools/examples/po/hello-c++.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c++/hello.cc:39
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-c++/hello.cc:40
+#, c-format
+msgid "This program is running as process number %d."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-c-gnome.pot b/gettext-tools/examples/po/hello-c-gnome.pot
new file mode 100644
index 0000000..3925edc
--- /dev/null
+++ b/gettext-tools/examples/po/hello-c-gnome.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c-gnome/hello.c:46
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-c-gnome/hello.c:51
+#, c-format
+msgid "This program is running as process number %d."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-c-gnome3.pot b/gettext-tools/examples/po/hello-c-gnome3.pot
new file mode 100644
index 0000000..26a781a
--- /dev/null
+++ b/gettext-tools/examples/po/hello-c-gnome3.pot
@@ -0,0 +1,43 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c-gnome3/hello.c:70
+#, c-format
+msgid "This program is running as process number %d."
+msgstr ""
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-c.pot b/gettext-tools/examples/po/hello-c.pot
new file mode 100644
index 0000000..8a2064f
--- /dev/null
+++ b/gettext-tools/examples/po/hello-c.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c/hello.c:30
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-c/hello.c:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-clisp.pot b/gettext-tools/examples/po/hello-clisp.pot
new file mode 100644
index 0000000..4d9b0aa
--- /dev/null
+++ b/gettext-tools/examples/po/hello-clisp.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-clisp 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-clisp/hello.lisp.in:11
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-clisp/hello.lisp.in:13
+#, lisp-format
+msgid "This program is running as process number ~D."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-csharp-forms.pot b/gettext-tools/examples/po/hello-csharp-forms.pot
new file mode 100644
index 0000000..f78d663
--- /dev/null
+++ b/gettext-tools/examples/po/hello-csharp-forms.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp-forms 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-csharp-forms/hello.cs:29
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-csharp.pot b/gettext-tools/examples/po/hello-csharp.pot
new file mode 100644
index 0000000..021c285
--- /dev/null
+++ b/gettext-tools/examples/po/hello-csharp.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-csharp 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-csharp/hello.cs:14
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-csharp/hello.cs:17
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-gawk.pot b/gettext-tools/examples/po/hello-gawk.pot
new file mode 100644
index 0000000..9788aac
--- /dev/null
+++ b/gettext-tools/examples/po/hello-gawk.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-gawk 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-gawk/hello.awk:11
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-gawk/hello.awk:12
+#, awk-format
+msgid "This program is running as process number %d."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-guile.pot b/gettext-tools/examples/po/hello-guile.pot
new file mode 100644
index 0000000..f354f43
--- /dev/null
+++ b/gettext-tools/examples/po/hello-guile.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-guile 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-guile/hello.scm:15
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-java-awt.pot b/gettext-tools/examples/po/hello-java-awt.pot
new file mode 100644
index 0000000..4b6b57b
--- /dev/null
+++ b/gettext-tools/examples/po/hello-java-awt.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-awt 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-java-awt/Hello.java:23
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-java-awt/Hello.java:28
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-java-qtjambi.pot b/gettext-tools/examples/po/hello-java-qtjambi.pot
new file mode 100644
index 0000000..a92aa35
--- /dev/null
+++ b/gettext-tools/examples/po/hello-java-qtjambi.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-qtjambi 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-java-qtjambi/Hello.java:27
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-java-qtjambi/Hello.java:34
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-java-swing.pot b/gettext-tools/examples/po/hello-java-swing.pot
new file mode 100644
index 0000000..490ac3c
--- /dev/null
+++ b/gettext-tools/examples/po/hello-java-swing.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java-swing 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-java-swing/Hello.java:20
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-java-swing/Hello.java:25
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-java.pot b/gettext-tools/examples/po/hello-java.pot
new file mode 100644
index 0000000..a967d14
--- /dev/null
+++ b/gettext-tools/examples/po/hello-java.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-java 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-java/Hello.java:14
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-java/Hello.java:18
+#, java-format
+msgid "This program is running as process number {0}."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-librep.pot b/gettext-tools/examples/po/hello-librep.pot
new file mode 100644
index 0000000..8dff621
--- /dev/null
+++ b/gettext-tools/examples/po/hello-librep.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-librep 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-librep/hello.jl.in:12
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-librep/hello.jl.in:14
+#, librep-format
+msgid "This program is running as process number %d."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-objc-gnome.pot b/gettext-tools/examples/po/hello-objc-gnome.pot
new file mode 100644
index 0000000..22326de
--- /dev/null
+++ b/gettext-tools/examples/po/hello-objc-gnome.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-objc-gnome/hello.m:47
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-objc-gnome/hello.m:52
+#, c-format
+msgid "This program is running as process number %d."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-objc-gnustep.pot b/gettext-tools/examples/po/hello-objc-gnustep.pot
new file mode 100644
index 0000000..8612793
--- /dev/null
+++ b/gettext-tools/examples/po/hello-objc-gnustep.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: Hello \n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-objc-gnustep/Hello.m:49
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-objc-gnustep/Hello.m:58
+#, objc-format
+msgid "This program is running as process number %d."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-objc.pot b/gettext-tools/examples/po/hello-objc.pot
new file mode 100644
index 0000000..09f90a7
--- /dev/null
+++ b/gettext-tools/examples/po/hello-objc.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-objc/hello.m:30
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-objc/hello.m:31
+#, c-format
+msgid "This program is running as process number %d."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-pascal.pot b/gettext-tools/examples/po/hello-pascal.pot
new file mode 100644
index 0000000..706c83f
--- /dev/null
+++ b/gettext-tools/examples/po/hello-pascal.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-pascal 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-pascal/hello.hello_world
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-pascal/hello.running_as
+#, object-pascal-format
+msgid "This program is running as process number %d."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-perl.pot b/gettext-tools/examples/po/hello-perl.pot
new file mode 100644
index 0000000..a29a1e1
--- /dev/null
+++ b/gettext-tools/examples/po/hello-perl.pot
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-perl 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-perl/hello-1.pl.in:19
+#, perl-format
+msgid "This program is running as process number %d."
+msgstr ""
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-php.pot b/gettext-tools/examples/po/hello-php.pot
new file mode 100644
index 0000000..a764ebd
--- /dev/null
+++ b/gettext-tools/examples/po/hello-php.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-php 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-python.pot b/gettext-tools/examples/po/hello-python.pot
new file mode 100644
index 0000000..dc18e6d
--- /dev/null
+++ b/gettext-tools/examples/po/hello-python.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-python 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-python/hello.py.in:12
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-sh.pot b/gettext-tools/examples/po/hello-sh.pot
new file mode 100644
index 0000000..ee2d9de
--- /dev/null
+++ b/gettext-tools/examples/po/hello-sh.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-sh 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-sh/hello.sh:14
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-smalltalk.pot b/gettext-tools/examples/po/hello-smalltalk.pot
new file mode 100644
index 0000000..e3d2baa
--- /dev/null
+++ b/gettext-tools/examples/po/hello-smalltalk.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-smalltalk 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:28+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-smalltalk/hello.st.in:31
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-smalltalk/hello.st.in:32
+#, smalltalk-format
+msgid "This program is running as process number %1."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-tcl-tk.pot b/gettext-tools/examples/po/hello-tcl-tk.pot
new file mode 100644
index 0000000..e3224d5
--- /dev/null
+++ b/gettext-tools/examples/po/hello-tcl-tk.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl-tk 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-tcl-tk/hello.tcl:13
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-tcl-tk/hello.tcl:16
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-tcl.pot b/gettext-tools/examples/po/hello-tcl.pot
new file mode 100644
index 0000000..7240a5b
--- /dev/null
+++ b/gettext-tools/examples/po/hello-tcl.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-tcl 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-tcl/hello.tcl:11
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-tcl/hello.tcl:12
+#, tcl-format
+msgid "This program is running as process number %d."
+msgstr ""
diff --git a/gettext-tools/examples/po/hello-ycp.pot b/gettext-tools/examples/po/hello-ycp.pot
new file mode 100644
index 0000000..37e9f19
--- /dev/null
+++ b/gettext-tools/examples/po/hello-ycp.pot
@@ -0,0 +1,27 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: hello-ycp 0\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-ycp/hello.ycp:15
+msgid "Hello, world!"
+msgstr ""
+
+#: hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr ""
diff --git a/gettext-tools/examples/po/hr.po b/gettext-tools/examples/po/hr.po
new file mode 100644
index 0000000..86c462a
--- /dev/null
+++ b/gettext-tools/examples/po/hr.po
@@ -0,0 +1,107 @@
+# Translation of gettext-examples to Croatian.
+# Copyright © 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Tomislav Krznar <tomislav.krznar@gmail.com>, 2012.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2012-07-04 18:38+0200\n"
+"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
+"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Pozdrav, svijete!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Ovaj program je pokrenut kao proces broj %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Ovaj program je pokrenut kao proces broj %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Primjer pozdrava"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Primjer pozdrava svijetu"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Ovaj program je pokrenut kao proces broj $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Ovaj program je pokrenut kao proces broj %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Ovaj program je pokrenut kao proces broj ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ovaj program je pokrenut kao proces broj {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Ovaj program je pokrenut kao proces broj {pid}."
diff --git a/gettext-tools/examples/po/hu.po b/gettext-tools/examples/po/hu.po
new file mode 100644
index 0000000..b9dd670
--- /dev/null
+++ b/gettext-tools/examples/po/hu.po
@@ -0,0 +1,108 @@
+# Hungarian translation for gettext-examples.
+# This file is distributed under the same license as the gettext package.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+#
+# Tamás Kiss <atomi@inf.elte.hu>, 2005.
+# Balázs Úr <urbalazs@gmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-05-11 16:21+0200\n"
+"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n"
+"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+"Language: hu\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: Lokalize 1.5\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Hello, világ!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Ez a program a(z) %d folyamatazonosítóval fut."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr "Példa alkalmazás"
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Ez a program a(z) %1 folyamatazonosítóval fut."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Hello példa"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Hello világ példa"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Ez a program a(z) $pid folyamatazonosítóval fut."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Ez a program a(z) %(pid)d folyamatazonosítóval fut."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Ez a program a(z) ~D folyamatazonosítóval fut."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ez a program a(z) {0} folyamatazonosítóval fut."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Ez a program a(z) {pid} folyamatazonosítóval fut."
diff --git a/gettext-tools/examples/po/id.po b/gettext-tools/examples/po/id.po
new file mode 100644
index 0000000..3485150
--- /dev/null
+++ b/gettext-tools/examples/po/id.po
@@ -0,0 +1,106 @@
+# translation of gettext-examples-0.15-pre5.po to Indonesian
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Tedi Heriyanto <tedi_heriyanto@yahoo.com>, 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples-0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2006-09-27 20:19+0700\n"
+"Last-Translator: Tedi Heriyanto <tedi_heriyanto@yahoo.com>\n"
+"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+"Language: id\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.2\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Program ini berjalan sebagai proses nomor %d"
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Program ini berjalan sebagai proses nomor %1"
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Contoh hello"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Contoh hello world"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Program ini berjalan sebagai proses nomor $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Program ini berjalan sebagai proses nomor %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Program ini berjalan sebagai proses nomor ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Program ini berjalan sebagai proses nomor {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Program ini berjalan sebagai proses nomor {pid}."
diff --git a/gettext-tools/examples/po/it.po b/gettext-tools/examples/po/it.po
new file mode 100644
index 0000000..9d163a3
--- /dev/null
+++ b/gettext-tools/examples/po/it.po
@@ -0,0 +1,105 @@
+# Italian messages for gettext-examples.
+# Copyright (C) 2005, 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext package.
+# Marco Colombo <m.colombo@ed.ac.uk>, 2005, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2006-07-01 10:46+0100\n"
+"Last-Translator: Marco Colombo <m.colombo@ed.ac.uk>\n"
+"Language-Team: Italian <tp@lists.linux.it>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Salve, mondo!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Questo programma è in esecuzione con numero di processo %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Questo programma è in esecuzione con numero di processo %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Esempio di Salve mondo"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Esempio di Salve mondo"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Questo programma è in esecuzione con numero di processo $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Questo programma è in esecuzione con numero di processo %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Questo programma è in esecuzione con numero di processo ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Questo programma è in esecuzione con numero di processo {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Questo programma è in esecuzione con numero di processo {pid}."
diff --git a/gettext-tools/examples/po/ja.po b/gettext-tools/examples/po/ja.po
new file mode 100644
index 0000000..1365deb
--- /dev/null
+++ b/gettext-tools/examples/po/ja.po
@@ -0,0 +1,105 @@
+# Translation of `gettext-examples' messages to Japanese.
+# Copyright (C) 2005, 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Masahito Yamaga <ma@yama-ga.com>, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU gettext-examples 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-12-11 08:49+0900\n"
+"Last-Translator: Masahito Yamaga <ma@yama-ga.com>\n"
+"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=EUC-JP\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr ", ˤ!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Υץϥץֹ %d ưƤޤ."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr "ˤ"
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "٥򿵽Ť˰褦"
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Υ٥򿵽Ť˰褦ꤹ뤫ݤ"
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Υץϥץֹ %1 ưƤޤ."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "֤ˤϡפ"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr ", ˤϡפ"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Υץϥץֹ $pid ưƤޤ."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Υץϥץֹ %(pid)d ưƤޤ."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Υץϥץֹ ~D ưƤޤ."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Υץϥץֹ {0} ưƤޤ."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Υץϥץֹ {pid} ưƤޤ."
diff --git a/gettext-tools/examples/po/ky.po b/gettext-tools/examples/po/ky.po
new file mode 100644
index 0000000..344c6cd
--- /dev/null
+++ b/gettext-tools/examples/po/ky.po
@@ -0,0 +1,107 @@
+# Translation of 'gettext-examples' messages to Kirghiz.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# This file is distributed under the same license as the silky package.
+# Ilyas Bakirov <just_ilyas@yahoo.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2007-11-13 16:02+0600\n"
+"Last-Translator: Ilyas Bakirov <just_ilyas@yahoo.com>\n"
+"Language-Team: Kirghiz <i18n-team-ky-kyrgyz@lists.sourceforge.net>\n"
+"Language: ky\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Kyrgyz\n"
+"X-Poedit-Country: KYRGYZSTAN\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Салам дүйнө!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Бул программа %d процесс номери катары иштеп жатат."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Бул программа %1 процесс номери катары иштеп жатат."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Салам мисалы"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Салам дүйнө мисалы"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Бул программа $pid процесс номери катары иштеп жатат."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Бул программа %(pid)d процесс номери катары иштеп жатат."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Бул программа ~D процесс номери катары иштеп жатат."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Бул программа {0} процесс номери катары иштеп жатат."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Бул программа {pid} процесс номери катары иштеп жатат."
diff --git a/gettext-tools/examples/po/lv.po b/gettext-tools/examples/po/lv.po
new file mode 100644
index 0000000..70a558e
--- /dev/null
+++ b/gettext-tools/examples/po/lv.po
@@ -0,0 +1,109 @@
+# Latvian translation of gettext-examples
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Arvis Lācis <arvis.lacis@inbox.lv>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples-0.17\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2009-07-28 21:26+0100\n"
+"Last-Translator: Rihards Priedītis <rprieditis@gmail.com>\n"
+"Language-Team: Latvian <translation-team-lv@lists.sourceforge.net>\n"
+"Language: lv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Latvian\n"
+"X-Poedit-Country: LATVIA\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Sveika, pasaule!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Šī programma darbojas kā process ar numuru %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Šī programma darbojas kā process ar numuru %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Sveiki paraugs"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Sveika pasaule paraugs"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Šī programma darbojas kā process ar numuru $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Šī programma darbojas kā process ar numuru %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Šī programma darbojas kā process ar numuru ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Šī programma darbojas kā process ar numuru {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Šī programma darbojas kā process ar numuru {pid}."
diff --git a/gettext-tools/examples/po/mmsmallpo.sh b/gettext-tools/examples/po/mmsmallpo.sh
new file mode 100755
index 0000000..11a3569
--- /dev/null
+++ b/gettext-tools/examples/po/mmsmallpo.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+# Usage: mmsmallpo.sh hello-foo ll
+
+set -e
+
+test $# = 2 || { echo "Usage: mmsmallpo.sh hello-foo ll" 1>&2; exit 1; }
+directory=$1
+language=$2
+
+msgmerge --quiet --force-po $language.po $directory.pot -o - | \
+msgattrib --no-obsolete | \
+sed -e "s, $directory/, ,g" | sed -e "s,gettext-examples,$directory," | \
+sed -e '/^"POT-Creation-Date: .*"$/{
+x
+s/P/P/
+ta
+g
+d
+bb
+:a
+x
+:b
+}' \
+ > ../$directory/po/$language.po
diff --git a/gettext-tools/examples/po/ms.po b/gettext-tools/examples/po/ms.po
new file mode 100644
index 0000000..6f57860
--- /dev/null
+++ b/gettext-tools/examples/po/ms.po
@@ -0,0 +1,106 @@
+# gettext-examples Bahasa Melayu (Malay) (ms).
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Copyright (C) 2006 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext-examples package.
+# Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2006-12-22 21:36+0800\n"
+"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman@myrealbox.com>\n"
+"Language-Team: Malay <translation-team-ms@lists.sourceforge.net>\n"
+"Language: ms\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Hello, world!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Contoh hello"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Contoh hello world"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Program ini dilaksanakan sebagai proses bernombor $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Program ini dilaksanakan sebagai proses bernombor %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Program ini dilaksanakan sebagai proses bernombor ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Program ini dilaksanakan sebagai proses bernombor {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Program ini dilaksanakan sebagai proses bernombor {pid}."
diff --git a/gettext-tools/examples/po/mt.po b/gettext-tools/examples/po/mt.po
new file mode 100644
index 0000000..b6210fe
--- /dev/null
+++ b/gettext-tools/examples/po/mt.po
@@ -0,0 +1,106 @@
+# gettext-examples-0.16.2-pre5.
+# Copyright (C) 2008 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Clyde Meli <cmeli@cis.um.edu.mt>, 2001-2008.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.16.2-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2008-11-18 17:27+0100\n"
+"Last-Translator: Clyde Meli <cmeli@cis.um.edu.mt>\n"
+"Language-Team: Maltese <translation-team-mt@lists.sourceforge.net>\n"
+"Language: mt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-3\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Hello, lil kulħadd!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Eżempju tal-Hello"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Eżempju ta' Hello lil kulħadd"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Dal-programm qed jaħdem taħt il-proċess numru {pid}."
diff --git a/gettext-tools/examples/po/nb.po b/gettext-tools/examples/po/nb.po
new file mode 100644
index 0000000..fe56426
--- /dev/null
+++ b/gettext-tools/examples/po/nb.po
@@ -0,0 +1,108 @@
+# Norwegian Bokmal translations for gettext-examples package.
+# Copyright (C) 2012 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Johnny A. Solbu <johnny@solbu.net>, 2012-2014
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-07-22 13:18+0100\n"
+"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
+"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
+"Language: nb_NO\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: Poedit 1.5.4\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Hallo verden!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Dette programmet kjører som prosess nummer %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr "Eksempelprogram"
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Dette programmet kjører som prosess nummer %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Hallo eksempel"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Hallo verden-eksempel"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Dette programmet kjører som prosess nummer $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Dette programmet kjører som prosess nummer %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Dette programmet kjører som prosess nummer ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Dette programmet kjører som prosess nummer {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Dette programmet kjører som prosess nummer {pid}."
diff --git a/gettext-tools/examples/po/nl.po b/gettext-tools/examples/po/nl.po
new file mode 100644
index 0000000..caaaf0e
--- /dev/null
+++ b/gettext-tools/examples/po/nl.po
@@ -0,0 +1,110 @@
+# Dutch translations for GNU gettext-examples.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# "Waar de wind waait."
+#
+# Benno Schulenberg <benno@vertaalt.nl>, 2007, 2014.
+# Elros Cyriatan <cyriatan@fastmail.fm>, 2004.
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-05-11 12:17+0200\n"
+"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
+"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Hallo, wereld!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Dit programma draait als proces nummer %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr "Voorbeeldtoepassing"
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Dit programma draait als proces nummer %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "'Hallo'-voorbeeld"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "'Hallo wereld'-voorbeeld"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Dit programma draait als proces nummer $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Dit programma draait als proces nummer %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Dit programma draait als proces nummer ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Dit programma draait als proces nummer {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Dit programma draait als proces nummer {pid}."
diff --git a/gettext-tools/examples/po/pl.po b/gettext-tools/examples/po/pl.po
new file mode 100644
index 0000000..8cdb132
--- /dev/null
+++ b/gettext-tools/examples/po/pl.po
@@ -0,0 +1,106 @@
+# Polish translations for the GNU gettext messages, gettext-examples domain
+# Copyright (C) 2010 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Rafał Maszkowski <rzm@icm.edu.pl>, 2003, 2010, 2014 „”
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples-0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-12-10 21:50+0100\n"
+"Last-Translator: Rafał Maszkowski <rzm@icm.edu.pl>\n"
+"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Cześć, świecie!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Ten program działa jako proces o numerze %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Cześć"
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr "Program przykładowy"
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Ustawienie interpretacji etykiet"
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Czy ustawić interpretację etykiet."
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Ten program działa jako proces o numerze %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Przykładowy program witający"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Przykładowy program witający świat"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Ten program działa jako proces o numerze $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Ten program działa jako proces o numerze %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Ten program działa jako proces o numerze ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ten program działa jako proces o numerze {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Ten program działa jako proces o numerze {pid}."
diff --git a/gettext-tools/examples/po/pt.po b/gettext-tools/examples/po/pt.po
new file mode 100644
index 0000000..d6d28be
--- /dev/null
+++ b/gettext-tools/examples/po/pt.po
@@ -0,0 +1,105 @@
+# Portuguese translation of 'gettext-examples' package.
+# Copyright (C) 2005 Yoyodyne, Inc.
+# This file is distributed under the same license as the gettext-examples package.
+# Helder Correia <helder.pereira.correia@gmail.com>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.14.5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2005-11-19 23:08+0000\n"
+"Last-Translator: Helder Correia <helder.pereira.correia@gmail.com>\n"
+"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
+"Language: pt\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Olá, Mundo!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está a ser executado com o número de processo %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Este programa está a ser executado com o número de processo %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Exemplo Olá"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Exemplo Olá Mundo"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Este process está a ser executado com o número de processo $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Este programa está a ser executado com o número de processo %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Este programa está a ser executado com o número de processo ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está a ser executado com o número de processo {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Este programa está a ser executado com o número de processo {pid}."
diff --git a/gettext-tools/examples/po/pt_BR.po b/gettext-tools/examples/po/pt_BR.po
new file mode 100644
index 0000000..827922b
--- /dev/null
+++ b/gettext-tools/examples/po/pt_BR.po
@@ -0,0 +1,109 @@
+# Brazilian Portuguese translation for gettext-example
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# Copyright (C) 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Rafael Ferreira <rafael.f.f1@gmail.com>, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-12-10 20:49-0300\n"
+"Last-Translator: Rafael Ferreira <rafael.f.f1@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge."
+"net>\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.6.11\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Olá, mundo!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Este programa está executando com número de processo %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Olá"
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr "Aplicativo exemplo"
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Definir sensibilidade a rótulo"
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Se esta ação é sensível a rótulo ou não."
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Este programa está executando com número de processo %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Olá exemplo"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Olá mundo exemplo"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Este programa está executando com número de processo $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Este programa está executando com número de processo %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Este programa está executando com número de processo ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Este programa está executando com número de processo {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Este programa está executando com número de processo {pid}."
diff --git a/gettext-tools/examples/po/remove-potcdate.sin b/gettext-tools/examples/po/remove-potcdate.sin
new file mode 100644
index 0000000..2436c49
--- /dev/null
+++ b/gettext-tools/examples/po/remove-potcdate.sin
@@ -0,0 +1,19 @@
+# Sed script that remove the POT-Creation-Date line in the header entry
+# from a POT file.
+#
+# The distinction between the first and the following occurrences of the
+# pattern is achieved by looking at the hold space.
+/^"POT-Creation-Date: .*"$/{
+x
+# Test if the hold space is empty.
+s/P/P/
+ta
+# Yes it was empty. First occurrence. Remove the line.
+g
+d
+bb
+:a
+# The hold space was nonempty. Following occurrences. Do nothing.
+x
+:b
+}
diff --git a/gettext-tools/examples/po/ro.po b/gettext-tools/examples/po/ro.po
new file mode 100644
index 0000000..b4ab5ba
--- /dev/null
+++ b/gettext-tools/examples/po/ro.po
@@ -0,0 +1,105 @@
+# Mesajele n limba romn pentru pachetul gettext-examples-0.13-pre1.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# Acest fiier este distribuit sub aceeai licen ca pachetul gettext-examples.
+# Eugen Hoanca <eugenh@urban-grafx.ro>, 2003
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.13-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2003-11-22 11:15+0200\n"
+"Last-Translator: Eugen Hoanca <eugenh@urban-grafx.ro>\n"
+"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+"Language: ro\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Salut, lume! (Hello, world!)"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Acest program este rulat ca procesul numrul %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Acest program este rulat ca procesul numrul %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Exemplu Salut(Hello)"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Exemplu Salut lume(Hello world)"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Acest program ruleaz ca procesul numrul $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Acest program este rulat ca procesul numrul %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Acest program este rulat ca procesul numrul ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Acest program este rulat ca procesul numrul {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, fuzzy, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Acest program ruleaz ca procesul numrul $pid."
diff --git a/gettext-tools/examples/po/ru.po b/gettext-tools/examples/po/ru.po
new file mode 100644
index 0000000..8c80faf
--- /dev/null
+++ b/gettext-tools/examples/po/ru.po
@@ -0,0 +1,109 @@
+# Translation of gettext-examples-0.14.1.po to Russian
+# Copyright (C) 2004 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Pavel Maryanov <acid_jack@ukr.net>, 2004.
+# Yuri Kozlov <yuray@komyakino.ru>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-12-15 19:16+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <gnu@mx.ru>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.5\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Здравствуй, мир!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Эта программа выполняется как процесс под номером %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Здравствуйте"
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr "Пример приложения"
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Чувствительность значка"
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Задаёт чувствительность значка."
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Эта программа выполняется как процесс под номером %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Пример: Здравствуйте"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Пример: Здравствуй, мир"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Эта программа выполняется как процесс под номером $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Эта программа выполняется как процесс под номером %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Эта программа выполняется как процесс под номером ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Эта программа выполняется как процесс под номером {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Эта программа выполняется как процесс под номером {pid}."
diff --git a/gettext-tools/examples/po/sk.po b/gettext-tools/examples/po/sk.po
new file mode 100644
index 0000000..379f677
--- /dev/null
+++ b/gettext-tools/examples/po/sk.po
@@ -0,0 +1,105 @@
+# Slovak translations GNU for gettext-examples package.
+# Copyright (C) 2003, 2004, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Marcel Telka <marcel@telka.sk>, 2003, 2004, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GNU gettext-examples 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-15-10 20:44+0100\n"
+"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"Language: sk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Ahoj svet!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Tento program beží ako proces s číslom %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Ahoj"
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr "Ukážková aplikácia"
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Nastaviť titulok ako citlivý"
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Či nastaviť titulok ako citlivý."
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Tento program beží ako proces s číslom %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Príklad \"Ahoj\""
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Príklad \"Ahoj svet\""
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Tento program beží ako proces s číslom $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Tento program beží ako proces s číslom %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Tento program beží ako proces s číslom ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Tento program beží ako proces s číslom {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Tento program beží ako proces s číslom {pid}."
diff --git a/gettext-tools/examples/po/sl.po b/gettext-tools/examples/po/sl.po
new file mode 100644
index 0000000..c037d26
--- /dev/null
+++ b/gettext-tools/examples/po/sl.po
@@ -0,0 +1,108 @@
+# -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU gettext-example
+# Copyright (C) 2005 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Primož Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2005, 2014.
+# $Id: gettext-examples-0.19.4-rc1.sl.po,v 1.2 2014/12/11 09:15:50 peterlin Exp $
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-12-11 10:15+0100\n"
+"Last-Translator: Primož Peterlin <primozz.peterlin@gmail.com>\n"
+"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8-bit\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n"
+"%100==4 ? 3 : 0);\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Pozdravljen, svet!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Ta program teče kot proces številka %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Zdravo"
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr "Zgled aplikacije"
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Nastavi oznako kot občutljivo"
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Ali naj nastavimo oznako kot občutljivo"
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Ta program teče kot proces številka %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Zgled Pozdravljen"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Zgled Pozdravljen svet"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Ta program teče kot proces številka $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Ta program teče kot proces številka %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Ta program teče kot proces številka ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ta program teče kot proces številka {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Ta program teče kot proces številka {pid}."
diff --git a/gettext-tools/examples/po/sr.po b/gettext-tools/examples/po/sr.po
new file mode 100644
index 0000000..9d32388
--- /dev/null
+++ b/gettext-tools/examples/po/sr.po
@@ -0,0 +1,108 @@
+# Serbian translation of gettext-examples.
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Aleksandar Jelenak <jelenak@netlinkplus.net>, 2004.
+# Мирослав Николић <miroslavnikolic@rocketmail.com>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples-0.19-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-05-12 21:25+0200\n"
+"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
+"Language-Team: Serbian <(nothing)>\n"
+"Language: sr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Virtaal 0.7.1\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Здраво свима!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Овај програм се извршава као процес број %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr "Програм примера"
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Овај програм се извршава као процес број %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "„Здраво“ пример"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "„Здраво свима“ пример"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Овај програм се извршава као процес број $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Овај програм се извршава као процес број %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Овај програм се извршава као процес број ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Овај програм се извршава као процес број {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Овај програм се извршава као процес број {pid}."
diff --git a/gettext-tools/examples/po/stamp-po b/gettext-tools/examples/po/stamp-po
new file mode 100644
index 0000000..9788f70
--- /dev/null
+++ b/gettext-tools/examples/po/stamp-po
@@ -0,0 +1 @@
+timestamp
diff --git a/gettext-tools/examples/po/sv.po b/gettext-tools/examples/po/sv.po
new file mode 100644
index 0000000..720f187
--- /dev/null
+++ b/gettext-tools/examples/po/sv.po
@@ -0,0 +1,104 @@
+# Swedish messages for gettext-examples.
+# Copyright © 2006, 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Jan Djärv <jan.h.d@swipnet.se>, 2003, 2006, 2014
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-12-23 09:18+0100\n"
+"Last-Translator: Jan Djärv <jan.h.d@swipnet.se>\n"
+"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
+"Language: sv\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Hej världen!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Detta program kör som process nummer %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Hej"
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr "Exempelprogram"
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Sätt etikett aktiv"
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Om etikett ska sättas aktiv"
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Detta program kör som process nummer %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Hälsningsexempel"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "\"Hej världen\"-exempel"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Detta program kör som process nummer $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Detta program kör som process nummer %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Detta program kör som process nummer ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Detta program kör som process nummer {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Detta program kör som process nummer {pid}."
diff --git a/gettext-tools/examples/po/tr.po b/gettext-tools/examples/po/tr.po
new file mode 100644
index 0000000..c09b43c
--- /dev/null
+++ b/gettext-tools/examples/po/tr.po
@@ -0,0 +1,105 @@
+# Turkish translations for Gnu Gettext Package.
+# Copyright (C) 2004 Free Software Foundation, Inc.
+# Nilgün Belma Bugüner <nilgun@superonline.com>, 2003,2004
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.14-pre1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2004-01-21 06:17+0300\n"
+"Last-Translator: Nilgün Belma Bugüner <nilgun@superonline.com>\n"
+"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Merhaba Dünyalı!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Bu yazılım, %d süreç kimliği ile çalışıyor."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Bu yazılım, %1 süreç kimliği ile çalışıyor."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Hello örneği"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Hello world örneği"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Bu yazılım, $pid süreç kimliği ile çalışıyor."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Bu yazılım, %(pid)d süreç kimliği ile çalışıyor."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Bu yazılım, ~D süreç kimliği ile çalışıyor."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Bu yazılım, {0} süreç kimliği ile çalışıyor."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Bu yazılım, {pid} süreç kimliği ile çalışıyor."
diff --git a/gettext-tools/examples/po/uk.po b/gettext-tools/examples/po/uk.po
new file mode 100644
index 0000000..b5234bb
--- /dev/null
+++ b/gettext-tools/examples/po/uk.po
@@ -0,0 +1,109 @@
+# Ukrainian translation to gettext-examples
+# Copyright (C) 2014 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+#
+# Maxim V. Dziumanenko <dziumanenko@gmail.com>, 2004-2007.
+# Yuri Chornoivan <yurchor@ukr.net>, 2014.
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-12-10 22:33+0200\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
+"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
+"Language: uk\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"X-Generator: Lokalize 1.5\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Привіт, світе!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Ця програма виконується як процес з номером %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Привіт"
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr "Програма-приклад"
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Зробити мітку чутливою"
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Чи слід робити мітку чутливою."
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Ця програма виконується як процес з номером %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Приклад привітання"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Приклад «Привітання»"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Ця програма виконується як процес з номером $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Ця програма виконується як процес з номером %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Ця програма виконується як процес з номером ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Ця програма виконується як процес з номером {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Ця програма виконується як процес з номером {pid}."
diff --git a/gettext-tools/examples/po/vi.po b/gettext-tools/examples/po/vi.po
new file mode 100644
index 0000000..054a324
--- /dev/null
+++ b/gettext-tools/examples/po/vi.po
@@ -0,0 +1,110 @@
+# Vietnamese Translation for Gettext Examples.
+# Bản dịch tiếng Việt dành cho các ví dụ của gói gettext.
+# Copyright © 2014 Yoyodyne, Inc. (msgids)
+# Copyright © 2014 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext package.
+# Clytie Siddall <clytie@riverland.net.au>, 2005-2010.
+# Trần Ngọc Quân <vnwildman@gmail.com>, 2012, 2013, 2014.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.19.4-rc1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2014-12-11 08:03+0700\n"
+"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
+"Language-Team: Vietnamese <translation-team-vi@lists.sourceforge.net>\n"
+"Language: vi\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"
+"X-Langugae-Team-Website: <http://translationproject.org/team/vi.html>\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "Chào thế giới!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %d."
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr "Chào"
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr "Ứng dụng mẫu"
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr "Đặt phân biệt nhãn"
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr "Có đặt phân biệt nhãn hay không."
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "Chương trình này đang chạy với mã số tiến trình %1."
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "Ví dụ “Chào”"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "Ví dụ “Chào thế giới”"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "Chương trình này đang chạy với mã số tiến trình $pid."
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "Chương trình này đang chạy với mã số tiến trình %(pid)d."
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "Chương trình này đang chạy với mã số tiến trình ~D."
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "Chương trình này đang chạy với mã số tiến trình {0}."
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "Chương trình này đang chạy với mã số tiến trình {pid}."
diff --git a/gettext-tools/examples/po/xsmallpot.sh b/gettext-tools/examples/po/xsmallpot.sh
new file mode 100755
index 0000000..d5aa26f
--- /dev/null
+++ b/gettext-tools/examples/po/xsmallpot.sh
@@ -0,0 +1,58 @@
+#!/bin/sh
+# Usage: xsmallpot.sh srcdir hello-foo [hello-foobar.pot]
+
+set -e
+
+# Nuisances.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+test $# = 2 || test $# = 3 || { echo "Usage: xsmallpot.sh srcdir hello-foo [hello-foobar.pot]" 1>&2; exit 1; }
+srcdir=$1
+directory=$2
+potfile=${3-$directory.pot}
+
+abs_srcdir=`cd "$srcdir" && pwd`
+
+cd ..
+rm -rf tmp-$directory
+cp -p -r "$abs_srcdir"/../$directory tmp-$directory
+chmod -R u+w tmp-$directory
+cd tmp-$directory
+case $directory in
+ hello-c++-kde)
+ cat > configure.ac <<EOF
+AC_INIT
+AC_CONFIG_AUX_DIR(admin)
+AM_INIT_AUTOMAKE([$directory], 0)
+AC_PROG_CXX
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION(0.15)
+AC_CONFIG_FILES([po/Makefile.in])
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([m4/Makefile])
+AC_OUTPUT
+EOF
+ aclocal -I m4
+ autopoint -f
+ autoconf
+ automake -a -c
+ ./configure
+ ;;
+ hello-objc-gnustep)
+ ./autogen.sh
+ ;;
+ *)
+ grep '^\(AC_INIT\|AC_CONFIG\|AC_PROG_\|AC_SUBST(.*OBJC\|AM_INIT\|AM_CONDITIONAL\|AM_GNU_GETTEXT\|AM_PO_SUBDIRS\|AC_OUTPUT\)' configure.ac > tmp-configure.ac
+ mv -f tmp-configure.ac configure.ac
+ ./autogen.sh
+ ./configure
+ ;;
+esac
+cd po
+make $potfile
+sed -e "/^#:/ {
+s, \\([^ ]\\), $directory/\\1,g
+}" < $potfile > ../../po/$potfile
+cd ..
+cd ..
+rm -rf tmp-$directory
diff --git a/gettext-tools/examples/po/zh_CN.po b/gettext-tools/examples/po/zh_CN.po
new file mode 100644
index 0000000..6d50541
--- /dev/null
+++ b/gettext-tools/examples/po/zh_CN.po
@@ -0,0 +1,105 @@
+# zh_CN translation for gettext-examples.
+# Copyright (C) 2003 Free Software Foundation, Inc.
+# This file is distributed under the same license as the gettext-examples package.
+# Funda Wang <fundawang@linux.net.cn>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.13.1\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2003-12-18 19:07+0800\n"
+"Last-Translator: Funda Wang <fundawang@linux.net.cn>\n"
+"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
+"Language: zh_CN\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "世界你好!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "此程序正以进程号 %d 运行。"
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "此程序正以进程号 %1 运行。"
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "世界你好示例"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "世界你好示例"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "此程序正以进程号 $pid 运行。"
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "此程序正以进程号 %(pid)d 运行。"
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "此程序正以进程号 ~D 运行。"
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "此程序正以进程号 {0} 运行。"
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "此程序正以进程号 {pid} 运行。"
diff --git a/gettext-tools/examples/po/zh_HK.po b/gettext-tools/examples/po/zh_HK.po
new file mode 100644
index 0000000..2286912
--- /dev/null
+++ b/gettext-tools/examples/po/zh_HK.po
@@ -0,0 +1,104 @@
+# Chinese (Hong Kong) translation of gettext-examples.
+# Copyright (C) 2006 Yoyodyne, Inc.
+# Abel Cheung <abelcheung@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.15-pre5\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2006-07-05 15:40+0800\n"
+"Last-Translator: Abel Cheung <abelcheung@gmail.com>\n"
+"Language-Team: Chinese (Hong Kong) <community@linuxhall.org>\n"
+"Language: zh_HK\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "你好!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行中,進程編號為 %d。"
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "本程式正在執行中,進程編號為 %1。"
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "測試範例"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "訊息測試範例"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "本程式正在執行中,進程編號為 $pid。"
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "本程式正在執行中,進程編號為 %(pid)d。"
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "本程式正在執行中,進程編號為 ~D。"
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "本程式正在執行中,進程編號為 {0}。"
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "本程式正在執行中,進程編號為 {pid}。"
diff --git a/gettext-tools/examples/po/zh_TW.po b/gettext-tools/examples/po/zh_TW.po
new file mode 100644
index 0000000..7642e59
--- /dev/null
+++ b/gettext-tools/examples/po/zh_TW.po
@@ -0,0 +1,106 @@
+# Traditional Chinese translation of gettext-examples.
+# Copyright (C) 2009 Yoyodyne, Inc. (msgids)
+# This file is distributed under the same license as the gettext package.
+# Abel Cheung <abelcheung@gmail.com>, 2005.
+# Wei-Lun Chao <bluebat@member.fsf.org>, 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gettext-examples 0.18\n"
+"Report-Msgid-Bugs-To: bug-gnu-gettext@gnu.org\n"
+"POT-Creation-Date: 2014-12-24 16:29+0900\n"
+"PO-Revision-Date: 2013-09-03 13:00+0800\n"
+"Last-Translator: Wei-Lun Chao <bluebat@member.fsf.org>\n"
+"Language-Team: Chinese (traditional) <zh-l10n@linux.org.tw>\n"
+"Language: zh_TW\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: hello-c/hello.c:30 hello-c-gnome/hello.c:46
+#: hello-c-gnome3/hello.desktop.in.in:5 hello-c-gnome3/hello.ui:22
+#: hello-c++/hello.cc:39 hello-c++-qt/hello.cc:45
+#: hello-c++-kde/hellowindow.cc:42 hello-c++-gnome/hello.cc:50
+#: hello-c++-wxwidgets/hello.cc:68 hello-objc/hello.m:30
+#: hello-objc-gnustep/Hello.m:49 hello-objc-gnome/hello.m:47
+#: hello-sh/hello.sh:14 hello-python/hello.py.in:12
+#: hello-clisp/hello.lisp.in:11 hello-librep/hello.jl.in:12
+#: hello-guile/hello.scm:15 hello-smalltalk/hello.st.in:31
+#: hello-java/Hello.java:14 hello-java-awt/Hello.java:23
+#: hello-java-swing/Hello.java:20 hello-java-qtjambi/Hello.java:27
+#: hello-csharp/hello.cs:14 hello-csharp-forms/hello.cs:29
+#: hello-gawk/hello.awk:11 hello-pascal/hello.hello_world
+#: hello-ycp/hello.ycp:15 hello-tcl/hello.tcl:11 hello-tcl-tk/hello.tcl:13
+#: hello-perl/hello-1.pl.in:17 hello-perl/hello-2.pl.in:12
+#: hello-php/hello.php:12
+msgid "Hello, world!"
+msgstr "哈囉,大家好!"
+
+#: hello-c/hello.c:31 hello-c-gnome/hello.c:51 hello-c-gnome3/hello.c:70
+#: hello-c++/hello.cc:40 hello-c++-gnome/hello.cc:55
+#: hello-c++-wxwidgets/hello.cc:71 hello-objc/hello.m:31
+#: hello-objc-gnustep/Hello.m:58 hello-objc-gnome/hello.m:52
+#: hello-librep/hello.jl.in:14 hello-gawk/hello.awk:12
+#: hello-pascal/hello.running_as hello-tcl/hello.tcl:12
+#: hello-tcl-tk/hello.tcl:16 hello-perl/hello-1.pl.in:19
+#: hello-php/hello.php:14
+#, php-format
+msgid "This program is running as process number %d."
+msgstr "本程式正在執行,行程編號為 %d。"
+
+#: hello-c-gnome3/hello.desktop.in.in:4
+msgid "Hello"
+msgstr ""
+
+#: hello-c-gnome3/hello.ui:5
+msgid "Example Application"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:7
+msgid "Set label sensitive"
+msgstr ""
+
+#: hello-c-gnome3/hello.gschema.xml:8
+msgid "Whether to set the label sensitive."
+msgstr ""
+
+#: hello-c++-qt/hello.cc:52 hello-c++-kde/hellowindow.cc:49
+#: hello-smalltalk/hello.st.in:32 hello-ycp/hello.ycp:19
+#, ycp-format
+msgid "This program is running as process number %1."
+msgstr "本程式正在執行,行程編號為 %1。"
+
+#: hello-c++-kde/hello.cc:46
+msgid "Hello example"
+msgstr "測試範例"
+
+#: hello-c++-kde/hello.cc:48
+msgid "Hello world example"
+msgstr "訊息測試範例"
+
+#: hello-sh/hello.sh:17
+#, sh-format
+msgid "This program is running as process number $pid."
+msgstr "本程式正在執行,行程編號為 $pid。"
+
+#: hello-python/hello.py.in:13
+#, python-format
+msgid "This program is running as process number %(pid)d."
+msgstr "本程式正在執行,行程編號為 %(pid)d。"
+
+#: hello-clisp/hello.lisp.in:13 hello-guile/hello.scm:17
+#, scheme-format
+msgid "This program is running as process number ~D."
+msgstr "本程式正在執行,行程編號為 ~D。"
+
+#: hello-java/Hello.java:18 hello-java-awt/Hello.java:28
+#: hello-java-swing/Hello.java:25 hello-java-qtjambi/Hello.java:34
+#: hello-csharp/hello.cs:17 hello-csharp-forms/hello.cs:36
+#, csharp-format
+msgid "This program is running as process number {0}."
+msgstr "本程式正在執行,行程編號為 {0}。"
+
+#: hello-perl/hello-2.pl.in:14
+#, perl-brace-format
+msgid "This program is running as process number {pid}."
+msgstr "本程式正在執行,行程編號為 {pid}。"