From 12eb302bcc93405f81b676b1a29a9731a5fec9be Mon Sep 17 00:00:00 2001 From: pacien Date: Sun, 30 Oct 2022 17:40:33 +0100 Subject: viewer/command: add item download button This adds a download button which allows the user to save the current item as a file. This is necessary because some item viewers do not expose a download option on their own. The download icon appears together with the other command buttons at the top-left corner of the screen, replacing the listing sorting menu which is only relevant for item lists (directory and search views). GitHub: closes #308 --- viewer/src/locales/en.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'viewer/src/locales/en.yml') diff --git a/viewer/src/locales/en.yml b/viewer/src/locales/en.yml index acbe24b..86ecd49 100644 --- a/viewer/src/locales/en.yml +++ b/viewer/src/locales/en.yml @@ -1,6 +1,7 @@ command: back: Go back parent: Go to parent directory + download: Download search: clear: Clear search: Search -- cgit v1.2.3 From a8736b0edb99ad433c8a7795ea1f31a8751c2f41 Mon Sep 17 00:00:00 2001 From: pacien Date: Mon, 31 Oct 2022 00:20:38 +0100 Subject: viewer/epub: add EPUB item handler This adds a paginated ePub viewer using epub.js. --- viewer/src/locales/en.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'viewer/src/locales/en.yml') diff --git a/viewer/src/locales/en.yml b/viewer/src/locales/en.yml index 86ecd49..280f18b 100644 --- a/viewer/src/locales/en.yml +++ b/viewer/src/locales/en.yml @@ -15,6 +15,9 @@ directory: no-results: Empty directory download: download-file-fmt: Download {0} +epubViewer: + previousSection: Previous section + nextSection: Next section gallery: resource-loading-error: Error loading resource unknown-resource: Resource not found -- cgit v1.2.3