Permalink
Browse files

added i18n stuff

  • Loading branch information...
1 parent 6be2bb8 commit 1c5f33ca8e257f3011b27a3687871563ac9095c2 David Philippi committed Jul 12, 2009
Showing with 106,385 additions and 0 deletions.
  1. +55 −0 Makefile
  2. +2 −0 campaign.def
  3. 0 config.status
  4. +1 −0 po/FINDCFG
  5. +1 −0 po/LINGUAS
  6. +424 −0 po/Makefile
  7. +389 −0 po/Makefile.in.in
  8. +35 −0 po/Makevars
  9. 0 po/POTFILES.in
  10. +2,247 −0 po/af.po
  11. +2,247 −0 po/ar.po
  12. +2,247 −0 po/bg.po
  13. +2,247 −0 po/ca.po
  14. +2,247 −0 po/ca_ES@valencia.po
  15. +2,248 −0 po/cs.po
  16. +2,248 −0 po/da.po
  17. +2,248 −0 po/de.po
  18. +2,248 −0 po/el.po
  19. +2,248 −0 po/en_GB.po
  20. +2,248 −0 po/eo.po
  21. +2,248 −0 po/es.po
  22. +2,248 −0 po/et.po
  23. +2,247 −0 po/eu.po
  24. +2,248 −0 po/fi.po
  25. +2,248 −0 po/fr.po
  26. +2,247 −0 po/fur_IT.po
  27. +2,247 −0 po/gl.po
  28. +2,248 −0 po/he.po
  29. +2,249 −0 po/hr.po
  30. +2,248 −0 po/hu.po
  31. +2,247 −0 po/id.po
  32. +2,247 −0 po/is.po
  33. +2,248 −0 po/it.po
  34. +2,248 −0 po/ja.po
  35. +2,248 −0 po/ko.po
  36. +2,247 −0 po/la.po
  37. +2,249 −0 po/lt.po
  38. +2,249 −0 po/lv.po
  39. +2,247 −0 po/mk.po
  40. +2,248 −0 po/nb_NO.po
  41. +2,248 −0 po/nl.po
  42. +2,249 −0 po/pl.po
  43. +2,248 −0 po/pt.po
  44. +2,248 −0 po/pt_BR.po
  45. +11 −0 po/remove-potcdate.sed
  46. +19 −0 po/remove-potcdate.sin
  47. +2,249 −0 po/ro.po
  48. +2,249 −0 po/ru.po
  49. +2,248 −0 po/sk.po
  50. +2,249 −0 po/sl.po
  51. +2,249 −0 po/sr.po
  52. +2,249 −0 po/sr@latin.po
  53. +2,248 −0 po/sv.po
  54. +2,247 −0 po/tl.po
  55. +2,248 −0 po/tr.po
  56. +2,046 −0 po/wesnoth-An_Ordinary_Adventure.pot
  57. +2,247 −0 po/zh_CN.po
  58. +2,247 −0 po/zh_TW.po
View
@@ -0,0 +1,55 @@
+include campaign.def
+
+LANGS=$(shell cat po/LINGUAS)
+ifeq (${LANGS},)
+POFILES=
+DUMMYPOFILES=
+UPDATEPOFILES=
+GMOFILES=
+CATALOGS=
+else
+POFILES=${LANGS:=.po}
+DUMMYPOFILES=${LANGS:=.nop}
+UPDATEPOFILES=${LANGS:=.po-update}
+GMOFILES=${LANGS:=.gmo}
+CATALOGS=${LANGS:=.gmo}
+endif
+
+all: setup
+ cd po && make update-po
+ for locale in `cat po/LINGUAS`; do \
+ mkdir -p ${CAMPAIGN}/translations/$${locale}/LC_MESSAGES ;\
+ cp po/$${locale}.gmo ${CAMPAIGN}/translations/$${locale}/LC_MESSAGES/${DOMAIN}.mo ;\
+ done
+
+setup:
+ test -f po/LINGUAS || :> po/LINGUAS
+ touch config.status
+ sed < po/Makefile.in.in > po/Makefile \
+ -e "s/@USE_NLS@/yes/g" \
+ -e "s/@POMAKEFILEDEPS@/POTFILES.in LINGUAS/" \
+ -e "s/@SET_MAKE@//" \
+ -e "s/@PACKAGE@/${DOMAIN}/" \
+ -e "s/@srcdir@/./" \
+ -e "s/@top_srcdir@/../" \
+ -e "s,@INSTALL_DATA@,/usr/bin/install -m644," \
+ -e "s,@XGETTEXT@,true," \
+ -e "s,@MSGFMT@,msgfmt," \
+ -e "s,@GMSGFMT@,msgfmt," \
+ -e "s,@MSGMERGE@,msgmerge," \
+ -e "s/@POFILES@/${POFILES}/" \
+ -e "s/@DUMMYPOFILES@/${DUMMYPOFILES}/" \
+ -e "s/@UPDATEPOFILES@/${UPDATEPOFILES}/" \
+ -e "s/@GMOFILES@/${GMOFILES}/" \
+ -e "s/@CATALOGS@/${CATALOGS}/" \
+ -e "/Makevars gets inserted here/ r po/Makevars"
+
+clean:
+ -cd po && make distclean && rm -f stamp-po
+ rm -f config.status
+
+realclean: clean
+ rm -rf ${CAMPAIGN}/translations
+
+tarball:
+ tar zcf ../pokit.tgz Makefile README.pokit po/FINDCFG po/Makefile.in.in po/Makevars po/POTFILES.in po/remove-potcdate.sin
View
@@ -0,0 +1,2 @@
+CAMPAIGN=An_Ordinary_Adventure
+DOMAIN=wesnoth-An_Ordinary_Adventure
View
No changes.
View
@@ -0,0 +1 @@
+find . -name '*.cfg' -print
View
@@ -0,0 +1 @@
+af ar bg ca ca_ES@valencia cs da de el en_GB es eo et eu fi fr fur_IT gl he hr hu id is it ja ko la lt lv mk nl nb_NO pl pt pt_BR ro ru sk sl sr sr@latin sv tl tr zh_CN zh_TW
Oops, something went wrong.

0 comments on commit 1c5f33c

Please sign in to comment.