From ddd60d5a39702098040e51f9c8c624828b04cb4b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 29 Aug 2021 18:56:36 +0200 Subject: [PATCH] Add link to ISO 639 language codes to the documentation This can be useful as not all of them are really obvious. --- interface/wx/uilocale.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/interface/wx/uilocale.h b/interface/wx/uilocale.h index bcc7875662..9d37b19be3 100644 --- a/interface/wx/uilocale.h +++ b/interface/wx/uilocale.h @@ -192,12 +192,15 @@ public: /** Set language. + Return reference to @this for method chaining. + See https://www.loc.gov/standards/iso639-2/php/English_list.php for the + list of all language codes. + @param language - It is a lowercase ISO 639 language code. - The codes from ISO 639-1 are used when available. - Otherwise, codes from ISO 639-2/T are used. + A two-letter ISO 639-1 language code or a three-letter ISO 639-2 + code for the languages without ISO 639-1 codes. */ wxLocaleIdent& Language(const wxString& language);