mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 05:52:41 +00:00
b2328d6643
- simplify locale settings - extract/fix datetime related functions into LocaleUtils - port code to the new LocaleUtils Closes #7230
16 lines
385 B
QML
16 lines
385 B
QML
import QtQuick 2.13
|
|
import utils 1.0
|
|
|
|
QtObject {
|
|
id: root
|
|
|
|
property var languageModule
|
|
|
|
readonly property var languageModel: languageModule ? languageModule.model : null
|
|
readonly property string currentLanguage: languageModule ? languageModule.currentLanguage : null
|
|
|
|
function changeLanguage(language) {
|
|
root.languageModule.changeLanguage(language)
|
|
}
|
|
}
|