[PATCH] [GNUPG HEAD 2-0] Add missing i18n

Ineiev <[email protected]> Sun, 6 Mar 2016 03:33:26 -0500
Newsgroups gmane.comp.encryption.gpg.internationalization
Message-ID <[email protected]>
--===============0395363285==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="PuGuTyElPB9bOcsM"
Content-Disposition: inline


--PuGuTyElPB9bOcsM
Content-Type: multipart/mixed; boundary="3uo+9/B/ebqu+fSQ"
Content-Disposition: inline


--3uo+9/B/ebqu+fSQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello,

When translating the documentation, I noticed that one
message in sm/certreqgen-ui.c isn't marked for i18n
(unlike other messages in that conversation).

I attach patches for HEAD and 2-0 (in the latter,
I also picked the message from HEAD and synchronized
the respective piece of documentation with the code).

Thank you!

--3uo+9/B/ebqu+fSQ
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="2.0-Add-missing-i18n.patch"
Content-Transfer-Encoding: quoted-printable

=46rom 42b2ae863890247b3c84e7b53b16022fca46ac39 Mon Sep 17 00:00:00 2001
=46rom: Ineiev <[email protected]>
Date: Fri, 4 Mar 2016 14:31:28 +0000
Subject: [PATCH] gpgsm: Add missing i18n.

* sm/certreqgen-ui.c: Add missing i18n.
* doc/howto-create-a-server-cert.texi: Sync documentation with code.
---
 doc/howto-create-a-server-cert.texi | 6 +-----
 sm/certreqgen-ui.c                  | 2 +-
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/doc/howto-create-a-server-cert.texi b/doc/howto-create-a-serve=
r-cert.texi
index ce6dd2f..bf4a704 100644
--- a/doc/howto-create-a-server-cert.texi
+++ b/doc/howto-create-a-server-cert.texi
@@ -126,11 +126,7 @@ request:
        5	Name-DNS: www.g10code.com
        6	Name-DNS: ftp.g10code.com
  =20
-  Really create such a CSR?
-   [1] yes
-   [2] no
-  Your selection: 1
-  You selected: yes
+  Proceed with creation? (y/N) y
 @end example
 @end cartouche
=20
diff --git a/sm/certreqgen-ui.c b/sm/certreqgen-ui.c
index 3e98b66..625f73c 100644
--- a/sm/certreqgen-ui.c
+++ b/sm/certreqgen-ui.c
@@ -374,7 +374,7 @@ gpgsm_gencertreq_tty (ctrl_t ctrl, FILE *output_fp)
   tty_printf ("\n");
=20
=20
-  if (!tty_get_answer_is_yes ("Really create request? (y/N) "))
+  if (!tty_get_answer_is_yes (_("Proceed with creation? (y/N) ")))
      goto leave;
=20
   /* Now create a parameter file and generate the key.  */
--=20
1.9.1


--3uo+9/B/ebqu+fSQ
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="2.1-Add-missing-i18n.patch"
Content-Transfer-Encoding: quoted-printable

=46rom 1e96675bcfa61af3daa3df0d59afa388682dccd3 Mon Sep 17 00:00:00 2001
=46rom: Ineiev <[email protected]>
Date: Fri, 4 Mar 2016 14:31:28 +0000
Subject: [PATCH] Add missing i18n.

gpgsm: Add missing i18n.

* sm/certreqgen-ui.c: Add missing i18n.

---
 sm/certreqgen-ui.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sm/certreqgen-ui.c b/sm/certreqgen-ui.c
index 3ccd048..0d4012f 100644
--- a/sm/certreqgen-ui.c
+++ b/sm/certreqgen-ui.c
@@ -384,7 +384,7 @@ gpgsm_gencertreq_tty (ctrl_t ctrl, estream_t output_str=
eam)
     tty_printf ("    %.*s\n", (int)(s2-s), s);
   tty_printf ("\n");
=20
-  if (!tty_get_answer_is_yes ("Proceed with creation? (y/N) "))
+  if (!tty_get_answer_is_yes (_("Proceed with creation? (y/N) ")))
     goto leave;
=20
   /* Now create a parameter file and generate the key.  */
--=20
1.9.1


--3uo+9/B/ebqu+fSQ--

--PuGuTyElPB9bOcsM
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJW2+tVAAoJEOCs0+DL54dK3aQH/0sxjjs6e9ty+PeBSLCUPQo7
T8ReeNvxcCrixGIISYH078VSMrR2ejmVt9qO1Ik4CroY/VDbE4l5d7j83mD8PXhL
JuYYT+P74aOgRcw9uSj75/B4lupMMOXeR6GabRh8OlalqsFQV+QTsBbZbJ1x74CR
QKNQafKlGpdRHe6Bse6zkgqM1AdMesvk6KBf/llC2Z9KSVJ/HyFmEJuwK2UXPqGo
5RuIBjEonWF7/RXKpEzAU1KuOIkSsQ/Nx5otSX3WPiZBzIo/jUBTnkm/YorlggPL
57uUCcTFmGjUN2qKj2P4woFi8MEdLMXK4TVv+/o76iYQExceCFo2Fn+2mNslCpA=
=ZkPE
-----END PGP SIGNATURE-----

--PuGuTyElPB9bOcsM--


--===============0395363285==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Gnupg-i18n mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-i18n

--===============0395363285==--