i18n: WAY more i18n conversion

This commit is contained in:
Ly-sec
2025-09-24 14:12:12 +02:00
parent df70f0c824
commit 2a23b6afdd
44 changed files with 327 additions and 204 deletions
+46 -46
View File
@@ -326,24 +326,24 @@ ColumnLayout {
id: audioVisualizerCombo
label: I18n.tr("settings.audio.media.visualizer-type.label")
description: I18n.tr("settings.audio.media.visualizer-type.description")
model: ListModel {
ListElement {
key: "none"
name: "None"
model: [
{
key: "none",
name: I18n.tr("options.visualizer-types.none")
},
{
key: "linear",
name: I18n.tr("options.visualizer-types.linear")
},
{
key: "mirrored",
name: I18n.tr("options.visualizer-types.mirrored")
},
{
key: "wave",
name: I18n.tr("options.visualizer-types.wave")
}
ListElement {
key: "linear"
name: "Linear"
}
ListElement {
key: "mirrored"
name: "Mirrored"
}
ListElement {
key: "wave"
name: "Wave"
}
}
]
currentKey: Settings.data.audio.visualizerType
onSelected: key => Settings.data.audio.visualizerType = key
}
@@ -351,36 +351,36 @@ ColumnLayout {
NComboBox {
label: I18n.tr("settings.audio.media.frame-rate.label")
description: I18n.tr("settings.audio.media.frame-rate.description")
model: ListModel {
ListElement {
key: "30"
name: "30 FPS"
model: [
{
key: "30",
name: I18n.tr("options.frame-rates.30-fps")
},
{
key: "60",
name: I18n.tr("options.frame-rates.60-fps")
},
{
key: "100",
name: I18n.tr("options.frame-rates.100-fps")
},
{
key: "120",
name: I18n.tr("options.frame-rates.120-fps")
},
{
key: "144",
name: I18n.tr("options.frame-rates.144-fps")
},
{
key: "165",
name: I18n.tr("options.frame-rates.165-fps")
},
{
key: "240",
name: I18n.tr("options.frame-rates.240-fps")
}
ListElement {
key: "60"
name: "60 FPS"
}
ListElement {
key: "100"
name: "100 FPS"
}
ListElement {
key: "120"
name: "120 FPS"
}
ListElement {
key: "144"
name: "144 FPS"
}
ListElement {
key: "165"
name: "165 FPS"
}
ListElement {
key: "240"
name: "240 FPS"
}
}
]
currentKey: Settings.data.audio.cavaFrameRate
onSelected: key => Settings.data.audio.cavaFrameRate = key
}
+1 -1
View File
@@ -36,7 +36,7 @@ ColumnLayout {
})
description: I18n.tr("settings.general.profile.picture.description")
text: Settings.data.general.avatarImage
placeholderText: "/home/user/.face"
placeholderText: I18n.tr("placeholders.profile-picture-path")
buttonIcon: "photo"
buttonTooltip: "Browse for avatar image"
onInputEditingFinished: Settings.data.general.avatarImage = text
+9 -9
View File
@@ -61,16 +61,16 @@ ColumnLayout {
NComboBox {
label: I18n.tr("settings.screen-recorder.video.video-source.label")
description: I18n.tr("settings.screen-recorder.video.video-source.description")
model: ListModel {
ListElement {
key: "portal"
name: "Portal"
model: [
{
key: "portal",
name: I18n.tr("options.screen-recording.sources.portal")
},
{
key: "screen",
name: I18n.tr("options.screen-recording.sources.screen")
}
ListElement {
key: "screen"
name: "Screen"
}
}
]
currentKey: Settings.data.screenRecorder.videoSource
onSelected: key => Settings.data.screenRecorder.videoSource = key
}