Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
---
This is comparable to the basic messages, but I put it in its own
patch mainly as a reminder to myself, this maybe needs to be split
into a %s format in the future.
builtin/checkout.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/builtin/checkout.c b/builtin/checkout.c
index a7033a0..79cbcef 100644
--- a/builtin/checkout.c
+++ b/builtin/checkout.c
@@ -574,7 +574,7 @@ static void update_refs_for_switch(struct checkout_opts *opts,
if (!opts->quiet) {
if (old->path && advice_detached_head)
detach_advice(old->path, new->name);
- describe_detached_head("HEAD is now at", new->commit);
+ describe_detached_head(_("HEAD is now at"), new->commit);
}
}
remove_branch_state();@@ -616,7 +616,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);
--
1.7.2.2.579.g2183d