1.1 --- a/src/main.c Mon Jul 28 04:45:24 2008 +0000
1.2 +++ b/src/main.c Sat Jan 03 07:30:26 2009 +0000
1.4 #include "maple/maple.h"
1.8 -#include <AppKit/AppKit.h>
1.11 char *option_list = "a:A:c:dhHl:m:npt:T:uvV:x?";
1.12 struct option longopts[] = {
1.14 void bind_gettext_domain()
1.18 - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
1.19 - NSString *resourcePath = [[NSBundle mainBundle] resourcePath];
1.20 - bindtextdomain( PACKAGE, [resourcePath UTF8String] );
1.21 -#ifdef HAVE_BIND_TEXTDOMAIN_CODESET
1.22 - bind_textdomain_codeset( PACKAGE, "UTF-8" );
1.26 - bindtextdomain (PACKAGE, PACKAGE_LOCALE_DIR);
1.28 + bindtextdomain( PACKAGE, get_locale_path() );
1.29 textdomain(PACKAGE);