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
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user