Compare commits

..

No commits in common. "01c76d0fa2fe1281635695079b5741d13966f3d4" and "e59e79860a8019dcbff77b49453c0c59a1b17683" have entirely different histories.

4 changed files with 11 additions and 88 deletions

View File

@ -44,15 +44,15 @@ Page {
PullDownMenu { PullDownMenu {
MenuItem { MenuItem {
text: qsTr("About") text: "About"
onClicked: pageStack.push("AboutPage.qml") onClicked: pageStack.push("AboutPage.qml")
} }
MenuItem { MenuItem {
text: qsTr("Settings") text: "Settings"
onClicked: pageStack.push("SettingsPage.qml") onClicked: pageStack.push("SettingsPage.qml")
} }
MenuItem { MenuItem {
text: qsTr("Sleep timer") text: "Sleep timer"
onClicked: { onClicked: {
pageStack.push("SleepTimerPage.qml") pageStack.push("SleepTimerPage.qml")
} }
@ -122,7 +122,7 @@ Page {
Label { Label {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
text: qsTr("Search") text: "Search"
font.pixelSize: Theme.fontSizeLarge font.pixelSize: Theme.fontSizeLarge
} }
} }
@ -144,7 +144,7 @@ Page {
Item {height: Theme.paddingLarge;width: parent.width} Item {height: Theme.paddingLarge;width: parent.width}
HeaderButton { HeaderButton {
headerText: qsTr("Countries") headerText: "Countries"
onClicked: pageStack.push("CountryListPage.qml") onClicked: pageStack.push("CountryListPage.qml")
} }
@ -167,7 +167,7 @@ Page {
HeaderButton { HeaderButton {
visible: favorites.count > 0 visible: favorites.count > 0
headerText: qsTr("My Favorites") headerText: "My Favorites"
onClicked: pageStack.push("FavoritesPage.qml") onClicked: pageStack.push("FavoritesPage.qml")
} }
@ -211,7 +211,7 @@ Page {
HeaderButton { HeaderButton {
visible: radioPlayer.playHistory.count > 0 visible: radioPlayer.playHistory.count > 0
headerText: qsTr("Play history")//playedCountries.count > 0 ? "Trending in " + radioBrowser.getCountryName(playedCountries.get(0).alpha_2) : "Trending in " + radioBrowser.getCountryName(_country) headerText: "Play history"//playedCountries.count > 0 ? "Trending in " + radioBrowser.getCountryName(playedCountries.get(0).alpha_2) : "Trending in " + radioBrowser.getCountryName(_country)
onClicked: pageStack.push("HistoryPage.qml") onClicked: pageStack.push("HistoryPage.qml")
} }
@ -253,7 +253,7 @@ Page {
HeaderButton { HeaderButton {
visible: radioPlayer.playHistory.count > 0 visible: radioPlayer.playHistory.count > 0
headerText: qsTr("My most played Tags")//playedCountries.count > 0 ? "Trending in " + radioBrowser.getCountryName(playedCountries.get(0).alpha_2) : "Trending in " + radioBrowser.getCountryName(_country) headerText: "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",{}) onClicked: pageStack.push("TagListPage.qml",{})
} }
@ -277,7 +277,7 @@ Page {
HeaderButton { HeaderButton {
visible: radioBrowser.getCountryName(_country) || playedCountries.count > 0 ? true : false visible: radioBrowser.getCountryName(_country) || playedCountries.count > 0 ? true : false
headerText: playedCountries.count > 0 ? qsTr("Trending in")+ " " + radioBrowser.getCountryName(playedCountries.get(0).alpha_2) : qsTr("Trending in") + " " + radioBrowser.getCountryName(_country) headerText: playedCountries.count > 0 ? "Trending in " + radioBrowser.getCountryName(playedCountries.get(0).alpha_2) : "Trending in " + radioBrowser.getCountryName(_country)
onClicked: pageStack.push("CountryStationsPage.qml",{searchby:"clicktrend",_countrycode: playedCountries.get(0).alpha_2}) 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 Release: 1
Group: Qt/Qt Group: Qt/Qt
License: GPL2 License: GPL2
URL: https://gitea.nesnomis.nu/nesnomis/harbour-allradio/ URL: http://example.org/
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
Requires: sailfishsilica-qt5 >= 0.10.9 Requires: sailfishsilica-qt5 >= 0.10.9
Requires: qt5-qtdeclarative-import-xmllistmodel Requires: qt5-qtdeclarative-import-xmllistmodel
@ -18,6 +18,7 @@ BuildRequires: desktop-file-utils
%description %description
AllRadio2 is a new version of AllRadio. AllRadio2 is a new version of AllRadio.
%prep %prep
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}

View File

@ -8,45 +8,6 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </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> <context>
<name>CountryNameModel</name> <name>CountryNameModel</name>
<message> <message>

View File

@ -8,45 +8,6 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </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> <context>
<name>CountryNameModel</name> <name>CountryNameModel</name>
<message> <message>