start passing around the (possibly-bundle-modified) localedir so that we call bindtextdomain() correctly, and thus (hopefully) find message catalogs correctly inside a bundle

git-svn-id: svn://localhost/ardour2/branches/3.0@13965 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2013-01-21 23:14:00 +00:00
parent c09dc77dfc
commit 2a2b48ef66
7 changed files with 27 additions and 11 deletions

View file

@ -37,10 +37,10 @@
using namespace std;
void
Gtkmm2ext::init ()
Gtkmm2ext::init (const char* localedir)
{
// Necessary for gettext
(void) bindtextdomain(PACKAGE, LOCALEDIR);
(void) bindtextdomain(PACKAGE, localedir);
}
void