From 0562a0f617437d45d9e344da14980598d7c6c93d Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Wed, 15 Feb 2017 15:40:50 +0100 Subject: [PATCH] Add another convenience function allowing i18n_noops("foo")+"bar" --- src/i18n.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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=""); -- 1.7.1