Add missing qsTr wrappers where missing. (ki18n later, it's hard.)
This commit is contained in:
parent
61b6a5e648
commit
5975f2fb39
1 changed files with 5 additions and 5 deletions
10
qml/main.qml
10
qml/main.qml
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue