From a2b5de8e03aea9d8664817ba51720ccf27517f4f Mon Sep 17 00:00:00 2001 From: Alessio Vanni Date: Tue, 31 Aug 2021 15:21:20 +0200 Subject: -More _ → dgettext changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/include/gnunet_common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index 758a5133d..3cff9f482 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h @@ -884,7 +884,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind); if (! (cond)) \ { \ GNUNET_log (GNUNET_ERROR_TYPE_ERROR, \ - _ ("Assertion failed at %s:%d. Aborting.\n"), \ + dgettext ("gnunet", "Assertion failed at %s:%d. Aborting.\n"), \ __FILE__, \ __LINE__); \ GNUNET_abort_ (); \ @@ -899,7 +899,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind); if (! (cond)) \ { \ GNUNET_log (GNUNET_ERROR_TYPE_ERROR, \ - _ ("Assertion failed at %s:%d. Aborting.\n"), \ + dgettext ("gnunet", "Assertion failed at %s:%d. Aborting.\n"), \ __FILE__, \ __LINE__); \ GNUNET_abort_ (); \ @@ -917,7 +917,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind); if (! (cond)) \ { \ GNUNET_log (GNUNET_ERROR_TYPE_ERROR, \ - _ ("Assertion failed at %s:%d. Aborting.\n"), \ + dgettext ("gnunet", "Assertion failed at %s:%d. Aborting.\n"), \ f, \ l); \ GNUNET_abort_ (); \ @@ -939,7 +939,7 @@ GNUNET_error_type_to_string (enum GNUNET_ErrorType kind); { \ GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, \ comp, \ - _ ("Assertion failed at %s:%d. Aborting.\n"), \ + dgettext ("gnunet", "Assertion failed at %s:%d. Aborting.\n"), \ __FILE__, \ __LINE__); \ GNUNET_abort_ (); \ -- cgit v1.2.3