From 0b56957297167538addd330e699e2e3cd2731d68 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 26 Dec 2017 22:13:52 +0100 Subject: compat: use gettext convention for tr() --- compat/macros.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compat') diff --git a/compat/macros.hpp b/compat/macros.hpp index e27eb906..5a2f01e3 100644 --- a/compat/macros.hpp +++ b/compat/macros.hpp @@ -1,6 +1,8 @@ #pragma once +#include #define otr_tr(str) (QCoreApplication::translate(OTR_MODULE_NAME, (str))) +#define _(x) otr_tr(x) #if defined _MSC_VER # define never_inline __declspec(noinline) -- cgit v1.2.3