mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 16:37:12 +01:00
Bug 637 - Some full and reduced Menu Bar items are not translated
Relocates the translation tables to the bundle
This will change the location of the translation tables from:
<root>
Audacity.app/
Languanges/<langcode>/
to:
<root>
Audacity.app/Contents/Resources/<langcode>.lproj/
This will allow the menu items to be translated as expected.
This commit is contained in:
@@ -1157,8 +1157,10 @@ bool AudacityApp::OnInit()
|
||||
// the great-great-grandparent of the directory containing the executable.
|
||||
AddUniquePathToPathList(progPath+wxT("/../../../"), audacityPathList);
|
||||
|
||||
AddUniquePathToPathList(progPath+wxT("/Languages"), audacityPathList);
|
||||
AddUniquePathToPathList(progPath+wxT("/../../../Languages"), audacityPathList);
|
||||
// These allow for searching the "bundle"
|
||||
AddUniquePathToPathList(progPath+wxT("/../"), audacityPathList);
|
||||
AddUniquePathToPathList(progPath+wxT("/../Resources"), audacityPathList);
|
||||
|
||||
defaultTempDir.Printf(wxT("%s/audacity-%s"),
|
||||
tmpDirLoc.c_str(),
|
||||
wxGetUserId().c_str());
|
||||
|
||||
Reference in New Issue
Block a user