Add localization resources.

This commit is contained in:
SET
2022-10-16 16:34:01 +02:00
parent b4aac31970
commit 80d18aea00
7 changed files with 121 additions and 12 deletions

View File

@@ -9,6 +9,14 @@
#ifndef GLOBALS_H
#define GLOBALS_H
#include <libintl.h>
#include <string>
using namespace std;
//https://www.labri.fr/perso/fleury/posts/programming/a-quick-gettext-tutorial.html
#define _(STRING) gettext(STRING)
#define _APPNAME_ "POD7" // Pedal events Over DBus
#define _APP_DESCRIPTION_ "Send pedal events over DBus"
#define _VERSION_ "2"