builtin/checkout.c: mark strings for translation
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 27 Feb 2016 06:41:54 +0000 (13:41 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 Feb 2016 22:27:58 +0000 (14:27 -0800)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c
index cfa66e25eb0838ba70d87d3008c6d3c57e363bd1..efcbd8f6b5e0b7d551c88c02b6d7d3069a47944d 100644 (file)
@@ -662,7 +662,7 @@ static void update_refs_for_switch(const struct checkout_opts *opts,
                }
        } else if (new->path) { /* Switch branches. */
                if (create_symref("HEAD", new->path, msg.buf) < 0)
-                       die("unable to update HEAD");
+                       die(_("unable to update HEAD"));
                if (!opts->quiet) {
                        if (old->path && !strcmp(new->path, old->path)) {
                                if (opts->new_branch_force)