mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Fix default language on Mac.
This commit is contained in:
parent
81a3a197df
commit
227aecb439
2 changed files with 6 additions and 1 deletions
|
|
@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## 5.0.2 - 2022-12-13
|
||||
|
||||
### Fixed
|
||||
- Default Language didn't match with the system language (Qt bug).
|
||||
|
||||
## 5.0.1 - 2022-12-09
|
||||
|
||||
### Fixed
|
||||
|
|
|
|||
|
|
@ -853,7 +853,7 @@ void App::initLocale (const shared_ptr<linphone::Config> &config) {
|
|||
}
|
||||
|
||||
// Try to use system locale.
|
||||
QLocale sysLocale = QLocale::system();
|
||||
QLocale sysLocale = QLocale(QLocale::system().name());// Use Locale from name because Qt has a bug where it didn't use the QLocale::language (aka : translator.language != lolcale.language) on Mac.
|
||||
if (installLocale(*this, *mTranslator, sysLocale)) {
|
||||
mLocale = sysLocale.name();
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue