mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-04 03:06:57 +00:00
i18n: WAY more i18n conversion
This commit is contained in:
@@ -26,20 +26,20 @@ 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: ListModel {
|
||||
ListElement {
|
||||
key: "onhover"
|
||||
name: "On hover"
|
||||
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")
|
||||
}
|
||||
ListElement {
|
||||
key: "alwaysShow"
|
||||
name: "Always show"
|
||||
}
|
||||
ListElement {
|
||||
key: "alwaysHide"
|
||||
name: "Always hide"
|
||||
}
|
||||
}
|
||||
]
|
||||
currentKey: valueDisplayMode
|
||||
onSelected: key => valueDisplayMode = key
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user