summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-11-19 16:24:39 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-11-19 16:24:39 +0900
commit954932667dac15885165cdb579acbf6a774fe140 (patch)
tree73d9e230929da6c9ffcb17ac6a52516a7ff32e3f /po
parentRelNotes: name the release properly (diff)
parentMakefile: ease dynamic-gettext-poison transition (diff)
downloadtgif-954932667dac15885165cdb579acbf6a774fe140.tar.xz
Merge branch 'ab/dynamic-gettext-poison'
Our testing framework uses a special i18n "poisoned localization" feature to find messages that ought to stay constant but are incorrectly marked to be translated. This feature has been made into a runtime option (it used to be a compile-time option). * ab/dynamic-gettext-poison: Makefile: ease dynamic-gettext-poison transition i18n: make GETTEXT_POISON a runtime option
Diffstat (limited to 'po')
-rw-r--r--po/README13
1 files changed, 4 insertions, 9 deletions
diff --git a/po/README b/po/README
index fef4c0f0b5..aa704ffcb7 100644
--- a/po/README
+++ b/po/README
@@ -289,16 +289,11 @@ something in the test suite might still depend on the US English
version of the strings, e.g. to grep some error message or other
output.
-To smoke out issues like these Git can be compiled with gettext poison
-support, at the top-level:
+To smoke out issues like these, Git tested with a translation mode that
+emits gibberish on every call to gettext. To use it run the test suite
+with it, e.g.:
- make GETTEXT_POISON=YesPlease
-
-That'll give you a git which emits gibberish on every call to
-gettext. It's obviously not meant to be installed, but you should run
-the test suite with it:
-
- cd t && prove -j 9 ./t[0-9]*.sh
+ cd t && GIT_TEST_GETTEXT_POISON=YesPlease prove -j 9 ./t[0-9]*.sh
If tests break with it you should inspect them manually and see if
what you're translating is sane, i.e. that you're not translating