summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpixel <pixel>2003-03-18 16:00:37 +0000
committerpixel <pixel>2003-03-18 16:00:37 +0000
commitaf3debf2153eac52fec1844593d09191af23ce4d (patch)
tree2ec551de1c3206f2ca321184db0bc4aabdc208a6 /include
parent4331fdd18a60deea4951c54f2575abed0864ca83 (diff)
Gettext
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 */