// Purpose: interface of wxLocale
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
};
/**
- Encapsulates a ::wxLanguage indentifier together with OS-specific information
+ Encapsulates a ::wxLanguage identifier together with OS-specific information
related to that language.
@beginWxPerlOnly
- Wx::LanguageInfo->new(language, canonicalName, WinLang, WinSubLang, Description)
@endWxPerlOnly
*/
-struct WXDLLIMPEXP_BASE wxLanguageInfo
+struct wxLanguageInfo
{
/// ::wxLanguage id.
/// It should be greater than @c wxLANGUAGE_USER_DEFINED when defining your own
translate the messages using the message catalogs for this locale.
*/
wxLocale(const wxString& name,
- const wxString& short = wxEmptyString,
+ const wxString& shortName = wxEmptyString,
const wxString& locale = wxEmptyString,
bool bLoadDefault = true);
const wxString& domain = wxEmptyString) const;
/**
- Calls wxTranslations::GetString(const wxString&, const wxString&, size_t, const wxString&) const.
+ Calls wxTranslations::GetString(const wxString&, const wxString&, unsigned, const wxString&) const.
*/
virtual const wxString& GetString(const wxString& origString,
- const wxString& origString2, size_t n,
+ const wxString& origString2, unsigned n,
const wxString& domain = wxEmptyString) const;
/**
given locale containing the translations of standard wxWidgets messages.
This parameter would be rarely used in normal circumstances.
*/
- bool Init(const wxString& name, const wxString& short = wxEmptyString,
+ bool Init(const wxString& name, const wxString& shortName = wxEmptyString,
const wxString& locale = wxEmptyString, bool bLoadDefault = true);
/**