[git] gnupg-doc - branch, preview, updated. 7c06e789c849938f69e608a99d69f12c74ed0e77

by Werner Koch cvs at cvs.gnupg.org
Sun May 14 12:50:40 CEST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GnuPG website and other docs".

The branch, preview has been updated
       via  7c06e789c849938f69e608a99d69f12c74ed0e77 (commit)
      from  a6cf454d78ace3497f0b3ca1bc774d1f1ba5e736 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7c06e789c849938f69e608a99d69f12c74ed0e77
Author: Werner Koch <wk at gnupg.org>
Date:   Sun May 14 12:47:13 2017 +0200

    cgi: New variable LANG
    
    This allows to keep a language mode even when one of the pages is not
    translated.

diff --git a/cgi/procdonate.cgi b/cgi/procdonate.cgi
index 8e272b7..62dfd7b 100755
--- a/cgi/procdonate.cgi
+++ b/cgi/procdonate.cgi
@@ -326,6 +326,7 @@ sub write_template ($) {
         || s/<!--STRIPE_DATA_EMAIL-->/$stripe_data_email/
         || s/<!--STRIPE_DATA_LABEL_VALUE-->/$stripe_data_label_value/
         || s/<!--PUBLISH_NAME-->/$publishname/
+        || s/<!--LANG-->/$lang/
         || s/<!--SEPA_REF-->/$separef/
         || s/<!--ERRORSTR-->/$errorstr/
         || s/<!--ERR_AMOUNT-->/$err_amount/
@@ -528,7 +529,7 @@ sub check_donation ()
 
         if ($lang eq 'de') {
             $msg= 'Um unsere Verwaltungskosten niedrig zu halten,'
-                . 'können wir leider Spenden unter 4 Euro annehmen.';
+                . 'können wir leider keine Spenden unter 4 Euro annehmen.';
         } elsif ($lang eq 'ja') {
             $msg = 'Sorry, due to overhead costs we do'
                 . ' not accept donations of less than 4 Euro.';
diff --git a/web/donate/checkout-cc.org b/web/donate/checkout-cc.org
index c81f577..775e0f7 100644
--- a/web/donate/checkout-cc.org
+++ b/web/donate/checkout-cc.org
@@ -79,6 +79,7 @@ Information on your intended donation:
   <form action="/cgi-bin/procdonate.cgi" method="POST">
     <input type="hidden" name="mode" value="re-main">
     <input type="hidden" name="sessid" value="<!--SESSID-->">
+    <input type="hidden" name="lang" value="<!--LANG-->">
     <input type="submit" class="donate-button-low" value="Back" />
   </form>
   </div>

-----------------------------------------------------------------------

Summary of changes:
 cgi/procdonate.cgi         | 3 ++-
 web/donate/checkout-cc.org | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
The GnuPG website and other docs
http://git.gnupg.org




More information about the Gnupg-commits mailing list