Compare commits

...

3 Commits

Author SHA1 Message Date
Niels
01c76d0fa2 Homepage 2025-05-30 06:45:52 +02:00
Niels
6eb484913a Working on translation 2025-05-30 06:45:29 +02:00
Niels
981aaaf3a7 Working on translation 2025-05-30 06:44:41 +02:00
4 changed files with 88 additions and 11 deletions

View File

@ -44,15 +44,15 @@ Page {
PullDownMenu {
MenuItem {
text: "About"
text: qsTr("About")
onClicked: pageStack.push("AboutPage.qml")
}
MenuItem {
text: "Settings"
text: qsTr("Settings")
onClicked: pageStack.push("SettingsPage.qml")
}
MenuItem {
text: "Sleep timer"
text: qsTr("Sleep timer")
onClicked: {
pageStack.push("SleepTimerPage.qml")
}
@ -122,7 +122,7 @@ Page {
Label {
anchors.verticalCenter: parent.verticalCenter
text: "Search"
text: qsTr("Search")
font.pixelSize: Theme.fontSizeLarge
}
}
@ -144,7 +144,7 @@ Page {
Item {height: Theme.paddingLarge;width: parent.width}
HeaderButton {
headerText: "Countries"
headerText: qsTr("Countries")
onClicked: pageStack.push("CountryListPage.qml")
}
@ -167,7 +167,7 @@ Page {
HeaderButton {
visible: favorites.count > 0
headerText: "My Favorites"
headerText: qsTr("My Favorites")
onClicked: pageStack.push("FavoritesPage.qml")
}
@ -211,7 +211,7 @@ Page {
HeaderButton {
visible: radioPlayer.playHistory.count > 0
headerText: "Play history"//playedCountries.count > 0 ? "Trending in " + radioBrowser.getCountryName(playedCountries.get(0).alpha_2) : "Trending in " + radioBrowser.getCountryName(_country)
headerText: qsTr("Play history")//playedCountries.count > 0 ? "Trending in " + radioBrowser.getCountryName(playedCountries.get(0).alpha_2) : "Trending in " + radioBrowser.getCountryName(_country)
onClicked: pageStack.push("HistoryPage.qml")
}
@ -253,7 +253,7 @@ Page {
HeaderButton {
visible: radioPlayer.playHistory.count > 0
headerText: "My most played Tags"//playedCountries.count > 0 ? "Trending in " + radioBrowser.getCountryName(playedCountries.get(0).alpha_2) : "Trending in " + radioBrowser.getCountryName(_country)
headerText: qsTr("My most played Tags")//playedCountries.count > 0 ? "Trending in " + radioBrowser.getCountryName(playedCountries.get(0).alpha_2) : "Trending in " + radioBrowser.getCountryName(_country)
onClicked: pageStack.push("TagListPage.qml",{})
}
@ -277,7 +277,7 @@ Page {
HeaderButton {
visible: radioBrowser.getCountryName(_country) || playedCountries.count > 0 ? true : false
headerText: playedCountries.count > 0 ? "Trending in " + radioBrowser.getCountryName(playedCountries.get(0).alpha_2) : "Trending in " + radioBrowser.getCountryName(_country)
headerText: playedCountries.count > 0 ? qsTr("Trending in")+ " " + radioBrowser.getCountryName(playedCountries.get(0).alpha_2) : qsTr("Trending in") + " " + radioBrowser.getCountryName(_country)
onClicked: pageStack.push("CountryStationsPage.qml",{searchby:"clicktrend",_countrycode: playedCountries.get(0).alpha_2})
}

View File

@ -5,7 +5,7 @@ Version: 2.0.12
Release: 1
Group: Qt/Qt
License: GPL2
URL: http://example.org/
URL: https://gitea.nesnomis.nu/nesnomis/harbour-allradio/
Source0: %{name}-%{version}.tar.bz2
Requires: sailfishsilica-qt5 >= 0.10.9
Requires: qt5-qtdeclarative-import-xmllistmodel
@ -18,7 +18,6 @@ BuildRequires: desktop-file-utils
%description
AllRadio2 is a new version of AllRadio.
%prep
%setup -q -n %{name}-%{version}

View File

@ -8,6 +8,45 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>AllRadio</name>
<message>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sleep timer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Search</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Countries</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>My Favorites</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Play history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>My most played Tags</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Trending in</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CountryNameModel</name>
<message>

View File

@ -8,6 +8,45 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>AllRadio</name>
<message>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sleep timer</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Search</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Countries</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>My Favorites</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Play history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>My most played Tags</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Trending in</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CountryNameModel</name>
<message>