[-]
[+]
|
Changed |
_service:tar_git:harbour-mlsmanager.changes
|
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-mlsmanager.spec
^
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -2,7 +2,7 @@
<service name="tar_git">
<param name="url">https://github.com/black-sheep-dev/harbour-mlsmanager.git</param>
<param name="branch"></param>
- <param name="revision">2e703b7</param>
+ <param name="revision">0.2.6-1</param>
<param name="debian">N</param>
<param name="dumb">N</param>
</service>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-mlsmanager-0.2.6.tar.bz2/harbour-mlsmanager.pro
^
|
@@ -10,7 +10,7 @@
# - translation filenames have to be changed
# VERSION
-VERSION = 0.2.5
+VERSION = 0.2.6
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
# The name of your application
@@ -60,7 +60,11 @@
# planning to localize your app, remember to comment out the
# following TRANSLATIONS line. And also do not forget to
# modify the localized app name in the the .desktop file.
-TRANSLATIONS += translations/harbour-mlsmanager-de.ts \
+TRANSLATIONS += \
+ translations/harbour-mlsmanager-de.ts \
+ translations/harbour-mlsmanager-es.ts \
+ translations/harbour-mlsmanager-fr.ts \
+ translations/harbour-mlsmanager-hu.ts \
translations/harbour-mlsmanager-nb_NO.ts \
translations/harbour-mlsmanager-pl.ts \
translations/harbour-mlsmanager-sk.ts \
@@ -82,6 +86,9 @@
flags.files = icons/flags/*
flags.path = $$INSTALL_ROOT/usr/share/harbour-mlsmanager/flags/
+icons.files = icons/*.svg
+icons.path = $$INSTALL_ROOT/usr/share/harbour-mlsmanager/icons
+
images.files = images/*
images.path = $$INSTALL_ROOT/usr/share/harbour-mlsmanager/images/
@@ -91,7 +98,4 @@
dbus.files = data/harbour.mlsmanager.service
dbus.path = $$INSTALL_ROOT/usr/share/dbus-1/services
-INSTALLS += flags images privileges dbus
-
-RESOURCES += \
- ressources.qrc
+INSTALLS += flags icons images privileges dbus
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-mlsmanager-0.2.6.tar.bz2/qml/pages/AboutPage.qml
^
|
@@ -91,7 +91,7 @@
height: width
fillMode: Image.PreserveAspectFit
anchors.verticalCenter: parent.verticalCenter
- source: "qrc:///icons/weblate"
+ source: "/usr/share/harbour-mlsmanager/icons/weblate.svg"
}
Label{
@@ -135,7 +135,7 @@
height: width
fillMode: Image.PreserveAspectFit
anchors.verticalCenter: parent.verticalCenter
- source: "qrc:///icons/git"
+ source: "/usr/share/harbour-mlsmanager/icons/github.svg"
}
Label{
@@ -180,7 +180,7 @@
height: width
fillMode: Image.PreserveAspectFit
anchors.verticalCenter: parent.verticalCenter
- source: "qrc:///icons/paypal"
+ source: "/usr/share/harbour-mlsmanager/icons/paypal.svg"
}
Label{
width: parent.width - parent.height - parent.spacing
@@ -210,7 +210,7 @@
height: width
fillMode: Image.PreserveAspectFit
anchors.verticalCenter: parent.verticalCenter
- source: "qrc:///icons/liberpay"
+ source: "/usr/share/harbour-mlsmanager/icons/liberpay.svg"
}
Label{
width: parent.width - parent.height - parent.spacing
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-mlsmanager-0.2.6.tar.bz2/src/packagessortfiltermodel.cpp
^
|
@@ -34,22 +34,24 @@
bool PackagesSortFilterModel::filterAcceptsRow(int source_row, const QModelIndex &source_parent) const
{
- if (m_namePattern.isEmpty() && m_typeFilter == 0)
- return true;
+ const auto index = sourceModel()->index(source_row, 0, source_parent);
- const QModelIndex index = sourceModel()->index(source_row, 0, source_parent);
+ const auto name = sourceModel()->data(index, PackagesModel::NameRole).toString();
+ const auto type = sourceModel()->data(index, PackagesModel::TypeRole).toUInt();
- const QString name = sourceModel()->data(index, PackagesModel::NameRole).toString();
- const quint8 type = sourceModel()->data(index, PackagesModel::TypeRole).toUInt();
-
- bool found{false};
- if (!m_namePattern.isEmpty()) {
- found = name.contains(name, Qt::CaseInsensitive);
- }
+ bool found{true};
if (m_typeFilter != PackageType::Undefined) {
found = (type == m_typeFilter);
}
- return found;
+ if (!found) {
+ return false;
+ }
+
+ if (!m_namePattern.isEmpty()) {
+ return name.contains(m_namePattern, Qt::CaseInsensitive);
+ }
+
+ return true;
}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-mlsmanager-0.2.6.tar.bz2/translations/harbour-mlsmanager-es.ts
^
|
@@ -43,10 +43,6 @@
<source>Your language is not available? You are welcome to support this project by translating it on my self hosted Weblate server.</source>
<translation>¿Tu idioma no está disponible? Te animo a apoyar este proyecto traduciéndolo en mi propio servidor Weblate.</translation>
</message>
- <message>
- <source>Give star</source>
- <translation type="unfinished"></translation>
- </message>
</context>
<context>
<name>MainPage</name>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-mlsmanager-0.2.6.tar.bz2/translations/harbour-mlsmanager-fr.ts
^
|
@@ -25,7 +25,7 @@
</message>
<message>
<source>If you like my work why not buy me a beer?</source>
- <translation>Si vous appréciez mon travail pourquoi ne pas m'offrir une bière ?</translation>
+ <translation>Si vous appréciez mon travail pourquoi ne pas m'offrir une bière ?</translation>
</message>
<message>
<source>Donate with PayPal</source>
@@ -41,11 +41,7 @@
</message>
<message>
<source>Your language is not available? You are welcome to support this project by translating it on my self hosted Weblate server.</source>
- <translation>Votre langue n'est pas disponible ? Votre aide est la bienvenue pour traduire ce projet sur mon serveur Weblate dédié.</translation>
- </message>
- <message>
- <source>Give star</source>
- <translation>Donner une étoile</translation>
+ <translation>Votre langue n'est pas disponible ? Votre aide est la bienvenue pour traduire ce projet sur mon serveur Weblate dédié.</translation>
</message>
</context>
<context>
@@ -80,7 +76,7 @@
</message>
<message>
<source>Check your internet connection</source>
- <translation type="unfinished"></translation>
+ <translation>Vérifiez votre connexion réseau</translation>
</message>
<message>
<source>Update</source>
@@ -170,7 +166,7 @@
</message>
<message>
<source>Check your internet connection</source>
- <translation type="unfinished"></translation>
+ <translation>Vérifiez votre connexion réseau</translation>
</message>
<message>
<source>Install</source>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-mlsmanager-0.2.6.tar.bz2/translations/harbour-mlsmanager-hu.ts
^
|
@@ -43,10 +43,6 @@
<source>Your language is not available? You are welcome to support this project by translating it on my self hosted Weblate server.</source>
<translation>Nem érhető el a saját nyelveden? Támogasd a projektet a fordítással a saját Weblate szerveremen.</translation>
</message>
- <message>
- <source>Give star</source>
- <translation type="unfinished"></translation>
- </message>
</context>
<context>
<name>MainPage</name>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-mlsmanager-0.2.6.tar.bz2/translations/harbour-mlsmanager-sv.ts
^
|
@@ -9,7 +9,7 @@
</message>
<message>
<source>MLS Manager</source>
- <translation type="unfinished"></translation>
+ <translation>MLS Manager</translation>
</message>
<message>
<source>Manager for Mozilla Location Service offline packages for Sailfish OS.</source>
@@ -25,23 +25,23 @@
</message>
<message>
<source>Translations</source>
- <translation type="unfinished"></translation>
+ <translation>Översättningar</translation>
</message>
<message>
<source>Your language is not available? You are welcome to support this project by translating it on my self hosted Weblate server.</source>
- <translation type="unfinished"></translation>
+ <translation>Hjälp mig att översätta denna app till flera språk genom att besöka min Weblate server.</translation>
</message>
<message>
<source>If you like my work why not buy me a beer?</source>
- <translation type="unfinished"></translation>
+ <translation>Tycker du om vad jag har gjort så bjud mig på en öl?</translation>
</message>
<message>
<source>Donate with PayPal</source>
- <translation type="unfinished"></translation>
+ <translation>Donera med PayPal</translation>
</message>
<message>
<source>Donate with Liberpay</source>
- <translation type="unfinished"></translation>
+ <translation>Donera med Liberpay</translation>
</message>
</context>
<context>
@@ -60,15 +60,15 @@
</message>
<message>
<source>Search</source>
- <translation type="unfinished"></translation>
+ <translation>Sök</translation>
</message>
<message>
<source>Install</source>
- <translation type="unfinished"></translation>
+ <translation>Installera</translation>
</message>
<message>
<source>Remove</source>
- <translation type="unfinished"></translation>
+ <translation>Ta bort</translation>
</message>
<message>
<source>No offline packages available</source>
@@ -76,19 +76,19 @@
</message>
<message>
<source>Check your internet connection</source>
- <translation type="unfinished"></translation>
+ <translation>Kontrollera din internet uppkoppling</translation>
</message>
<message>
<source>Update</source>
- <translation type="unfinished"></translation>
+ <translation>Uppdatera</translation>
</message>
<message>
<source>Update all packages</source>
- <translation type="unfinished"></translation>
+ <translation>Uppdatera alla paket</translation>
</message>
<message>
<source>Updating all packages</source>
- <translation type="unfinished"></translation>
+ <translation>Uppdatera alla paket</translation>
</message>
<message>
<source>Installing offline package</source>
@@ -104,7 +104,7 @@
</message>
<message>
<source>Countries</source>
- <translation type="unfinished"></translation>
+ <translation>Länder</translation>
</message>
<message>
<source>installed</source>
@@ -146,23 +146,23 @@
<name>RegionsPage</name>
<message>
<source>Refresh</source>
- <translation type="unfinished">Uppdatera</translation>
+ <translation>Uppdatera</translation>
</message>
<message>
<source>Update all packages</source>
- <translation type="unfinished"></translation>
+ <translation>Uppdatera alla paket</translation>
</message>
<message>
<source>Updating all packages</source>
- <translation type="unfinished"></translation>
+ <translation>Uppdatera alla paket</translation>
</message>
<message>
<source>Regions</source>
- <translation type="unfinished"></translation>
+ <translation>Regioner</translation>
</message>
<message>
<source>Install</source>
- <translation type="unfinished"></translation>
+ <translation>Installera</translation>
</message>
<message>
<source>Installing offline package</source>
@@ -170,7 +170,7 @@
</message>
<message>
<source>Remove</source>
- <translation type="unfinished"></translation>
+ <translation>Ta bort</translation>
</message>
<message>
<source>Removing offline package</source>
@@ -178,7 +178,7 @@
</message>
<message>
<source>Update</source>
- <translation type="unfinished"></translation>
+ <translation>Uppdatera</translation>
</message>
<message>
<source>Updating offline package</source>
@@ -194,7 +194,7 @@
</message>
<message>
<source>Check your internet connection</source>
- <translation type="unfinished"></translation>
+ <translation>Kontrollera din internet uppkoppling</translation>
</message>
</context>
<context>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-mlsmanager.yaml
^
|
@@ -1,6 +1,6 @@
Name: harbour-mlsmanager
Summary: MLS Manager
-Version: 0.2.5
+Version: 0.2.6
Release: 1
# The contents of the Group field should be one of the groups listed here:
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
|