| 63 | } |
| 64 | |
| 65 | static bool TranslationExists(const FilePaths &pathList, wxString code) |
| 66 | { |
| 67 | FilePaths results; |
| 68 | FindFilesInPathList(code + L"/audacity.mo", pathList, results); |
| 69 | #if defined(__WXMAC__) |
| 70 | FindFilesInPathList(code + L".lproj/audacity.mo", pathList, results); |
| 71 | #endif |
| 72 | FindFilesInPathList(code + L"/LC_MESSAGES/audacity.mo", pathList, results); |
| 73 | return (results.size() > 0); |
| 74 | } |
| 75 | |
| 76 | #ifdef __WXMAC__ |
| 77 | #include <CoreFoundation/CFPreferences.h> |
no test coverage detected