i18n: branch: move comment for translators
Move and split comment for translators (marked by TRANSLATORS) to be immediately above the strings marked for translation. As a result, the comment can now be extracted by xgettext. Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Vasco Almeida committed
Apr 13, 2016 at 10:29 UTC
60ea78b8a1954a7f09c92d0b5625d927eb951263
1 file changed
+4
-2
builtin/branch.c
+4
-2
@@ -369,12 +369,14 @@ static char *get_head_description(void)
369
strbuf_addf(&desc, _("(no branch, bisect started on %s)"),
370
state.branch);
371
else if (state.detached_from) {
372
- /* TRANSLATORS: make sure these match _("HEAD detached at ")
373
- and _("HEAD detached from ") in wt-status.c */
372
if (state.detached_at)
373
+ /* TRANSLATORS: make sure this matches
374
+ "HEAD detached at " in wt-status.c */
375
strbuf_addf(&desc, _("(HEAD detached at %s)"),
376
state.detached_from);
377
else
378
+ /* TRANSLATORS: make sure this matches
379
+ "HEAD detached from " in wt-status.c */
380
strbuf_addf(&desc, _("(HEAD detached from %s)"),
381
state.detached_from);
382
}