Permalink
Browse files

i18n for lander

git-svn-id: http://svn.nickg.me.uk/work/lander/trunk@342 a97b1542-0b21-0410-a459-e47997c36f34
  • Loading branch information...
1 parent de5069f commit e25acbffbc7980c06154e710af6b19e050cb2af8 nick committed Apr 18, 2008
Showing with 4,001 additions and 83 deletions.
  1. +1,068 −0 ABOUT-NLS
  2. +7 −0 ChangeLog
  3. +5 −1 Makefile.am
  4. +6 −3 configure.ac
  5. +11 −0 m4/ChangeLog
  6. +381 −0 m4/gettext.m4
  7. +180 −0 m4/iconv.m4
  8. +110 −0 m4/lib-ld.m4
  9. +709 −0 m4/lib-link.m4
  10. +185 −0 m4/lib-prefix.m4
  11. +31 −0 m4/nls.m4
  12. +449 −0 m4/po.m4
  13. +92 −0 m4/progtest.m4
  14. +12 −0 po/ChangeLog
  15. +2 −0 po/LINGUAS
  16. +429 −0 po/Makefile.in.in
  17. +41 −0 po/Makevars
  18. +3 −0 po/POTFILES.in
  19. +47 −0 po/Rules-quot
  20. +10 −0 po/boldquot.sed
  21. +25 −0 po/en@boldquot.header
  22. +22 −0 po/en@quot.header
  23. BIN po/en_GB.gmo
  24. +34 −0 po/en_GB.po
  25. +23 −0 po/insert-header.sin
  26. +34 −0 po/lander.pot
  27. +6 −0 po/quot.sed
  28. +19 −0 po/remove-potcdate.sin
  29. +18 −12 src/Game.cpp
  30. +20 −11 src/HighScores.cpp
  31. +2 −0 src/HighScores.hpp
  32. +0 −1 src/Lander.hpp
  33. +5 −1 src/Main.cpp
  34. +4 −1 src/Makefile.am
  35. +8 −14 src/Menu.cpp
  36. +0 −1 src/Menu.hpp
  37. +3 −0 src/Platform.hpp
  38. +0 −38 src/Strings.hpp
View
1,068 ABOUT-NLS

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -0,0 +1,7 @@
+2008-04-18 gettextize <bug-gnu-gettext@gnu.org>
+
+ * Makefile.am (SUBDIRS): Add po.
+ (ACLOCAL_AMFLAGS): New variable.
+ (EXTRA_DIST): New variable.
+ * configure.ac (AC_CONFIG_FILES): Add po/Makefile.in.
+
View
@@ -1 +1,5 @@
-SUBDIRS = src
+SUBDIRS = po src
+
+ACLOCAL_AMFLAGS = -I m4
+
+EXTRA_DIST = config.rpath m4/ChangeLog
View
@@ -5,9 +5,12 @@ AM_INIT_AUTOMAKE([-Wall -Werror])
AC_PROG_CC
AC_PROG_CXX
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION
+
# Checks for header files.
AC_HEADER_STDC
-AC_CHECK_HEADERS([memory.h stddef.h stdlib.h string.h unistd.h])
+AC_CHECK_HEADERS([libintl.h memory.h stddef.h stdlib.h string.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
@@ -19,7 +22,7 @@ AC_TYPE_UINT32_T
# Checks for library functions.
AC_FUNC_MALLOC
-AC_CHECK_FUNCS([atexit memset pow sqrt])
+AC_CHECK_FUNCS([atexit memset pow setlocale sqrt])
dnl Check for SDL
SDL_VERSION=1.2.5
@@ -32,6 +35,6 @@ dnl Check for Freetype
PKG_CHECK_MODULES(LANDER, freetype2)
AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_FILES([Makefile src/Makefile])
+AC_CONFIG_FILES([Makefile src/Makefile po/Makefile.in])
AC_OUTPUT
View
@@ -0,0 +1,11 @@
+2008-04-18 gettextize <bug-gnu-gettext@gnu.org>
+
+ * gettext.m4: New file, from gettext-0.17.
+ * iconv.m4: New file, from gettext-0.17.
+ * lib-ld.m4: New file, from gettext-0.17.
+ * lib-link.m4: New file, from gettext-0.17.
+ * lib-prefix.m4: New file, from gettext-0.17.
+ * nls.m4: New file, from gettext-0.17.
+ * po.m4: New file, from gettext-0.17.
+ * progtest.m4: New file, from gettext-0.17.
+
Oops, something went wrong.

0 comments on commit e25acbf

Please sign in to comment.