mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
new logic for enabling translation in bundled releases of ardour
git-svn-id: svn://localhost/ardour2/branches/3.0@13980 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f08f3acbac
commit
bc2523c249
4 changed files with 49 additions and 9 deletions
|
|
@ -149,7 +149,7 @@ fixup_bundle_environment (int, char* [])
|
|||
bundle_dir = Glib::path_get_dirname (exec_dir);
|
||||
|
||||
#ifdef ENABLE_NLS
|
||||
if (ARDOUR::translations_are_disabled ()) {
|
||||
if (!ARDOUR::translations_are_enabled ()) {
|
||||
localedir = "/this/cannot/exist";
|
||||
export_search_path (bundle_dir, "GTK_LOCALEDIR", "/Resources/locale");
|
||||
} else {
|
||||
|
|
@ -237,7 +237,7 @@ fixup_bundle_environment (int /*argc*/, char* argv[])
|
|||
std::string userconfigdir = user_config_directory();
|
||||
|
||||
#ifdef ENABLE_NLS
|
||||
if (ARDOUR::translations_are_disabled ()) {
|
||||
if (!ARDOUR::translations_are_enabled ()) {
|
||||
localedir = "/this/cannot/exist";
|
||||
export_search_path (dir_path, "GTK_LOCALEDIR", "/this/cannot/exist");
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue