diff options
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 4 |
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 |