| 34 int |
34 int |
| 35 pidgin_start(int argc, char *argv[]) { |
35 pidgin_start(int argc, char *argv[]) { |
| 36 GApplication *app; |
36 GApplication *app; |
| 37 int ret; |
37 int ret; |
| 38 |
38 |
| 39 bindtextdomain(PACKAGE, PURPLE_LOCALEDIR); |
39 bindtextdomain(GETTEXT_PACKAGE, purple_get_locale_dir()); |
| 40 bind_textdomain_codeset(PACKAGE, "UTF-8"); |
40 bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); |
| 41 textdomain(PACKAGE); |
41 textdomain(GETTEXT_PACKAGE); |
| 42 |
42 |
| 43 /* Locale initialization is not complete here. See gtk_init_check() */ |
43 /* Locale initialization is not complete here. See gtk_init_check() */ |
| 44 setlocale(LC_ALL, ""); |
44 setlocale(LC_ALL, ""); |
| 45 |
45 |
| 46 app = pidgin_application_new(); |
46 app = pidgin_application_new(); |