diff options
Diffstat (limited to 'po')
-rw-r--r-- | po/ChangeLog | 10 | ||||
-rw-r--r-- | po/LINGUAS | 31 | ||||
-rw-r--r-- | po/Makefile.in.in | 25 | ||||
-rw-r--r-- | po/Rules-quot | 5 |
4 files changed, 49 insertions, 22 deletions
diff --git a/po/ChangeLog b/po/ChangeLog index 62d59ca5a..33459619d 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -1,3 +1,13 @@ +2004-07-27 Werner Koch <[email protected]> + + * LINGUAS: Added all languages we supported in 1.2.5. + Copied all po files from 1.2.5. + +2004-07-27 gettextize <[email protected]> + + * Makefile.in.in: Upgrade to gettext-0.14.1. + * Rules-quot: Upgrade to gettext-0.14.1. + 2003-11-27 Werner Koch <[email protected]> * de.po: Updated some fuzzys. diff --git a/po/LINGUAS b/po/LINGUAS index b418cf26d..220654604 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -1,18 +1,17 @@ # Set of available languages. -# we have disabled most of them for now. en@quot en@boldquot -#ca cs -#da -de -#eo el es et -#fi fr -#gl -#hu -#id it -#ja -#nl -#pl -#pt_BR pt -#sk sv -#tr -#zh_TW" +be +ca cs +da de +eo el es et +fi fr +gl +hu +id it +ja +nl +pl pt_BR pt +ro ru +sk sv +tr +zh_TW zh_CN diff --git a/po/Makefile.in.in b/po/Makefile.in.in index 27b721aa8..53efc5e16 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -1,5 +1,5 @@ # Makefile for PO directory in any package using GNU gettext. -# Copyright (C) 1995-1997, 2000-2003 by Ulrich Drepper <[email protected]> +# Copyright (C) 1995-1997, 2000-2004 by Ulrich Drepper <[email protected]> # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU General Public @@ -7,6 +7,8 @@ # functionality. # Please note that the actual code of GNU gettext is covered by the GNU # General Public License and is *not* in the public domain. +# +# Origin: gettext-0.14 PACKAGE = @PACKAGE@ VERSION = @VERSION@ @@ -55,7 +57,7 @@ CATALOGS = @CATALOGS@ # Makevars gets inserted here. (Don't remove this line!) .SUFFIXES: -.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-update +.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update .po.mo: @echo "$(MSGFMT) -c -o $@ $<"; \ @@ -86,7 +88,7 @@ all-no: # $(POFILES) has been designed to not touch files that don't need to be # changed. stamp-po: $(srcdir)/$(DOMAIN).pot - test -z "$(CATALOGS)" || $(MAKE) $(CATALOGS) + test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) @echo "touch stamp-po" @echo timestamp > stamp-poT @mv stamp-poT stamp-po @@ -128,9 +130,13 @@ $(srcdir)/$(DOMAIN).pot: # 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) $${lang}.po $(DOMAIN).pot"; \ - cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot + if test -f "$(srcdir)/$${lang}.po"; then \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \ + cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \ + else \ + $(MAKE) $${lang}.po-create; \ + fi install: install-exec install-data @@ -310,6 +316,13 @@ update-po: Makefile 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: diff --git a/po/Rules-quot b/po/Rules-quot index 5f46d237d..9c2a995e3 100644 --- a/po/Rules-quot +++ b/po/Rules-quot @@ -4,6 +4,11 @@ DISTFILES.common.extra1 = quot.sed boldquot.sed [email protected] [email protected] .SUFFIXES: .insert-header .po-update-en + $(MAKE) [email protected] + $(MAKE) [email protected] + |