removing inappropriate i18n code

This commit is contained in:
Christian Grothoff 2020-03-27 20:39:15 +01:00
parent 2c171055f9
commit 163b23f27a
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
9 changed files with 16 additions and 21 deletions

View File

@ -109,7 +109,7 @@ main (int argc,
cfgfile))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
_ ("Malformed configuration file `%s', exit ...\n"),
"Malformed configuration file `%s', exit ...\n",
cfgfile);
GNUNET_free_non_null (cfgfile);
return 1;

View File

@ -576,7 +576,7 @@ main (int argc,
cfgfile))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
_ ("Malformed configuration file `%s', exit ...\n"),
"Malformed configuration file `%s', exiting ...\n",
cfgfile);
GNUNET_free_non_null (cfgfile);
return 1;

View File

@ -211,7 +211,7 @@ main (int argc,
cfgfile))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
_ ("Malformed configuration file `%s', exit ...\n"),
"Malformed configuration file `%s', exiting ...\n",
cfgfile);
GNUNET_free_non_null (cfgfile);
return 1;

View File

@ -1388,7 +1388,7 @@ analyze_aggregations (void *cls)
return qs;
}
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
_ ("Concluded aggregation audit step at %llu\n"),
"Concluded aggregation audit step at %llu\n",
(unsigned long long) ppa.last_wire_out_serial_id);
return GNUNET_DB_STATUS_SUCCESS_ONE_RESULT;

View File

@ -2419,7 +2419,7 @@ analyze_coins (void *cls)
return qs;
}
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
_ ("Concluded coin audit step at %llu/%llu/%llu/%llu/%llu\n"),
"Concluded coin audit step at %llu/%llu/%llu/%llu/%llu\n",
(unsigned long long) ppc.last_deposit_serial_id,
(unsigned long long) ppc.last_melt_serial_id,
(unsigned long long) ppc.last_refund_serial_id,

View File

@ -1395,7 +1395,7 @@ run (void *cls,
GNUNET_log_config_invalid (GNUNET_ERROR_TYPE_ERROR,
"exchange",
"LOOKAHEAD_SIGN",
_ ("must not be zero"));
"must not be zero");
global_ret = 1;
return;
}

View File

@ -1249,7 +1249,7 @@ main (int argc,
cfgfile))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
_ ("Malformed configuration file `%s', exit ...\n"),
"Malformed configuration file `%s', exit ...\n",
cfgfile);
GNUNET_free_non_null (cfgfile);
return 1;

View File

@ -481,8 +481,7 @@ revocations_iterate_cb (void *cls,
&ric->master_pub->eddsa_pub))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
_ (
"Invalid revocation file `%s' found and ignored (bad signature)\n"),
"Invalid revocation file `%s' found and ignored (bad signature)\n",
filename);
return GNUNET_OK;
}

View File

@ -282,8 +282,7 @@ TEAH_acc_confirmation_cb (void *cls,
if (MHD_HTTP_OK != http_status)
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
_ (
"Failed to submit deposit confirmation to auditor `%s' with HTTP status %d (EC: %d). This is acceptable if it does not happen often.\n"),
"Failed to submit deposit confirmation to auditor `%s' with HTTP status %d (EC: %d). This is acceptable if it does not happen often.\n",
ale->auditor_url,
http_status,
(int) ec);
@ -312,8 +311,7 @@ TEAH_get_auditors_for_dc (struct TALER_EXCHANGE_Handle *h,
if (NULL == h->auditors_head)
{
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
_ (
"No auditor available for exchange `%s'. Not submitting deposit confirmations.\n"),
"No auditor available for exchange `%s'. Not submitting deposit confirmations.\n",
h->url);
return;
}
@ -676,7 +674,7 @@ auditor_version_cb (
{
/* In this case, we don't mark the auditor as 'up' */
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
_ ("Auditor `%s' gave unexpected version response.\n"),
"Auditor `%s' gave unexpected version response.\n",
ale->auditor_url);
return;
}
@ -684,19 +682,18 @@ auditor_version_cb (
if (0 != (TALER_AUDITOR_VC_INCOMPATIBLE & compat))
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
_ ("Auditor `%s' runs incompatible protocol version!\n"),
"Auditor `%s' runs incompatible protocol version!\n",
ale->auditor_url);
if (0 != (TALER_AUDITOR_VC_OLDER & compat))
{
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
_ ("Auditor `%s' runs outdated protocol version!\n"),
"Auditor `%s' runs outdated protocol version!\n",
ale->auditor_url);
}
if (0 != (TALER_AUDITOR_VC_NEWER & compat))
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
_ (
"Auditor `%s' runs more recent incompatible version. We should upgrade!\n"),
"Auditor `%s' runs more recent incompatible version. We should upgrade!\n",
ale->auditor_url);
}
return;
@ -2035,8 +2032,7 @@ TALER_EXCHANGE_disconnect (struct TALER_EXCHANGE_Handle *exchange)
{
GNUNET_assert (aie->ale == ale);
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
_ (
"Not sending deposit confirmation to auditor `%s' due to exchange disconnect\n"),
"Not sending deposit confirmation to auditor `%s' due to exchange disconnect\n",
ale->auditor_url);
TALER_AUDITOR_deposit_confirmation_cancel (aie->dch);
GNUNET_CONTAINER_DLL_remove (ale->ai_head,