diff --git a/system-controls@rcalixte/CHANGELOG.md b/system-controls@rcalixte/CHANGELOG.md index c30b0510d94..af6eeacca50 100644 --- a/system-controls@rcalixte/CHANGELOG.md +++ b/system-controls@rcalixte/CHANGELOG.md @@ -1,11 +1,20 @@ +### 1.2 + +* Moved to officially support Cinnamon 5.4+ +* Update `spawnCommandLine` to use `Gio.Subprocess` calls +* Switch to formal symbolic icons + ### 1.1.1 - * Changed icon for 'Restart Cinnamon' menu item from `system-run` to `cinnamon-symbolic` - * Improved packaged images + +* Changed icon for 'Restart Cinnamon' menu item from `system-run` to `cinnamon-symbolic` +* Improved packaged images ### 1.1 - * Added proper translation support - * Created dedicated changelog file + +* Added proper translation support +* Created dedicated changelog file ### 1.0 - * Initial release + +* Initial release diff --git a/system-controls@rcalixte/README.md b/system-controls@rcalixte/README.md index 3be4b65b8b6..7ccdaaa6387 100644 --- a/system-controls@rcalixte/README.md +++ b/system-controls@rcalixte/README.md @@ -1,32 +1,38 @@ -SYSTEM CONTROLS APPLET -====================== +SYSTEM CONTROLS +=============== + Minimal system controls applet for Cinnamon Desktop Environment DESCRIPTION ----------- + This is an applet that adds an icon in the panel that provides access to the following system controls functions: - * Restart Cinnamon - * Lock Screen - * Switch User (if enabled in system settings) - * Log Out - * Suspend - * Hibernate - * Restart - * Power Off -As of now, the action executes immediately without prompt or verification. +* Restart Cinnamon +* Lock Screen +* Switch User (if enabled in system settings) +* Log Out +* Suspend +* Hibernate +* Restart +* Power Off + +As of now, the menu action executes immediately without prompt or verification. Portions of this code were adapted from the user@cinnamon.org applet created by the Cinnamon Team. COMPATIBILITY ------------- + This applet has been tested to be compatible with Cinnamon 5.4+. DEPENDENCIES ------------ + This applet depends on the following packages being installed: - * cinnamon-screensaver - * cinnamon-session - * systemd + +* cinnamon-screensaver +* cinnamon-session +* systemd diff --git a/system-controls@rcalixte/files/system-controls@rcalixte/applet.js b/system-controls@rcalixte/files/system-controls@rcalixte/5.4/applet.js similarity index 79% rename from system-controls@rcalixte/files/system-controls@rcalixte/applet.js rename to system-controls@rcalixte/files/system-controls@rcalixte/5.4/applet.js index 7d6d71204d4..3dea4833d0a 100644 --- a/system-controls@rcalixte/files/system-controls@rcalixte/applet.js +++ b/system-controls@rcalixte/files/system-controls@rcalixte/5.4/applet.js @@ -6,7 +6,6 @@ const Lang = imports.lang; const PopupMenu = imports.ui.popupMenu; const ScreenSaver = imports.misc.screenSaver; const St = imports.gi.St; -const Util = imports.misc.util; // l10n/translation support const UUID = "system-controls@rcalixte"; @@ -34,18 +33,14 @@ class SystemControlsApplet extends Applet.TextIconApplet { this._contentSection = new PopupMenu.PopupMenuSection(); this.menu.addMenuItem(this._contentSection); - let controlsBox = new St.BoxLayout({ style_class: 'controls-box', reactive: true, vertical: false }); + let launcher = new Gio.SubprocessLauncher({ + flags: (Gio.SubprocessFlags.STDIN_PIPE | + Gio.SubprocessFlags.STDOUT_PIPE | + Gio.SubprocessFlags.STDERR_PIPE) + }); - this._controlsIcon = new St.Bin({ style_class: 'controls-icon' }); + let controlsBox = new St.BoxLayout({ style_class: 'controls-box', reactive: true, vertical: false }); - this._controlsIcon.hide(); - controlsBox.add(this._controlsIcon, - { - x_fill: true, - y_fill: false, - x_align: St.Align.END, - y_align: St.Align.START - }); this.controlsLabel = new St.Label(({ style_class: 'controls-label' })); controlsBox.add(this.controlsLabel, { @@ -71,16 +66,16 @@ class SystemControlsApplet extends Applet.TextIconApplet { this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem()); - item = new PopupMenu.PopupIconMenuItem(_("Lock Screen"), "system-lock-screen", St.IconType.SYMBOLIC); + item = new PopupMenu.PopupIconMenuItem(_("Lock Screen"), "system-lock-screen-symbolic", St.IconType.SYMBOLIC); item.connect('activate', Lang.bind(this, function () { let screensaver_settings = new Gio.Settings({ schema_id: "org.cinnamon.desktop.screensaver" }); let screensaver_dialog = Gio.file_new_for_path("/usr/bin/cinnamon-screensaver-command"); if (screensaver_dialog.query_exists(null)) { if (screensaver_settings.get_boolean("ask-for-away-message")) { - Util.spawnCommandLine("cinnamon-screensaver-lock-dialog"); + launcher.spawnv(["cinnamon-screensaver-lock-dialog"]); } else { - Util.spawnCommandLine("cinnamon-screensaver-command --lock"); + launcher.spawnv(["cinnamon-screensaver-command", "--lock"]); } } else { @@ -93,35 +88,35 @@ class SystemControlsApplet extends Applet.TextIconApplet { if (!lockdown_settings.get_boolean('disable-user-switching')) { if (GLib.getenv("XDG_SEAT_PATH")) { // LightDM - item = new PopupMenu.PopupIconMenuItem(_("Switch User"), "system-switch-user", St.IconType.SYMBOLIC); + item = new PopupMenu.PopupIconMenuItem(_("Switch User"), "system-switch-user-symbolic", St.IconType.SYMBOLIC); item.connect('activate', Lang.bind(this, function () { - Util.spawnCommandLine("cinnamon-screensaver-command --lock"); - Util.spawnCommandLine("dm-tool switch-to-greeter"); + launcher.spawnv(["cinnamon-screensaver-command", "--lock"]); + launcher.spawnv(["dm-tool", "switch-to-greeter"]); })); this.menu.addMenuItem(item); } else if (GLib.file_test("/usr/bin/mdmflexiserver", GLib.FileTest.EXISTS)) { // MDM - item = new PopupMenu.PopupIconMenuItem(_("Switch User"), "system-switch-user", St.IconType.SYMBOLIC); + item = new PopupMenu.PopupIconMenuItem(_("Switch User"), "system-switch-user-symbolic", St.IconType.SYMBOLIC); item.connect('activate', Lang.bind(this, function () { - Util.spawnCommandLine("mdmflexiserver"); + launcher.spawnv(["mdmflexiserver"]); })); this.menu.addMenuItem(item); } else if (GLib.file_test("/usr/bin/gdmflexiserver", GLib.FileTest.EXISTS)) { // GDM - item = new PopupMenu.PopupIconMenuItem(_("Switch User"), "system-switch-user", St.IconType.SYMBOLIC); + item = new PopupMenu.PopupIconMenuItem(_("Switch User"), "system-switch-user-symbolic", St.IconType.SYMBOLIC); item.connect('activate', Lang.bind(this, function () { - Util.spawnCommandLine("cinnamon-screensaver-command --lock"); - Util.spawnCommandLine("gdmflexiserver"); + launcher.spawnv(["cinnamon-screensaver-command", "--lock"]); + launcher.spawnv(["gdmflexiserver"]); })); this.menu.addMenuItem(item); } } - item = new PopupMenu.PopupIconMenuItem(_("Log Out"), "system-log-out", St.IconType.SYMBOLIC); + item = new PopupMenu.PopupIconMenuItem(_("Log Out"), "system-log-out-symbolic", St.IconType.SYMBOLIC); item.connect('activate', Lang.bind(this, function () { - Util.spawnCommandLine("cinnamon-session-quit --no-prompt"); + launcher.spawnv(["cinnamon-session-quit", "--no-prompt"]); })); this.menu.addMenuItem(item); @@ -129,13 +124,13 @@ class SystemControlsApplet extends Applet.TextIconApplet { item = new PopupMenu.PopupIconMenuItem(_("Suspend"), "system-suspend", St.IconType.SYMBOLIC); item.connect('activate', Lang.bind(this, function () { - Util.spawnCommandLine("systemctl suspend"); + launcher.spawnv(["systemctl", "suspend"]); })); this.menu.addMenuItem(item); item = new PopupMenu.PopupIconMenuItem(_("Hibernate"), "system-suspend-hibernate", St.IconType.SYMBOLIC); item.connect('activate', Lang.bind(this, function () { - Util.spawnCommandLine("systemctl hibernate"); + launcher.spawnv(["systemctl", "hibernate"]); })); this.menu.addMenuItem(item); @@ -143,13 +138,13 @@ class SystemControlsApplet extends Applet.TextIconApplet { item = new PopupMenu.PopupIconMenuItem(_("Restart"), "view-refresh", St.IconType.SYMBOLIC); item.connect('activate', Lang.bind(this, function () { - Util.spawnCommandLine("systemctl reboot"); + launcher.spawnv(["systemctl", "reboot"]); })); this.menu.addMenuItem(item); - item = new PopupMenu.PopupIconMenuItem(_("Power Off"), "system-shutdown", St.IconType.SYMBOLIC); + item = new PopupMenu.PopupIconMenuItem(_("Power Off"), "system-shutdown-symbolic", St.IconType.SYMBOLIC); item.connect('activate', Lang.bind(this, function () { - Util.spawnCommandLine("systemctl poweroff"); + launcher.spawnv(["systemctl", "poweroff"]); })); this.menu.addMenuItem(item); diff --git a/system-controls@rcalixte/files/system-controls@rcalixte/stylesheet.css b/system-controls@rcalixte/files/system-controls@rcalixte/5.4/stylesheet.css similarity index 55% rename from system-controls@rcalixte/files/system-controls@rcalixte/stylesheet.css rename to system-controls@rcalixte/files/system-controls@rcalixte/5.4/stylesheet.css index b9b80612653..ddb986eebc5 100644 --- a/system-controls@rcalixte/files/system-controls@rcalixte/stylesheet.css +++ b/system-controls@rcalixte/files/system-controls@rcalixte/5.4/stylesheet.css @@ -2,12 +2,9 @@ padding: .4em 1.75em; spacing: .4em; } - .controls-icon { - border-radius: .25em; - border: 2px solid #a5a5a5; -} - .controls-label { + +.controls-label { color: #fff; font-size: 1em; margin: .4em; -} +} \ No newline at end of file diff --git a/system-controls@rcalixte/files/system-controls@rcalixte/metadata.json b/system-controls@rcalixte/files/system-controls@rcalixte/metadata.json index fbbd893d30d..0d9159de41b 100644 --- a/system-controls@rcalixte/files/system-controls@rcalixte/metadata.json +++ b/system-controls@rcalixte/files/system-controls@rcalixte/metadata.json @@ -1,7 +1,7 @@ { "description": "A simple system controls applet to restart Cinnamon, lock the screen, switch users, log off, suspend, hibernate, reboot, or power off the computer", "uuid": "system-controls@rcalixte", - "name": "System Controls Applet", - "version": "1.1.1", + "name": "System Controls", + "version": "1.2", "max-instances": -1 } diff --git a/system-controls@rcalixte/files/system-controls@rcalixte/po/de.po b/system-controls@rcalixte/files/system-controls@rcalixte/po/de.po index 90ce27dd3f8..ebb2eb48eb4 100644 --- a/system-controls@rcalixte/files/system-controls@rcalixte/po/de.po +++ b/system-controls@rcalixte/files/system-controls@rcalixte/po/de.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: 1.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-09 14:39-0500\n" -"PO-Revision-Date: \n" +"POT-Creation-Date: 2023-09-16 18:19-0400\n" +"PO-Revision-Date: 2023-09-16 18:20-0400\n" "Last-Translator: \n" "Language-Team: \n" "Language: de\n" @@ -15,41 +15,42 @@ msgstr "" "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.0.1\n" +"X-Generator: Poedit 3.3.1\n" -#: applet.js:29 +#. metadata.json->name +#: 5.4/applet.js:28 msgid "System Controls" msgstr "Systemsteuerung" -#: applet.js:66 +#: 5.4/applet.js:61 msgid "Restart Cinnamon" msgstr "Cinnamon neustarten" -#: applet.js:74 +#: 5.4/applet.js:69 msgid "Lock Screen" msgstr "Bildschirm sperren" -#: applet.js:96 applet.js:105 applet.js:113 +#: 5.4/applet.js:91 5.4/applet.js:100 5.4/applet.js:108 msgid "Switch User" msgstr "Benutzer wechseln" -#: applet.js:122 +#: 5.4/applet.js:117 msgid "Log Out" msgstr "Abmelden" -#: applet.js:130 +#: 5.4/applet.js:125 msgid "Suspend" msgstr "Bereitschaft" -#: applet.js:136 +#: 5.4/applet.js:131 msgid "Hibernate" msgstr "Ruhezustand" -#: applet.js:144 +#: 5.4/applet.js:139 msgid "Restart" msgstr "Neustarten" -#: applet.js:150 +#: 5.4/applet.js:145 msgid "Power Off" msgstr "Ausschalten" @@ -61,7 +62,3 @@ msgstr "" "Einfaches Systemsteuerungs-Applet, mit dem man Cinnamon neustarten, den " "Bildschirm sperren, den Benutzer wechseln, sich abmelden und den Rechner in " "Bereitschaft oder Ruhezustand setzen, neustarten oder ausschalten kann" - -#. metadata.json->name -msgid "System Controls Applet" -msgstr "Systemsteuerung-Applet" diff --git a/system-controls@rcalixte/files/system-controls@rcalixte/po/es.po b/system-controls@rcalixte/files/system-controls@rcalixte/po/es.po index 02d1eac78ed..e602d73dc1a 100644 --- a/system-controls@rcalixte/files/system-controls@rcalixte/po/es.po +++ b/system-controls@rcalixte/files/system-controls@rcalixte/po/es.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: 1.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-09 14:39-0500\n" -"PO-Revision-Date: \n" +"POT-Creation-Date: 2023-09-16 18:19-0400\n" +"PO-Revision-Date: 2023-09-16 18:20-0400\n" "Last-Translator: \n" "Language-Team: \n" "Language: es\n" @@ -15,41 +15,42 @@ msgstr "" "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.1.1\n" +"X-Generator: Poedit 3.3.1\n" -#: applet.js:29 +#. metadata.json->name +#: 5.4/applet.js:28 msgid "System Controls" msgstr "Controles del sistema" -#: applet.js:66 +#: 5.4/applet.js:61 msgid "Restart Cinnamon" msgstr "Reiniciar Cinnamon" -#: applet.js:74 +#: 5.4/applet.js:69 msgid "Lock Screen" msgstr "Bloquear pantalla" -#: applet.js:96 applet.js:105 applet.js:113 +#: 5.4/applet.js:91 5.4/applet.js:100 5.4/applet.js:108 msgid "Switch User" msgstr "Cambiar de usuario" -#: applet.js:122 +#: 5.4/applet.js:117 msgid "Log Out" msgstr "Cerrar sesión" -#: applet.js:130 +#: 5.4/applet.js:125 msgid "Suspend" msgstr "Suspender" -#: applet.js:136 +#: 5.4/applet.js:131 msgid "Hibernate" msgstr "Hibernar" -#: applet.js:144 +#: 5.4/applet.js:139 msgid "Restart" msgstr "Reiniciar" -#: applet.js:150 +#: 5.4/applet.js:145 msgid "Power Off" msgstr "Apagar" @@ -61,7 +62,3 @@ msgstr "" "Un sencillo applet de control del sistema para reiniciar Cinnamon, bloquear " "la pantalla, cambiar de usuario, cerrar sesión, suspender, hibernar, " "reiniciar o apagar el ordenador" - -#. metadata.json->name -msgid "System Controls Applet" -msgstr "Applet de controles del sistema" diff --git a/system-controls@rcalixte/files/system-controls@rcalixte/po/fr.po b/system-controls@rcalixte/files/system-controls@rcalixte/po/fr.po index f0a4bb25865..be1aba937da 100644 --- a/system-controls@rcalixte/files/system-controls@rcalixte/po/fr.po +++ b/system-controls@rcalixte/files/system-controls@rcalixte/po/fr.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: 1.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-09 14:39-0500\n" -"PO-Revision-Date: \n" +"POT-Creation-Date: 2023-09-16 18:19-0400\n" +"PO-Revision-Date: 2023-09-16 18:20-0400\n" "Last-Translator: \n" "Language-Team: \n" "Language: fr\n" @@ -15,41 +15,42 @@ msgstr "" "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.1.1\n" +"X-Generator: Poedit 3.3.1\n" -#: applet.js:29 +#. metadata.json->name +#: 5.4/applet.js:28 msgid "System Controls" msgstr "Les contrôles du système" -#: applet.js:66 +#: 5.4/applet.js:61 msgid "Restart Cinnamon" msgstr "Redémarrer Cinnamon" -#: applet.js:74 +#: 5.4/applet.js:69 msgid "Lock Screen" msgstr "Verrouiller l'écran" -#: applet.js:96 applet.js:105 applet.js:113 +#: 5.4/applet.js:91 5.4/applet.js:100 5.4/applet.js:108 msgid "Switch User" msgstr "Changer d'utilisateur" -#: applet.js:122 +#: 5.4/applet.js:117 msgid "Log Out" msgstr "Se déconnecter" -#: applet.js:130 +#: 5.4/applet.js:125 msgid "Suspend" msgstr "Mettre en veille" -#: applet.js:136 +#: 5.4/applet.js:131 msgid "Hibernate" msgstr "Hiberner" -#: applet.js:144 +#: 5.4/applet.js:139 msgid "Restart" msgstr "Redémarrer" -#: applet.js:150 +#: 5.4/applet.js:145 msgid "Power Off" msgstr "Éteindre" @@ -61,7 +62,3 @@ msgstr "" "Un applet de contrôles du système pour redémarrer Cinnamon, verrouiller " "l'écran, changer d'utilisateur, se déconnecter, mettre en veille, hiberner, " "redémarrer ou éteindre l'ordinateur" - -#. metadata.json->name -msgid "System Controls Applet" -msgstr "Applet de contrôles du système" diff --git a/system-controls@rcalixte/files/system-controls@rcalixte/po/hu.po b/system-controls@rcalixte/files/system-controls@rcalixte/po/hu.po index 0ad304fc5ea..47cdab4c091 100644 --- a/system-controls@rcalixte/files/system-controls@rcalixte/po/hu.po +++ b/system-controls@rcalixte/files/system-controls@rcalixte/po/hu.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: 1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-09 14:39-0500\n" -"PO-Revision-Date: \n" +"POT-Creation-Date: 2023-09-16 18:19-0400\n" +"PO-Revision-Date: 2023-09-16 18:20-0400\n" "Last-Translator: Kálmán „KAMI” Szalai \n" "Language-Team: \n" "Language: hu\n" @@ -15,41 +15,42 @@ msgstr "" "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.1.1\n" +"X-Generator: Poedit 3.3.1\n" -#: applet.js:29 +#. metadata.json->name +#: 5.4/applet.js:28 msgid "System Controls" msgstr "Rendszervezérlő" -#: applet.js:66 +#: 5.4/applet.js:61 msgid "Restart Cinnamon" msgstr "Cinnamon környezet újraindítása" -#: applet.js:74 +#: 5.4/applet.js:69 msgid "Lock Screen" msgstr "Képernyő zárolása" -#: applet.js:96 applet.js:105 applet.js:113 +#: 5.4/applet.js:91 5.4/applet.js:100 5.4/applet.js:108 msgid "Switch User" msgstr "Felhasználóváltás" -#: applet.js:122 +#: 5.4/applet.js:117 msgid "Log Out" msgstr "Kijelentkezés" -#: applet.js:130 +#: 5.4/applet.js:125 msgid "Suspend" msgstr "Felfüggesztés" -#: applet.js:136 +#: 5.4/applet.js:131 msgid "Hibernate" msgstr "Hibernálás" -#: applet.js:144 +#: 5.4/applet.js:139 msgid "Restart" msgstr "Újraindítás" -#: applet.js:150 +#: 5.4/applet.js:145 msgid "Power Off" msgstr "Kikapcsolás" @@ -62,7 +63,3 @@ msgstr "" "képernyő zárolásához, a felhasználóváltáshoz, a bejelentkezéshez, a " "felfüggesztéshez, a hibernáláshoz, az újraindításhoz vagy a számítógép " "kikapcsolásához" - -#. metadata.json->name -msgid "System Controls Applet" -msgstr "Rendszervezérlő kisalkalmazás" diff --git a/system-controls@rcalixte/files/system-controls@rcalixte/po/it.po b/system-controls@rcalixte/files/system-controls@rcalixte/po/it.po index a1fae10e44d..79d6bfa35ab 100644 --- a/system-controls@rcalixte/files/system-controls@rcalixte/po/it.po +++ b/system-controls@rcalixte/files/system-controls@rcalixte/po/it.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: 1.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-09 14:39-0500\n" -"PO-Revision-Date: \n" +"POT-Creation-Date: 2023-09-16 18:19-0400\n" +"PO-Revision-Date: 2023-09-16 18:20-0400\n" "Last-Translator: Dragone2 \n" "Language-Team: \n" "Language: it\n" @@ -15,41 +15,42 @@ msgstr "" "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.0.1\n" +"X-Generator: Poedit 3.3.1\n" -#: applet.js:29 +#. metadata.json->name +#: 5.4/applet.js:28 msgid "System Controls" msgstr "Controlli di sistema" -#: applet.js:66 +#: 5.4/applet.js:61 msgid "Restart Cinnamon" msgstr "Riavvia Cinnamon" -#: applet.js:74 +#: 5.4/applet.js:69 msgid "Lock Screen" msgstr "Blocca lo schermo" -#: applet.js:96 applet.js:105 applet.js:113 +#: 5.4/applet.js:91 5.4/applet.js:100 5.4/applet.js:108 msgid "Switch User" msgstr "Cambia utente" -#: applet.js:122 +#: 5.4/applet.js:117 msgid "Log Out" msgstr "Chiudi la sessione" -#: applet.js:130 +#: 5.4/applet.js:125 msgid "Suspend" msgstr "Sospendi" -#: applet.js:136 +#: 5.4/applet.js:131 msgid "Hibernate" msgstr "Iberna" -#: applet.js:144 +#: 5.4/applet.js:139 msgid "Restart" msgstr "Riavvia" -#: applet.js:150 +#: 5.4/applet.js:145 msgid "Power Off" msgstr "Spegni" @@ -61,7 +62,3 @@ msgstr "" "Una semplice applet per il controllo del sistema. Utile per riavviare " "Cinnamon, bloccare lo schermo, cambiare utente, disconnettersi, sospendere, " "ibernare, riavviare o spegnere il computer" - -#. metadata.json->name -msgid "System Controls Applet" -msgstr "Applet dei controlli di sistema" diff --git a/system-controls@rcalixte/files/system-controls@rcalixte/po/ja.po b/system-controls@rcalixte/files/system-controls@rcalixte/po/ja.po index 531dafe9824..70549d3cbd2 100644 --- a/system-controls@rcalixte/files/system-controls@rcalixte/po/ja.po +++ b/system-controls@rcalixte/files/system-controls@rcalixte/po/ja.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-09 14:39-0500\n" +"POT-Creation-Date: 2023-09-16 18:19-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -15,41 +15,42 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 3.1.1\n" +"X-Generator: Poedit 3.3.1\n" -#: applet.js:29 +#. metadata.json->name +#: 5.4/applet.js:28 msgid "System Controls" msgstr "" -#: applet.js:66 +#: 5.4/applet.js:61 msgid "Restart Cinnamon" msgstr "Cinnamon の再起動" -#: applet.js:74 +#: 5.4/applet.js:69 msgid "Lock Screen" msgstr "画面のロック" -#: applet.js:96 applet.js:105 applet.js:113 +#: 5.4/applet.js:91 5.4/applet.js:100 5.4/applet.js:108 msgid "Switch User" msgstr "ユーザーの切り替え" -#: applet.js:122 +#: 5.4/applet.js:117 msgid "Log Out" msgstr "ログアウト" -#: applet.js:130 +#: 5.4/applet.js:125 msgid "Suspend" msgstr "サスペンド" -#: applet.js:136 +#: 5.4/applet.js:131 msgid "Hibernate" msgstr "ハイバネート" -#: applet.js:144 +#: 5.4/applet.js:139 msgid "Restart" msgstr "の再起動" -#: applet.js:150 +#: 5.4/applet.js:145 msgid "Power Off" msgstr "電源オフ" @@ -58,7 +59,3 @@ msgid "" "A simple system controls applet to restart Cinnamon, lock the screen, switch " "users, log off, suspend, hibernate, reboot, or power off the computer" msgstr "" - -#. metadata.json->name -msgid "System Controls Applet" -msgstr "" diff --git a/system-controls@rcalixte/files/system-controls@rcalixte/po/nl.po b/system-controls@rcalixte/files/system-controls@rcalixte/po/nl.po index a3e8d88a285..4808a9b5a60 100644 --- a/system-controls@rcalixte/files/system-controls@rcalixte/po/nl.po +++ b/system-controls@rcalixte/files/system-controls@rcalixte/po/nl.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: 1.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-09 14:39-0500\n" -"PO-Revision-Date: \n" +"POT-Creation-Date: 2023-09-16 18:19-0400\n" +"PO-Revision-Date: 2023-09-16 18:20-0400\n" "Last-Translator: \n" "Language-Team: \n" "Language: nl\n" @@ -15,41 +15,42 @@ msgstr "" "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.1.1\n" +"X-Generator: Poedit 3.3.1\n" -#: applet.js:29 +#. metadata.json->name +#: 5.4/applet.js:28 msgid "System Controls" msgstr "Knoppen voor de Systeem" -#: applet.js:66 +#: 5.4/applet.js:61 msgid "Restart Cinnamon" msgstr "Cinnamon herstarten" -#: applet.js:74 +#: 5.4/applet.js:69 msgid "Lock Screen" msgstr "Scherm vergrendelen" -#: applet.js:96 applet.js:105 applet.js:113 +#: 5.4/applet.js:91 5.4/applet.js:100 5.4/applet.js:108 msgid "Switch User" msgstr "Gebruiker wisselen" -#: applet.js:122 +#: 5.4/applet.js:117 msgid "Log Out" msgstr "Afmelden" -#: applet.js:130 +#: 5.4/applet.js:125 msgid "Suspend" msgstr "Pauzestand" -#: applet.js:136 +#: 5.4/applet.js:131 msgid "Hibernate" msgstr "Slaapstand" -#: applet.js:144 +#: 5.4/applet.js:139 msgid "Restart" msgstr "Herstart" -#: applet.js:150 +#: 5.4/applet.js:145 msgid "Power Off" msgstr "Uitschakelen" @@ -58,7 +59,3 @@ msgid "" "A simple system controls applet to restart Cinnamon, lock the screen, switch " "users, log off, suspend, hibernate, reboot, or power off the computer" msgstr "" - -#. metadata.json->name -msgid "System Controls Applet" -msgstr "Applet voor Knoppen voor de Systeem" diff --git a/system-controls@rcalixte/files/system-controls@rcalixte/po/pt.po b/system-controls@rcalixte/files/system-controls@rcalixte/po/pt.po index 3d940501974..2c09a123500 100644 --- a/system-controls@rcalixte/files/system-controls@rcalixte/po/pt.po +++ b/system-controls@rcalixte/files/system-controls@rcalixte/po/pt.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: 1.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-09 14:39-0500\n" -"PO-Revision-Date: \n" +"POT-Creation-Date: 2023-09-16 18:19-0400\n" +"PO-Revision-Date: 2023-09-16 18:20-0400\n" "Last-Translator: \n" "Language-Team: \n" "Language: pt\n" @@ -15,41 +15,42 @@ msgstr "" "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.1.1\n" +"X-Generator: Poedit 3.3.1\n" -#: applet.js:29 +#. metadata.json->name +#: 5.4/applet.js:28 msgid "System Controls" msgstr "Controles do Sistema" -#: applet.js:66 +#: 5.4/applet.js:61 msgid "Restart Cinnamon" msgstr "Reiniciar Cinnamon" -#: applet.js:74 +#: 5.4/applet.js:69 msgid "Lock Screen" msgstr "Bloquear ecrã" -#: applet.js:96 applet.js:105 applet.js:113 +#: 5.4/applet.js:91 5.4/applet.js:100 5.4/applet.js:108 msgid "Switch User" msgstr "Trocar de utilizador" -#: applet.js:122 +#: 5.4/applet.js:117 msgid "Log Out" msgstr "Terminar sessão" -#: applet.js:130 +#: 5.4/applet.js:125 msgid "Suspend" msgstr "Suspender" -#: applet.js:136 +#: 5.4/applet.js:131 msgid "Hibernate" msgstr "Hibernar" -#: applet.js:144 +#: 5.4/applet.js:139 msgid "Restart" msgstr "Reiniciar" -#: applet.js:150 +#: 5.4/applet.js:145 msgid "Power Off" msgstr "Desligar" @@ -58,7 +59,3 @@ msgid "" "A simple system controls applet to restart Cinnamon, lock the screen, switch " "users, log off, suspend, hibernate, reboot, or power off the computer" msgstr "" - -#. metadata.json->name -msgid "System Controls Applet" -msgstr "Miniaplicativo de Controles do Sistema" diff --git a/system-controls@rcalixte/files/system-controls@rcalixte/po/system-controls@rcalixte.pot b/system-controls@rcalixte/files/system-controls@rcalixte/po/system-controls@rcalixte.pot index 129760afcb4..8512380c357 100644 --- a/system-controls@rcalixte/files/system-controls@rcalixte/po/system-controls@rcalixte.pot +++ b/system-controls@rcalixte/files/system-controls@rcalixte/po/system-controls@rcalixte.pot @@ -1,4 +1,4 @@ -# System Controls Applet +# System Controls # Copyright (C) 2022 # Rick Calixte <10281587+rcalixte@users.noreply.github.com>, 2022. # @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-09 14:39-0500\n" +"POT-Creation-Date: 2023-09-16 18:19-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -15,41 +15,42 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 3.1.1\n" +"X-Generator: Poedit 3.3.1\n" -#: applet.js:29 +#. metadata.json->name +#: 5.4/applet.js:28 msgid "System Controls" msgstr "" -#: applet.js:66 +#: 5.4/applet.js:61 msgid "Restart Cinnamon" msgstr "" -#: applet.js:74 +#: 5.4/applet.js:69 msgid "Lock Screen" msgstr "" -#: applet.js:96 applet.js:105 applet.js:113 +#: 5.4/applet.js:91 5.4/applet.js:100 5.4/applet.js:108 msgid "Switch User" msgstr "" -#: applet.js:122 +#: 5.4/applet.js:117 msgid "Log Out" msgstr "" -#: applet.js:130 +#: 5.4/applet.js:125 msgid "Suspend" msgstr "" -#: applet.js:136 +#: 5.4/applet.js:131 msgid "Hibernate" msgstr "" -#: applet.js:144 +#: 5.4/applet.js:139 msgid "Restart" msgstr "" -#: applet.js:150 +#: 5.4/applet.js:145 msgid "Power Off" msgstr "" @@ -58,7 +59,3 @@ msgid "" "A simple system controls applet to restart Cinnamon, lock the screen, " "switch users, log off, suspend, hibernate, reboot, or power off the computer" msgstr "" - -#. metadata.json->name -msgid "System Controls Applet" -msgstr "" diff --git a/system-controls@rcalixte/files/system-controls@rcalixte/po/zh_CN.po b/system-controls@rcalixte/files/system-controls@rcalixte/po/zh_CN.po index 56bbe44a07c..f1e819d29c6 100644 --- a/system-controls@rcalixte/files/system-controls@rcalixte/po/zh_CN.po +++ b/system-controls@rcalixte/files/system-controls@rcalixte/po/zh_CN.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: 1.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-09 14:39-0500\n" -"PO-Revision-Date: \n" +"POT-Creation-Date: 2023-09-16 18:19-0400\n" +"PO-Revision-Date: 2023-09-16 18:20-0400\n" "Last-Translator: Slinet6056 \n" "Language-Team: \n" "Language: zh_CN\n" @@ -15,41 +15,42 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 3.2.2\n" +"X-Generator: Poedit 3.3.1\n" -#: applet.js:29 +#. metadata.json->name +#: 5.4/applet.js:28 msgid "System Controls" msgstr "系统控制" -#: applet.js:66 +#: 5.4/applet.js:61 msgid "Restart Cinnamon" msgstr "重新启动 Cinnamon" -#: applet.js:74 +#: 5.4/applet.js:69 msgid "Lock Screen" msgstr "锁定屏幕" -#: applet.js:96 applet.js:105 applet.js:113 +#: 5.4/applet.js:91 5.4/applet.js:100 5.4/applet.js:108 msgid "Switch User" msgstr "切换用户" -#: applet.js:122 +#: 5.4/applet.js:117 msgid "Log Out" msgstr "注销" -#: applet.js:130 +#: 5.4/applet.js:125 msgid "Suspend" msgstr "挂起" -#: applet.js:136 +#: 5.4/applet.js:131 msgid "Hibernate" msgstr "休眠" -#: applet.js:144 +#: 5.4/applet.js:139 msgid "Restart" msgstr "重新启动" -#: applet.js:150 +#: 5.4/applet.js:145 msgid "Power Off" msgstr "关机" @@ -60,7 +61,3 @@ msgid "" msgstr "" "一个简单的系统控制小程序,用于重启 Cinnamon、锁定屏幕、切换用户、注销、挂起、" "休眠、重启或关闭计算机" - -#. metadata.json->name -msgid "System Controls Applet" -msgstr "系统控制小程序"