Skip to content

Commit

Permalink
SpiceSpy v4.3.0: New method to check recent issues (#6813)
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiux authored Jan 27, 2025
1 parent a2e4c62 commit 6ca6a9b
Show file tree
Hide file tree
Showing 14 changed files with 407 additions and 152 deletions.
6 changes: 6 additions & 0 deletions SpiceSpy@claudiux/files/SpiceSpy@claudiux/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### v4.3.0~20250127
* New method to check recent issues.
* Adds tooltips in menu.
* Updates the mainloopTools library.
* Removes all Lang.bind() calls.

### v4.2.0~20250119
* Better start.
* Avoids usage of Lang.bind() in code.
Expand Down
181 changes: 122 additions & 59 deletions SpiceSpy@claudiux/files/SpiceSpy@claudiux/applet.js

Large diffs are not rendered by default.

15 changes: 10 additions & 5 deletions SpiceSpy@claudiux/files/SpiceSpy@claudiux/lib/mainloopTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,18 @@ function source_exists(id) {
* boolean.
*/
function source_remove(id, remove_from_sourceIds=true) {
if (remove_from_sourceIds) {
const pos = _sourceIds.indexOf(id);
if (pos > -1) _sourceIds.splice(pos, 1);
}
if (source_exists(id)) {
GLib.source_remove(id);
if (remove_from_sourceIds) {
const pos = _sourceIds.indexOf(id);
if (pos > -1) _sourceIds.splice(pos, 1);
try {
GLib.source_remove(id);
}
catch(e) {}
finally {
return true;
}
return true;
}
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion SpiceSpy@claudiux/files/SpiceSpy@claudiux/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"uuid": "SpiceSpy@claudiux",
"name": "SpiceSpy",
"description": "Notifies you when there's a change to your favorite Spices on the website.",
"version": "4.2.0",
"version": "4.3.0",
"max-instances": 1,
"author": "claudiux"
}
34 changes: 25 additions & 9 deletions SpiceSpy@claudiux/files/SpiceSpy@claudiux/po/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: SpiceSpy@claudiux 4.0.0\n"
"Project-Id-Version: SpiceSpy@claudiux 4.3.0\n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-applets/"
"issues\n"
"POT-Creation-Date: 2024-11-12 00:32+0100\n"
"POT-Creation-Date: 2025-01-27 10:32+0100\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
Expand All @@ -17,19 +17,35 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. applet.js:550
#. applet.js:127
msgid "score"
msgstr ""

#. applet.js:139
msgid "comments"
msgstr ""

#. applet.js:152
msgid "recent issues"
msgstr ""

#. applet.js:164
msgid "translations"
msgstr ""

#. applet.js:737
msgid "Mark all as read"
msgstr ""

#. applet.js:554
#. applet.js:746
msgid "Refresh"
msgstr ""

#. applet.js:558
#. applet.js:759
msgid "Spices"
msgstr ""

#. applet.js:630
#. applet.js:832
msgid "Configure..."
msgstr ""

Expand Down Expand Up @@ -59,12 +75,12 @@ msgstr ""
msgid "List of specific Spices you are interested in"
msgstr ""

#. settings-schema.json->update-interval->description
#. settings-schema.json->update-interval-hours->description
msgid "Update interval"
msgstr ""

#. settings-schema.json->update-interval->units
msgid "minutes"
#. settings-schema.json->update-interval-hours->units
msgid "hours"
msgstr ""

#. settings-schema.json->standard-opacity->description
Expand Down
34 changes: 25 additions & 9 deletions SpiceSpy@claudiux/files/SpiceSpy@claudiux/po/ca.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: SpiceSpy@claudiux 3.0.0\n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-applets/"
"issues\n"
"POT-Creation-Date: 2024-11-12 00:32+0100\n"
"POT-Creation-Date: 2025-01-27 10:32+0100\n"
"PO-Revision-Date: 2024-11-20 02:07+0100\n"
"Last-Translator: Odyssey <[email protected]>\n"
"Language-Team: \n"
Expand All @@ -18,19 +18,35 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.4.2\n"

#. applet.js:550
#. applet.js:127
msgid "score"
msgstr ""

#. applet.js:139
msgid "comments"
msgstr ""

#. applet.js:152
msgid "recent issues"
msgstr ""

#. applet.js:164
msgid "translations"
msgstr ""

#. applet.js:737
msgid "Mark all as read"
msgstr "Marcar tots com llegits"

#. applet.js:554
#. applet.js:746
msgid "Refresh"
msgstr "Actualitzar"

#. applet.js:558
#. applet.js:759
msgid "Spices"
msgstr "Espècies"

#. applet.js:630
#. applet.js:832
msgid "Configure..."
msgstr "Configurar..."

Expand Down Expand Up @@ -62,13 +78,13 @@ msgstr "Llista d'autors de les Espècies que us interessen"
msgid "List of specific Spices you are interested in"
msgstr "Llista d'espècies específiques que us interessen"

#. settings-schema.json->update-interval->description
#. settings-schema.json->update-interval-hours->description
msgid "Update interval"
msgstr "Interval d'actualització"

#. settings-schema.json->update-interval->units
msgid "minutes"
msgstr "minuts"
#. settings-schema.json->update-interval-hours->units
msgid "hours"
msgstr ""

#. settings-schema.json->standard-opacity->description
msgid "Opacity in absence of change"
Expand Down
38 changes: 27 additions & 11 deletions SpiceSpy@claudiux/files/SpiceSpy@claudiux/po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: SpiceSpy@claudiux 4.0.0\n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-applets/"
"issues\n"
"POT-Creation-Date: 2024-11-12 00:32+0100\n"
"POT-Creation-Date: 2025-01-27 10:32+0100\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
Expand All @@ -18,19 +18,35 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.4.4\n"

#. applet.js:550
#. applet.js:127
msgid "score"
msgstr ""

#. applet.js:139
msgid "comments"
msgstr ""

#. applet.js:152
msgid "recent issues"
msgstr ""

#. applet.js:164
msgid "translations"
msgstr ""

#. applet.js:737
msgid "Mark all as read"
msgstr "Alle als gelesen markieren"

#. applet.js:554
#. applet.js:746
msgid "Refresh"
msgstr "Aktualisieren"

#. applet.js:558
#. applet.js:759
msgid "Spices"
msgstr "Spices"

#. applet.js:630
#. applet.js:832
msgid "Configure..."
msgstr "Einstellen..."

Expand All @@ -42,8 +58,8 @@ msgstr "SpiceSpy"
msgid ""
"Notifies you when there's a change to your favorite Spices on the website."
msgstr ""
"Benachrichtigt Sie, wenn es eine Änderung bei Ihren Lieblings-spices auf "
"der Website gibt."
"Benachrichtigt Sie, wenn es eine Änderung bei Ihren Lieblings-spices auf der "
"Website gibt."

#. settings-schema.json->pageGeneral->title
msgid "General"
Expand All @@ -62,13 +78,13 @@ msgstr "Liste der Autoren der Spices an denen du interessiert bist"
msgid "List of specific Spices you are interested in"
msgstr "Liste der Spices an denen du interessiert bist"

#. settings-schema.json->update-interval->description
#. settings-schema.json->update-interval-hours->description
msgid "Update interval"
msgstr "Aktualisierungs Intervall"

#. settings-schema.json->update-interval->units
msgid "minutes"
msgstr "minuten"
#. settings-schema.json->update-interval-hours->units
msgid "hours"
msgstr ""

#. settings-schema.json->standard-opacity->description
msgid "Opacity in absence of change"
Expand Down
34 changes: 25 additions & 9 deletions SpiceSpy@claudiux/files/SpiceSpy@claudiux/po/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgstr ""
"Project-Id-Version: SpiceSpy@claudiux 1.1.0\n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-applets/"
"issues\n"
"POT-Creation-Date: 2024-11-12 00:32+0100\n"
"POT-Creation-Date: 2025-01-27 10:32+0100\n"
"PO-Revision-Date: 2024-11-11 20:55-0300\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand All @@ -17,19 +17,35 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.4.4\n"

#. applet.js:550
#. applet.js:127
msgid "score"
msgstr ""

#. applet.js:139
msgid "comments"
msgstr ""

#. applet.js:152
msgid "recent issues"
msgstr ""

#. applet.js:164
msgid "translations"
msgstr ""

#. applet.js:737
msgid "Mark all as read"
msgstr "Marcar todos como leídos"

#. applet.js:554
#. applet.js:746
msgid "Refresh"
msgstr "Actualizar"

#. applet.js:558
#. applet.js:759
msgid "Spices"
msgstr "Especias"

#. applet.js:630
#. applet.js:832
msgid "Configure..."
msgstr "Configurar..."

Expand Down Expand Up @@ -60,13 +76,13 @@ msgstr "Lista de autores de las Especias que le interesan"
msgid "List of specific Spices you are interested in"
msgstr "Lista de Especias específicas que le interesan"

#. settings-schema.json->update-interval->description
#. settings-schema.json->update-interval-hours->description
msgid "Update interval"
msgstr "Intervalo de actualización"

#. settings-schema.json->update-interval->units
msgid "minutes"
msgstr "minutos"
#. settings-schema.json->update-interval-hours->units
msgid "hours"
msgstr ""

#. settings-schema.json->standard-opacity->description
msgid "Opacity in absence of change"
Expand Down
38 changes: 27 additions & 11 deletions SpiceSpy@claudiux/files/SpiceSpy@claudiux/po/fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,46 @@ msgstr ""
"Project-Id-Version: SpiceSpy@claudiux 4.0.0\n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-applets/"
"issues\n"
"POT-Creation-Date: 2024-11-12 00:32+0100\n"
"POT-Creation-Date: 2025-01-27 10:32+0100\n"
"PO-Revision-Date: \n"
"Last-Translator: Kimmo Kujansuu <[email protected]>\n"
"Language-Team: \n"
"Language: fi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.3\n"
"Last-Translator: Kimmo Kujansuu <[email protected]>\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: fi\n"

#. applet.js:550
#. applet.js:127
msgid "score"
msgstr ""

#. applet.js:139
msgid "comments"
msgstr ""

#. applet.js:152
msgid "recent issues"
msgstr ""

#. applet.js:164
msgid "translations"
msgstr ""

#. applet.js:737
msgid "Mark all as read"
msgstr "Merkitse kaikki luetuiksi"

#. applet.js:554
#. applet.js:746
msgid "Refresh"
msgstr "Päivitä"

#. applet.js:558
#. applet.js:759
msgid "Spices"
msgstr "Spices"

#. applet.js:630
#. applet.js:832
msgid "Configure..."
msgstr "Asetukset..."

Expand Down Expand Up @@ -62,13 +78,13 @@ msgstr "Luettelo ohjelmoijista jotka kiinnostaa sinua"
msgid "List of specific Spices you are interested in"
msgstr "Luettelo sovelmista jotka kiinnostaa sinua"

#. settings-schema.json->update-interval->description
#. settings-schema.json->update-interval-hours->description
msgid "Update interval"
msgstr "Päivitysväli"

#. settings-schema.json->update-interval->units
msgid "minutes"
msgstr "minuuttia"
#. settings-schema.json->update-interval-hours->units
msgid "hours"
msgstr ""

#. settings-schema.json->standard-opacity->description
msgid "Opacity in absence of change"
Expand Down
Loading

0 comments on commit 6ca6a9b

Please sign in to comment.