Re: [PATCH v3 2/7] i18n: rebase: mark strings for translation
- From
Jiang Xin <worldhello.net@gmail.com>
- Date
- Jul 24, 2012, 22:49 UTC
- Message-ID
- <CANYiYbGkfpdT+FRpgaOPcHRBh6WhWe0cGUCNXh=UgOFPog=hfg@mail.gmail.com>
- In-Reply-To
- <20120724180138.GF2939@burratino>
2012/7/25 Jonathan Nieder <jrnieder@gmail.com>:
Show 11 quoted lines
>> @@ -64,7 +64,7 @@ test_expect_success 'rebase -n overrides config rebase.stat config' ' >> >> test_expect_success 'rebase --onto outputs the invalid ref' ' >> test_must_fail git rebase --onto invalid-ref HEAD HEAD 2>err && >> - grep "invalid-ref" err >> + test_i18ngrep "invalid-ref" err >> ' > > This is probably part of a message intended for humans, but the test > does not say. What is the full message being checked? >
The error messages are:
fatal: Needed a single revision
Does not point to a valid commit: invalid-refThe first line has not been marked for translation (comes from builtin/rev-parse.c), but the second line is marked for translation in this patch. The output in my locale would be:
fatal: Needed a single revision
没有指向一个有效的提交:invalid-ref-- Jiang Xin