[svn] GnuPG - r4761 - in trunk: doc jnlib po sm tools

svn author wk cvs at cvs.gnupg.org
Fri May 9 11:54:54 CEST 2008


Author: wk
Date: 2008-05-09 11:54:35 +0200 (Fri, 09 May 2008)
New Revision: 4761

Modified:
   trunk/doc/DETAILS
   trunk/doc/gpg.texi
   trunk/jnlib/w32-gettext.c
   trunk/po/ChangeLog
   trunk/po/be.po
   trunk/po/ca.po
   trunk/po/cs.po
   trunk/po/da.po
   trunk/po/de.po
   trunk/po/el.po
   trunk/po/eo.po
   trunk/po/es.po
   trunk/po/et.po
   trunk/po/fi.po
   trunk/po/fr.po
   trunk/po/gl.po
   trunk/po/hu.po
   trunk/po/id.po
   trunk/po/it.po
   trunk/po/ja.po
   trunk/po/nb.po
   trunk/po/pl.po
   trunk/po/pt.po
   trunk/po/pt_BR.po
   trunk/po/ro.po
   trunk/po/ru.po
   trunk/po/sk.po
   trunk/po/sv.po
   trunk/po/tr.po
   trunk/po/zh_CN.po
   trunk/po/zh_TW.po
   trunk/sm/gpgsm.c
   trunk/tools/ChangeLog
   trunk/tools/gpgconf-comp.c
Log:
Updated German translation.
Fix in gpgconf for W32.


Modified: trunk/po/ChangeLog
===================================================================
--- trunk/po/ChangeLog	2008-05-08 10:10:27 UTC (rev 4760)
+++ trunk/po/ChangeLog	2008-05-09 09:54:35 UTC (rev 4761)
@@ -1,3 +1,7 @@
+2008-05-09  Werner Koch  <wk at g10code.com>
+
+	* de.po: Update.
+
 2008-05-01  Werner Koch  <wk at g10code.com>
 
 	* de.po: Typo fix.

Modified: trunk/tools/ChangeLog
===================================================================
--- trunk/tools/ChangeLog	2008-05-08 10:10:27 UTC (rev 4760)
+++ trunk/tools/ChangeLog	2008-05-09 09:54:35 UTC (rev 4761)
@@ -1,3 +1,8 @@
+2008-05-09  Werner Koch  <wk at g10code.com>
+
+	* gpgconf-comp.c (my_dgettext) [USE_SIMPLE_GETTEXT]:  Hack to
+	parly support translations.
+
 2008-04-08  Werner Koch  <wk at g10code.com>
 
 	* gpgconf-comp.c (gc_options_gpg): Add --auto-key-locate.

Modified: trunk/doc/DETAILS
===================================================================
--- trunk/doc/DETAILS	2008-05-08 10:10:27 UTC (rev 4760)
+++ trunk/doc/DETAILS	2008-05-09 09:54:35 UTC (rev 4761)
@@ -70,7 +70,7 @@
  5. Field:  KeyID
 
  6. Field:  Creation Date (in UTC).  For UID and UAT records, this is the
-            self-signature date.  Note that the dae is usally printed
+            self-signature date.  Note that the date is usally printed
             in seconds since epoch, however, we are migrating to an ISO
             8601 format (e.g. "19660205T091500").  This is currently
             only relevant for X.509, A simple way to detect the format

Modified: trunk/doc/gpg.texi
===================================================================
--- trunk/doc/gpg.texi	2008-05-08 10:10:27 UTC (rev 4760)
+++ trunk/doc/gpg.texi	2008-05-09 09:54:35 UTC (rev 4761)
@@ -311,7 +311,9 @@
 
 @item --check-sigs
 @opindex check-sigs
-Same as @option{--list-sigs}, but the signatures are verified.
+Same as @option{--list-sigs}, but the signatures are verified.  Note
+that for performance reasons the revocation status of a signing key is
+not shown.
 @ifclear gpgone
 This command has the same effect as 
 using @option{--list-keys} with @option{--with-sig-check}.

Modified: trunk/jnlib/w32-gettext.c
===================================================================
--- trunk/jnlib/w32-gettext.c	2008-05-08 10:10:27 UTC (rev 4760)
+++ trunk/jnlib/w32-gettext.c	2008-05-09 09:54:35 UTC (rev 4761)
@@ -1333,6 +1333,11 @@
 {
   struct loaded_domain *domain = NULL;
 
+  /* FIXME: To support dgettext we need to make struct loaded_doman a
+     linked list and search that list for loaded domains before adding
+     a new one.  If it is loaded just switch the current doman but do
+     not free anything.  */
+
   if ( filename && *filename )
     {
       if ( filename[0] == '/'

Modified: trunk/po/be.po  [not shown]
Modified: trunk/po/ca.po  [not shown]
Modified: trunk/po/cs.po  [not shown]
Modified: trunk/po/da.po  [not shown]
Modified: trunk/po/de.po  [not shown]
Modified: trunk/po/el.po  [not shown]
Modified: trunk/po/eo.po  [not shown]
Modified: trunk/po/es.po  [not shown]
Modified: trunk/po/et.po  [not shown]
Modified: trunk/po/fi.po  [not shown]
Modified: trunk/po/fr.po  [not shown]
Modified: trunk/po/gl.po  [not shown]
Modified: trunk/po/hu.po  [not shown]
Modified: trunk/po/id.po  [not shown]
Modified: trunk/po/it.po  [not shown]
Modified: trunk/po/ja.po  [not shown]
Modified: trunk/po/nb.po  [not shown]
Modified: trunk/po/pl.po  [not shown]
Modified: trunk/po/pt.po  [not shown]
Modified: trunk/po/pt_BR.po  [not shown]
Modified: trunk/po/ro.po  [not shown]
Modified: trunk/po/ru.po  [not shown]
Modified: trunk/po/sk.po  [not shown]
Modified: trunk/po/sv.po  [not shown]
Modified: trunk/po/tr.po  [not shown]
Modified: trunk/po/zh_CN.po  [not shown]
Modified: trunk/po/zh_TW.po  [not shown]
Modified: trunk/sm/gpgsm.c
===================================================================
--- trunk/sm/gpgsm.c	2008-05-08 10:10:27 UTC (rev 4760)
+++ trunk/sm/gpgsm.c	2008-05-09 09:54:35 UTC (rev 4761)
@@ -1869,7 +1869,7 @@
 
 
     default:
-        log_error ("invalid command (there is no implicit command)\n");
+        log_error (_("invalid command (there is no implicit command)\n"));
 	break;
     }
 

Modified: trunk/tools/gpgconf-comp.c
===================================================================
--- trunk/tools/gpgconf-comp.c	2008-05-08 10:10:27 UTC (rev 4760)
+++ trunk/tools/gpgconf-comp.c	2008-05-09 09:54:35 UTC (rev 4761)
@@ -1027,7 +1027,7 @@
 static const char *
 my_dgettext (const char *domain, const char *msgid)
 {
-#ifdef ENABLE_NLS
+#ifdef USE_SIMPLE_GETTEXT
   if (domain)
     {
       static int switched_codeset;
@@ -1036,6 +1036,26 @@
       if (!switched_codeset)
         {
           switched_codeset = 1;
+          gettext_select_utf8 (1);
+        }
+
+      if (!strcmp (domain, "gnupg"))
+        domain = PACKAGE_GT;
+
+      /* FIXME: we have no dgettext, thus we can't switch.  */
+
+      text = gettext (msgid);
+      return text ? text : msgid;
+    }
+#elif defined(ENABLE_NLS)
+  if (domain)
+    {
+      static int switched_codeset;
+      char *text;
+      
+      if (!switched_codeset)
+        {
+          switched_codeset = 1;
           bind_textdomain_codeset (PACKAGE_GT, "utf-8");
 
           bindtextdomain ("dirmngr", LOCALEDIR);




More information about the Gnupg-commits mailing list