diff --git a/app/qml/BooksBookView.qml b/app/qml/BooksBookView.qml index 94e8fed..4fa3855 100644 --- a/app/qml/BooksBookView.qml +++ b/app/qml/BooksBookView.qml @@ -32,6 +32,7 @@ import QtQuick 2.0 import Sailfish.Silica 1.0 +import org.nemomobile.notifications 1.0 import harbour.books 1.0 //import Sailfish.Media 1.0 // Not allowed @@ -116,6 +117,15 @@ SilicaFlickable { bottomMargin: Theme.itemSizeSmall } + Notification { + id: notification + //: Pop-up notification + //% "Copied to clipboard" + previewBody: qsTrId("harbour-books-book-view-copied_to_clipboard") + icon: "icon-s-clipboard" + expireTimeout: 2000 + } + SilicaListView { id: bookView model: bookModel @@ -193,8 +203,11 @@ SilicaFlickable { } } onSelectingChanged: { - globalFeedback.start("push_gesture") if (currentPage) { + globalFeedback.start("push_gesture") + if (!pageView.selecting) { + notification.publish() + } root.selecting = pageView.selecting } } diff --git a/app/translations/harbour-books-de.ts b/app/translations/harbour-books-de.ts index 80303b0..ed30c30 100644 --- a/app/translations/harbour-books-de.ts +++ b/app/translations/harbour-books-de.ts @@ -35,6 +35,11 @@ Deleting all books Alle Bücher löschen + + Copied to clipboard + Pop-up notification + In Zwischenablage kopiert + No books Keine Bücher diff --git a/app/translations/harbour-books-fi.ts b/app/translations/harbour-books-fi.ts index 6578de0..ff8feb4 100644 --- a/app/translations/harbour-books-fi.ts +++ b/app/translations/harbour-books-fi.ts @@ -31,6 +31,11 @@ Cancel Peru + + Copied to clipboard + Pop-up notification + Kopioitu leikepöydälle + Deleting all books Poistetaan kaikki kirjat diff --git a/app/translations/harbour-books-ru.ts b/app/translations/harbour-books-ru.ts index 0c6253a..062bd7c 100644 --- a/app/translations/harbour-books-ru.ts +++ b/app/translations/harbour-books-ru.ts @@ -31,6 +31,11 @@ Cancel Отменить + + Copied to clipboard + Pop-up notification + Скопировано в буфер обмена + Deleting all books Удаляем все книги diff --git a/app/translations/harbour-books-sv.ts b/app/translations/harbour-books-sv.ts index 4f0caed..3c5a53a 100644 --- a/app/translations/harbour-books-sv.ts +++ b/app/translations/harbour-books-sv.ts @@ -31,6 +31,11 @@ Cancel Avbryt + + Copied to clipboard + Pop-up notification + Kopierat till urklipp + Deleting all books Tar bort alla böcker diff --git a/app/translations/harbour-books.ts b/app/translations/harbour-books.ts index b16fd5e..9258d72 100644 --- a/app/translations/harbour-books.ts +++ b/app/translations/harbour-books.ts @@ -31,6 +31,11 @@ Cancel Cancel + + Copied to clipboard + Pop-up notification + Copied to clipboard + Deleting all books Deleting all books