[app] Added settings UI for page payout

This commit is contained in:
Slava Monich 2018-07-23 15:17:22 +03:00
parent 73f4e53933
commit 5a765e391f
12 changed files with 701 additions and 14 deletions

View file

@ -0,0 +1,62 @@
/*
Copyright (C) 2018 Jolla Ltd.
Copyright (C) 2018 Slava Monich <slava.monich@jolla.com>
You may use this file under the terms of BSD license as follows:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Jolla Ltd nor the names of its contributors may
be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
*/
import QtQuick 2.0
import Sailfish.Silica 1.0
MenuItem {
id: menuItem
property alias valueText: valueLabel.text
property alias detailText: detailLabel.text
Row {
spacing: Theme.paddingMedium
anchors {
top: parent.top
bottom: parent.bottom
horizontalCenter: parent.horizontalCenter
}
Label {
id: valueLabel
height: parent.height
color: menuItem.color
verticalAlignment: menuItem.verticalAlignment
visible: text.length > 0
}
Label {
id: detailLabel
anchors.baseline: valueLabel.baseline
font.pixelSize: Theme.fontSizeSmall
color: Theme.highlightColor
visible: text.length > 0
}
}
}

View file

@ -115,7 +115,6 @@ Page {
//% "Orientation"
label: qsTrId("harbour-books-settings-page-orientation_label")
value: currentItem ? currentItem.text : ""
property bool ready
menu: ContextMenu {
id: orientationMenu
readonly property int defaultIndex: 0
@ -123,31 +122,22 @@ Page {
//: Combo box value for dynamic orientation
//% "Dynamic"
text: qsTrId("harbour-books-settings-page-orientation-dynamic")
readonly property int value: 0
onClicked: orientation.value = 0
}
MenuItem {
//: Combo box value for portrait orientation
//% "Portrait"
text: qsTrId("harbour-books-settings-page-orientation-portrait")
readonly property int value: 1
onClicked: orientation.value = 1
}
MenuItem {
//: Combo box value for landscape orientation
//% "Landscape"
text: qsTrId("harbour-books-settings-page-orientation-landscape")
readonly property int value: 2
onClicked: orientation.value = 2
}
}
onCurrentItemChanged: {
if (ready && currentItem) {
orientation.value = currentItem.value
}
}
Component.onCompleted: {
orientation.updateControls()
ready = true
}
Component.onCompleted: orientation.updateControls()
ConfigurationValue {
id: orientation
key: rootPath + "orientation"
@ -167,6 +157,91 @@ Page {
}
}
ComboBox {
id: layoutComboBox
//: Combo box label
//% "Page layout"
label: qsTrId("harbour-books-settings-page-page_layout")
value: currentItem ? currentItem.valueText : ""
menu: ContextMenu {
id: layoutMenu
readonly property int defaultIndex: 0
BooksDetailMenuItem {
//: Combo box value for dynamic page layout
//% "Dynamic"
valueText: qsTrId("harbour-books-settings-page-layout-dynamic")
//: Combo box detail for dynamic page layout
//% "(toggle on tap)"
detailText: qsTrId("harbour-books-settings-page-layout-dynamic-detail")
onClicked: pageDetailsFixed.value = false
}
BooksDetailMenuItem {
//: Combo box value for clean page layout (just the content)
//% "Clean"
valueText: qsTrId("harbour-books-settings-page-layout-clean")
//: Combo box detail for clean page layout (just the content)
//% "(just the content)"
detailText: qsTrId("harbour-books-settings-page-layout-clean-detail")
onClicked: {
pageDetailsFixed.value = true
pageDetails.value = 0
}
}
BooksDetailMenuItem {
//: Combo box value for minimal page layout (title + page)
//% "Minimal"
valueText: qsTrId("harbour-books-settings-page-layout-minimal")
//: Combo box detail for minimal page layout (title + page)
//% "(title, page)"
detailText: qsTrId("harbour-books-settings-page-layout-minimal-detail")
onClicked: {
pageDetailsFixed.value = true
pageDetails.value = 1
}
}
BooksDetailMenuItem {
//: Combo box value for normal page layout (title + page + slider)
//% "Regular"
valueText: qsTrId("harbour-books-settings-page-layout-normal")
//: Combo box detail for normal page layout (title + page + slider)
//% "(title, page, slider)"
detailText: qsTrId("harbour-books-settings-page-layout-normal-detail")
onClicked: {
pageDetailsFixed.value = true
pageDetails.value = 2
}
}
BooksDetailMenuItem {
//: Combo box value for full page layout (title + page + slider)
//% "Full"
valueText: qsTrId("harbour-books-settings-page-layout-full")
//: Combo box detail for full page layout (title + page + slider)
//% "(everything)"
detailText: qsTrId("harbour-books-settings-page-layout-full-detail")
onClicked: {
pageDetailsFixed.value = true
pageDetails.value = 3
}
}
}
Component.onCompleted: updateSelectedItem()
function updateSelectedItem() {
currentIndex = pageDetailsFixed.value ? (pageDetails.value + 1) : 0
}
ConfigurationValue {
id: pageDetails
key: rootPath + "pageDetails"
defaultValue: 0
onValueChanged: layoutComboBox.updateSelectedItem()
}
ConfigurationValue {
id: pageDetailsFixed
key: rootPath + "pageDetailsFixed"
defaultValue: false
onValueChanged: layoutComboBox.updateSelectedItem()
}
}
TextSwitch {
automaticCheck: false
checked: keepDisplayOn.value

View file

@ -164,6 +164,61 @@
<extracomment>Combo box value for landscape orientation</extracomment>
<translation>Querformat</translation>
</message>
<message id="harbour-books-settings-page-page_layout">
<source>Page layout</source>
<extracomment>Combo box label</extracomment>
<translation type="unfinished">Seitenlayout</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic">
<source>Dynamic</source>
<extracomment>Combo box value for dynamic page layout</extracomment>
<translation type="unfinished">Dynamische</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic-detail">
<source>(toggle on tap)</source>
<extracomment>Combo box detail for dynamic page layout</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-clean">
<source>Clean</source>
<extracomment>Combo box value for clean page layout (just the content)</extracomment>
<translation type="unfinished">Reine</translation>
</message>
<message id="harbour-books-settings-page-layout-clean-detail">
<source>(just the content)</source>
<extracomment>Combo box detail for clean page layout (just the content)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-minimal">
<source>Minimal</source>
<extracomment>Combo box value for minimal page layout (title + page)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-minimal-detail">
<source>(title, page)</source>
<extracomment>Combo box detail for minimal page layout (title + page)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-normal">
<source>Regular</source>
<extracomment>Combo box value for normal page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-normal-detail">
<source>(title, page, slider)</source>
<extracomment>Combo box detail for normal page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-full">
<source>Full</source>
<extracomment>Combo box value for full page layout (title + page + slider)</extracomment>
<translation type="unfinished">Voll</translation>
</message>
<message id="harbour-books-settings-page-layout-full-detail">
<source>(everything)</source>
<extracomment>Combo box detail for full page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-keep_display_on">
<source>Keep display on while reading</source>
<extracomment>Text switch label</extracomment>

View file

@ -164,6 +164,61 @@
<extracomment>Combo box value for landscape orientation</extracomment>
<translation>Vertical</translation>
</message>
<message id="harbour-books-settings-page-page_layout">
<source>Page layout</source>
<extracomment>Combo box label</extracomment>
<translation type="unfinished">Diseño de página</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic">
<source>Dynamic</source>
<extracomment>Combo box value for dynamic page layout</extracomment>
<translation type="unfinished">Dinámica</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic-detail">
<source>(toggle on tap)</source>
<extracomment>Combo box detail for dynamic page layout</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-clean">
<source>Clean</source>
<extracomment>Combo box value for clean page layout (just the content)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-clean-detail">
<source>(just the content)</source>
<extracomment>Combo box detail for clean page layout (just the content)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-minimal">
<source>Minimal</source>
<extracomment>Combo box value for minimal page layout (title + page)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-minimal-detail">
<source>(title, page)</source>
<extracomment>Combo box detail for minimal page layout (title + page)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-normal">
<source>Regular</source>
<extracomment>Combo box value for normal page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-normal-detail">
<source>(title, page, slider)</source>
<extracomment>Combo box detail for normal page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-full">
<source>Full</source>
<extracomment>Combo box value for full page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-full-detail">
<source>(everything)</source>
<extracomment>Combo box detail for full page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-keep_display_on">
<source>Keep display on while reading</source>
<extracomment>Text switch label</extracomment>

View file

@ -164,6 +164,61 @@
<extracomment>Combo box value for landscape orientation</extracomment>
<translation>Vaaka</translation>
</message>
<message id="harbour-books-settings-page-page_layout">
<source>Page layout</source>
<extracomment>Combo box label</extracomment>
<translation type="unfinished">Sivun asettelu</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic">
<source>Dynamic</source>
<extracomment>Combo box value for dynamic page layout</extracomment>
<translation type="unfinished">Dynaaminen</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic-detail">
<source>(toggle on tap)</source>
<extracomment>Combo box detail for dynamic page layout</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-clean">
<source>Clean</source>
<extracomment>Combo box value for clean page layout (just the content)</extracomment>
<translation type="unfinished">Puhdas sivu</translation>
</message>
<message id="harbour-books-settings-page-layout-clean-detail">
<source>(just the content)</source>
<extracomment>Combo box detail for clean page layout (just the content)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-minimal">
<source>Minimal</source>
<extracomment>Combo box value for minimal page layout (title + page)</extracomment>
<translation type="unfinished">Minimaalinen</translation>
</message>
<message id="harbour-books-settings-page-layout-minimal-detail">
<source>(title, page)</source>
<extracomment>Combo box detail for minimal page layout (title + page)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-normal">
<source>Regular</source>
<extracomment>Combo box value for normal page layout (title + page + slider)</extracomment>
<translation type="unfinished">Säännöllinen</translation>
</message>
<message id="harbour-books-settings-page-layout-normal-detail">
<source>(title, page, slider)</source>
<extracomment>Combo box detail for normal page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-full">
<source>Full</source>
<extracomment>Combo box value for full page layout (title + page + slider)</extracomment>
<translation type="unfinished">Kokonainen</translation>
</message>
<message id="harbour-books-settings-page-layout-full-detail">
<source>(everything)</source>
<extracomment>Combo box detail for full page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-keep_display_on">
<source>Keep display on while reading</source>
<extracomment>Text switch label</extracomment>

View file

@ -162,6 +162,61 @@
<extracomment>Combo box value for landscape orientation</extracomment>
<translation>Fekvő</translation>
</message>
<message id="harbour-books-settings-page-page_layout">
<source>Page layout</source>
<extracomment>Combo box label</extracomment>
<translation type="unfinished">Oldal elrendezés</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic">
<source>Dynamic</source>
<extracomment>Combo box value for dynamic page layout</extracomment>
<translation type="unfinished">Dinamikus</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic-detail">
<source>(toggle on tap)</source>
<extracomment>Combo box detail for dynamic page layout</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-clean">
<source>Clean</source>
<extracomment>Combo box value for clean page layout (just the content)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-clean-detail">
<source>(just the content)</source>
<extracomment>Combo box detail for clean page layout (just the content)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-minimal">
<source>Minimal</source>
<extracomment>Combo box value for minimal page layout (title + page)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-minimal-detail">
<source>(title, page)</source>
<extracomment>Combo box detail for minimal page layout (title + page)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-normal">
<source>Regular</source>
<extracomment>Combo box value for normal page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-normal-detail">
<source>(title, page, slider)</source>
<extracomment>Combo box detail for normal page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-full">
<source>Full</source>
<extracomment>Combo box value for full page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-full-detail">
<source>(everything)</source>
<extracomment>Combo box detail for full page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-keep_display_on">
<source>Keep display on while reading</source>
<extracomment>Text switch label</extracomment>

View file

@ -164,6 +164,61 @@
<extracomment>Combo box value for landscape orientation</extracomment>
<translation>Landschap</translation>
</message>
<message id="harbour-books-settings-page-page_layout">
<source>Page layout</source>
<extracomment>Combo box label</extracomment>
<translation type="unfinished">Pagina layout</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic">
<source>Dynamic</source>
<extracomment>Combo box value for dynamic page layout</extracomment>
<translation type="unfinished">Dynamisch</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic-detail">
<source>(toggle on tap)</source>
<extracomment>Combo box detail for dynamic page layout</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-clean">
<source>Clean</source>
<extracomment>Combo box value for clean page layout (just the content)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-clean-detail">
<source>(just the content)</source>
<extracomment>Combo box detail for clean page layout (just the content)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-minimal">
<source>Minimal</source>
<extracomment>Combo box value for minimal page layout (title + page)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-minimal-detail">
<source>(title, page)</source>
<extracomment>Combo box detail for minimal page layout (title + page)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-normal">
<source>Regular</source>
<extracomment>Combo box value for normal page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-normal-detail">
<source>(title, page, slider)</source>
<extracomment>Combo box detail for normal page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-full">
<source>Full</source>
<extracomment>Combo box value for full page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-full-detail">
<source>(everything)</source>
<extracomment>Combo box detail for full page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-keep_display_on">
<source>Keep display on while reading</source>
<extracomment>Text switch label</extracomment>

View file

@ -166,6 +166,61 @@
<extracomment>Combo box value for landscape orientation</extracomment>
<translation>Poziome</translation>
</message>
<message id="harbour-books-settings-page-page_layout">
<source>Page layout</source>
<extracomment>Combo box label</extracomment>
<translation type="unfinished">Układ strony</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic">
<source>Dynamic</source>
<extracomment>Combo box value for dynamic page layout</extracomment>
<translation type="unfinished">Dynamiczne</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic-detail">
<source>(toggle on tap)</source>
<extracomment>Combo box detail for dynamic page layout</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-clean">
<source>Clean</source>
<extracomment>Combo box value for clean page layout (just the content)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-clean-detail">
<source>(just the content)</source>
<extracomment>Combo box detail for clean page layout (just the content)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-minimal">
<source>Minimal</source>
<extracomment>Combo box value for minimal page layout (title + page)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-minimal-detail">
<source>(title, page)</source>
<extracomment>Combo box detail for minimal page layout (title + page)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-normal">
<source>Regular</source>
<extracomment>Combo box value for normal page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-normal-detail">
<source>(title, page, slider)</source>
<extracomment>Combo box detail for normal page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-full">
<source>Full</source>
<extracomment>Combo box value for full page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-full-detail">
<source>(everything)</source>
<extracomment>Combo box detail for full page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-keep_display_on">
<source>Keep display on while reading</source>
<extracomment>Text switch label</extracomment>

View file

@ -164,6 +164,61 @@
<extracomment>Combo box value for landscape orientation</extracomment>
<translation>Paisagem</translation>
</message>
<message id="harbour-books-settings-page-page_layout">
<source>Page layout</source>
<extracomment>Combo box label</extracomment>
<translation type="unfinished">Layout da página</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic">
<source>Dynamic</source>
<extracomment>Combo box value for dynamic page layout</extracomment>
<translation type="unfinished">Dinâmica</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic-detail">
<source>(toggle on tap)</source>
<extracomment>Combo box detail for dynamic page layout</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-clean">
<source>Clean</source>
<extracomment>Combo box value for clean page layout (just the content)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-clean-detail">
<source>(just the content)</source>
<extracomment>Combo box detail for clean page layout (just the content)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-minimal">
<source>Minimal</source>
<extracomment>Combo box value for minimal page layout (title + page)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-minimal-detail">
<source>(title, page)</source>
<extracomment>Combo box detail for minimal page layout (title + page)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-normal">
<source>Regular</source>
<extracomment>Combo box value for normal page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-normal-detail">
<source>(title, page, slider)</source>
<extracomment>Combo box detail for normal page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-full">
<source>Full</source>
<extracomment>Combo box value for full page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-full-detail">
<source>(everything)</source>
<extracomment>Combo box detail for full page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-keep_display_on">
<source>Keep display on while reading</source>
<extracomment>Text switch label</extracomment>

View file

@ -166,6 +166,61 @@
<extracomment>Combo box value for landscape orientation</extracomment>
<translation>Альбомная</translation>
</message>
<message id="harbour-books-settings-page-page_layout">
<source>Page layout</source>
<extracomment>Combo box label</extracomment>
<translation>Разметка страницы</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic">
<source>Dynamic</source>
<extracomment>Combo box value for dynamic page layout</extracomment>
<translation>Динамическая</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic-detail">
<source>(toggle on tap)</source>
<extracomment>Combo box detail for dynamic page layout</extracomment>
<translation>(переключается касанием)</translation>
</message>
<message id="harbour-books-settings-page-layout-clean">
<source>Clean</source>
<extracomment>Combo box value for clean page layout (just the content)</extracomment>
<translation>Чистая</translation>
</message>
<message id="harbour-books-settings-page-layout-clean-detail">
<source>(just the content)</source>
<extracomment>Combo box detail for clean page layout (just the content)</extracomment>
<translation>(ничего лишнего)</translation>
</message>
<message id="harbour-books-settings-page-layout-minimal">
<source>Minimal</source>
<extracomment>Combo box value for minimal page layout (title + page)</extracomment>
<translation>Минимальная</translation>
</message>
<message id="harbour-books-settings-page-layout-minimal-detail">
<source>(title, page)</source>
<extracomment>Combo box detail for minimal page layout (title + page)</extracomment>
<translation>(название, страница)</translation>
</message>
<message id="harbour-books-settings-page-layout-normal">
<source>Regular</source>
<extracomment>Combo box value for normal page layout (title + page + slider)</extracomment>
<translation>Регулярная</translation>
</message>
<message id="harbour-books-settings-page-layout-normal-detail">
<source>(title, page, slider)</source>
<extracomment>Combo box detail for normal page layout (title + page + slider)</extracomment>
<translation>(название, страница, слайдер)</translation>
</message>
<message id="harbour-books-settings-page-layout-full">
<source>Full</source>
<extracomment>Combo box value for full page layout (title + page + slider)</extracomment>
<translation>Полная</translation>
</message>
<message id="harbour-books-settings-page-layout-full-detail">
<source>(everything)</source>
<extracomment>Combo box detail for full page layout (title + page + slider)</extracomment>
<translation>(вообще всё)</translation>
</message>
<message id="harbour-books-settings-page-keep_display_on">
<source>Keep display on while reading</source>
<extracomment>Text switch label</extracomment>

View file

@ -164,6 +164,61 @@
<extracomment>Combo box value for landscape orientation</extracomment>
<translation>Liggande</translation>
</message>
<message id="harbour-books-settings-page-page_layout">
<source>Page layout</source>
<extracomment>Combo box label</extracomment>
<translation type="unfinished">Sidlayout</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic">
<source>Dynamic</source>
<extracomment>Combo box value for dynamic page layout</extracomment>
<translation type="unfinished">Dynamisk</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic-detail">
<source>(toggle on tap)</source>
<extracomment>Combo box detail for dynamic page layout</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-clean">
<source>Clean</source>
<extracomment>Combo box value for clean page layout (just the content)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-clean-detail">
<source>(just the content)</source>
<extracomment>Combo box detail for clean page layout (just the content)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-minimal">
<source>Minimal</source>
<extracomment>Combo box value for minimal page layout (title + page)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-minimal-detail">
<source>(title, page)</source>
<extracomment>Combo box detail for minimal page layout (title + page)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-normal">
<source>Regular</source>
<extracomment>Combo box value for normal page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-normal-detail">
<source>(title, page, slider)</source>
<extracomment>Combo box detail for normal page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-full">
<source>Full</source>
<extracomment>Combo box value for full page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-layout-full-detail">
<source>(everything)</source>
<extracomment>Combo box detail for full page layout (title + page + slider)</extracomment>
<translation type="unfinished"></translation>
</message>
<message id="harbour-books-settings-page-keep_display_on">
<source>Keep display on while reading</source>
<extracomment>Text switch label</extracomment>

View file

@ -164,6 +164,61 @@
<extracomment>Combo box value for landscape orientation</extracomment>
<translation>Landscape</translation>
</message>
<message id="harbour-books-settings-page-page_layout">
<source>Page layout</source>
<extracomment>Combo box label</extracomment>
<translation>Page layout</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic">
<source>Dynamic</source>
<extracomment>Combo box value for dynamic page layout</extracomment>
<translation>Dynamic</translation>
</message>
<message id="harbour-books-settings-page-layout-dynamic-detail">
<source>(toggle on tap)</source>
<extracomment>Combo box detail for dynamic page layout</extracomment>
<translation>(toggle on tap)</translation>
</message>
<message id="harbour-books-settings-page-layout-clean">
<source>Clean</source>
<extracomment>Combo box value for clean page layout (just the content)</extracomment>
<translation>Clean</translation>
</message>
<message id="harbour-books-settings-page-layout-clean-detail">
<source>(just the content)</source>
<extracomment>Combo box detail for clean page layout (just the content)</extracomment>
<translation>(just the content)</translation>
</message>
<message id="harbour-books-settings-page-layout-minimal">
<source>Minimal</source>
<extracomment>Combo box value for minimal page layout (title + page)</extracomment>
<translation>Minimal</translation>
</message>
<message id="harbour-books-settings-page-layout-minimal-detail">
<source>(title, page)</source>
<extracomment>Combo box detail for minimal page layout (title + page)</extracomment>
<translation>(title, page)</translation>
</message>
<message id="harbour-books-settings-page-layout-normal">
<source>Regular</source>
<extracomment>Combo box value for normal page layout (title + page + slider)</extracomment>
<translation>Regular</translation>
</message>
<message id="harbour-books-settings-page-layout-normal-detail">
<source>(title, page, slider)</source>
<extracomment>Combo box detail for normal page layout (title + page + slider)</extracomment>
<translation>(title, page, slider)</translation>
</message>
<message id="harbour-books-settings-page-layout-full">
<source>Full</source>
<extracomment>Combo box value for full page layout (title + page + slider)</extracomment>
<translation>Full</translation>
</message>
<message id="harbour-books-settings-page-layout-full-detail">
<source>(everything)</source>
<extracomment>Combo box detail for full page layout (title + page + slider)</extracomment>
<translation>(everything)</translation>
</message>
<message id="harbour-books-settings-page-keep_display_on">
<source>Keep display on while reading</source>
<extracomment>Text switch label</extracomment>