@matheusbsbs / matheus-bagliano / commits / c7c4efacf1
Fork 0

i18n: git-bundle basic messages

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ævar Arnfjörð Bjarmason committed Feb 22, 2011 at 23:42 UTC c7c4efacf1ea100ac1cd5c2f33d1b6d342b39325
1 file changed +3 -3
builtin/bundle.c
+3 -3
@@ -44,7 +44,7 @@ int cmd_bundle(int argc, const char **argv, const char *prefix)
44 close(bundle_fd);
45 if (verify_bundle(&header, 1))
46 return 1;
47 - fprintf(stderr, "%s is okay\n", bundle_file);
47 + fprintf(stderr, _("%s is okay\n"), bundle_file);
48 return 0;
49 }
50 if (!strcmp(cmd, "list-heads")) {
@@ -53,11 +53,11 @@ int cmd_bundle(int argc, const char **argv, const char *prefix)
53 }
54 if (!strcmp(cmd, "create")) {
55 if (!startup_info->have_repository)
56 - die("Need a repository to create a bundle.");
56 + die(_("Need a repository to create a bundle."));
57 return !!create_bundle(&header, bundle_file, argc, argv);
58 } else if (!strcmp(cmd, "unbundle")) {
59 if (!startup_info->have_repository)
60 - die("Need a repository to unbundle.");
60 + die(_("Need a repository to unbundle."));
61 return !!unbundle(&header, bundle_fd) ||
62 list_bundle_refs(&header, argc, argv);
63 } else