commit 383e625a857dc1067bf93d5248e37290384eeb74
parent db20ce2cdf58391166bc2c1b60abdbeeb2e56bd4
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 5 Apr 2021 19:48:13 +0200
mark up 'error_message' for gettext: document
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/anastasis.rst b/anastasis.rst
@@ -1996,6 +1996,8 @@ message together with a transition failure:
Here, the ``error_code`` is from the ``enum ANASTASIS_RecoveryStatus``
and describes precisely what failed about the download, while the
``error_message`` is a human-readable (English) explanation of the code.
+Applications may want to translate the message using GNU gettext;
+translations should be available in the "anastasis" text domain.
However, in general it should be sufficient to display the slightly
more generic Taler error code that is returned with the new state.