Code

gettextize: git-checkout describe_detached_head messages
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 1 Sep 2010 19:24:39 +0000 (19:24 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 30 Oct 2010 07:10:10 +0000 (07:10 +0000)
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
builtin/checkout.c

index 1db06a44778408a62e1a0b769120ae6df7ba9268..5ef97b05b7e0ae07ef14983d0f8d0c147f742276 100644 (file)
@@ -613,7 +613,7 @@ static int switch_branches(struct checkout_opts *opts, struct branch_info *new)
         * to remind the user that it might be lost.
         */
        if (!opts->quiet && !old.path && old.commit && new->commit != old.commit)
-               describe_detached_head("Previous HEAD position was", old.commit);
+               describe_detached_head(_("Previous HEAD position was"), old.commit);
 
        update_refs_for_switch(opts, &old, new);