Allow getting all usable translations languages
Add a method to return the full list of translations that can be used, generalizing the existing GetBestTranslation().
This commit is contained in:
committed by
Vadim Zeitlin
parent
4099e75edb
commit
5d08e404c7
@@ -145,6 +145,11 @@ public:
|
||||
wxString GetBestTranslation(const wxString& domain,
|
||||
const wxString& msgIdLanguage = "en");
|
||||
|
||||
// find best and all other suitable translation languages for given domain
|
||||
wxArrayString GetAllGoodTranslations(const wxString& domain, wxLanguage msgIdLanguage);
|
||||
wxArrayString GetAllGoodTranslations(const wxString& domain,
|
||||
const wxString& msgIdLanguage = "en");
|
||||
|
||||
// add standard wxWidgets catalog ("wxstd")
|
||||
bool AddStdCatalog();
|
||||
|
||||
|
Reference in New Issue
Block a user