Warn about a GetBestAvailableTranslation() quirk
This commit is contained in:
parent
1030147aff
commit
f0ed987010
1 changed files with 6 additions and 0 deletions
|
|
@ -97,6 +97,12 @@ public:
|
|||
it simply returns the language set with SetLanguage() if it's available
|
||||
or empty string otherwise.
|
||||
|
||||
@warning
|
||||
This function does not consider messages ID language (typically
|
||||
English) and can return inappropriate language if it is anywhere in
|
||||
user's preferred languages list. Use GetBestTranslation() instead
|
||||
unless you have very specific needs.
|
||||
|
||||
@since 3.3.0
|
||||
*/
|
||||
wxString GetBestAvailableTranslation(const wxString& domain);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue