summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-28 12:54:32 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-28 12:54:32 +0200
commit1757980da5288918a03c16f05526cd3ea7f26e12 (patch)
treeb81da4ce7ac33680cc91e0431e37d52dec036d88 /src
parent66e906c25407a38fe18a7f6cd14c9f849bd561db (diff)
partial fix for problems raised by Alessio on the ML
Diffstat (limited to 'src')
-rw-r--r--src/include/gnunet_common.h12
-rw-r--r--src/include/gnunet_util_lib.h3
2 files changed, 8 insertions, 7 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index 35389e63e..758a5133d 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -980,7 +980,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind);
if (! (cond)) \
{ \
GNUNET_log (GNUNET_ERROR_TYPE_ERROR, \
- _ ("Assertion failed at %s:%d.\n"), \
+ dgettext ("gnunet", "Assertion failed at %s:%d.\n"), \
__FILE__, \
__LINE__); \
} \
@@ -1002,7 +1002,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind);
if (! (cond)) \
{ \
GNUNET_log (GNUNET_ERROR_TYPE_WARNING | GNUNET_ERROR_TYPE_BULK, \
- _ ("External protocol violation detected at %s:%d.\n"), \
+ dgettext ("gnunet", "External protocol violation detected at %s:%d.\n"), \
__FILE__, \
__LINE__); \
} \
@@ -1019,7 +1019,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind);
do \
{ \
GNUNET_log (level, \
- _ ("`%s' failed at %s:%d with error: %s\n"), \
+ dgettext ("gnunet", "`%s' failed at %s:%d with error: %s\n"), \
cmd, \
__FILE__, \
__LINE__, \
@@ -1038,7 +1038,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind);
{ \
GNUNET_log_from (level, \
component, \
- _ ("`%s' failed at %s:%d with error: %s\n"), \
+ dgettext ("gnunet", "`%s' failed at %s:%d with error: %s\n"), \
cmd, \
__FILE__, \
__LINE__, \
@@ -1056,7 +1056,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind);
do \
{ \
GNUNET_log (level, \
- _ ("`%s' failed on file `%s' at %s:%d with error: %s\n"), \
+ dgettext ("gnunet", "`%s' failed on file `%s' at %s:%d with error: %s\n"), \
cmd, \
filename, \
__FILE__, \
@@ -1076,7 +1076,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind);
{ \
GNUNET_log_from (level, \
component, \
- _ ("`%s' failed on file `%s' at %s:%d with error: %s\n"), \
+ dgettext ("gnunet", "`%s' failed on file `%s' at %s:%d with error: %s\n"), \
cmd, \
filename, \
__FILE__, \
diff --git a/src/include/gnunet_util_lib.h b/src/include/gnunet_util_lib.h
index 09e0b3ba8..cc4f3a01e 100644
--- a/src/include/gnunet_util_lib.h
+++ b/src/include/gnunet_util_lib.h
@@ -58,7 +58,8 @@ extern "C"
* THIS release. Otherwise, you are violating the Affero GPL if you make
* this service available to anyone but yourself.
*/
-#define GNUNET_AGPL_URL "https://git.gnunet.org/gnunet.git#v" PACKAGE_VERSION
+#define GNUNET_AGPL_URL "https://git.gnunet.org/gnunet.git/tag/?h=v" \
+ PACKAGE_VERSION
#include "gnunet_crypto_lib.h"