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:
@@ -32,11 +32,11 @@ Page {
|
||||
// il PullDownMenu va DENTRO una vista Silica, non a livello di Page
|
||||
PullDownMenu {
|
||||
MenuItem {
|
||||
text: "Indice capitoli"
|
||||
text: qsTr("Table of contents")
|
||||
onClicked: showChapterList()
|
||||
}
|
||||
MenuItem {
|
||||
text: "Margini del testo"
|
||||
text: qsTr("Text margins")
|
||||
onClicked: {
|
||||
var dlg = pageStack.push(Qt.resolvedUrl("MarginDialog.qml"), {
|
||||
marginLr: appSettings.readerMargin,
|
||||
@@ -50,11 +50,11 @@ Page {
|
||||
}
|
||||
}
|
||||
MenuItem {
|
||||
text: "Impostazioni"
|
||||
text: qsTr("Settings")
|
||||
onClicked: pageStack.push(Qt.resolvedUrl("SettingsPage.qml"))
|
||||
}
|
||||
MenuItem {
|
||||
text: "Chiudi libro"
|
||||
text: qsTr("Close book")
|
||||
onClicked: {
|
||||
page.maybeSave(true)
|
||||
pageStack.popTo(null)
|
||||
@@ -164,7 +164,7 @@ Page {
|
||||
interval: 15000
|
||||
onTriggered: {
|
||||
if (!web.loaded && !page.ready) {
|
||||
page.errorMessage = "Il lettore non risponde (WebView). Il file EPUB potrebbe essere danneggiato."
|
||||
page.errorMessage = qsTr("The reader is not responding (WebView). The EPUB file may be damaged.")
|
||||
page.ready = true
|
||||
}
|
||||
}
|
||||
@@ -287,7 +287,7 @@ Page {
|
||||
var html = book.chapterHtml(page.currentChapter, page.fontPx(),
|
||||
appSettings.readerMargin, appSettings.readerMarginV)
|
||||
if (html.length === 0) {
|
||||
page.errorMessage = "Capitolo non leggibile"
|
||||
page.errorMessage = qsTr("Chapter unreadable")
|
||||
page.ready = true
|
||||
return
|
||||
}
|
||||
@@ -336,7 +336,7 @@ Page {
|
||||
Component.onCompleted: {
|
||||
page.ready = false
|
||||
if (!book.open(page.epubPath)) {
|
||||
page.errorMessage = "Impossibile aprire il libro EPUB"
|
||||
page.errorMessage = qsTr("Unable to open the EPUB file")
|
||||
page.ready = true
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user