| --- ./plparse/totem-pl-parser.c.orig 2015-02-17 15:27:48.000000000 +0100 |
| +++ ./plparse/totem-pl-parser.c 2015-05-22 09:08:18.942765600 +0200 |
| @@ -662,7 +662,13 @@ |
| static gpointer |
| totem_pl_parser_real_init_i18n (gpointer data) |
| { |
| - bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); |
| + gchar *dir; |
| + gchar *path; |
| + dir = g_win32_get_package_installation_directory_of_module (NULL); |
| + path = g_build_filename (dir, "share", "locale", NULL); |
| + bindtextdomain (GETTEXT_PACKAGE, path); |
| bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); |
| + g_free (path); |
| + g_free (dir); |
| return NULL; |
| } |