Localizzazione EN di default: qsTr() su tutte le stringhe QML, catalogo italiano translations/harbour-calibreweb_it.ts, lrelease+install .qm nello spec (pattern quill), .pro aggiornato

This commit is contained in:
2026-08-19 16:17:30 +02:00
parent 9758f2b528
commit e3ba9b5e87
12 changed files with 360 additions and 52 deletions
+5 -5
View File
@@ -12,19 +12,19 @@ Page {
id: column
width: parent.width
PageHeader { title: "Cerca" }
PageHeader { title: qsTr("Search") }
SearchField {
id: searchField
width: parent.width
placeholderText: "Titolo o autore…"
placeholderText: qsTr("Title or author…")
EnterKey.enabled: text.length > 0
EnterKey.onClicked: search()
}
Button {
anchors.horizontalCenter: parent.horizontalCenter
text: "Cerca"
text: qsTr("Search")
enabled: searchField.text.length > 0
onClicked: search()
}
@@ -32,7 +32,7 @@ Page {
Label {
x: Theme.horizontalPageMargin
width: parent.width - 2 * Theme.horizontalPageMargin
text: "La ricerca usa il motore del server (OPDS search)."
text: qsTr("Search uses the server engine (OPDS search).")
color: Theme.secondaryColor
font.pixelSize: Theme.fontSizeSmall
wrapMode: Text.Wrap
@@ -47,6 +47,6 @@ Page {
return
var url = base + "/opds/search?query=" + encodeURIComponent(query)
pageStack.push(Qt.resolvedUrl("FeedPage.qml"),
{ feedUrl: url, pageTitle: "Risultati: " + query })
{ feedUrl: url, pageTitle: qsTr("Results: ") + query })
}
}