1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-30 07:29:29 +02: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

@ -280,7 +280,7 @@ void AboutDialog::PopulateAudacityPage( ShuttleGui & S )
// New way to add to About box.... // New way to add to About box....
S.StartNotebookPage( _("Audacity") ); S.StartNotebookPage( wxT("Audacity") );
S.StartVerticalLay(1); S.StartVerticalLay(1);
//v For now, change to AudacityLogoWithName via old-fashioned way, not Theme. //v For now, change to AudacityLogoWithName via old-fashioned way, not Theme.

View File

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