Lukáš Tinkl b2328d6643 chore: Consolidate date/time formatting
- simplify locale settings
- extract/fix datetime related functions into LocaleUtils
- port code to the new LocaleUtils

Closes #7230
2023-01-17 16:42:34 +01:00

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)
}
}