@matheusbsbs / matheus-bagliano / commits / 2852e1dd5d
Fork 0

i18n: git-branch "remote branch '%s' not found" message

This could be done better by splitting it up, but it would change too much code, which I'm trying to avoid at this point. Instead add a TRANSLATORS comment to explain what "remote " does. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ævar Arnfjörð Bjarmason committed Feb 22, 2011 at 23:41 UTC 2852e1dd5d21a9b43f27801181d9d875efa02598
1 file changed +2 -1
builtin/branch.c
+2 -1
@@ -157,7 +157,8 @@ static int delete_branches(int argc, const char **argv, int force, int kinds)
157 switch (kinds) {
158 case REF_REMOTE_BRANCH:
159 fmt = "refs/remotes/%s";
160 - remote = "remote ";
160 + /* TRANSLATORS: This is "remote " in "remote branch '%s' not found" */
161 + remote = _("remote ");
162 force = 1;
163 break;
164 case REF_LOCAL_BRANCH: