1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 16:37:12 +01:00

Use IPC_APPL where appropriate, rather than duplicating it.

Don't translate the app name in AboutDialog. It's trademarked.
This commit is contained in:
v.audacity
2011-08-26 23:56:44 +00:00
parent 604668986e
commit ea1bc0f5a3
2 changed files with 4 additions and 3 deletions

View File

@@ -616,7 +616,7 @@ public:
IPCServ()
: wxServer()
{
Create(wxT("audacity"));
Create(IPC_APPL);
};
~IPCServ()
@@ -938,10 +938,11 @@ void AudacityApp::InitLang( const wxString & lang )
// catalogs are search in LIFO order, so add wxstd first.
mLocale->AddCatalog(wxT("wxstd"));
// AUDACITY_NAME is legitimately used on some *nix configurations.
#ifdef AUDACITY_NAME
mLocale->AddCatalog(wxT(AUDACITY_NAME));
#else
mLocale->AddCatalog(wxT("audacity"));
mLocale->AddCatalog(IPC_APPL);
#endif
} else
mLocale = NULL;