1
0
forked from 0ad/0ad
0ad/source/third_party/tinygettext
Angen c8e6c05334 Fix gcc warning reported by Imarok after 204e17206b
Introduced in 204e17206b.
Gcc gives warning about missing parenthesis so this patch is adding
them, not changing result of expression.
Fix proposed by Imarok in P206 after report on irc
http://irclogs.wildfiregames.com/2020-05/2020-05-22-QuakeNet-%230ad-dev.log.

Differential Revision: https://code.wildfiregames.com/D2762
Reviewed by: elexis
This was SVN commit r23692.
2020-05-23 12:21:49 +00:00
..
include/tinygettext Update tinygettext. 2015-12-08 18:05:11 +00:00
src Fix gcc warning reported by Imarok after 204e17206b 2020-05-23 12:21:49 +00:00
LICENSE.md Update tinygettext. 2015-06-01 01:09:19 +00:00
README.md Update tinygettext. 2015-06-01 01:09:19 +00:00

tinygettext

tinygettext is a minimal replacement for gettext written in C++. It can read .po files directly and doesn't need .mo files generated from .po. It also can read the .po files from arbitary locations, so it's better suited for non-Unix systems and situations in which one wants to store or distribute .po files seperately from the software itself. It is licensed under zlib license.

The latest version can be found at:

Detecting the locale setting

Different operating systems store the default locale in different places; a portable way to find it is provided by FindLocale: