|
|
[-]
[+]
|
Changed |
_service:tar_git:install-history-0.9.17.tar.gz/build.sh
^
|
@@ -7,12 +7,16 @@
# gtag=$(git rev-parse --short HEAD).$(git branch --show-current | sed 's/-/_/')
# sed -i -e "s/\(Release: \).*$/\1 0\+$gtag/" rpm/*.spec
#fi
+_libdir=/usr/lib
+if [ $(getconf LONG_BIT) -eq 64 ]; then
+ _libdir=/usr/lib64
+fi
printf 'linting...\n'
for f in $(find qml -name "*.qml" ); do
- /usr/lib/qt5/bin/qmllint "$f" || exit 1
+ ${_libdir}/qt5/bin/qmllint "$f" || exit 1
done
for f in $(find qml -name "*.js" ); do
- /usr/lib/qt5/bin/qmllint "$f"
+ ${_libdir}/qt5/bin/qmllint "$f"
done
printf 'building...\n'
rpmbuild -bb --build-in-place rpm/*.spec > build.log 2>&1
|
[-]
[+]
|
Changed |
_service:tar_git:install-history-0.9.17.tar.gz/qml/pages/MainPage.qml
^
|
@@ -148,12 +148,12 @@
onClicked: { appHistoryModel.clear(); view.forceLayout(); view.model = null; }
onDelayedClick: { getHistory(page.historyfile,showLocal); view.model = appHistoryModel }
}
- MenuItem { text: showLocal ? qsTr("Hide local") : qsTr("Show local") ;
+ MenuItem { text: showLocal ? qsTr("Hide %1", "show/hide local menu option").arg(qsTr("Local Installs", "menu option parameter")) : qsTr("Show %1", "show/hide local menu option").arg(qsTr("Local Installs", "menu option parameter")) ;
// refresh on delayedclick otherwise the bounce animation freezes while we reload
onClicked: { showLocal = !showLocal; appHistoryModel.clear(); view.forceLayout(); view.model = null; }
onDelayedClick: { getHistory(page.historyfile,showLocal); view.model = appHistoryModel }
}
- MenuItem { text: page.unclutter ? qsTr("Verbose Display") : qsTr("Reduced Display") ;
+ MenuItem { text: page.unclutter ? qsTr("Verbose Display", "menu option") : qsTr("Reduced Display", "menu option") ;
onClicked: page.unclutter = !page.unclutter
}
MenuItem { text: dateSearch.active ? qsTr("Hide search") : qsTr("Search by Date") ;
@@ -414,7 +414,8 @@
return (re.test(data)) ? true : false;
}
function filterLocal(data) {
- const re = /\|PK_TMP_DIR\|/
+ const re = /\|PK_TMP_DIR\|/ // pkcon
+ const re = /\|_tmpRPMcache_\|/ // zypper
return (!re.test(data)) ? true : false;
}
@@ -449,8 +450,9 @@
// see https://codeberg.org/nephros/install-history/issues/16
dt = line[0].split(" ");
d = dt[0].split("-"); t = dt[1].split(":");
- date = new Date( d[0], d[1], d[2], 0, 0, 0, 0).toISOString();
- dateTime = new Date( d[0], d[1], d[2], t[0], t[1], t[2], 0);
+ // months are counted from 0-11, so do a d[1] - 1
+ date = new Date( d[0], d[1] - 1, d[2], 0, 0, 0, 0).toISOString();
+ dateTime = new Date( d[0], d[1] - 1, d[2], t[0], t[1], t[2], 0);
/* assign pretty names:
*
@@ -470,9 +472,9 @@
*/
repo = line[6];
reponame = repo;
- if (repo === "PK_TMP_DIR") {
- repo=qsTr("local", "name for a local repo");
- reponame=qsTr("local", "name for a local repo");
+ if ( (repo === "PK_TMP_DIR") || (repo === "_tmpRPMcache_") ) {
+ repo=qsTr("local", "short name for the 'local' repo");
+ reponame=qsTr("Local Installs", "name for the 'local' repo");
repotype="local";
} else if (repo === "store") {
reponame=qsTr("Jolla Store", "name for the jolla store repo");
|
[-]
[+]
|
Changed |
_service:tar_git:install-history-0.9.17.tar.gz/translations/settings-install-history-de.ts
^
|
@@ -77,16 +77,16 @@
</message>
<message>
<source>Verbose Display</source>
- <translation>Auführliche Ansicht</translation>
+ <translation type="vanished">Auführliche Ansicht</translation>
</message>
<message>
<source>Reduced Display</source>
- <translation>Reduzierte Ansicht</translation>
+ <translation type="vanished">Reduzierte Ansicht</translation>
</message>
<message>
<source>local</source>
<comment>name for a local repo</comment>
- <translation>lokal</translation>
+ <translation type="vanished">lokal</translation>
</message>
<message>
<source>local</source>
@@ -131,11 +131,11 @@
</message>
<message>
<source>Hide local</source>
- <translation>Lokale verbergen</translation>
+ <translation type="vanished">Lokale verbergen</translation>
</message>
<message>
<source>Show local</source>
- <translation>Lokale anzeigen</translation>
+ <translation type="vanished">Lokale anzeigen</translation>
</message>
<message>
<source>Jolla Store</source>
@@ -207,6 +207,49 @@
<comment>prefix for a openrepos repo</comment>
<translation>OpenRepos: %1</translation>
</message>
+ <message>
+ <source>Package Details</source>
+ <translation type="vanished">Paketdtails</translation>
+ </message>
+ <message>
+ <source>Update History</source>
+ <translation type="vanished">Updateverlauf</translation>
+ </message>
+ <message>
+ <source>Hide %1</source>
+ <comment>show/hide local menu option</comment>
+ <translation>%1 verbergen</translation>
+ </message>
+ <message>
+ <source>Local Installs</source>
+ <comment>menu option parameter</comment>
+ <translation>Lokale</translation>
+ </message>
+ <message>
+ <source>Show %1</source>
+ <comment>show/hide local menu option</comment>
+ <translation>%1 anzeigen</translation>
+ </message>
+ <message>
+ <source>Verbose Display</source>
+ <comment>menu option</comment>
+ <translation>Auführliche Ansicht</translation>
+ </message>
+ <message>
+ <source>Reduced Display</source>
+ <comment>menu option</comment>
+ <translation>Reduzierte Ansicht</translation>
+ </message>
+ <message>
+ <source>local</source>
+ <comment>short name for the 'local' repo</comment>
+ <translation>lokal</translation>
+ </message>
+ <message>
+ <source>Local Installs</source>
+ <comment>name for the 'local' repo</comment>
+ <translation>Lokale Installationen</translation>
+ </message>
</context>
<context>
<name>StatsPage</name>
|
[-]
[+]
|
Changed |
_service:tar_git:install-history-0.9.17.tar.gz/translations/settings-install-history-en.ts
^
|
@@ -36,14 +36,6 @@
<translation type="unfinished"></translation>
</message>
<message>
- <source>Verbose Display</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <source>Reduced Display</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
<source>Hide search</source>
<translation type="unfinished"></translation>
</message>
@@ -72,11 +64,6 @@
<translation type="unfinished"></translation>
</message>
<message>
- <source>local</source>
- <comment>name for a local repo</comment>
- <translation type="unfinished"></translation>
- </message>
- <message>
<source>Application</source>
<translation type="unfinished"></translation>
</message>
@@ -93,14 +80,6 @@
<translation type="unfinished"></translation>
</message>
<message>
- <source>Hide local</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <source>Show local</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
<source>Jolla Store</source>
<comment>name for the jolla store repo</comment>
<translation type="unfinished"></translation>
@@ -170,6 +149,41 @@
<comment>prefix for a openrepos repo</comment>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <source>Hide %1</source>
+ <comment>show/hide local menu option</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Local Installs</source>
+ <comment>menu option parameter</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Show %1</source>
+ <comment>show/hide local menu option</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Verbose Display</source>
+ <comment>menu option</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Reduced Display</source>
+ <comment>menu option</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>local</source>
+ <comment>short name for the 'local' repo</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Local Installs</source>
+ <comment>name for the 'local' repo</comment>
+ <translation type="unfinished"></translation>
+ </message>
</context>
<context>
<name>StatsPage</name>
|
[-]
[+]
|
Changed |
_service:tar_git:install-history-0.9.17.tar.gz/translations/settings-install-history-ru.ts
^
|
@@ -66,16 +66,16 @@
</message>
<message>
<source>Verbose Display</source>
- <translation>Обычный список</translation>
+ <translation type="vanished">Обычный список</translation>
</message>
<message>
<source>Reduced Display</source>
- <translation>Компактный список</translation>
+ <translation type="vanished">Компактный список</translation>
</message>
<message>
<source>local</source>
<comment>name for a local repo</comment>
- <translation>local</translation>
+ <translation type="vanished">local</translation>
</message>
<message>
<source>local</source>
@@ -92,19 +92,11 @@
</message>
<message>
<source>Refresh</source>
- <translation type="unfinished">перезарядить</translation>
+ <translation>перезарядить</translation>
</message>
<message>
<source>Loading…</source>
- <translation type="unfinished">загрузка данных</translation>
- </message>
- <message>
- <source>Hide local</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <source>Show local</source>
- <translation type="unfinished"></translation>
+ <translation>загрузка данных</translation>
</message>
<message>
<source>Jolla Store</source>
@@ -176,6 +168,41 @@
<comment>prefix for a openrepos repo</comment>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <source>Hide %1</source>
+ <comment>show/hide local menu option</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Local Installs</source>
+ <comment>menu option parameter</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Show %1</source>
+ <comment>show/hide local menu option</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Verbose Display</source>
+ <comment>menu option</comment>
+ <translation>Обычный список</translation>
+ </message>
+ <message>
+ <source>Reduced Display</source>
+ <comment>menu option</comment>
+ <translation>Компактный список</translation>
+ </message>
+ <message>
+ <source>local</source>
+ <comment>short name for the 'local' repo</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Local Installs</source>
+ <comment>name for the 'local' repo</comment>
+ <translation type="unfinished"></translation>
+ </message>
</context>
<context>
<name>StatsPage</name>
|
[-]
[+]
|
Changed |
_service:tar_git:install-history-0.9.17.tar.gz/translations/settings-install-history-sv.ts
^
|
@@ -77,16 +77,16 @@
</message>
<message>
<source>Verbose Display</source>
- <translation>Utförlig visning</translation>
+ <translation type="vanished">Utförlig visning</translation>
</message>
<message>
<source>Reduced Display</source>
- <translation>Reducerad visning</translation>
+ <translation type="vanished">Reducerad visning</translation>
</message>
<message>
<source>local</source>
<comment>name for a local repo</comment>
- <translation>Lokalt</translation>
+ <translation type="vanished">Lokalt</translation>
</message>
<message>
<source>local</source>
@@ -111,19 +111,11 @@
</message>
<message>
<source>Refresh</source>
- <translation type="unfinished">Uppdatera</translation>
+ <translation>Uppdatera</translation>
</message>
<message>
<source>Loading…</source>
- <translation type="unfinished">Läsa in</translation>
- </message>
- <message>
- <source>Hide local</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <source>Show local</source>
- <translation type="unfinished"></translation>
+ <translation>Läsa in</translation>
</message>
<message>
<source>Jolla Store</source>
@@ -195,6 +187,46 @@
<comment>prefix for a openrepos repo</comment>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <source>local</source>
+ <comment>short name for a local repo</comment>
+ <translation type="obsolete">Lokalt</translation>
+ </message>
+ <message>
+ <source>Hide %1</source>
+ <comment>show/hide local menu option</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Local Installs</source>
+ <comment>menu option parameter</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Show %1</source>
+ <comment>show/hide local menu option</comment>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>Verbose Display</source>
+ <comment>menu option</comment>
+ <translation>Utförlig visning</translation>
+ </message>
+ <message>
+ <source>Reduced Display</source>
+ <comment>menu option</comment>
+ <translation>Reducerad visning</translation>
+ </message>
+ <message>
+ <source>local</source>
+ <comment>short name for the 'local' repo</comment>
+ <translation>Lokalt</translation>
+ </message>
+ <message>
+ <source>Local Installs</source>
+ <comment>name for the 'local' repo</comment>
+ <translation type="unfinished"></translation>
+ </message>
</context>
<context>
<name>StatsPage</name>
|
@@ -1,6 +1,6 @@
Name: install-history
Summary: Shows when packages have been installed or uninstalled
-Version: 0.9.16
+Version: 0.9.17
Release: 1
Group: Applications
License: Apache 2.0
|