]> git.pld-linux.org Git - packages/supertuxkart.git/blame - supertuxkart-gettext.patch
- updated for 0.7
[packages/supertuxkart.git] / supertuxkart-gettext.patch
CommitLineData
c5899bf9 1--- supertuxkart-0.7alpha3/configure.ac~ 2010-09-24 03:21:15.000000000 +0200
2+++ supertuxkart-0.7alpha3/configure.ac 2010-09-29 13:23:49.776109670 +0200
3@@ -404,7 +404,7 @@
4 # =================
a796df50 5 # Check for gettext
c5899bf9 6 # =================
a796df50 7-CHECK_GETTEXT(external)
c5899bf9 8+#CHECK_GETTEXT(external)
9 #disable/enable addons support
10 AC_ARG_WITH(addons,[AS_HELP_STRING([--with-addons],
11 [This option is used to enable/disable addons support])])
12--- supertuxkart-0.7alpha3/src/utils/translation.cpp~ 2010-09-24 01:27:23.000000000 +0200
13+++ supertuxkart-0.7alpha3/src/utils/translation.cpp 2010-09-29 13:24:44.236109680 +0200
14@@ -33,6 +33,7 @@
15 #include <string.h>
16 #include <stdlib.h>
17 #include <iostream>
18+#include <libintl.h>
19
20 #include "irrlicht.h"
21
22@@ -113,12 +114,7 @@
23 #endif
24 #endif
25
26-#if ENABLE_NLS
27 const char* original_t = gettext(original);
28-#else
29- m_converted_string = core::stringw(original);
30- return m_converted_string.c_str();
31-#endif
a796df50 32
c5899bf9 33 /*
34 std::cout << "--> original_t==original ? " << (original_t==original) << std::endl;
This page took 0.184454 seconds and 4 git commands to generate.