gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-anastasis-gtk] branch master updated: apply i18n to hints


From: gnunet
Subject: [taler-anastasis-gtk] branch master updated: apply i18n to hints
Date: Mon, 05 Apr 2021 20:11:00 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository anastasis-gtk.

The following commit(s) were added to refs/heads/master by this push:
     new d8cc48a  apply i18n to hints
d8cc48a is described below

commit d8cc48a85d577cb99639b4b9e108dddfbe137e88
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Apr 5 20:10:58 2021 +0200

    apply i18n to hints
---
 src/anastasis/anastasis-gtk_action.c | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/src/anastasis/anastasis-gtk_action.c 
b/src/anastasis/anastasis-gtk_action.c
index f0aa2c8..8805628 100644
--- a/src/anastasis/anastasis-gtk_action.c
+++ b/src/anastasis/anastasis-gtk_action.c
@@ -1555,12 +1555,14 @@ show_challenge_feedback (void)
       emsg = TALER_ErrorCode_get_hint (ec);
     if (0 == strcmp (state,
                      "hint"))
-      emsg = hint;
+      emsg = dgettext ("taler-exchange",
+                       hint);
     if (0 == strcmp (state,
                      "details"))
     {
-      emsg = json_string_value (json_object_get (details,
-                                                 "hint"));
+      emsg = dgettext ("taler-exchange",
+                       json_string_value (json_object_get (details,
+                                                           "hint")));
     }
     gtk_list_store_insert_with_values (
       ls,
@@ -1642,7 +1644,8 @@ action_challenge_selecting (void)
       AG_error ("'recovery_error' did not parse correctly");
       return;
     }
-    AG_error (hint);
+    AG_error (dgettext ("taler-exchange",
+                        hint));
     ts = GTK_TREE_STORE (GCG_get_main_window_object (
                            "policy_review_treestore"));
     gtk_tree_store_clear (ts);
@@ -2114,7 +2117,8 @@ render_feedback (GtkBuilder *builder,
     GNUNET_asprintf (&msg,
                      _ ("Hint (#%u): %s"),
                      (unsigned int) http_status,
-                     hint);
+                     dgettext ("taler-exchange",
+                               hint));
   }
   else if ( (0 == strcmp (state,
                           "details")) &&
@@ -2153,6 +2157,8 @@ render_feedback (GtkBuilder *builder,
            ( (NULL == ihint) ||
              ('<' == ihint[0])) )
         ihint = hint;           /* use server hint */
+      ihint = dgettext ("taler-exchange",
+                        ihint);
       if (NULL == detail)
       {
         if (NULL == ihint)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]