Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
sailfish-apps
Received
Commits
7a024fd9
Commit
7a024fd9
authored
Nov 02, 2017
by
Carmen F. B.
Committed by
kempe
Nov 02, 2017
Browse files
Fix some qm files to add text in .ts files
parent
1b98ea7f
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
168 additions
and
16 deletions
+168
-16
harbour-received.pro
harbour-received.pro
+2
-1
qml/components/contextmenus/FavoritesListContextMenu.qml
qml/components/contextmenus/FavoritesListContextMenu.qml
+1
-1
qml/components/contextmenus/StationsListContextMenu.qml
qml/components/contextmenus/StationsListContextMenu.qml
+1
-1
qml/pages/FavoritePageForm.ui.qml
qml/pages/FavoritePageForm.ui.qml
+2
-2
qml/pages/FavoritesPageForm.ui.qml
qml/pages/FavoritesPageForm.ui.qml
+1
-1
qml/pages/SettingsPageForm.ui.qml
qml/pages/SettingsPageForm.ui.qml
+7
-9
translations/harbour-received-es.ts
translations/harbour-received-es.ts
+52
-1
translations/harbour-received-sv.ts
translations/harbour-received-sv.ts
+51
-0
translations/harbour-received.ts
translations/harbour-received.ts
+51
-0
No files found.
harbour-received.pro
View file @
7a024fd9
...
...
@@ -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
qml/components/contextmenus/FavoritesListContextMenu.qml
View file @
7a024fd9
...
...
@@ -13,7 +13,7 @@ ContextMenu {
MenuItem
{
text
:
qsTr
(
"
Remove from favorite
"
)
onClicked
:
{
remorseAction
(
"
Deleteing
"
,
function
()
{
remorseAction
(
qsTr
(
"
Deleteing
"
)
,
function
()
{
removeFavorite
(
index
)
});
}
...
...
qml/components/contextmenus/StationsListContextMenu.qml
View file @
7a024fd9
...
...
@@ -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
});
...
...
qml/pages/FavoritePageForm.ui.qml
View file @
7a024fd9
...
...
@@ -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
()
}
...
...
qml/pages/FavoritesPageForm.ui.qml
View file @
7a024fd9
...
...
@@ -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
{
...
...
qml/pages/SettingsPageForm.ui.qml
View file @
7a024fd9
...
...
@@ -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>
"
}
}
}
...
...
translations/harbour-received-es.ts
View file @
7a024fd9
<
?
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></
source
>
<
translation
>&
lt
;
h2
&
gt
;
Información
sobre
los
ajustes
:
&
lt
;
/h2></
translation
>
<
/message
>
<
message
>
<
source
>&
lt
;
p
&
gt
;
All
settings
are
saved
when
you
make
a
change
&
lt
;
/p></
source
>
<
translation
>&
lt
;
p
&
gt
;
Todos
los
ajustes
se
guardan
cuando
haces
un
cambio
&
lt
;
/p></
translation
>
<
/message
>
<
message
>
<
source
>&
lt
;
p
&
gt
;
&
lt
;
b
&
gt
;
Reset
DB
:
&
lt
;
/b> Removes everything in the database and gives you a clean start</
p
&
gt
;
<
/source
>
<
translation
>&
lt
;
p
&
gt
;
&
lt
;
b
&
gt
;
Restaurar
BD
:
&
lt
;
/b> Se elimina todo de la base de datos y proporciona un inicio limpio</
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
>
...
...
translations/harbour-received-sv.ts
View file @
7a024fd9
...
...
@@ -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></
source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
source
>&
lt
;
p
&
gt
;
All
settings
are
saved
when
you
make
a
change
&
lt
;
/p></
source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
source
>&
lt
;
p
&
gt
;
&
lt
;
b
&
gt
;
Reset
DB
:
&
lt
;
/b> Removes everything in the database and gives you a clean start</
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
>
...
...
translations/harbour-received.ts
View file @
7a024fd9
...
...
@@ -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></
source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
source
>&
lt
;
p
&
gt
;
All
settings
are
saved
when
you
make
a
change
&
lt
;
/p></
source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
source
>&
lt
;
p
&
gt
;
&
lt
;
b
&
gt
;
Reset
DB
:
&
lt
;
/b> Removes everything in the database and gives you a clean start</
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
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment