i18n: config: mark error message for translation
Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
fb4cc6a9cb
commit
ccf6380154
@ -622,8 +622,8 @@ int cmd_config(int argc, const char **argv, const char *prefix)
|
|||||||
value = normalize_value(argv[0], argv[1]);
|
value = normalize_value(argv[0], argv[1]);
|
||||||
ret = git_config_set_in_file_gently(given_config_source.file, argv[0], value);
|
ret = git_config_set_in_file_gently(given_config_source.file, argv[0], value);
|
||||||
if (ret == CONFIG_NOTHING_SET)
|
if (ret == CONFIG_NOTHING_SET)
|
||||||
error("cannot overwrite multiple values with a single value\n"
|
error(_("cannot overwrite multiple values with a single value\n"
|
||||||
" Use a regexp, --add or --replace-all to change %s.", argv[0]);
|
" Use a regexp, --add or --replace-all to change %s."), argv[0]);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
else if (actions == ACTION_SET_ALL) {
|
else if (actions == ACTION_SET_ALL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user