Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gettext.h: include <locale> before defining the gettext macro (#4452) | kahrl | 2016-08-21 | 1 | -0/+10 |
| | | | | | | | | | Fixes #4446: a syntax error that happens if something else (such as <iomanip> or <locale> in certain libstdc++ versions) includes <libintl.h> later, which contains a function declaration for gettext that gets mangled by the macro. See the added comment in gettext.h and the discussion in #4446/#4452 for details. | ||||
* | Fix compilation under MSVC and remove unnecessary conditional function prototype | kwolekr | 2015-10-24 | 1 | -5/+1 |
| | | | | Thanks to SmallJoker for pointing this out. | ||||
* | Remove wstrgettext | est31 | 2015-10-18 | 1 | -8/+0 |
| | | | | | | | Everywhere where wstrgettext was used, its output was converted back to utf8. As wstrgettext internally converts the return value from utf8 to wstring, it has been a waste. Remove the function, and use strgettext instead. | ||||
* | Clean up gettext initialization | ShadowNinja | 2015-10-15 | 1 | -1/+1 |
| | |||||
* | Use UTF-8 instead of narrow | est31 | 2015-07-08 | 1 | -2/+2 |
| | | | | | Use wide_to_utf8 and utf8_to_wide instead of wide_to_narrow and narrow_to_wide at almost all places. Only exceptions: test functions for narrow conversion, and chat, which is done in a separate commit. | ||||
* | Fix Android text bug (no text displaying) | Craig Robbins | 2015-03-07 | 1 | -8/+8 |
| | |||||
* | Fix gettext on MSVC | BlockMen | 2015-02-12 | 1 | -2/+5 |
| | |||||
* | Fix gettext | ShadowNinja | 2015-02-05 | 1 | -1/+1 |
| | |||||
* | Reduce gettext wide/narrow and string/char* conversions | ShadowNinja | 2015-02-05 | 1 | -48/+13 |
| | |||||
* | Fix errors/warnings reported by valgrind | sfan5 | 2014-07-06 | 1 | -4/+4 |
| | |||||
* | Use narrow_to_wide in gettext instead of os dependent conversion fct | sapier | 2014-04-19 | 1 | -1/+8 |
| | |||||
* | fix gettext compile issues under win32 | MetaDucky | 2013-11-18 | 1 | -1/+1 |
| | |||||
* | Fix win32/msvc i18n (quite UGLY version, blame Microsoft) | sapier | 2013-11-11 | 1 | -35/+30 |
| | |||||
* | Fix formspec label issues in win builds (MSVC) | BlockMen | 2013-08-04 | 1 | -0/+7 |
| | |||||
* | Add support for IPv6 | proller | 2013-06-23 | 1 | -0/+3 |
| | | | | | | | Two new configuration options are added: - "enable_ipv6" to enable/disable the overall use of IPv6 - "ipv6_server" to enable/disable the use of IPv6 sockets when running a server (when "enable_ipv6" is enabled) | ||||
* | Add Freetype support | Ilya Zhuravlev | 2013-02-14 | 1 | -3/+38 |
| | |||||
* | Clean up log messages everywhere | Perttu Ahola | 2012-03-11 | 1 | -3/+3 |
| | |||||
* | fixed some error :/ | Constantin Wenger | 2011-08-05 | 1 | -0/+1 |
| | |||||
* | Introduce wgettext | Giuseppe Bilotta | 2011-08-02 | 1 | -0/+5 |
| | | | | | All usages of gettext() are converted to wchars, so let's factor this into a single inline. | ||||
* | last fix was shit but this one works (tested) | Constantin Wenger | 2011-07-31 | 1 | -2/+2 |
| | |||||
* | fixe for msvc broke linux | Constantin Wenger | 2011-07-30 | 1 | -0/+4 |
| | |||||
* | this fixes problem with msvc++ and should work on other systems and so on ↵ | Constantin Wenger | 2011-07-30 | 1 | -1/+0 |
| | | | | anyway. | ||||
* | fixed redefinitivon of gettext.h is included more than once | Constantin Wenger | 2011-07-30 | 1 | -0/+3 |
| | |||||
* | set locales to C because en_US not installed on some systems, only UTF-8 ↵ | Constantin Wenger | 2011-07-30 | 1 | -0/+10 |
| | | | | version and en_US.UTF-8 does not work. | ||||
* | Read config from gettext.h | Giuseppe Bilotta | 2011-07-24 | 1 | -0/+2 |
| | | | | Otherwise the USE_GETTEXT define might not be visible. | ||||
* | Sanitize GETTEXT usage macros | Giuseppe Bilotta | 2011-07-24 | 1 | -1/+1 |
| | | | | | | | Now the user-level option is called ENABLE_GETTEXT, and USE_GETTEXT is only set to true if gettext was enabled and found. This simplifies all check to USE_GETTEXT only rather than the double checks for it being enabled and found. | ||||
* | Refactor gettext init | Giuseppe Bilotta | 2011-07-24 | 1 | -9/+9 |
| | | | | | Put the gettext init code in a macro and define it appropriately depending on whether gettext is actually available or not. | ||||
* | updated cmakerules to autodetect if gettext can be used | Constantin Wenger | 2011-07-23 | 1 | -0/+6 |
| | | | fixed error if gettext is disabled | ||||
* | Make gettext optional | Giuseppe Bilotta | 2011-07-21 | 1 | -1/+8 |
| | |||||
* | added gettext support | Constantin Wenger | 2011-07-20 | 1 | -0/+12 |
german translation file and bashscript to update translations |