diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-02-26 00:47:35 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-26 00:47:35 +0100 |
commit | d21d5ddfe675f9dbcdbb94ab01776115a2d1fdde (patch) | |
tree | 3b0761ff79a4e4a5c50263a8d324b6c6a9268e35 /gpg-interface.c | |
parent | Merge branch 'ab/only-single-progress-at-once' (diff) | |
parent | i18n: fix some misformated placeholders in command synopsis (diff) | |
download | git-d21d5ddfe675f9dbcdbb94ab01776115a2d1fdde.tar.xz git-d21d5ddfe675f9dbcdbb94ab01776115a2d1fdde.zip |
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.c | 6 |
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; } |