diff options
author | Vasco Almeida <vascomalmeida@sapo.pt> | 2016-04-13 10:29:54 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-04-13 13:23:27 -0700 |
commit | 60ea78b8a1954a7f09c92d0b5625d927eb951263 (patch) | |
tree | 3749712b5a9dc9a047d23f8701382200f003090d | |
parent | 2010aabd91eec0e8b074774e924e5264a522a923 (diff) | |
download | git-60ea78b8a1954a7f09c92d0b5625d927eb951263.tar.gz |
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>
-rw-r--r-- | builtin/branch.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/builtin/branch.c b/builtin/branch.c index cfb523205f..32be954cee 100644 --- a/builtin/branch.c +++ b/builtin/branch.c @@ -369,12 +369,14 @@ static char *get_head_description(void) strbuf_addf(&desc, _("(no branch, bisect started on %s)"), state.branch); else if (state.detached_from) { - /* TRANSLATORS: make sure these match _("HEAD detached at ") - and _("HEAD detached from ") in wt-status.c */ if (state.detached_at) + /* TRANSLATORS: make sure this matches + "HEAD detached at " in wt-status.c */ strbuf_addf(&desc, _("(HEAD detached at %s)"), state.detached_from); else + /* TRANSLATORS: make sure this matches + "HEAD detached from " in wt-status.c */ strbuf_addf(&desc, _("(HEAD detached from %s)"), state.detached_from); } |