mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-19 17:40:15 +02:00
One more trick needed to get eu distinct from eu_ES in preferences
This commit is contained in:
parent
f2d9ff59bb
commit
025eb3075a
@ -977,10 +977,13 @@ AudacityLogger *AudacityApp::GetLogger()
|
|||||||
#define WL(lang,sublang)
|
#define WL(lang,sublang)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !wxCHECK_VERSION(3, 0, 1)
|
#if wxCHECK_VERSION(3, 0, 1)
|
||||||
wxLanguageInfo userLangs[] =
|
wxLanguageInfo userLangs[] =
|
||||||
{
|
{
|
||||||
{ wxLANGUAGE_USER_DEFINED, wxT("bs"), WL(0, SUBLANG_DEFAULT) wxT("Bosnian"), wxLayout_LeftToRight }
|
// Bosnian is defined in wxWidgets already
|
||||||
|
// { wxLANGUAGE_USER_DEFINED, wxT("bs"), WL(0, SUBLANG_DEFAULT) wxT("Bosnian"), wxLayout_LeftToRight },
|
||||||
|
|
||||||
|
{ wxLANGUAGE_USER_DEFINED, wxT("eu"), WL(0, SUBLANG_DEFAULT) wxT("Basque"), wxLayout_LeftToRight },
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1373,7 +1376,7 @@ bool AudacityApp::OnInit()
|
|||||||
//
|
//
|
||||||
// TODO: The whole Language initialization really need to be reworked.
|
// TODO: The whole Language initialization really need to be reworked.
|
||||||
// It's all over the place.
|
// It's all over the place.
|
||||||
#if !wxCHECK_VERSION(3, 0, 1)
|
#if wxCHECK_VERSION(3, 0, 1)
|
||||||
for (size_t i = 0, cnt = WXSIZEOF(userLangs); i < cnt; i++)
|
for (size_t i = 0, cnt = WXSIZEOF(userLangs); i < cnt; i++)
|
||||||
{
|
{
|
||||||
wxLocale::AddLanguage(userLangs[i]);
|
wxLocale::AddLanguage(userLangs[i]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user