diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-03 05:56:15 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-03 05:56:15 +0000 |
| commit | bbdca491933fd906bb65cc201c8636d24d4cda71 (patch) | |
| tree | fb8580a6b3a20bc9d331a5057cb6ca1659134d1e /src/main.cc | |
| parent | e5d63c070c2787acef59163de77e2a6d66ca0f90 (diff) | |
gettext is ready to rock and roll
Diffstat (limited to 'src/main.cc')
| -rw-r--r-- | src/main.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc index 4ea8aaf1..2bc4b3ce 100644 --- a/src/main.cc +++ b/src/main.cc @@ -94,6 +94,11 @@ int main(int argc, char **argv) { char *rc_file = (char *) 0; char *menu_file = (char *) 0; + // initialize the locale + setlocale(LC_ALL, ""); + bindtextdomain(PACKAGE, LOCALEDIR); + textdomain(PACKAGE); + for (int i = 1; i < argc; ++i) { if (! strcmp(argv[i], "-rc")) { // look for alternative rc file to use |
