Clarify GetAvailableTranslations() return value

Add a note explaining that the msgid language is not included.
This commit is contained in:
Václav Slavík 2024-02-12 14:30:48 +01:00
parent f0ed987010
commit f248f0593c

View file

@ -85,6 +85,11 @@ public:
translations offered to the user. To do this, pass the app's main translations offered to the user. To do this, pass the app's main
catalog as @a domain. catalog as @a domain.
@note
The returned list does not include messages ID language, i.e. the
language (typically English) included in the source code. In the use
case described above, that language needs to be added manually.
@see GetBestTranslation() @see GetBestTranslation()
*/ */
wxArrayString GetAvailableTranslations(const wxString& domain) const; wxArrayString GetAvailableTranslations(const wxString& domain) const;