Use Locale::name() instead of Locale::bcp47Name()

Authored by vonreth on Feb 24 2018, 11:09 AM.

Description

Use Locale::name() instead of Locale::bcp47Name()

Summary:
bcp47Name() is encoded like "en-US" the dictionary name on the other hand
is "en_US" so lets use name().

Reviewers: dfaure, mlaurent, kfunk, vkrause

Reviewed By: dfaure

Subscribers: apol, Frameworks

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D10741

Details

Committed
vonrethFeb 24 2018, 11:12 AM
Reviewer
dfaure
Differential Revision
D10741: Use Locale::name() instead of Locale::bcp47Name()
Parents
R246:1e0f5f0e3476: Find libhunspell build by msvc
Branches
Unknown
Tags
Unknown