diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2014-12-24 07:38:37 +0000 |
---|---|---|
committer | <> | 2015-02-02 12:02:29 +0000 |
commit | 482840e61f86ca321838a91e902c41d40c098bbb (patch) | |
tree | 01ea2e242fd2792d19fe192476601587901db794 /gettext-tools/examples/hello-c++-qt | |
download | gettext-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/hello-c++-qt')
51 files changed, 2046 insertions, 0 deletions
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。" |