Add missing qsTr wrappers where missing. (ki18n later, it's hard.)

This commit is contained in:
Daniel O'Neill 2026-01-10 21:26:59 -08:00
parent 61b6a5e648
commit 5975f2fb39

View file

@ -16,7 +16,7 @@ Kirigami.ApplicationWindow {
visible: true
minimumWidth: Kirigami.Units.gridUnit * 20
minimumHeight: Kirigami.Units.gridUnit * 30
title: "Audiobook Player"
title: qsTr("Audiobook Player")
property bool showingNowPlaying: true
@ -37,7 +37,7 @@ Kirigami.ApplicationWindow {
}
onContentsChanged: function(newlist) {
console.log(`New contents: ${JSON.stringify(newlist,null,4)}`);
//console.log(`New contents: ${JSON.stringify(newlist,null,4)}`);
}
}
@ -74,7 +74,7 @@ Kirigami.ApplicationWindow {
globalDrawer: Kirigami.GlobalDrawer {
id: menuDrawer
title: "Menu"
title: qsTr("Menu")
modal: true
width: Kirigami.Units.gridUnit * 14
@ -92,7 +92,7 @@ Kirigami.ApplicationWindow {
anchors.fill: parent
anchors.margins: Kirigami.Units.largeSpacing
verticalAlignment: Text.AlignVCenter
text: "Audiobooks"
text: qsTr("Audiobooks")
}
}
@ -136,7 +136,7 @@ Kirigami.ApplicationWindow {
Kirigami.NavigationTabButton {
display: Kirigami.NavigationTabButton.TextBesideIcon
text: "Settings"
text: qsTr("Settings")
icon.name: "preferences-other"
Layout.fillWidth: true
onClicked: {