From: Bruno Haible Date: Mon, 27 Mar 2006 11:57:29 +0000 (+0000) Subject: New example hello-c++-wxwidgets. X-Git-Tag: v0.15~277 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69d5644229a2a76e3e8ed7fed4165f6e8eb25093;p=thirdparty%2Fgettext.git New example hello-c++-wxwidgets. --- diff --git a/NEWS b/NEWS index 5a2530a15..12f276099 100644 --- a/NEWS +++ b/NEWS @@ -57,6 +57,10 @@ Binary compatibility is guaranteed, however. * Portability to mingw. + +* Documentation: + A complete example showing the use of GNU gettext with the wxWidgets GUI + toolkit has been added. Version 0.14.5 - May 2005 diff --git a/gettext-tools/doc/ChangeLog b/gettext-tools/doc/ChangeLog index e96f8f6b0..6e79abcf4 100644 --- a/gettext-tools/doc/ChangeLog +++ b/gettext-tools/doc/ChangeLog @@ -1,3 +1,7 @@ +2006-03-25 Bruno Haible + + * gettext.texi (C): Also mention the hello-c++-wxwidgets example. + 2006-03-19 Bruno Haible * xgettext.texi (--keyword): Document the extracted comments syntax. diff --git a/gettext-tools/doc/gettext.texi b/gettext-tools/doc/gettext.texi index 119072736..23a06464e 100644 --- a/gettext-tools/doc/gettext.texi +++ b/gettext-tools/doc/gettext.texi @@ -8010,8 +8010,8 @@ yes The following examples are available in the @file{examples} directory: @code{hello-c}, @code{hello-c-gnome}, @code{hello-c++}, @code{hello-c++-qt}, -@code{hello-c++-kde}, @code{hello-c++-gnome}, @code{hello-objc}, -@code{hello-objc-gnustep}, @code{hello-objc-gnome}. +@code{hello-c++-kde}, @code{hello-c++-gnome}, @code{hello-c++-wxwidgets}, +@code{hello-objc}, @code{hello-objc-gnustep}, @code{hello-objc-gnome}. @node sh, bash, C, List of Programming Languages @subsection sh - Shell Script diff --git a/gettext-tools/examples/ChangeLog b/gettext-tools/examples/ChangeLog index 5409e4a58..8da446065 100644 --- a/gettext-tools/examples/ChangeLog +++ b/gettext-tools/examples/ChangeLog @@ -1,3 +1,15 @@ +2006-03-25 Bruno Haible + + 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 * hello-c/po/Makevars (USE_MSGCTXT): New macro. diff --git a/gettext-tools/examples/Makefile.am b/gettext-tools/examples/Makefile.am index 78c97f622..64a5ab505 100644 --- a/gettext-tools/examples/Makefile.am +++ b/gettext-tools/examples/Makefile.am @@ -1,5 +1,5 @@ ## Makefile for the gettext-tools/examples subdirectory of GNU gettext -## Copyright (C) 2001-2005 Free Software Foundation, Inc. +## Copyright (C) 2001-2006 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 @@ -256,6 +256,38 @@ EXAMPLESFILES = \ hello-c++-gnome/po/zh_CN.po \ hello-c++-gnome/po/zh_TW.po \ \ + 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-c++-wxwidgets/po/LINGUAS \ + hello-c++-wxwidgets/po/af.po \ + hello-c++-wxwidgets/po/ca.po \ + hello-c++-wxwidgets/po/de.po \ + hello-c++-wxwidgets/po/el.po \ + hello-c++-wxwidgets/po/es.po \ + hello-c++-wxwidgets/po/fr.po \ + hello-c++-wxwidgets/po/ga.po \ + hello-c++-wxwidgets/po/it.po \ + hello-c++-wxwidgets/po/ja.po \ + hello-c++-wxwidgets/po/nl.po \ + hello-c++-wxwidgets/po/pl.po \ + hello-c++-wxwidgets/po/ro.po \ + hello-c++-wxwidgets/po/ru.po \ + hello-c++-wxwidgets/po/sk.po \ + hello-c++-wxwidgets/po/sr.po \ + hello-c++-wxwidgets/po/sv.po \ + hello-c++-wxwidgets/po/tr.po \ + hello-c++-wxwidgets/po/uk.po \ + hello-c++-wxwidgets/po/vi.po \ + hello-c++-wxwidgets/po/zh_CN.po \ + hello-c++-wxwidgets/po/zh_TW.po \ + \ hello-objc/INSTALL \ hello-objc/autogen.sh \ hello-objc/autoclean.sh \ diff --git a/gettext-tools/examples/README b/gettext-tools/examples/README index 2095e8e13..9945d7940 100644 --- a/gettext-tools/examples/README +++ b/gettext-tools/examples/README @@ -11,6 +11,7 @@ environment. hello-c++-qt C++ Qt hello-c++-kde C++ KDE hello-c++-gnome C++ GNOME + hello-c++-wxwidgets C++ wxWidgets hello-objc ObjectiveC hello-objc-gnustep ObjectiveC GNUstep hello-objc-gnome ObjectiveC GNOME diff --git a/gettext-tools/examples/po/Makefile.am b/gettext-tools/examples/po/Makefile.am index d8822e427..b305ad1f0 100644 --- a/gettext-tools/examples/po/Makefile.am +++ b/gettext-tools/examples/po/Makefile.am @@ -1,5 +1,5 @@ ## Makefile for the gettext-tools/examples/po subdirectory of GNU gettext -## Copyright (C) 1995-1998, 2000-2005 Free Software Foundation, Inc. +## Copyright (C) 1995-1998, 2000-2006 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 @@ -29,6 +29,7 @@ POTFILES = \ examples/hello-c++-kde/hellowindow.h \ examples/hello-c++-kde/hellowindow.cc \ examples/hello-c++-gnome/hello.cc \ + examples/hello-c++-wxwidgets/hello.cc \ examples/hello-objc/hello.m \ examples/hello-objc-gnustep/main.m \ examples/hello-objc-gnustep/AppController.h \ @@ -64,6 +65,7 @@ SMALLPOTS = \ 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 \ @@ -221,6 +223,9 @@ hello-c++-kde.pot : $(POTFILES_DEPS) 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 @@ -369,6 +374,7 @@ SMALLPOFILES_FOR_lang = \ ../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 \ @@ -409,6 +415,9 @@ SMALLPOFILES_FOR_lang = \ ../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)