summaryrefslogtreecommitdiff
path: root/libreofficekit
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2020-06-15 09:20:24 +0200
committerAndras Timar <andras.timar@collabora.com>2020-06-15 21:41:50 +0200
commitb516089abd4ec2ec615cdf15ea570ed1e4996cfe (patch)
tree9dcea969695bf9281d17f0d879accccca230bb1b /libreofficekit
parentff49c4ba3933bc634f6d374b507613a9ca4a849a (diff)
Use getBcp47() instead of getLanguage()
getLanguage() only returns the language code which can be ambiguous in case of UI localization, when there are more than one language variants. Fallback to the first variant caused mixed language UI, e.g. en-US vs. en-GB, pt vs. pt-BR, zh-CN vs. zh-TW. Change-Id: I888423cd4b3c65dbdb900ff3b6bc308fa119be4d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96284 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'libreofficekit')
0 files changed, 0 insertions, 0 deletions