Compare commits

..

12 Commits

Author SHA1 Message Date
b6ad4da554 Actualizar 'debian/changelog' 2023-12-01 22:29:28 -06:00
18afebb4df Galician translate. 2023-12-01 22:18:59 +00:00
7b0361b969 Add appropriate changelog entries for the new translations. 2023-12-01 14:12:47 -06:00
Roberalz
940bdd320c
Delete po/gl.po 2023-12-01 19:03:51 +01:00
Roberalz
8d4c10c1a6
Galician and Basque traductions 2023-12-01 16:39:10 +01:00
Roberalz
01a7816d7e
Update es.po 2023-12-01 14:32:53 +01:00
a5da2f12fb Update translation sources. 2023-11-29 17:44:06 -06:00
vaba
1e809cd92f Add files via upload (#6) 2023-11-29 16:46:07 -06:00
Roberalz
10eb134e54 Update upg-apply.desktop (#4) 2023-11-29 16:35:16 -06:00
FuRuYa7
9ef796d74d Added Japanese translation "po/ja.po" file (#3) 2023-11-29 16:33:44 -06:00
cee2f2143b This should now be ready to upload (ish). 2023-10-10 14:16:52 -05:00
03e0b5f538 Rough, initial migration to systemd units. 2023-10-10 14:15:55 -05:00
10 changed files with 390 additions and 48 deletions

View File

@ -1,7 +0,0 @@
[Desktop Entry]
Exec=/usr/libexec/lubuntu-update-notifier/lubuntu-upg-notifier.sh
NoDisplay=true
Name=upgNotifier
Icon=system-software-update
Type=Application
Version=0.1

9
debian/changelog vendored
View File

@ -1,7 +1,7 @@
lubuntu-update-notifier (0.6.1~ppa23.10.2) mantic; urgency=medium lubuntu-update-notifier (0.6.1) UNRELEASED; urgency=medium
[ Simon Quigley ] [ Simon Quigley ]
* Backport to Mantic. * Rough, initial migration to systemd units.
* Update translation sources. * Update translation sources.
[ FuRuYa7 ] [ FuRuYa7 ]
@ -9,11 +9,14 @@ lubuntu-update-notifier (0.6.1~ppa23.10.2) mantic; urgency=medium
[ Roberalz ] [ Roberalz ]
* Update upg-apply.desktop. * Update upg-apply.desktop.
* Update Spanish translations.
* Add Basque translations.
* Add Galician translations.
[ vaba ] [ vaba ]
* Add an Estonian translation. * Add an Estonian translation.
-- Simon Quigley <tsimonq2@ubuntu.com> Wed, 29 Nov 2023 17:48:23 -0600 -- Simon Quigley <tsimonq2@ubuntu.com> Tue, 10 Oct 2023 14:14:56 -0500
lubuntu-update-notifier (0.6.0) mantic; urgency=medium lubuntu-update-notifier (0.6.0) mantic; urgency=medium

View File

@ -1,2 +0,0 @@
#data/upg-apply.desktop usr/share/applications
data/upg-notifier-autostart.desktop etc/xdg/autostart

12
debian/lubuntu-update-notifier.postinst vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
set -e
# This file can be removed following the release of Lubuntu 24.04 LTS
# It's to ensure a smooth transition between the autostart file and the new
# systemd user units provided
rm -f /etc/xdg/autostart/upg-notifier-autostart.desktop
rm -f /home/*/.config/autostart/upg-notifier-autostart.desktop
#DEBHELPER#

View File

@ -0,0 +1,7 @@
[Unit]
Description=Lubuntu Update Notifier
Wants=update-notifier-download.timer
[Service]
Type=oneshot
ExecStart=/usr/libexec/lubuntu-update-notifier/lubuntu-upg-notifier.sh

View File

@ -0,0 +1,10 @@
[Unit]
Description=Lubuntu Update Notifier
Requires=lubuntu-update-notifier.service
[Timer]
Unit=lubuntu-update-notifier.service
OnCalendar=*-*-* *:00:00
[Install]
WantedBy=timers.target

View File

@ -16,28 +16,25 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
while true; OUT=`/usr/lib/update-notifier/apt-check 2>&1`
do oldIFS=$IFS
OUT=`/usr/lib/update-notifier/apt-check 2>&1` IFS=';'
oldIFS=$IFS j=0
IFS=';' for STRING in $OUT; do
j=0 case $j in
for STRING in $OUT; do 0)
case $j in UPG=$STRING;;
0) 1)
UPG=$STRING;; SEC=$STRING;;
1) esac
SEC=$STRING;; j=`expr $j + 1`
esac done
j=`expr $j + 1` IFS=$oldIFS
done
IFS=$oldIFS
NEWREL_CHECK=`/usr/bin/do-release-upgrade -c 2>&1` NEWREL_CHECK=`/usr/bin/do-release-upgrade -c 2>&1`
NEWREL=$? NEWREL=$?
if [ "$NEWREL" -eq 0 ]; then if [ "$NEWREL" -eq 0 ]; then
VERSION=`echo $NEWREL_CHECK | awk -F\' '/available/{print $2}'` VERSION=`echo $NEWREL_CHECK | awk -F\' '/available/{print $2}'`
fi fi
/usr/libexec/lubuntu-update-notifier/lubuntu-notifier.py -u $UPG -s $SEC -r $NEWREL -v $VERSION -p /usr/bin/lubuntu-upgrader
sleep 86400 /usr/libexec/lubuntu-update-notifier/lubuntu-notifier.py -u $UPG -s $SEC -r $NEWREL -v $VERSION -p /usr/bin/lubuntu-upgrader
done;

View File

@ -8,15 +8,15 @@ msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-29 17:43-0600\n" "POT-Creation-Date: 2023-11-29 17:43-0600\n"
"PO-Revision-Date: 2020-09-12 13:49-0300\n" "PO-Revision-Date: 2023-12-01 14:31+0100\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: es\n" "Language: es\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.3\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.4.1\n"
#: lubuntu-upgrader:132 #: lubuntu-upgrader:132
msgid "Updating cache..." msgid "Updating cache..."
@ -24,11 +24,11 @@ msgstr "Actualizando cache..."
#: lubuntu-upgrader:138 #: lubuntu-upgrader:138
msgid "Repairing interrupted upgrade if necessary..." msgid "Repairing interrupted upgrade if necessary..."
msgstr "" msgstr "Reparando la actualización interrumpida si es necesario..."
#: lubuntu-upgrader:195 lubuntu-upgrader:198 #: lubuntu-upgrader:195 lubuntu-upgrader:198
msgid "Fetching" msgid "Fetching"
msgstr "Atrayendo" msgstr "Recuperando"
#: lubuntu-upgrader:196 lubuntu-upgrader:198 lubuntu-upgrader:209 #: lubuntu-upgrader:196 lubuntu-upgrader:198 lubuntu-upgrader:209
#: lubuntu-upgrader:212 #: lubuntu-upgrader:212
@ -62,7 +62,7 @@ msgstr "Actualización de Cache Terminada"
#: lubuntu-upgrader:404 #: lubuntu-upgrader:404
msgid "Repair Finished (if repair was needed)" msgid "Repair Finished (if repair was needed)"
msgstr "" msgstr "Reparación terminada (si se necesitaba reparación)"
#: lubuntu-upgrader:432 #: lubuntu-upgrader:432
msgid "" msgid ""
@ -83,7 +83,7 @@ msgstr "\"Full upgrade\" lo mismo que \"dist-upgrade\""
#: lubuntu-notifier.py:76 #: lubuntu-notifier.py:76
#, python-format #, python-format
msgid "Error: Opening the cache (%s)" msgid "Error: Opening the cache (%s)"
msgstr "" msgstr "Error: Abriendo el caché (%s)"
#: lubuntu-notifier.py:95 lubuntu-notifier.py:101 #: lubuntu-notifier.py:95 lubuntu-notifier.py:101
msgid "Affected Packages" msgid "Affected Packages"
@ -91,7 +91,7 @@ msgstr "Paquetes afectados"
#: lubuntu-notifier.py:96 #: lubuntu-notifier.py:96
msgid "Security" msgid "Security"
msgstr "" msgstr "Seguridad"
#: lubuntu-notifier.py:141 #: lubuntu-notifier.py:141
msgid "There are upgrades available. Do you want to do a system upgrade?" msgid "There are upgrades available. Do you want to do a system upgrade?"
@ -128,15 +128,15 @@ msgstr "Actualizando..."
#: lubuntu-notifier.py:276 #: lubuntu-notifier.py:276
msgid "A new version of Lubuntu" msgid "A new version of Lubuntu"
msgstr "" msgstr "Una nueva versión de Lubuntu"
#: lubuntu-notifier.py:277 #: lubuntu-notifier.py:277
msgid "is available. Would you like to install it?" msgid "is available. Would you like to install it?"
msgstr "" msgstr "está disponible. ¿Quiere instalarlo?"
#: lubuntu-notifier.py:279 #: lubuntu-notifier.py:279
msgid "A new version of Lubuntu is available. Would you like to install it?" msgid "A new version of Lubuntu is available. Would you like to install it?"
msgstr "" msgstr "Ya está disponible una nueva versión de Lubuntu. Quieres instalarla?"
#: lubuntu-notifier.py:315 #: lubuntu-notifier.py:315
msgid "Define software/app to open for upgrade" msgid "Define software/app to open for upgrade"
@ -152,8 +152,8 @@ msgstr "Cuántas actualizaciones de seguridad hay disponibles"
#: lubuntu-notifier.py:330 #: lubuntu-notifier.py:330
msgid "Whether a release upgrade is required" msgid "Whether a release upgrade is required"
msgstr "" msgstr "Si se requiere una actualización de versión"
#: lubuntu-notifier.py:336 #: lubuntu-notifier.py:336
msgid "If a release upgrade is available, provide the version" msgid "If a release upgrade is available, provide the version"
msgstr "" msgstr "Si hay una actualización de versión disponible, proporcione la versión"

160
po/eu.po Normal file
View File

@ -0,0 +1,160 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-29 17:43-0600\n"
"PO-Revision-Date: 2023-12-01 16:18+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: eu\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.4.1\n"
#: lubuntu-upgrader:132
msgid "Updating cache..."
msgstr "Cachea eguneratzen..."
#: lubuntu-upgrader:138
msgid "Repairing interrupted upgrade if necessary..."
msgstr "Beharrezkoa bada etendako bertsio-berritzea konpontzen..."
#: lubuntu-upgrader:195 lubuntu-upgrader:198
msgid "Fetching"
msgstr "Lortzen"
#: lubuntu-upgrader:196 lubuntu-upgrader:198 lubuntu-upgrader:209
#: lubuntu-upgrader:212
msgid "of"
msgstr "-ren"
#: lubuntu-upgrader:208 lubuntu-upgrader:211
msgid "Downloaded"
msgstr "Deskargatuta"
#: lubuntu-upgrader:223 lubuntu-notifier.py:234
msgid "Upgrade finished"
msgstr "Berritzea amaitu da"
#: lubuntu-upgrader:227 lubuntu-notifier.py:197 lubuntu-notifier.py:201
#: lubuntu-notifier.py:238
msgid "Reboot required"
msgstr "Berrabiarazi behar da"
#: lubuntu-upgrader:231
msgid "With some Errors"
msgstr "Akats batzuekin"
#: lubuntu-upgrader:232
msgid "Error Resume:"
msgstr "Errorea berekin:"
#: lubuntu-upgrader:283
msgid "Update Cache Finished"
msgstr "Eguneratu cachea amaitu da"
#: lubuntu-upgrader:404
msgid "Repair Finished (if repair was needed)"
msgstr "Konponketa amaituta (konponketa behar izanez gero)"
#: lubuntu-upgrader:432
msgid ""
"Please run this software with administrative rights.To do so, run this "
"program with lxqt-sudo."
msgstr ""
"Exekutatu software hau administrazio-eskubideekin. Horretarako, exekutatu "
"programa hau lxqt-sudo-rekin."
#: lubuntu-upgrader:454
msgid "Update Cache Before Upgrade"
msgstr "Eguneratu cachea Berritu aurretik"
#: lubuntu-upgrader:459
msgid "Full upgrade same as dist-upgrade"
msgstr "Bertsio osoa dist-berritze berdina da"
#: lubuntu-notifier.py:76
#, python-format
msgid "Error: Opening the cache (%s)"
msgstr "Errorea: cachea irekitzen (%s)"
#: lubuntu-notifier.py:95 lubuntu-notifier.py:101
msgid "Affected Packages"
msgstr "Eragindako paketeak"
#: lubuntu-notifier.py:96
msgid "Security"
msgstr "Segurtasuna"
#: lubuntu-notifier.py:141
msgid "There are upgrades available. Do you want to do a system upgrade?"
msgstr "Berritzeak daude eskuragarri. Sistema berritzea nahi duzu?"
#: lubuntu-notifier.py:144
msgid "This will mean packages could be upgraded, installed or removed."
msgstr ""
"Horrek esan nahi du paketeak berritu, instalatu edo kendu daitezkeela."
#: lubuntu-notifier.py:149
msgid " is a security upgrade."
msgstr " segurtasun-berritzea da."
#: lubuntu-notifier.py:151
msgid " are security upgrades."
msgstr " segurtasun-berrikuntzak dira."
#: lubuntu-notifier.py:154
msgid "Remove"
msgstr "Kendu"
#: lubuntu-notifier.py:161
msgid "Install"
msgstr "Instalatu"
#: lubuntu-notifier.py:176
msgid "Upgrade"
msgstr "Eguneratu"
#: lubuntu-notifier.py:222
msgid "Upgrading..."
msgstr "Berritzen..."
#: lubuntu-notifier.py:276
msgid "A new version of Lubuntu"
msgstr "Lubuntu-ren bertsio berria"
#: lubuntu-notifier.py:277
msgid "is available. Would you like to install it?"
msgstr "eskuragarri dago. Instalatu nahiko zenuke?"
#: lubuntu-notifier.py:279
msgid "A new version of Lubuntu is available. Would you like to install it?"
msgstr ""
"Lubuntu-ren bertsio berri bat dago eskuragarri. Instalatu nahiko zenuke?"
#: lubuntu-notifier.py:315
msgid "Define software/app to open for upgrade"
msgstr "Definitu berritzeko irekitzeko softwarea/aplikazioa"
#: lubuntu-notifier.py:320
msgid "How many upgrades are available"
msgstr "Zenbat berritze eskuragarri dauden"
#: lubuntu-notifier.py:325
msgid "How many security upgrades are available"
msgstr "Zenbat segurtasun-berrikuntza dauden eskuragarri"
#: lubuntu-notifier.py:330
msgid "Whether a release upgrade is required"
msgstr "Oharra bertsio-berritzea beharrezkoa den ala ez"
#: lubuntu-notifier.py:336
msgid "If a release upgrade is available, provide the version"
msgstr "Bertsio-berritze bat eskuragarri badago, eman bertsioa"

162
po/gl.po Normal file
View File

@ -0,0 +1,162 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-11-29 17:43-0600\n"
"PO-Revision-Date: 2023-12-01 16:33+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: gl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.4.1\n"
#: lubuntu-upgrader:132
msgid "Updating cache..."
msgstr "Actualizando a caché..."
#: lubuntu-upgrader:138
msgid "Repairing interrupted upgrade if necessary..."
msgstr "Reparando a actualización interrompida se é necesario..."
#: lubuntu-upgrader:195 lubuntu-upgrader:198
msgid "Fetching"
msgstr "Buscando"
#: lubuntu-upgrader:196 lubuntu-upgrader:198 lubuntu-upgrader:209
#: lubuntu-upgrader:212
msgid "of"
msgstr "de"
#: lubuntu-upgrader:208 lubuntu-upgrader:211
msgid "Downloaded"
msgstr "Descargado"
#: lubuntu-upgrader:223 lubuntu-notifier.py:234
msgid "Upgrade finished"
msgstr "Actualización rematada"
#: lubuntu-upgrader:227 lubuntu-notifier.py:197 lubuntu-notifier.py:201
#: lubuntu-notifier.py:238
msgid "Reboot required"
msgstr "É necesario reiniciar"
#: lubuntu-upgrader:231
msgid "With some Errors"
msgstr "Con algúns erros"
#: lubuntu-upgrader:232
msgid "Error Resume:"
msgstr "Erro Reanudar:"
#: lubuntu-upgrader:283
msgid "Update Cache Finished"
msgstr "Actualización da caché rematada"
#: lubuntu-upgrader:404
msgid "Repair Finished (if repair was needed)"
msgstr "Reparación rematada (se fose necesaria a reparación)"
#: lubuntu-upgrader:432
msgid ""
"Please run this software with administrative rights.To do so, run this "
"program with lxqt-sudo."
msgstr ""
"Executa este software con dereitos administrativos. Para facelo, executa "
"este programa con lxqt-sudo."
#: lubuntu-upgrader:454
msgid "Update Cache Before Upgrade"
msgstr "Actualiza a caché antes da actualización"
#: lubuntu-upgrader:459
msgid "Full upgrade same as dist-upgrade"
msgstr "Actualización completa igual que dist-upgrade"
#: lubuntu-notifier.py:76
#, python-format
msgid "Error: Opening the cache (%s)"
msgstr "Erro: ao abrir a caché (%s)"
#: lubuntu-notifier.py:95 lubuntu-notifier.py:101
msgid "Affected Packages"
msgstr "Paquetes afectados"
#: lubuntu-notifier.py:96
msgid "Security"
msgstr "Seguridade"
#: lubuntu-notifier.py:141
msgid "There are upgrades available. Do you want to do a system upgrade?"
msgstr ""
"Hai actualizacións dispoñibles. Queres facer unha actualización do "
"sistema?"
#: lubuntu-notifier.py:144
msgid "This will mean packages could be upgraded, installed or removed."
msgstr ""
"Isto significará que os paquetes poderían actualizarse, instalarse ou "
"eliminarse."
#: lubuntu-notifier.py:149
msgid " is a security upgrade."
msgstr " é unha actualización de seguridade."
#: lubuntu-notifier.py:151
msgid " are security upgrades."
msgstr " son actualizacións de seguridade."
#: lubuntu-notifier.py:154
msgid "Remove"
msgstr "Quitar"
#: lubuntu-notifier.py:161
msgid "Install"
msgstr "Instalar"
#: lubuntu-notifier.py:176
msgid "Upgrade"
msgstr "Actualizar"
#: lubuntu-notifier.py:222
msgid "Upgrading..."
msgstr "Actualizando..."
#: lubuntu-notifier.py:276
msgid "A new version of Lubuntu"
msgstr "Unha nova versión de Lubuntu"
#: lubuntu-notifier.py:277
msgid "is available. Would you like to install it?"
msgstr "está dispoñible. Gustaríache instalalo?"
#: lubuntu-notifier.py:279
msgid "A new version of Lubuntu is available. Would you like to install it?"
msgstr "Hai unha nova versión de Lubuntu dispoñible. Gustaríache instalalo?"
#: lubuntu-notifier.py:315
msgid "Define software/app to open for upgrade"
msgstr "Define o software/aplicación para abrir para actualizar"
#: lubuntu-notifier.py:320
msgid "How many upgrades are available"
msgstr "Cantas actualizacións hai dispoñibles"
#: lubuntu-notifier.py:325
msgid "How many security upgrades are available"
msgstr "Cantas actualizacións de seguridade hai dispoñibles"
#: lubuntu-notifier.py:330
msgid "Whether a release upgrade is required"
msgstr "Indica se é necesaria unha actualización de versión"
#: lubuntu-notifier.py:336
msgid "If a release upgrade is available, provide the version"
msgstr "Se hai unha actualización dispoñible, proporcione a versión"