summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-07 07:54:13 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-07 07:54:13 +0000
commitc09825097c0231c57f9ac416fae0003c5d68398c (patch)
treeb5c4d8cb200e6382ffae66d5b1d98a5f22aabe60 /src/main.cpp
parent1389fc06cc578bdddd6d92cf3a239e33bb892026 (diff)
downloadMana-c09825097c0231c57f9ac416fae0003c5d68398c.tar.gz
Mana-c09825097c0231c57f9ac416fae0003c5d68398c.tar.bz2
Mana-c09825097c0231c57f9ac416fae0003c5d68398c.tar.xz
Mana-c09825097c0231c57f9ac416fae0003c5d68398c.zip
Marked most of the GUI as translatable.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index bde0877e..9a51f2e4 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -669,8 +669,9 @@ int main(int argc, char *argv[])
#if ENABLE_NLS
setlocale(LC_MESSAGES, "");
- bindtextdomain(PACKAGE, LOCALEDIR);
- textdomain(PACKAGE);
+ bindtextdomain("tmw", LOCALEDIR);
+ bind_textdomain_codeset("tmw", "UTF-8");
+ textdomain("tmw");
#endif
// Initialize PhysicsFS