diff --git a/app/settings/BooksSettings.qml b/app/settings/BooksSettings.qml index 475cf32..f3dca3a 100644 --- a/app/settings/BooksSettings.qml +++ b/app/settings/BooksSettings.qml @@ -78,6 +78,8 @@ Page { title: qsTrId("harbour-books-settings-page-header") } + // =============== Display =============== + SectionHeader { //: Section header for display settings //% "Display" @@ -251,7 +253,7 @@ Page { //: Text switch description //% "Prevent the display from blanking while reading the book." description: qsTrId("harbour-books-settings-page-keep_display_on_description") - onClicked: keepDisplayOn.value = !checked + onClicked: keepDisplayOn.value = !keepDisplayOn.value ConfigurationValue { id: keepDisplayOn @@ -260,10 +262,12 @@ Page { } } + // =============== Navigation =============== + SectionHeader { //: Section header for media keys - //% "Media keys" - text: qsTrId("harbour-books-settings-page-media-keys-section_header") + //% "Navigation" + text: qsTrId("harbour-books-settings-page-navigation-section_header") } BooksActionSelector { @@ -282,6 +286,26 @@ Page { defaultValue: 1 // BooksSettings.ActionPreviousPage } + TextSwitch { + automaticCheck: false + checked: turnPageByTap.value + //: Text switch label + //% "Turn pages by tapping the screen" + text: qsTrId("harbour-books-settings-page-turn_pages_by_tap") + //: Text switch description + //% "Tapping near the left edge of the screen returns to the previous page, tapping near the right edge gets you to the next page." + description: qsTrId("harbour-books-settings-page-turn_pages_by_tap-description") + onClicked: turnPageByTap.value = !turnPageByTap.value + + ConfigurationValue { + id: turnPageByTap + key: rootPath + "turnPageByTap" + defaultValue: false + } + } + + // =============== Memory card =============== + SectionHeader { //: Section header for memory card settings //% "Memory card" diff --git a/app/translations/harbour-books-de.ts b/app/translations/harbour-books-de.ts index 31690ea..e3bee45 100644 --- a/app/translations/harbour-books-de.ts +++ b/app/translations/harbour-books-de.ts @@ -229,10 +229,10 @@ Text switch description - - Media keys + + Navigation Section header for media keys - Medienschlüssel + Navigation No action @@ -259,6 +259,16 @@ Combo box label Lautstärke runter + + Turn pages by tapping the screen + Text switch label + + + + Tapping near the left edge of the screen returns to the previous page, tapping near the right edge gets you to the next page. + Text switch description + + Memory card Section header for memory card settings diff --git a/app/translations/harbour-books-es.ts b/app/translations/harbour-books-es.ts index 03d5137..433fd40 100644 --- a/app/translations/harbour-books-es.ts +++ b/app/translations/harbour-books-es.ts @@ -229,10 +229,10 @@ Text switch description - - Media keys + + Navigation Section header for media keys - Teclas multimedia + Navegación Volume up @@ -259,6 +259,16 @@ Combo box value for next page action Página posterior + + Turn pages by tapping the screen + Text switch label + + + + Tapping near the left edge of the screen returns to the previous page, tapping near the right edge gets you to the next page. + Text switch description + + Memory card Section header for memory card settings diff --git a/app/translations/harbour-books-fi.ts b/app/translations/harbour-books-fi.ts index 1ce8143..cc25c3d 100644 --- a/app/translations/harbour-books-fi.ts +++ b/app/translations/harbour-books-fi.ts @@ -229,10 +229,10 @@ Text switch description Estä näytön sammuminen kirjaa lukiessa. - - Media keys + + Navigation Section header for media keys - Media näppäimet + Navigointi No action @@ -259,6 +259,16 @@ Combo box label Äänenvoimakkuus alas + + Turn pages by tapping the screen + Text switch label + + + + Tapping near the left edge of the screen returns to the previous page, tapping near the right edge gets you to the next page. + Text switch description + + Memory card Section header for memory card settings diff --git a/app/translations/harbour-books-hu.ts b/app/translations/harbour-books-hu.ts index 9c3c2fe..783de79 100644 --- a/app/translations/harbour-books-hu.ts +++ b/app/translations/harbour-books-hu.ts @@ -227,10 +227,10 @@ Text switch description Megakadályozza, hogy a kijelző elsötétüljön olvasás közben. - - Media keys + + Navigation Section header for media keys - Média gombok + Navigáció Volume up @@ -257,6 +257,16 @@ Combo box value for next page action Következő oldal + + Turn pages by tapping the screen + Text switch label + + + + Tapping near the left edge of the screen returns to the previous page, tapping near the right edge gets you to the next page. + Text switch description + + Memory card Section header for memory card settings diff --git a/app/translations/harbour-books-nl.ts b/app/translations/harbour-books-nl.ts index 78f8086..c5ff842 100644 --- a/app/translations/harbour-books-nl.ts +++ b/app/translations/harbour-books-nl.ts @@ -229,10 +229,10 @@ Text switch description - - Media keys + + Navigation Section header for media keys - Mediatoetsen + Navigatie Volume up @@ -259,6 +259,16 @@ Combo box value for next page action Volgende pagina + + Turn pages by tapping the screen + Text switch label + + + + Tapping near the left edge of the screen returns to the previous page, tapping near the right edge gets you to the next page. + Text switch description + + Memory card Section header for memory card settings diff --git a/app/translations/harbour-books-pl.ts b/app/translations/harbour-books-pl.ts index c02b3c0..612c251 100644 --- a/app/translations/harbour-books-pl.ts +++ b/app/translations/harbour-books-pl.ts @@ -231,10 +231,10 @@ Text switch description Zapobiegaj wygaszaniu wyświetlacza podczas czytania książki. - - Media keys + + Navigation Section header for media keys - Przyciski multimedialne + Nawigacja Volume up @@ -261,6 +261,16 @@ Combo box value for next page action Następna strona + + Turn pages by tapping the screen + Text switch label + + + + Tapping near the left edge of the screen returns to the previous page, tapping near the right edge gets you to the next page. + Text switch description + + Memory card Section header for memory card settings diff --git a/app/translations/harbour-books-pt_BR.ts b/app/translations/harbour-books-pt_BR.ts index 216ebc9..5029627 100644 --- a/app/translations/harbour-books-pt_BR.ts +++ b/app/translations/harbour-books-pt_BR.ts @@ -229,10 +229,10 @@ Text switch description Evita que a tela apague durante a leitura. - - Media keys + + Navigation Section header for media keys - Teclas de mídia + Navegação Volume up @@ -259,6 +259,16 @@ Combo box value for next page action Próxima página + + Turn pages by tapping the screen + Text switch label + + + + Tapping near the left edge of the screen returns to the previous page, tapping near the right edge gets you to the next page. + Text switch description + + Memory card Section header for memory card settings diff --git a/app/translations/harbour-books-ru.ts b/app/translations/harbour-books-ru.ts index 8fd9ce6..0a5f110 100644 --- a/app/translations/harbour-books-ru.ts +++ b/app/translations/harbour-books-ru.ts @@ -231,10 +231,20 @@ Text switch description Не гасить экран, пока открыта книга. Это не очень хорошо для батареи, зато удобно для чтения. Главное - не уснуть. - - Media keys + + Navigation Section header for media keys - Кнопки + Навигация + + + Turn pages by tapping the screen + Text switch label + Листать страницы касанием экрана + + + Tapping near the left edge of the screen returns to the previous page, tapping near the right edge gets you to the next page. + Text switch description + Касание ближе к левому краю экрана вызывает переход на предыдущую страницу, ближе к правому краю - на следующую. No action diff --git a/app/translations/harbour-books-sv.ts b/app/translations/harbour-books-sv.ts index 8a2cee8..975eea7 100644 --- a/app/translations/harbour-books-sv.ts +++ b/app/translations/harbour-books-sv.ts @@ -229,10 +229,10 @@ Text switch description Förhindra att skärmen slocknar vid läsning - - Media keys + + Navigation Section header for media keys - Mediaknappar + Navigering No action @@ -259,6 +259,16 @@ Combo box label Sänk volymen + + Turn pages by tapping the screen + Text switch label + + + + Tapping near the left edge of the screen returns to the previous page, tapping near the right edge gets you to the next page. + Text switch description + + Memory card Section header for memory card settings diff --git a/app/translations/harbour-books.ts b/app/translations/harbour-books.ts index a009d6b..35d9cc5 100644 --- a/app/translations/harbour-books.ts +++ b/app/translations/harbour-books.ts @@ -229,10 +229,10 @@ Text switch description Prevent the display from blanking while reading the book. - - Media keys + + Navigation Section header for media keys - Media keys + Navigation Volume up @@ -259,6 +259,16 @@ Combo box value for next page action Next page + + Turn pages by tapping the screen + Text switch label + Turn pages by tapping the screen + + + Tapping near the left edge of the screen returns to the previous page, tapping near the right edge gets you to the next page. + Text switch description + Tapping near the left edge of the screen returns to the previous page, tapping near the right edge gets you to the next page. + Memory card Section header for memory card settings