diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-08-12 09:47:38 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-08-12 09:47:38 -0700 |
commit | 7575c123217f1a9bdcd12f131a65a8c4a027decb (patch) | |
tree | dc1aa0cff92f45284874a6fdf99d40a6663275a2 /archive.c | |
parent | e6b8f80653063cd41903c599ec9ca83be3d3afa5 (diff) | |
parent | 599e7a0b9e86dab9e6b2c7a136fe04b6b52a923a (diff) | |
download | git-7575c123217f1a9bdcd12f131a65a8c4a027decb.tar.gz |
Merge branch 'va/i18n'
* va/i18n:
i18n: git-stash: mark messages for translation
i18n: archive: mark errors for translation
i18n: setup: mark error messages for translation
Diffstat (limited to 'archive.c')
-rw-r--r-- | archive.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -458,11 +458,11 @@ static int parse_archive_args(int argc, const char **argv, argc = parse_options(argc, argv, NULL, opts, archive_usage, 0); if (remote) - die("Unexpected option --remote"); + die(_("Unexpected option --remote")); if (exec) - die("Option --exec can only be used together with --remote"); + die(_("Option --exec can only be used together with --remote")); if (output) - die("Unexpected option --output"); + die(_("Unexpected option --output")); if (!base) base = ""; @@ -484,14 +484,14 @@ static int parse_archive_args(int argc, const char **argv, usage_with_options(archive_usage, opts); *ar = lookup_archiver(format); if (!*ar || (is_remote && !((*ar)->flags & ARCHIVER_REMOTE))) - die("Unknown archive format '%s'", format); + die(_("Unknown archive format '%s'"), format); args->compression_level = Z_DEFAULT_COMPRESSION; if (compression_level != -1) { if ((*ar)->flags & ARCHIVER_WANT_COMPRESSION_LEVELS) args->compression_level = compression_level; else { - die("Argument not supported for format '%s': -%d", + die(_("Argument not supported for format '%s': -%d"), format, compression_level); } } |