summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Main.h1
-rw-r--r--include/gettext.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/Main.h b/include/Main.h
index 6d4ac9c..0e3885a 100644
--- a/include/Main.h
+++ b/include/Main.h
@@ -25,6 +25,7 @@ class Main : public Base {
#define CODE_ENDS }; \
int main(int argc, char ** argv) { \
int r; \
+ setlocale(LC_ALL, ""); \
Appli * Application = new Appli(); \
r = Main::truemain(Application, argc, argv, environ); \
delete Application; \
diff --git a/include/gettext.h b/include/gettext.h
index ab2d962..248bf2e 100644
--- a/include/gettext.h
+++ b/include/gettext.h
@@ -66,7 +66,7 @@
initializer for static 'char[]' or 'const char[]' variables. */
#define gettext_noop(String) String
-#define _(Text) gettext (Text)
+#define _(Text) dgettext ("Baltisot", Text)
#define N_(Text) Text
#endif /* _LIBGETTEXT_H */