Skip to content

Commit c7c4efa

Browse files
avargitster
authored andcommitted
i18n: git-bundle basic messages
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 788a375 commit c7c4efa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

builtin/bundle.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ int cmd_bundle(int argc, const char **argv, const char *prefix)
4444
close(bundle_fd);
4545
if (verify_bundle(&header, 1))
4646
return 1;
47-
fprintf(stderr, "%s is okay\n", bundle_file);
47+
fprintf(stderr, _("%s is okay\n"), bundle_file);
4848
return 0;
4949
}
5050
if (!strcmp(cmd, "list-heads")) {
@@ -53,11 +53,11 @@ int cmd_bundle(int argc, const char **argv, const char *prefix)
5353
}
5454
if (!strcmp(cmd, "create")) {
5555
if (!startup_info->have_repository)
56-
die("Need a repository to create a bundle.");
56+
die(_("Need a repository to create a bundle."));
5757
return !!create_bundle(&header, bundle_file, argc, argv);
5858
} else if (!strcmp(cmd, "unbundle")) {
5959
if (!startup_info->have_repository)
60-
die("Need a repository to unbundle.");
60+
die(_("Need a repository to unbundle."));
6161
return !!unbundle(&header, bundle_fd) ||
6262
list_bundle_refs(&header, argc, argv);
6363
} else

0 commit comments

Comments
 (0)