diff --git a/app/qml/BooksBookView.qml b/app/qml/BooksBookView.qml index f242ab0..8d428fd 100644 --- a/app/qml/BooksBookView.qml +++ b/app/qml/BooksBookView.qml @@ -187,6 +187,21 @@ SilicaFlickable { } } + BooksTitleLabel { + id: titleLabel + anchors { + top: parent.top + left: parent.left + right: parent.right + leftMargin: bookModel.leftMargin + rightMargin: bookModel.rightMargin + } + text: bookModel.title + height: Theme.itemSizeExtraSmall + color: Theme.highlightColor + opacity: _loading ? 0.6 : 0 + } + BusyIndicator { id: busyIndicator anchors.centerIn: parent @@ -214,4 +229,18 @@ SilicaFlickable { Behavior on opacity { FadeAnimation {} } text: bookModel ? _loadingTextLabel[bookModel.resetReason] : "" } + + Button { + //% "Cancel" + text: qsTrId("book-view-cancel-loading") + preferredWidth: Theme.buttonWidthMedium + height: Theme.itemSizeLarge + anchors { + bottom: parent.bottom + horizontalCenter: parent.horizontalCenter + } + onClicked: root.closeBook() + opacity: enabled ? 1.0 : 0.0 + Behavior on opacity { FadeAnimation { } } + } } diff --git a/app/translations/harbour-books-fi.ts b/app/translations/harbour-books-fi.ts index a48edfb..5ab6c21 100644 --- a/app/translations/harbour-books-fi.ts +++ b/app/translations/harbour-books-fi.ts @@ -23,6 +23,10 @@ Applying smaller fonts... Vaihdetaan pienempiin fontteihin... + + Cancel + Peru + Deleting all books Poistetaan kaikki kirjat diff --git a/app/translations/harbour-books-ru.ts b/app/translations/harbour-books-ru.ts index d38efc9..5244aa7 100644 --- a/app/translations/harbour-books-ru.ts +++ b/app/translations/harbour-books-ru.ts @@ -23,6 +23,10 @@ Applying smaller fonts... Уменьшаем шрифты... + + Cancel + Отставить + Deleting all books Удаляем все книги diff --git a/app/translations/harbour-books-sv.ts b/app/translations/harbour-books-sv.ts index 83d7759..7d99d11 100644 --- a/app/translations/harbour-books-sv.ts +++ b/app/translations/harbour-books-sv.ts @@ -23,6 +23,10 @@ Applying smaller fonts... Tillämpa mindre typsnitt... + + Cancel + Avbryt + Deleting all books Tar bort alla böcker diff --git a/app/translations/harbour-books.ts b/app/translations/harbour-books.ts index a571d75..622101a 100644 --- a/app/translations/harbour-books.ts +++ b/app/translations/harbour-books.ts @@ -23,6 +23,10 @@ Applying smaller fonts... Applying smaller fonts... + + Cancel + Cancel + Deleting all books Deleting all books