From: Christian Herdtweck Date: Wed, 15 Feb 2017 14:40:50 +0000 (+0100) Subject: Add another convenience function allowing i18n_noops("foo")+"bar" X-Git-Tag: v2.9~4 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=0562a0f617437d45d9e344da14980598d7c6c93d;p=libi2ncommon Add another convenience function allowing i18n_noops("foo")+"bar" --- diff --git a/src/i18n.h b/src/i18n.h index 2ed1ea8..0344092 100644 --- a/src/i18n.h +++ b/src/i18n.h @@ -34,6 +34,7 @@ on this file might be covered by the GNU General Public License. #define i18n(String) gettext(String) #define i18n_plural(String1, String2, Count) ngettext(String1, String2, Count) #define i18n_noop(String) (String) +#define i18n_noops(String) std::string(String) void i18n_init(const std::string& domain, const std::string& path="."); void i18n_set_language(const std::string &lang="");