summaryrefslogtreecommitdiff
path: root/src/gettext.h
Commit message (Collapse)AuthorAge
* C++ modernize: Pragma once (#6264)Loïc Blot2017-08-17
| | | | * Migrate cpp headers to pragma once
* Cleanup various headers to reduce compilation times (#6255)Loïc Blot2017-08-16
| | | | * Cleanup various headers to reduce compilation times
* gettext.h: include <locale> before defining the gettext macro (#4452)kahrl2016-08-21
| | | | | | | | | 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 prototypekwolekr2015-10-24
| | | | Thanks to SmallJoker for pointing this out.
* Remove wstrgettextest312015-10-18
| | | | | | | 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 initializationShadowNinja2015-10-15
|
* Use UTF-8 instead of narrowest312015-07-08
| | | | | 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 Robbins2015-03-07
|
* Fix gettext on MSVCBlockMen2015-02-12
|
* Fix gettextShadowNinja2015-02-05
|
* Reduce gettext wide/narrow and string/char* conversionsShadowNinja2015-02-05
|
* Fix errors/warnings reported by valgrindsfan52014-07-06
|
* Use narrow_to_wide in gettext instead of os dependent conversion fctsapier2014-04-19
|
* fix gettext compile issues under win32MetaDucky2013-11-18
|
* Fix win32/msvc i18n (quite UGLY version, blame Microsoft)sapier2013-11-11
|
* Fix formspec label issues in win builds (MSVC)BlockMen2013-08-04
|
* Add support for IPv6proller2013-06-23
| | | | | | | 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 supportIlya Zhuravlev2013-02-14
|
* Clean up log messages everywherePerttu Ahola2012-03-11
|
* fixed some error :/Constantin Wenger2011-08-05
|
* Introduce wgettextGiuseppe Bilotta2011-08-02
| | | | | 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 Wenger2011-07-31
|
* fixe for msvc broke linuxConstantin Wenger2011-07-30
|
* this fixes problem with msvc++ and should work on other systems and so on ↵Constantin Wenger2011-07-30
| | | | anyway.
* fixed redefinitivon of gettext.h is included more than onceConstantin Wenger2011-07-30
|
* set locales to C because en_US not installed on some systems, only UTF-8 ↵Constantin Wenger2011-07-30
| | | | version and en_US.UTF-8 does not work.
* Read config from gettext.hGiuseppe Bilotta2011-07-24
| | | | Otherwise the USE_GETTEXT define might not be visible.
* Sanitize GETTEXT usage macrosGiuseppe Bilotta2011-07-24
| | | | | | | 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 initGiuseppe Bilotta2011-07-24
| | | | | 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 usedConstantin Wenger2011-07-23
| | | fixed error if gettext is disabled
* Make gettext optionalGiuseppe Bilotta2011-07-21
|
* added gettext supportConstantin Wenger2011-07-20
german translation file and bashscript to update translations