Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-02-26 02:47:35 +0300
committerJunio C Hamano <gitster@pobox.com>2022-02-26 02:47:35 +0300
commitd21d5ddfe675f9dbcdbb94ab01776115a2d1fdde (patch)
tree3b0761ff79a4e4a5c50263a8d324b6c6a9268e35 /gpg-interface.c
parenta47fcfe8712e3258d1c565cd654c9bd5312a5168 (diff)
parent9164d97a63b31614a52571d708f1ef151b97db71 (diff)
Merge branch 'ja/i18n-common-messages'
Unify more messages to help l10n. * ja/i18n-common-messages: i18n: fix some misformated placeholders in command synopsis i18n: remove from i18n strings that do not hold translatable parts i18n: factorize "invalid value" messages i18n: factorize more 'incompatible options' messages
Diffstat (limited to 'gpg-interface.c')
-rw-r--r--gpg-interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpg-interface.c b/gpg-interface.c
index 17b1e44baa..aa50224e67 100644
--- a/gpg-interface.c
+++ b/gpg-interface.c
@@ -716,7 +716,7 @@ int git_gpg_config(const char *var, const char *value, void *cb)
return config_error_nonbool(var);
fmt = get_format_by_name(value);
if (!fmt)
- return error("unsupported value for %s: %s",
+ return error(_("invalid value for '%s': '%s'"),
var, value);
use_format = fmt;
return 0;
@@ -731,8 +731,8 @@ int git_gpg_config(const char *var, const char *value, void *cb)
free(trust);
if (ret)
- return error("unsupported value for %s: %s", var,
- value);
+ return error(_("invalid value for '%s': '%s'"),
+ var, value);
return 0;
}