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:
parent
604668986e
commit
ea1bc0f5a3
@ -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.
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user