Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SergeyDjam/purple-vk-plugin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index eed5cdc..9dc5538 100644
--- a/src/common.h
+++ b/src/common.h
@@ -11,10 +11,12 @@
#include <chrono>
#include <cstdio>
#include <functional>
+#include <libintl.h>
#include <memory>
#include <string>
#include <vector>
+
// Let's make using most popular names easier.
using std::shared_ptr;
using std::vector;
@@ -157,7 +159,7 @@ std::chrono::seconds::rep to_seconds(T duration)
// I18n
-#define i18n(x) (x)
+#define i18n(x) dgettext("purple-vk-plugin", x)
// Debugging macros