We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 788a375 commit c7c4efaCopy full SHA for c7c4efa
builtin/bundle.c
@@ -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);
+ 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.");
+ die(_("Need a repository to create a bundle."));
57
return !!create_bundle(&header, bundle_file, argc, argv);
58
} else if (!strcmp(cmd, "unbundle")) {
59
60
- die("Need a repository to unbundle.");
+ die(_("Need a repository to unbundle."));
61
return !!unbundle(&header, bundle_fd) ||
62
list_bundle_refs(&header, argc, argv);
63
} else
0 commit comments