From aa2dcca810b395c58c0cbd17d6af8fb29353acd7 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 16 Sep 2010 14:40:28 +0000 Subject: Update pl.po. Updated to gettext 0.1.17 Add a new error code. --- src/Makefile.am | 9 +++++++-- src/err-codes.h.in | 3 ++- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 2295758..518a4c0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -111,7 +111,12 @@ gpg_error_SOURCES = strsource-sym.c strerror-sym.c gpg-error.c gpg_error_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" $(extra_cppflags) gpg_error_LDADD = ./libgpg-error.la @LTLIBINTL@ -err-sources.h: Makefile mkstrtable.awk err-sources.h.in +# We build err-sources.h and err-codes.h in the source directory. +# This is needed because gettext does only look into the source +# directory to find the files listed in po/POTFILE.in. To make these +# rules work we also need to depend on Makefile.am and not on the +# generated files Makefile.in or Makefile. +$(srcdir)/err-sources.h: Makefile.am mkstrtable.awk err-sources.h.in $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=3 \ $(srcdir)/err-sources.h.in >$@ @@ -119,7 +124,7 @@ err-sources-sym.h: Makefile mkstrtable.awk err-sources.h.in $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=2 -v nogettext=1 \ $(srcdir)/err-sources.h.in >$@ -err-codes.h: Makefile mkstrtable.awk err-codes.h.in +$(srcdir)/err-codes.h: Makefile.am mkstrtable.awk err-codes.h.in $(AWK) -f $(srcdir)/mkstrtable.awk -v textidx=3 \ $(srcdir)/err-codes.h.in >$@ diff --git a/src/err-codes.h.in b/src/err-codes.h.in index bc1aed8..092880c 100644 --- a/src/err-codes.h.in +++ b/src/err-codes.h.in @@ -214,7 +214,8 @@ 182 GPG_ERR_TOO_MANY Too many objects 183 GPG_ERR_LIMIT_REACHED Limit reached 184 GPG_ERR_NOT_INITIALIZED Not initialized -# 185 to 198 are free to be used. +185 GPG_ERR_MISSING_ISSUER_CERT Missing issuer certificate +# 186 to 198 are free to be used. 199 GPG_ERR_UNFINISHED Operation not yet finished 200 GPG_ERR_BUFFER_TOO_SHORT Buffer too short -- cgit v1.2.3