mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
more i18n fixes, this time removing a hack that broke i18n in bundles, and also only initializing NLS stuff if ENABLE_NLS is in effect. note that if translations are disabled by the user, we set the localedir used to look for message catalogs to a dir that is assumed to not exist (/this/cannot/exist) which should block all translation from happening.
git-svn-id: svn://localhost/ardour2/branches/3.0@13975 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
9d29fb8e0a
commit
a8bf2e9402
4 changed files with 36 additions and 34 deletions
|
|
@ -39,8 +39,9 @@ using namespace std;
|
|||
void
|
||||
Gtkmm2ext::init (const char* localedir)
|
||||
{
|
||||
// Necessary for gettext
|
||||
#ifdef ENABLE_NLS
|
||||
(void) bindtextdomain(PACKAGE, localedir);
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue