Add localization resources.

This commit is contained in:
SET
2022-10-16 15:42:36 +02:00
parent 8afc503891
commit 22ef6788de
8 changed files with 205 additions and 27 deletions

View File

@@ -10,9 +10,13 @@
#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_ "saf7" // Send and forget
#define _APP_DESCRIPTION_ "Send and forget an XMPP message"
#define _VERSION_ "5"