Fix minor details in QLocale::uiLanguages() docs
An illustration missed out an entry. Technically truncations go after equivalents of their source. Change-Id: Ia514c3e0991cbc552c6314a26c6d0569b38e9f16 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
parent
5776865f7c
commit
55f69018b3
@ -5157,11 +5157,11 @@ QString QLocale::formattedDataSize(qint64 bytes, int precision, DataSizeFormats
|
|||||||
|
|
||||||
For example, using the default separator QLocale::TagSeparator::Dash, if the
|
For example, using the default separator QLocale::TagSeparator::Dash, if the
|
||||||
user has configured their system to use English as used in the USA, the list
|
user has configured their system to use English as used in the USA, the list
|
||||||
would be "en-Latn-US", "en-US", "en". The order of entries is the order in
|
would be "en-Latn-US", "en-US", "en-Latn", "en". The order of entries is the
|
||||||
which to check for translations; earlier items in the list are to be
|
order in which to check for translations; earlier items in the list are to
|
||||||
preferred over later ones. If your translation files use underscores, rather
|
be preferred over later ones. If your translation files (or other resources
|
||||||
than dashes, to separate locale tags, pass QLocale::TagSeparator::Underscore
|
specific to locale) use underscores, rather than dashes, to separate locale
|
||||||
as \a separator.
|
tags, pass QLocale::TagSeparator::Underscore as \a separator.
|
||||||
|
|
||||||
Returns a list of locale names. This may include multiple languages,
|
Returns a list of locale names. This may include multiple languages,
|
||||||
especially for the system locale when multiple UI translation languages are
|
especially for the system locale when multiple UI translation languages are
|
||||||
@ -5175,8 +5175,9 @@ QString QLocale::formattedDataSize(qint64 bytes, int precision, DataSizeFormats
|
|||||||
that would be more appropriate fallbacks.
|
that would be more appropriate fallbacks.
|
||||||
|
|
||||||
Starting from Qt 6.9, reasonable truncations are included in the returned
|
Starting from Qt 6.9, reasonable truncations are included in the returned
|
||||||
list \e after the explicitly specified locales. This change allows for more
|
list \e after all entries equivalent to the explicitly specified
|
||||||
accurate fallback options without callers needing to do any truncation.
|
locales. This change allows for more accurate fallback options without
|
||||||
|
callers needing to do any truncation.
|
||||||
|
|
||||||
Users can explicitly include preferred fallback locales (such as en-US) in
|
Users can explicitly include preferred fallback locales (such as en-US) in
|
||||||
their system configuration to control the order of preference. You are
|
their system configuration to control the order of preference. You are
|
||||||
|
Loading…
x
Reference in New Issue
Block a user