diff options
| author | Roland McGrath <[email protected]> | 2010-04-14 14:44:53 -0700 |
|---|---|---|
| committer | Roland McGrath <[email protected]> | 2010-04-14 14:44:53 -0700 |
| commit | 6823414c51fce039e6652b50e7fa65e3faee8ff4 (patch) | |
| tree | 781a124caa1277018716ecf7bda2d0006d9e4981 /po | |
| parent | 26618d8ba30ce71d1ac4a11f02cb13dd7ccd330f (diff) | |
Update gettext boilerplate from 0.17. Add LINGUAS file so translations get installed.
Diffstat (limited to 'po')
| -rw-r--r-- | po/ChangeLog | 7 | ||||
| -rw-r--r-- | po/LINGUAS | 5 | ||||
| -rw-r--r-- | po/Makefile.in.in | 42 | ||||
| -rw-r--r-- | po/POTFILES.in | 25 |
4 files changed, 59 insertions, 20 deletions
diff --git a/po/ChangeLog b/po/ChangeLog index 1e103201..3f469b49 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -1,3 +1,10 @@ +2010-04-14 Roland McGrath <[email protected]> + + * POTFILES.in: Add libdwfl/libdwflP.h. + + * LINGUAS: New file. + * Makefile.in.in: Upgrade to gettext-0.17. + 2009-01-23 Ulrich Drepper <[email protected]> * Makevars (XGETTEXT_OPTIONS): Add --flag option for argp_error. diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 00000000..08cce0a6 --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1,5 @@ +# List of translations, i.e. .po files supplied by translators. +de es fr it ja nl pl ru uk zh_CN + +# These are automagically created, not real translations. +en@quot en@boldquot diff --git a/po/Makefile.in.in b/po/Makefile.in.in index 5022b8b1..fecf500f 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-2006 by Ulrich Drepper <[email protected]> +# Copyright (C) 1995-1997, 2000-2007 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 @@ -8,7 +8,8 @@ # 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.16 +# Origin: gettext-0.17 +GETTEXT_MACRO_VERSION = 0.17 PACKAGE = @PACKAGE@ VERSION = @VERSION@ @@ -95,11 +96,18 @@ CATALOGS = @CATALOGS@ mv t-$@ $@ -all: all-@USE_NLS@ +all: check-macro-version all-@USE_NLS@ all-yes: stamp-po all-no: +# Ensure that the gettext macros and this Makefile.in.in are in sync. +check-macro-version: + @test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \ + || { echo "*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_VERSION) but the autoconf macros are from gettext version @GETTEXT_MACRO_VERSION@" 1>&2; \ + exit 1; \ + } + # $(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 @@ -130,16 +138,34 @@ stamp-po: $(srcdir)/$(DOMAIN).pot # 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) $(srcdir)/POTFILES.in 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)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ else \ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ fi; \ - $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ - --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \ - --files-from=$(srcdir)/POTFILES.in \ - --copyright-holder='$(COPYRIGHT_HOLDER)' \ - --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) @XGETTEXT_EXTRA_OPTIONS@ \ + --files-from=$(srcdir)/POTFILES.in \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + ;; \ + *) \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + --files-from=$(srcdir)/POTFILES.in \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --package-name="$${package_gnu}@PACKAGE@" \ + --package-version='@VERSION@' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + ;; \ + esac test ! -f $(DOMAIN).po || { \ if test -f $(srcdir)/$(DOMAIN).pot; then \ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ diff --git a/po/POTFILES.in b/po/POTFILES.in index 5ac4cdea..2058928d 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,5 +1,5 @@ # List of files which containing translatable strings. -# Copyright (C) 2000, 2005, 2009 Red Hat, Inc. +# Copyright (C) 2000-2010 Red Hat, Inc. # Files from the compatibility library lib/xmalloc.c @@ -7,10 +7,10 @@ lib/xmalloc.c lib/xstrndup.c # Library sources -libelf/elf_error.c libasm/asm_error.c libdw/dwarf_error.c libdwfl/argp-std.c +libdwfl/libdwflP.h libebl/eblbackendname.c libebl/eblcorenotetypename.c libebl/ebldynamictagname.c @@ -23,23 +23,24 @@ libebl/eblsectiontypename.c libebl/eblsegmenttypename.c libebl/eblsymbolbindingname.c libebl/eblsymboltypename.c +libelf/elf_error.c # Program sources +src/addr2line.c src/ar.c src/arlib.c -src/nm.c -src/readelf.c -src/size.c -src/strip.c +src/elfcmp.c +src/elflint.c +src/findtextrel.c +src/i386_ld.c src/ld.c src/ldgeneric.c -src/i386_ld.c src/ldscript.y -src/elflint.c -src/addr2line.c -src/findtextrel.c -src/elfcmp.c +src/nm.c +src/objdump.c src/ranlib.c +src/readelf.c +src/size.c src/strings.c +src/strip.c src/unstrip.c -src/objdump.c |
