1 /*---------------------------------------------------------------------\
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
11 \----------------------------------------------------------------------/
15 Author: Stefan Hundhammer <sh@suse.de>
27 inline QString _( const char * msgid )
29 return ( !msgid || !*msgid ) ? "" : QString::fromUtf8( gettext(msgid ) );
32 inline QString _( const char * msgid1, const char * msgid2, unsigned long int n )
34 return QString::fromUtf8( ngettext(msgid1, msgid2, n ) );