Commit 986bd3a4 authored by kempe's avatar kempe

[FEATURE] Redesign SettingsPage

parent fd9414f1
......@@ -49,6 +49,7 @@ Page {
ComboBox {
id: playerLayoutComboBox
label: qsTr("Player layout")
description: qsTr("Sets what style to use for player controls")
menu: ContextMenu {
id: playerLayoutComboBoxMenu
......@@ -75,6 +76,7 @@ Page {
ComboBox {
id: apiLanguageComboBox
label: qsTr("API Language:")
description: qsTr("Sets the endpoint to be used for API calls e.g. rad.io for English and radio.de for German")
menu: ContextMenu {
id: apiLanguageComboBoxMenu
......@@ -95,22 +97,21 @@ Page {
SectionHeader {
text: qsTr("Advanced Options")
}
ValueButton {
Button {
id: buttonResetDb
value: qsTr("Reset DB")
text: qsTr("Reset DB")
}
Text {
width: parent.width
font.pixelSize: Theme.fontSizeExtraSmall
wrapMode: Text.Wrap
color: Theme.primaryColor
text: qsTr("<h2>Settings info:</h2>")+"<br>"+
qsTr("<p>All settings are saved when you make a change</p>")+"<br>"+
qsTr("<p><b>API Language:</b> Sets the endpoint to be used for API calls e.g. rad.io for English and radio.de for German</p>")+"<br>"+
qsTr("<p><b>Reset DB:</b> Removes everything in the database and gives you a clean start</p>")
color: Theme.secondaryColor
rightPadding: 20
text: qsTr("Removes everything in the database and gives you a clean start. <i><b>Used with caution</b></i>")
}
}
}
......
......@@ -220,26 +220,10 @@
<source>Reset DB</source>
<translation>Restaurar BD</translation>
</message>
<message>
<source>&lt;h2&gt;Settings info:&lt;/h2&gt;</source>
<translation>&lt;h2&gt;Información sobre los ajustes:&lt;/h2&gt;</translation>
</message>
<message>
<source>&lt;p&gt;All settings are saved when you make a change&lt;/p&gt;</source>
<translation>&lt;p&gt;Todos los ajustes se guardan cuando haces un cambio&lt;/p&gt;</translation>
</message>
<message>
<source>&lt;p&gt;&lt;b&gt;Reset DB:&lt;/b&gt; Removes everything in the database and gives you a clean start&lt;/p&gt;</source>
<translation>&lt;p&gt;&lt;b&gt;Restaurar BD:&lt;/b&gt; Borra el contenido de la base de datos y te proporciona un inicio limpio&lt;/p&gt;</translation>
</message>
<message>
<source>API Language:</source>
<translation>Idioma de la API:</translation>
</message>
<message>
<source>&lt;p&gt;&lt;b&gt;API Language:&lt;/b&gt; Sets the endpoint to be used for API calls e.g. rad.io for English and radio.de for German&lt;/p&gt;</source>
<translation>&lt;p&gt;&lt;b&gt;Idioma de la API:&lt;/b&gt; Especifica el endpoint usado en las llamadas API, p.e. rad.io para inglés y radio.de para alemán&lt;/p&gt;</translation>
</message>
<message>
<source>Player layout</source>
<translation>Diseño del reproductor</translation>
......@@ -252,6 +236,18 @@
<source>Basic Options</source>
<translation>Opciones básicas</translation>
</message>
<message>
<source>Sets what style to use for player controls</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sets the endpoint to be used for API calls e.g. rad.io for English and radio.de for German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Removes everything in the database and gives you a clean start. &lt;i&gt;&lt;b&gt;Used with caution&lt;/b&gt;&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>StationsListContextMenu</name>
......
......@@ -224,22 +224,6 @@
<source>API Language:</source>
<translation>Langue API</translation>
</message>
<message>
<source>&lt;h2&gt;Settings info:&lt;/h2&gt;</source>
<translation>&lt;h2&gt;À propos des paramètres :&lt;/h2&gt;</translation>
</message>
<message>
<source>&lt;p&gt;All settings are saved when you make a change&lt;/p&gt;</source>
<translation>&lt;p&gt;Chaque modification est sauvegardée automatiquement.&lt;/p&gt;</translation>
</message>
<message>
<source>&lt;p&gt;&lt;b&gt;Reset DB:&lt;/b&gt; Removes everything in the database and gives you a clean start&lt;/p&gt;</source>
<translation>&lt;p&gt;&lt;b&gt;Réinitialisation :&lt;/b&gt; nettoie la base de données pour repartir d&apos;un bon pied.&lt;/p&gt;</translation>
</message>
<message>
<source>&lt;p&gt;&lt;b&gt;API Language:&lt;/b&gt; Sets the endpoint to be used for API calls e.g. rad.io for English and radio.de for German&lt;/p&gt;</source>
<translation>&lt;p&gt;&lt;b&gt;Langue API :&lt;/b&gt; définit l&apos;extension pour les liaisons API, par ex : rad.io pour l&apos;API anglaise, radio.fr pour l&apos;API française...&lt;/p&gt;</translation>
</message>
<message>
<source>Player layout</source>
<translation>Taille du lecteur</translation>
......@@ -252,6 +236,18 @@
<source>Basic Options</source>
<translation>Général</translation>
</message>
<message>
<source>Sets what style to use for player controls</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sets the endpoint to be used for API calls e.g. rad.io for English and radio.de for German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Removes everything in the database and gives you a clean start. &lt;i&gt;&lt;b&gt;Used with caution&lt;/b&gt;&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>StationsListContextMenu</name>
......
......@@ -224,22 +224,6 @@
<source>API Language:</source>
<translation>Язык API</translation>
</message>
<message>
<source>&lt;h2&gt;Settings info:&lt;/h2&gt;</source>
<translation>&lt;h2&gt;Справка:&lt;/h2&gt;</translation>
</message>
<message>
<source>&lt;p&gt;All settings are saved when you make a change&lt;/p&gt;</source>
<translation>&lt;p&gt;Все настройки сохраняются сразу после изменения&lt;/p&gt;</translation>
</message>
<message>
<source>&lt;p&gt;&lt;b&gt;Reset DB:&lt;/b&gt; Removes everything in the database and gives you a clean start&lt;/p&gt;</source>
<translation>&lt;p&gt;&lt;b&gt;Сброс БД:&lt;/b&gt; Стирает всю базу данных и возвращает программу в исходное состояние&lt;/p&gt;</translation>
</message>
<message>
<source>&lt;p&gt;&lt;b&gt;API Language:&lt;/b&gt; Sets the endpoint to be used for API calls e.g. rad.io for English and radio.de for German&lt;/p&gt;</source>
<translation>&lt;p&gt;&lt;b&gt;Язык API:&lt;/b&gt; Определяет доменное имя сервера для обращения к API, например rad.io для английского языка или radio.de для немецкого&lt;/p&gt;</translation>
</message>
<message>
<source>Player layout</source>
<translation>Вид проигрывателя</translation>
......@@ -252,6 +236,18 @@
<source>Basic Options</source>
<translation>Основные параметры</translation>
</message>
<message>
<source>Sets what style to use for player controls</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sets the endpoint to be used for API calls e.g. rad.io for English and radio.de for German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Removes everything in the database and gives you a clean start. &lt;i&gt;&lt;b&gt;Used with caution&lt;/b&gt;&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>StationsListContextMenu</name>
......
......@@ -224,22 +224,6 @@
<source>API Language:</source>
<translation>API språk</translation>
</message>
<message>
<source>&lt;h2&gt;Settings info:&lt;/h2&gt;</source>
<translation>&lt;h2&gt;Information:&lt;/h2&gt;</translation>
</message>
<message>
<source>&lt;p&gt;All settings are saved when you make a change&lt;/p&gt;</source>
<translation>&lt;p&gt;Alla inställningar sparas direkt&lt;/p&gt;</translation>
</message>
<message>
<source>&lt;p&gt;&lt;b&gt;Reset DB:&lt;/b&gt; Removes everything in the database and gives you a clean start&lt;/p&gt;</source>
<translation>&lt;p&gt;&lt;b&gt;Ränsa databasen:&lt;/b&gt; Tar bort allt i databasen och återställer till standard&lt;/p&gt;</translation>
</message>
<message>
<source>&lt;p&gt;&lt;b&gt;API Language:&lt;/b&gt; Sets the endpoint to be used for API calls e.g. rad.io for English and radio.de for German&lt;/p&gt;</source>
<translation>&lt;p&gt;&lt;b&gt;API språk:&lt;/b&gt; Bestämmer vilken domän som ska användas vid API anrop, t.ex. rad.io för engelska och radio.de för tyska&lt;/p&gt;</translation>
</message>
<message>
<source>Player layout</source>
<translation>Spelar Utseende</translation>
......@@ -252,6 +236,18 @@
<source>Basic Options</source>
<translation>Standard Inställningar</translation>
</message>
<message>
<source>Sets what style to use for player controls</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sets the endpoint to be used for API calls e.g. rad.io for English and radio.de for German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Removes everything in the database and gives you a clean start. &lt;i&gt;&lt;b&gt;Used with caution&lt;/b&gt;&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>StationsListContextMenu</name>
......
......@@ -225,31 +225,27 @@
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;h2&gt;Settings info:&lt;/h2&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;p&gt;All settings are saved when you make a change&lt;/p&gt;</source>
<source>Player layout</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;p&gt;&lt;b&gt;Reset DB:&lt;/b&gt; Removes everything in the database and gives you a clean start&lt;/p&gt;</source>
<source>API Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;p&gt;&lt;b&gt;API Language:&lt;/b&gt; Sets the endpoint to be used for API calls e.g. rad.io for English and radio.de for German&lt;/p&gt;</source>
<source>Basic Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Player layout</source>
<source>Sets what style to use for player controls</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>API Options</source>
<source>Sets the endpoint to be used for API calls e.g. rad.io for English and radio.de for German</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Basic Options</source>
<source>Removes everything in the database and gives you a clean start. &lt;i&gt;&lt;b&gt;Used with caution&lt;/b&gt;&lt;/i&gt;</source>
<translation type="unfinished"></translation>
</message>
</context>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment