--- a/tests/test-i18n.t Tue Sep 15 00:32:39 2015 +0900
+++ b/tests/test-i18n.t Thu Sep 17 07:31:07 2015 -0400
@@ -1,8 +1,6 @@
-#require gettext
-
(Translations are optional)
-#if no-outer-repo
+#if gettext no-outer-repo
Test that translations are compiled and installed correctly.
@@ -27,6 +25,8 @@
#endif
+#if gettext
+
Test keyword search in translated help text:
$ HGENCODING=UTF-8 LANGUAGE=de hg help -k blättern
@@ -38,6 +38,8 @@
pager Verwendet einen externen Pager zum Bl\xc3\xa4ttern in der Ausgabe von Befehlen (esc)
+#endif
+
Check Mercurial specific translation problems in each *.po files, and
tool itself by doctest