mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-07 12:25:15 +00:00
i18n: even more integration
autoformat
This commit is contained in:
@@ -26,20 +26,16 @@ ColumnLayout {
|
||||
label: I18n.tr("bar.widget-settings.volume.display-mode.label")
|
||||
description: I18n.tr("bar.widget-settings.volume.display-mode.description")
|
||||
minimumWidth: 134 * scaling
|
||||
model: [
|
||||
{
|
||||
key: "onhover",
|
||||
name: I18n.tr("options.display-mode.on-hover")
|
||||
},
|
||||
{
|
||||
key: "alwaysShow",
|
||||
name: I18n.tr("options.display-mode.always-show")
|
||||
},
|
||||
{
|
||||
key: "alwaysHide",
|
||||
name: I18n.tr("options.display-mode.always-hide")
|
||||
}
|
||||
]
|
||||
model: [{
|
||||
"key": "onhover",
|
||||
"name": I18n.tr("options.display-mode.on-hover")
|
||||
}, {
|
||||
"key": "alwaysShow",
|
||||
"name": I18n.tr("options.display-mode.always-show")
|
||||
}, {
|
||||
"key": "alwaysHide",
|
||||
"name": I18n.tr("options.display-mode.always-hide")
|
||||
}]
|
||||
currentKey: valueDisplayMode
|
||||
onSelected: key => valueDisplayMode = key
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user