diff options
author | Alexander Shopov <ash@kambanaria.org> | 2018-02-13 14:19:15 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-02-13 19:59:58 +0100 |
commit | fc045fe7d4fa220f19274715c936636fe0516ea3 (patch) | |
tree | ecb2c202550b953426e3a522ad71011d7c0c5dac /t/t1506-rev-parse-diagnosis.sh | |
parent | First batch after 2.16 (diff) | |
download | git-fc045fe7d4fa220f19274715c936636fe0516ea3.tar.xz git-fc045fe7d4fa220f19274715c936636fe0516ea3.zip |
Mark messages for translations
Small changes in messages to fit the style and typography of rest.
Reuse already translated messages if possible.
Do not translate messages aimed at developers of git.
Fix unit tests depending on the original string.
Use `test_i18ngrep` for tests with translatable strings.
Change and verify rest of tests via `make GETTEXT_POISON=1 test`.
Signed-off-by: Alexander Shopov <ash@kambanaria.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1506-rev-parse-diagnosis.sh')
-rwxr-xr-x | t/t1506-rev-parse-diagnosis.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1506-rev-parse-diagnosis.sh b/t/t1506-rev-parse-diagnosis.sh index 79a0251efa..4ee009da66 100755 --- a/t/t1506-rev-parse-diagnosis.sh +++ b/t/t1506-rev-parse-diagnosis.sh @@ -157,7 +157,7 @@ test_expect_success 'relative path not found' ' test_expect_success 'relative path outside worktree' ' test_must_fail git rev-parse HEAD:../file.txt >output 2>error && test -z "$(cat output)" && - grep "outside repository" error + test_i18ngrep "outside repository" error ' test_expect_success 'relative path when cwd is outside worktree' ' |