Skip to content

Commit

Permalink
Bug 118391 - Long currency names untranslated
Browse files Browse the repository at this point in the history
Fix for Win32
  • Loading branch information
gjanssens committed Mar 21, 2016
1 parent 6242524 commit 9f984c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bin/gnucash-bin.c
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,7 @@ main(int argc, char ** argv)
#ifdef HAVE_GETTEXT
{
gchar *localedir = gnc_path_get_localedir();
bindtextdomain("iso_4217", localedir); // For win32 to find currency name translations
bindtextdomain(GETTEXT_PACKAGE, localedir);
textdomain(GETTEXT_PACKAGE);
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
Expand Down

0 comments on commit 9f984c0

Please sign in to comment.