summaryrefslogtreecommitdiff
path: root/include/libintl.h
Commit message (Collapse)AuthorAgeFilesLines
* gettext-tiny: Fix format not a string literal error (#41)Vadim Kochan2019-04-061-6/+19
| | | | | | | Add 'format_arg' attribute for the functions which may return string as formatted parameter, otherwise it fails to compile with corresponding compiler checking flag enabled. Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
* Revert "libintl.h: don't enable NOP macros by default"rofl0r2018-12-051-3/+3
| | | | | | | | This reverts commit 117e8eb600aecb432050ceb96d10e7503c801cf7. The patch was based on a misunderstanding: libintl.h is only installed if the NOP libintl flavor is chosen, in which case one actually *wants* these macros to be active by default.
* libintl.h: don't enable NOP macros by defaultA. Wilcox2018-12-021-3/+3
| | | | | with these macros active by default, basically no translation happens at all. that's almost certainly not what you want.
* libintl.h: C++ compatA. Wilcox2018-12-021-0/+6
|
* libintl.h: using parens for gettext_noop breaks greprofl0r2014-05-121-1/+1
|
* whitespace cleanuprofl0r2014-01-261-1/+1
|
* libintl.h: fix for case where __GNUC__ is undefinedrofl0r2013-06-021-1/+1
|
* libintl.h: turn off warning, and force ENABLE_NLS to 0rofl0r2013-05-261-0/+10
| | | | | | | the latter is a commonly used switch in autoconf'd sw. usually it's defined even when --disable-nls was used. this has the advantage that bindtextdomain and friends are often not even expanded.
* undef gettext_noop before usagerofl0r2013-05-261-0/+1
|
* make dummy macros eval their args for sideeffects to kick inrofl0r2013-05-261-8/+12
|
* libintl.h: complete macro set and possibility to disable themrofl0r2013-02-271-14/+28
| | | | | in some cases it may be desirable to link to -lintl rather than getting all macros expand to no-ops.
* libintl.h: cast gettext macros to char* to prevent C++ breakagerofl0r2013-02-271-6/+6
|
* libintl.h: include locale.hrofl0r2012-12-011-0/+4
| | | | fixes #1
* fix libintl.hrofl0r2012-09-181-1/+7
|
* add more funcs to libintl.hrofl0r2012-09-181-0/+8
|
* libintl.h: add dcgettextrofl0r2012-09-181-0/+1
|
* added libintl.hrofl0r2012-09-171-0/+13