QLocale: Fix example return value for uiLanguages()

The documentation (correctly) states that the first item in the list
is the most preferred one. Anyhow, then it doesn't make much sense to
list "en_US" after "en".

Change-Id: Ib88e5c97d4329b444d1cb49eeb49eaed2ddedad3
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
bb10
Kai Koehne 2015-06-19 12:40:27 +02:00
parent 32ce3b0eaf
commit fa09699918
1 changed files with 1 additions and 1 deletions

View File

@ -3506,7 +3506,7 @@ QString QLocale::toCurrencyString(double value, const QString &symbol) const
\since 4.8
Returns an ordered list of locale names for translation purposes in
preference order (like "en", "en-US", "en-Latn-US").
preference order (like "en-Latn-US", "en-US", "en").
The return value represents locale names that the user expects to see the
UI translation in.