summaryrefslogtreecommitdiffstats
path: root/install/po/Makefile.in
diff options
context:
space:
mode:
authorPavel Zuna <pzuna@redhat.com>2011-02-23 16:40:17 -0500
committerRob Crittenden <rcritten@redhat.com>2011-03-01 10:31:43 -0500
commit1eb3033311da1015ab841fa1e2615edb9eed5bdd (patch)
treef91005960ac3a5bd524f97e8dea127ec6e96a321 /install/po/Makefile.in
parentfc842e36504d39221fbfdafbaf8996b63e20de57 (diff)
downloadfreeipa-1eb3033311da1015ab841fa1e2615edb9eed5bdd.tar.gz
freeipa-1eb3033311da1015ab841fa1e2615edb9eed5bdd.tar.xz
freeipa-1eb3033311da1015ab841fa1e2615edb9eed5bdd.zip
Final i18n unit test fixes.
Diffstat (limited to 'install/po/Makefile.in')
-rw-r--r--install/po/Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/install/po/Makefile.in b/install/po/Makefile.in
index bcc81d00e..0d0fa640e 100644
--- a/install/po/Makefile.in
+++ b/install/po/Makefile.in
@@ -191,10 +191,11 @@ maintainer-clean: distclean
test_lang:
rm -rf test.po test_locale
$(MSGINIT) --no-translator -i $(DOMAIN).pot -l en_US -o test.po
- $(SED) -i -r -e 's/^msgstr[ \t]+"(.*)"[ \t]*$$/msgstr "\xe2\x86\x92\1\xe2\x86\x90"/' test.po
+ $(SED) -i -r -e 's/Language: en_US/Language: xh_ZA/' test.po
+ $(SED) -i -r -e 's/^msgstr[ \t]+"(..*)"[ \t]*$$/msgstr "\xe2\x86\x92\1\xe2\x86\x90"/' test.po
$(SED) -i -r -e 's/^msgstr[ \t]+"(.*)(\\n)(.)"[ \t]*$$/msgstr "\1\xe2\x86\x90\2"/' test.po
- $(MKDIR_P) test_locale/en_US/LC_MESSAGES
- $(MSGFMT) -o test_locale/en_US/LC_MESSAGES/ipa.mo test.po
+ $(MKDIR_P) test_locale/xh_ZA/LC_MESSAGES
+ $(MSGFMT) -o test_locale/xh_ZA/LC_MESSAGES/ipa.mo test.po
test: test_lang
./test_i18n.py