Skip to content

Commit c7f426d

Browse files
avargitster
authored andcommitted
i18n: mark merge "upstream" messages for translation
Mark the merge messages that were added in v1.7.5-rc1~17^2 (merge: merge with the default upstream branch without argument) by Junio C Hamano for translation. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 650ed9d commit c7f426d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

builtin/merge.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -962,16 +962,16 @@ static int setup_with_upstream(const char ***argv)
962962
const char **args;
963963

964964
if (!branch)
965-
die("No current branch.");
965+
die(_("No current branch."));
966966
if (!branch->remote)
967-
die("No remote for the current branch.");
967+
die(_("No remote for the current branch."));
968968
if (!branch->merge_nr)
969-
die("No default upstream defined for the current branch.");
969+
die(_("No default upstream defined for the current branch."));
970970

971971
args = xcalloc(branch->merge_nr + 1, sizeof(char *));
972972
for (i = 0; i < branch->merge_nr; i++) {
973973
if (!branch->merge[i]->dst)
974-
die("No remote tracking branch for %s from %s",
974+
die(_("No remote tracking branch for %s from %s"),
975975
branch->merge[i]->src, branch->remote_name);
976976
args[i] = branch->merge[i]->dst;
977977
}

0 commit comments

Comments
 (0)