Commit 7a024fd9 authored by Carmen F. B.'s avatar Carmen F. B. Committed by kempe

Fix some qm files to add text in .ts files

parent 1b98ea7f
......@@ -74,7 +74,8 @@ OTHER_FILES += \
qml/components/python/api.py \
harbour-received.desktop
TRANSLATIONS += translations/harbour-received-sv.ts
TRANSLATIONS += translations/harbour-received-sv.ts \
translations/harbour-received-es.ts
SAILFISHAPP_ICONS = 86x86 108x108 128x128 256x256
......@@ -13,7 +13,7 @@ ContextMenu {
MenuItem {
text: qsTr("Remove from favorite")
onClicked: {
remorseAction("Deleteing", function() {
remorseAction(qsTr("Deleteing"), function() {
removeFavorite(index)
});
}
......
......@@ -17,7 +17,7 @@ ContextMenu {
text: qsTr("Remove from favorite")
visible: isFavorite
onClicked: {
remorseAction("Deleteing", function() {
remorseAction(qsTr("Deleteing"), function() {
removeFavorite(FavoritesUtils.getFavoriteByRadioId(id))
isFavorite = false
});
......
......@@ -69,9 +69,9 @@ Dialog {
TextField {
id: genreField
width: parent.width
placeholderText: "Pop"
placeholderText: qsTr("Pop")
text: station ? station.genre : ""
label: "Genre"
label: qsTr("Genre")
EnterKey.iconSource: "image://theme/icon-m-enter-accept"
EnterKey.onClicked: customFavoriteDialog.accept()
}
......
......@@ -48,7 +48,7 @@ Page {
stationIcon: stationLogo
stationTitle: name
stationInfo: "From " + country + ": " + genre
stationInfo: qsTr("From ") + country + ": " + genre
isPlaying: player.stationData !== undefined && player.stationData.url === url
menu: FavoritesListContextMenu {
......
......@@ -16,7 +16,7 @@ Page {
PullDownMenu {
MenuItem {
id: aboutAction
text: "About"
text: qsTr("About")
}
}
RemorsePopup { id: remorse }
......@@ -31,16 +31,16 @@ Page {
}
PageHeader {
title: "Settings"
title: qsTr("Settings")
}
SectionHeader {
text: "Advanced Options"
text: qsTr("Advanced Options")
}
ValueButton {
id: buttonResetDb
value: "Reset DB"
value: qsTr("Reset DB")
}
Text {
......@@ -48,12 +48,10 @@ Page {
font.pixelSize: Theme.fontSizeExtraSmall
wrapMode: Text.Wrap
color: Theme.primaryColor
text: "
<h2>Settings info:</h2>
<p>All settings are saved when you make a change</p>
text: qsTr("<h2>Settings info:</h2>")+"<br>"+
qsTr("<p>All settings are saved when you make a change</p>")+"<br>"+
qsTr("<p><b>Reset DB:</b> Removes everything in the database and gives you a clean start</p>")
<p><b>Reset DB:</b> Removes everything in the database and gives you a clean start</p>
"
}
}
}
......
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="es_ES">
<TS version="2.1" language="es_ES">
<context>
<name>BrowseByCategoryPageForm.ui</name>
<message>
......@@ -99,6 +99,14 @@
<source>Country</source>
<translation>País</translation>
</message>
<message>
<source>Pop</source>
<translation>Pop</translation>
</message>
<message>
<source>Genre</source>
<translation>Género</translation>
</message>
</context>
<context>
<name>FavoritesListContextMenu</name>
......@@ -106,6 +114,10 @@
<source>Remove from favorite</source>
<translation>Eliminar de favoritos</translation>
</message>
<message>
<source>Deleteing</source>
<translation>Borrando</translation>
</message>
<message>
<source>Edit favorite</source>
<translation>Editar</translation>
......@@ -117,6 +129,10 @@
<source>Favorites</source>
<translation>Favoritos</translation>
</message>
<message>
<source>From </source>
<translation>De </translation>
</message>
<message>
<source>Add Custom</source>
<translation>Añadir estación personalizada</translation>
......@@ -141,12 +157,47 @@
<translation>Buscar</translation>
</message>
</context>
<context>
<name>SettingsPageForm.ui</name>
<message>
<source>About</source>
<translation>Acerca de</translation>
</message>
<message>
<source>Settings</source>
<translation>Ajustes</translation>
</message>
<message>
<source>Advanced Options</source>
<translation>Opciones avanzadas</translation>
</message>
<message>
<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; Se elimina todo de la base de datos y proporciona un inicio limpio&lt;/p&gt;</translation>
</message>
</context>
<context>
<name>StationsListContextMenu</name>
<message>
<source>Remove from favorite</source>
<translation>Eliminar de favoritos</translation>
</message>
<message>
<source>Deleteing</source>
<translation>Borrando</translation>
</message>
<message>
<source>Add to favorite</source>
<translation>Añadir a favoritos</translation>
......
......@@ -99,6 +99,14 @@
<source>Country</source>
<translation type="unfinished">Land</translation>
</message>
<message>
<source>Pop</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Genre</source>
<translation type="unfinished">Genre</translation>
</message>
</context>
<context>
<name>FavoritesListContextMenu</name>
......@@ -106,6 +114,10 @@
<source>Remove from favorite</source>
<translation type="unfinished">Ta bort från favoriter</translation>
</message>
<message>
<source>Deleteing</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Edit favorite</source>
<translation type="unfinished"></translation>
......@@ -117,6 +129,10 @@
<source>Favorites</source>
<translation type="unfinished">Favoriter</translation>
</message>
<message>
<source>From </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Add Custom</source>
<translation type="unfinished"></translation>
......@@ -141,12 +157,47 @@
<translation type="unfinished">Sök</translation>
</message>
</context>
<context>
<name>SettingsPageForm.ui</name>
<message>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Settings</source>
<translation type="unfinished">Inställningar</translation>
</message>
<message>
<source>Advanced Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Reset DB</source>
<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>
<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>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>StationsListContextMenu</name>
<message>
<source>Remove from favorite</source>
<translation type="unfinished">Ta bort från favoriter</translation>
</message>
<message>
<source>Deleteing</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Add to favorite</source>
<translation type="unfinished"></translation>
......
......@@ -99,6 +99,14 @@
<source>Country</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Pop</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Genre</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FavoritesListContextMenu</name>
......@@ -106,6 +114,10 @@
<source>Remove from favorite</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Deleteing</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Edit favorite</source>
<translation type="unfinished"></translation>
......@@ -117,6 +129,10 @@
<source>Favorites</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>From </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Add Custom</source>
<translation type="unfinished"></translation>
......@@ -141,12 +157,47 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SettingsPageForm.ui</name>
<message>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Advanced Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Reset DB</source>
<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>
<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>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>StationsListContextMenu</name>
<message>
<source>Remove from favorite</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Deleteing</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Add to favorite</source>
<translation type="unfinished"></translation>
......
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