diff --git a/timelet@linuxedo.com/files/timelet@linuxedo.com/desklet.js b/timelet@linuxedo.com/files/timelet@linuxedo.com/desklet.js index efe5a8ecb..6894ebc4f 100644 --- a/timelet@linuxedo.com/files/timelet@linuxedo.com/desklet.js +++ b/timelet@linuxedo.com/files/timelet@linuxedo.com/desklet.js @@ -1,125 +1,127 @@ -/* -* A themeable desklet that shows the time. -* -* Copyright (C) 2022 Gobinath -* -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see . -*/ - -const Gio = imports.gi.Gio; -const St = imports.gi.St; -const Settings = imports.ui.settings; -const Desklet = imports.ui.desklet; - -const Lang = imports.lang; -const Mainloop = imports.mainloop; -const GLib = imports.gi.GLib; -const Gettext = imports.gettext; -const UUID = "timelet@linuxedo.com"; - -// l10n/translation support -Gettext.bindtextdomain(UUID, GLib.get_home_dir() + "/.local/share/locale") - -imports.searchPath.unshift(GLib.get_home_dir() + "/.local/share/cinnamon/desklets/timelet@linuxedo.com/themes"); -const Config = imports.theme.Config; -const Themes = imports.themes.Themes; - -function _(str) { - return Gettext.dgettext(UUID, str); -} - -function Timelet(metadata, deskletID) { - this._init(metadata, deskletID); -} - -Timelet.prototype = { - __proto__: Desklet.Desklet.prototype, - - _init: function (metadata, deskletID) { - Desklet.Desklet.prototype._init.call(this, metadata, deskletID); - this.setHeader(_("Timelet")); - - this.settings = new Settings.DeskletSettings(this, this.metadata["uuid"], this.instance_id); - this.settings.bind("themeName", "themeName", this.onSettingChanged); - this.settings.bind("use24H", "use24H", this.onSettingChanged); - this.settings.bind("textColor", "textColor", this.onSettingChanged); - this.settings.bind("bgColor", "bgColor", this.onSettingChanged); - this.settings.bind("scale", "scale", this.onSettingChanged); - this.settings.bind("transparency", "transparency", this.onSettingChanged); - this.settings.bind("cornerRadius", "cornerRadius", this.onSettingChanged); - - // Populate the theme names - let themeNames = {}; - let sorted = Themes.getThemeNames().sort(); - sorted.forEach(name => { - themeNames[name] = name; - }); - - this.settings.setOptions("themeName", themeNames); - - this._setTheme(); - this._updateDateTime(); - }, - - onSettingChanged() { - this._setTheme(); - }, - - on_desklet_removed: function () { - Mainloop.source_remove(this.timeout); - }, - - _setTheme() { - // Set the theme - this._theme = Themes.getTheme(this.themeName, new Config(this.use24H, this.scale, this.textColor)); - - // Define the desklet container - let deskletContainer = new St.BoxLayout({ vertical: true,style_class: "desklet" }); - deskletContainer.style = "padding: 10px; border-radius: " + this.cornerRadius + "px; background-color: " + (this.bgColor.replace(")", "," + (1.0 - this.transparency) + ")")).replace("rgb", "rgba") + "; color: " + this.textColor; - - // Add the theme container - deskletContainer.add(this._theme.getWidget()); - this.setContent(deskletContainer); - - // Update the desklet with current time - let locale = GLib.getenv("LANG"); - if (locale) { - // convert $LANG from format "en_GB.UTF-8" to "en-GB" - locale = GLib.getenv("LANG").replace(/_/g, "-").replace(/\..+/, ""); - } - if (!locale || locale === "C") { - // fallback locale - locale = "en-US"; - } - this._theme.setDateTime(new Date(), locale); - }, - - _updateDateTime: function () { - let locale = GLib.getenv("LANG"); - if (locale) { - // convert $LANG from format "en_GB.UTF-8" to "en-GB" - locale = GLib.getenv("LANG").replace(/_/g, "-").replace(/\..+/, ""); - } - if (!locale || locale === "C") { - // fallback locale - locale = "en-US"; - } - this._theme.setDateTime(new Date(), locale); - this.timeout = Mainloop.timeout_add_seconds(1, Lang.bind(this, this._updateDateTime)); - } -} - -function main(metadata, deskletID) { - let desklet = new Timelet(metadata, deskletID); - return desklet; -} +/* +* A themeable desklet that shows the time. +* +* Copyright (C) 2022 Gobinath +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see . +*/ + +const Gio = imports.gi.Gio; +const St = imports.gi.St; +const Settings = imports.ui.settings; +const Desklet = imports.ui.desklet; + +const Lang = imports.lang; +const Mainloop = imports.mainloop; +const GLib = imports.gi.GLib; +const Gettext = imports.gettext; +const UUID = "timelet@linuxedo.com"; + +// l10n/translation support +Gettext.bindtextdomain(UUID, GLib.get_home_dir() + "/.local/share/locale") + +imports.searchPath.unshift(GLib.get_home_dir() + "/.local/share/cinnamon/desklets/timelet@linuxedo.com/themes"); +const Config = imports.theme.Config; +const Themes = imports.themes.Themes; + +function _(str) { + return Gettext.dgettext(UUID, str); +} + +function Timelet(metadata, deskletID) { + this._init(metadata, deskletID); +} + +Timelet.prototype = { + __proto__: Desklet.Desklet.prototype, + + _init: function (metadata, deskletID) { + Desklet.Desklet.prototype._init.call(this, metadata, deskletID); + this.setHeader(_("Timelet")); + + this.settings = new Settings.DeskletSettings(this, this.metadata["uuid"], this.instance_id); + this.settings.bindProperty(Settings.BindingDirection.IN, "themeName", "themeName", Lang.bind(this, this._setTheme)); + this.settings.bindProperty(Settings.BindingDirection.IN, "use24H", "use24H", Lang.bind(this, this._setTheme)); + this.settings.bindProperty(Settings.BindingDirection.IN, "textColor", "textColor", Lang.bind(this, this._setTheme)); + this.settings.bindProperty(Settings.BindingDirection.IN, "bgColor", "bgColor", Lang.bind(this, this._setTheme)); + this.settings.bindProperty(Settings.BindingDirection.IN, "scale", "scale", Lang.bind(this, this._setTheme)); + this.settings.bindProperty(Settings.BindingDirection.IN, "transparency", "transparency", Lang.bind(this, this._setTheme)); + this.settings.bindProperty(Settings.BindingDirection.IN, "cornerRadius", "cornerRadius", Lang.bind(this, this._setTheme)); + this.settings.bindProperty(Settings.BindingDirection.IN, "hideDecorations", "hideDecorations", Lang.bind(this, this._toggleDecoration)); + + // Populate the theme names + let themeNames = {}; + let sorted = Themes.getThemeNames().sort(); + sorted.forEach(name => { + themeNames[name] = name; + }); + + this.settings.setOptions("themeName", themeNames); + + this._setTheme(); + this._updateDateTime(); + }, + + on_desklet_removed: function () { + Mainloop.source_remove(this.timeout); + }, + + _setTheme() { + // Set the theme + this._theme = Themes.getTheme(this.themeName, new Config(this.use24H, this.scale, this.textColor)); + + // Define the desklet container + let deskletContainer = new St.BoxLayout({ vertical: true,style_class: "desklet" }); + deskletContainer.style = "padding: 10px; border-radius: " + this.cornerRadius + "px; background-color: " + (this.bgColor.replace(")", "," + (1.0 - this.transparency) + ")")).replace("rgb", "rgba") + "; color: " + this.textColor; + + // Add the theme container + deskletContainer.add(this._theme.getWidget()); + this.setContent(deskletContainer); + + // Update the desklet with current time + let locale = GLib.getenv("LANG"); + if (locale) { + // convert $LANG from format "en_GB.UTF-8" to "en-GB" + locale = GLib.getenv("LANG").replace(/_/g, "-").replace(/\..+/, ""); + } + if (!locale || locale === "C") { + // fallback locale + locale = "en-US"; + } + this._theme.setDateTime(new Date(), locale); + }, + + _updateDateTime: function () { + let locale = GLib.getenv("LANG"); + if (locale) { + // convert $LANG from format "en_GB.UTF-8" to "en-GB" + locale = GLib.getenv("LANG").replace(/_/g, "-").replace(/\..+/, ""); + } + if (!locale || locale === "C") { + // fallback locale + locale = "en-US"; + } + this._theme.setDateTime(new Date(), locale); + this.timeout = Mainloop.timeout_add_seconds(1, Lang.bind(this, this._updateDateTime)); + }, + + _toggleDecoration() { + this.metadata['prevent-decorations'] = this.hideDecorations; + this._updateDecoration(); + }, +} + +function main(metadata, deskletID) { + let desklet = new Timelet(metadata, deskletID); + return desklet; +} diff --git a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/ca.po b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/ca.po index 4904c3566..b6c42bc7b 100644 --- a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/ca.po +++ b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/ca.po @@ -2,13 +2,13 @@ # Copyright (C) 2022 Gobinath # This file is distributed under the same license as the Timelet package. # Daniel , 2024. -# +# msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-desklets/" "issues\n" -"POT-Creation-Date: 2024-05-18 00:10+0200\n" +"POT-Creation-Date: 2025-10-16 23:33+0200\n" "PO-Revision-Date: 2024-05-18 00:12+0200\n" "Last-Translator: Daniel \n" "Language-Team: \n" @@ -20,19 +20,19 @@ msgstr "" "X-Generator: Poedit 3.0.1\n" #. metadata.json->name -#: desklet.js:50 +#. desklet.js:50 msgid "Timelet" msgstr "Timelet" -#: themes/theme.js:143 +#. themes/theme.js:143 msgid "AM" msgstr "AM" -#: themes/theme.js:145 +#. themes/theme.js:145 msgid "Noon" msgstr "Vespre" -#: themes/theme.js:147 +#. themes/theme.js:147 msgid "PM" msgstr "PM" @@ -95,3 +95,7 @@ msgstr "Radi de les cantonades del fons" #. settings-schema.json->cornerRadius->tooltip msgid "Radius for rounding the desklet's corners" msgstr "Defineix el radi d'arrodoniment de les cantonades de la miniaplicació" + +#. settings-schema.json->hideDecorations->description +msgid "Hide decorations" +msgstr "" diff --git a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/da.po b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/da.po index 54291508d..6bbf43021 100644 --- a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/da.po +++ b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/da.po @@ -1,12 +1,13 @@ # Timelet # Copyright (C) 2022 Gobinath # This file is distributed under the same license as the Timelet package. -# +# msgid "" msgstr "" "Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-10 21:39-0400\n" +"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-desklets/" +"issues\n" +"POT-Creation-Date: 2025-10-16 23:33+0200\n" "PO-Revision-Date: 2023-12-08 11:59+0100\n" "Last-Translator: Alan Mortensen \n" "Language-Team: \n" @@ -18,19 +19,19 @@ msgstr "" "X-Generator: Poedit 3.0.1\n" #. metadata.json->name -#: desklet.js:50 +#. desklet.js:50 msgid "Timelet" msgstr "Skrivebordstid" -#: themes/theme.js:143 +#. themes/theme.js:143 msgid "AM" msgstr "AM" -#: themes/theme.js:145 +#. themes/theme.js:145 msgid "Noon" msgstr "Middag" -#: themes/theme.js:147 +#. themes/theme.js:147 msgid "PM" msgstr "PM" @@ -51,7 +52,8 @@ msgid "Use 24H" msgstr "Anvend 24 timers ur" #. settings-schema.json->use24H->tooltip -msgid "Display time in 24H if the theme supports it" +#, fuzzy +msgid "Display time in 24H" msgstr "Vis tiden i 24-timersformat hvis temaet understøtter det" #. settings-schema.json->textColor->description @@ -93,3 +95,7 @@ msgstr "Baggrundens hjørneradius" #. settings-schema.json->cornerRadius->tooltip msgid "Radius for rounding the desklet's corners" msgstr "Radius for rundingen på skrivebordsprogrammets hjørner" + +#. settings-schema.json->hideDecorations->description +msgid "Hide decorations" +msgstr "" diff --git a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/de.po b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/de.po index 07270b0d4..406155474 100644 --- a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/de.po +++ b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/de.po @@ -1,14 +1,14 @@ -# SOME DESCRIPTIVE TITLE. +# TIMELET # This file is put in the public domain. -# FIRST AUTHOR , YEAR. +# slgobinath, 2022 # msgid "" msgstr "" "Project-Id-Version: timelet@linuxedo.com 1.0\n" "Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-desklets/" "issues\n" -"POT-Creation-Date: 2024-05-18 00:10+0200\n" -"PO-Revision-Date: 2024-11-28 22:01+0100\n" +"POT-Creation-Date: 2025-10-16 23:33+0200\n" +"PO-Revision-Date: 2025-10-16 23:35+0200\n" "Last-Translator: \n" "Language-Team: \n" "Language: de\n" @@ -16,22 +16,22 @@ 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.4.2\n" #. metadata.json->name -#: desklet.js:50 +#. desklet.js:50 msgid "Timelet" msgstr "Timelet" -#: themes/theme.js:143 +#. themes/theme.js:143 msgid "AM" msgstr "AM" -#: themes/theme.js:145 +#. themes/theme.js:145 msgid "Noon" msgstr "Mittag" -#: themes/theme.js:147 +#. themes/theme.js:147 msgid "PM" msgstr "PM" @@ -94,3 +94,7 @@ msgstr "Hintergrund-Eckenradius" #. settings-schema.json->cornerRadius->tooltip msgid "Radius for rounding the desklet's corners" msgstr "Radius zum Abrunden der Desklet-Ecken" + +#. settings-schema.json->hideDecorations->description +msgid "Hide decorations" +msgstr "Verzierung ausblenden" diff --git a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/es.po b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/es.po index d8ba5e0d1..1d8c86b93 100644 --- a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/es.po +++ b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/es.po @@ -1,13 +1,13 @@ # Timelet # Copyright (C) 2022 Gobinath # This file is distributed under the same license as the Timelet package. -# +# msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-desklets/" "issues\n" -"POT-Creation-Date: 2024-05-18 00:10+0200\n" +"POT-Creation-Date: 2025-10-16 23:33+0200\n" "PO-Revision-Date: 2024-05-17 18:44-0400\n" "Last-Translator: Daniel \n" "Language-Team: \n" @@ -19,19 +19,19 @@ msgstr "" "X-Generator: Poedit 3.4.2\n" #. metadata.json->name -#: desklet.js:50 +#. desklet.js:50 msgid "Timelet" msgstr "Timelet" -#: themes/theme.js:143 +#. themes/theme.js:143 msgid "AM" msgstr "AM" -#: themes/theme.js:145 +#. themes/theme.js:145 msgid "Noon" msgstr "Mediodía" -#: themes/theme.js:147 +#. themes/theme.js:147 msgid "PM" msgstr "PM" @@ -94,3 +94,7 @@ msgstr "Radio de las esquinas" #. settings-schema.json->cornerRadius->tooltip msgid "Radius for rounding the desklet's corners" msgstr "Radio para redondear las esquinas del desklet" + +#. settings-schema.json->hideDecorations->description +msgid "Hide decorations" +msgstr "" diff --git a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/fi.po b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/fi.po index 64e6c894a..a04643e41 100644 --- a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/fi.po +++ b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/fi.po @@ -1,37 +1,37 @@ -# SOME DESCRIPTIVE TITLE. +# TIMELET # This file is put in the public domain. -# FIRST AUTHOR , YEAR. -# +# slgobinath, 2022 +# msgid "" msgstr "" "Project-Id-Version: timelet@linuxedo.com 1.0\n" "Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-desklets/" "issues\n" -"POT-Creation-Date: 2024-05-18 00:10+0200\n" +"POT-Creation-Date: 2025-10-16 23:33+0200\n" "PO-Revision-Date: 2024-11-11 10:21+0200\n" +"Last-Translator: Kimmo Kujansuu \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 \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"Language: fi\n" #. metadata.json->name -#: desklet.js:50 +#. desklet.js:50 msgid "Timelet" msgstr "Timelet" -#: themes/theme.js:143 +#. themes/theme.js:143 msgid "AM" msgstr "AM" -#: themes/theme.js:145 +#. themes/theme.js:145 msgid "Noon" msgstr "Keskipäivä" -#: themes/theme.js:147 +#. themes/theme.js:147 msgid "PM" msgstr "PM" @@ -94,3 +94,7 @@ msgstr "Kulmien pyöristys" #. settings-schema.json->cornerRadius->tooltip msgid "Radius for rounding the desklet's corners" msgstr "Säde sovelman kulmien pyöristämiseen" + +#. settings-schema.json->hideDecorations->description +msgid "Hide decorations" +msgstr "" diff --git a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/hu.po b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/hu.po index f029bc5b4..876b32f3e 100644 --- a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/hu.po +++ b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/hu.po @@ -1,13 +1,13 @@ -# SOME DESCRIPTIVE TITLE. +# TIMELET # This file is put in the public domain. -# FIRST AUTHOR , YEAR. -# +# slgobinath, 2022 +# msgid "" msgstr "" "Project-Id-Version: timelet@linuxedo.com 1.0\n" "Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-desklets/" "issues\n" -"POT-Creation-Date: 2024-06-29 04:26-0400\n" +"POT-Creation-Date: 2025-10-16 23:33+0200\n" "PO-Revision-Date: 2024-06-29 04:34-0400\n" "Last-Translator: \n" "Language-Team: \n" @@ -19,19 +19,19 @@ msgstr "" "X-Generator: Poedit 3.0.1\n" #. metadata.json->name -#: desklet.js:50 +#. desklet.js:50 msgid "Timelet" msgstr "Timelet" -#: themes/theme.js:143 +#. themes/theme.js:143 msgid "AM" msgstr "DE" -#: themes/theme.js:145 +#. themes/theme.js:145 msgid "Noon" msgstr "Dél" -#: themes/theme.js:147 +#. themes/theme.js:147 msgid "PM" msgstr "DU" @@ -94,3 +94,7 @@ msgstr "Háttér lekerekítés sugara" #. settings-schema.json->cornerRadius->tooltip msgid "Radius for rounding the desklet's corners" msgstr "Az asztalkalmazás sarok-lekerekítésének mértéke" + +#. settings-schema.json->hideDecorations->description +msgid "Hide decorations" +msgstr "" diff --git a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/it.po b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/it.po index ee83ba8c4..b7b738d24 100644 --- a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/it.po +++ b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/it.po @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-desklets/" "issues\n" -"POT-Creation-Date: 2024-05-18 00:10+0200\n" +"POT-Creation-Date: 2025-10-16 23:33+0200\n" "PO-Revision-Date: 2025-08-26 20:04+0200\n" "Last-Translator: Dragone2 \n" "Language-Team: \n" @@ -19,19 +19,19 @@ msgstr "" "X-Generator: Poedit 3.4.2\n" #. metadata.json->name -#: desklet.js:50 +#. desklet.js:50 msgid "Timelet" msgstr "Timelet" -#: themes/theme.js:143 +#. themes/theme.js:143 msgid "AM" msgstr "AM" -#: themes/theme.js:145 +#. themes/theme.js:145 msgid "Noon" msgstr "Mezzogiorno" -#: themes/theme.js:147 +#. themes/theme.js:147 msgid "PM" msgstr "PM" @@ -94,3 +94,7 @@ msgstr "Raggio dell'angolo sullo sfondo" #. settings-schema.json->cornerRadius->tooltip msgid "Radius for rounding the desklet's corners" msgstr "Raggio di arrotondamento dell'angolo del desklet" + +#. settings-schema.json->hideDecorations->description +msgid "Hide decorations" +msgstr "" diff --git a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/nl.po b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/nl.po index c231a88e2..e3b35f335 100644 --- a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/nl.po +++ b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/nl.po @@ -1,12 +1,13 @@ # Timelet # Copyright (C) 2022 Gobinath # This file is distributed under the same license as the Timelet package. -# +# msgid "" msgstr "" "Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-10 21:39-0400\n" +"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-desklets/" +"issues\n" +"POT-Creation-Date: 2025-10-16 23:33+0200\n" "PO-Revision-Date: 2024-07-23 23:06+0200\n" "Last-Translator: qadzek\n" "Language-Team: \n" @@ -16,19 +17,19 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #. metadata.json->name -#: desklet.js:50 +#. desklet.js:50 msgid "Timelet" msgstr "Timelet" -#: themes/theme.js:143 +#. themes/theme.js:143 msgid "AM" msgstr "AM" -#: themes/theme.js:145 +#. themes/theme.js:145 msgid "Noon" msgstr "Middag" -#: themes/theme.js:147 +#. themes/theme.js:147 msgid "PM" msgstr "PM" @@ -91,3 +92,7 @@ msgstr "Achtergrond hoekradius" #. settings-schema.json->cornerRadius->tooltip msgid "Radius for rounding the desklet's corners" msgstr "Radius voor het afronden van de hoeken van de desklet" + +#. settings-schema.json->hideDecorations->description +msgid "Hide decorations" +msgstr "" diff --git a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/ro.po b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/ro.po index 42b75e854..518aa15b4 100644 --- a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/ro.po +++ b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/ro.po @@ -1,35 +1,37 @@ # Timelet # Copyright (C) 2022 Gobinath # This file is distributed under the same license as the Timelet package. -# +# msgid "" msgstr "" -"Content-Transfer-Encoding: 8bit\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Language: ro\n" -"Language-Team: none\n" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-desklets/" +"issues\n" +"POT-Creation-Date: 2025-10-16 23:33+0200\n" +"PO-Revision-Date: 2022-11-12 06:11-0500\n" "Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: ro\n" "MIME-Version: 1.0\n" -"PO-Revision-Date: 2022-11-12 06:11-0500\n" -"POT-Creation-Date: 2022-11-12 06:11-0500\n" -"Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2;\n" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2;\n" #. metadata.json->name -#: desklet.js:50 +#. desklet.js:50 msgid "Timelet" msgstr "Timelet" -#: themes/theme.js:133 +#. themes/theme.js:143 msgid "AM" msgstr "AM" -#: themes/theme.js:135 +#. themes/theme.js:145 msgid "Noon" msgstr "Prânz" -#: themes/theme.js:137 +#. themes/theme.js:147 msgid "PM" msgstr "PM" @@ -45,6 +47,14 @@ msgstr "Setări Timelet" msgid "Theme" msgstr "Tema" +#. settings-schema.json->use24H->description +msgid "Use 24H" +msgstr "" + +#. settings-schema.json->use24H->tooltip +msgid "Display time in 24H" +msgstr "" + #. settings-schema.json->textColor->description msgid "Text color" msgstr "Culoarea textului" @@ -84,3 +94,7 @@ msgstr "Raza colțurilor de fundal" #. settings-schema.json->cornerRadius->tooltip msgid "Radius for rounding the desklet's corners" msgstr "Raza pentru rotunjirea colțurilor deskletului" + +#. settings-schema.json->hideDecorations->description +msgid "Hide decorations" +msgstr "" diff --git a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/ru.po b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/ru.po index 8c11d0ea6..3032e6168 100644 --- a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/ru.po +++ b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/ru.po @@ -1,12 +1,13 @@ # Timelet # Copyright (C) 2022 Gobinath # This file is distributed under the same license as the Timelet package. -# +# msgid "" msgstr "" "Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-10 21:39-0400\n" +"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-desklets/" +"issues\n" +"POT-Creation-Date: 2025-10-16 23:33+0200\n" "PO-Revision-Date: 2023-12-07 18:26+0300\n" "Last-Translator: \n" "Language-Team: \n" @@ -17,19 +18,19 @@ msgstr "" "X-Generator: Poedit 3.4.1\n" #. metadata.json->name -#: desklet.js:50 +#. desklet.js:50 msgid "Timelet" msgstr "" -#: themes/theme.js:143 +#. themes/theme.js:143 msgid "AM" msgstr "" -#: themes/theme.js:145 +#. themes/theme.js:145 msgid "Noon" msgstr "Полдень" -#: themes/theme.js:147 +#. themes/theme.js:147 msgid "PM" msgstr "" @@ -50,7 +51,8 @@ msgid "Use 24H" msgstr "Использовать 24 часовой формат" #. settings-schema.json->use24H->tooltip -msgid "Display time in 24H if the theme supports it" +#, fuzzy +msgid "Display time in 24H" msgstr "Отображать время в 24 часовом формате, если тема поддерживает это" #. settings-schema.json->textColor->description @@ -92,3 +94,7 @@ msgstr "Радиус скруглённых углов" #. settings-schema.json->cornerRadius->tooltip msgid "Radius for rounding the desklet's corners" msgstr "Выберите, как сильно должны быть скруглены углы десклета" + +#. settings-schema.json->hideDecorations->description +msgid "Hide decorations" +msgstr "" diff --git a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/timelet@linuxedo.com.pot b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/timelet@linuxedo.com.pot index b3adf2adf..c2046c5f8 100644 --- a/timelet@linuxedo.com/files/timelet@linuxedo.com/po/timelet@linuxedo.com.pot +++ b/timelet@linuxedo.com/files/timelet@linuxedo.com/po/timelet@linuxedo.com.pot @@ -1,6 +1,6 @@ -# SOME DESCRIPTIVE TITLE. +# TIMELET # This file is put in the public domain. -# FIRST AUTHOR , YEAR. +# slgobinath, 2022 # #, fuzzy msgid "" @@ -8,29 +8,29 @@ msgstr "" "Project-Id-Version: timelet@linuxedo.com 1.0\n" "Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-desklets/" "issues\n" -"POT-Creation-Date: 2024-05-18 00:10+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"POT-Creation-Date: 2025-10-16 23:33+0200\n" +"PO-Revision-Date: \n" +"Last-Translator: \n" +"Language-Team: \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. metadata.json->name -#: desklet.js:50 +#. desklet.js:50 msgid "Timelet" msgstr "" -#: themes/theme.js:143 +#. themes/theme.js:143 msgid "AM" msgstr "" -#: themes/theme.js:145 +#. themes/theme.js:145 msgid "Noon" msgstr "" -#: themes/theme.js:147 +#. themes/theme.js:147 msgid "PM" msgstr "" @@ -93,3 +93,7 @@ msgstr "" #. settings-schema.json->cornerRadius->tooltip msgid "Radius for rounding the desklet's corners" msgstr "" + +#. settings-schema.json->hideDecorations->description +msgid "Hide decorations" +msgstr "" diff --git a/timelet@linuxedo.com/files/timelet@linuxedo.com/settings-schema.json b/timelet@linuxedo.com/files/timelet@linuxedo.com/settings-schema.json index d995f6b84..af41dba1e 100644 --- a/timelet@linuxedo.com/files/timelet@linuxedo.com/settings-schema.json +++ b/timelet@linuxedo.com/files/timelet@linuxedo.com/settings-schema.json @@ -1,62 +1,67 @@ -{ - "head0": { - "type": "header", - "description": "Timelet Settings" - }, - "themeName": { - "type": "combobox", - "default": "Gotham", - "options": {}, - "description": "Theme" - }, - "use24H": { - "type": "checkbox", - "default": false, - "description": "Use 24H", - "tooltip": "Display time in 24H" - }, - "textColor": { - "type": "colorchooser", - "indent": true, - "default": "rgb(255,255,255)", - "description": "Text color", - "tooltip": "Click the button to select a new text color" - }, - "bgColor": { - "type": "colorchooser", - "indent": true, - "default": "rgb(0,0,0)", - "description": "Background color", - "tooltip": "Click the button to select a new background color" - }, - "scale": { - "type": "scale", - "indent": true, - "default": 1, - "min": 0.1, - "max": 2.0, - "step": 0.05, - "description": "Scale", - "tooltip": "Change the size of the desklet" - }, - "transparency": { - "type": "scale", - "indent": true, - "default": 0.5, - "min": 0.0, - "max": 1.0, - "step": 0.05, - "description": "Background Transparency", - "tooltip": "Set the transparency of the desklet" - }, - "cornerRadius": { - "type": "scale", - "indent": true, - "default": 10.0, - "min": 0, - "max": 50.0, - "step": 1, - "description": "Background Corner radius", - "tooltip": "Radius for rounding the desklet's corners" - } +{ + "head0": { + "type": "header", + "description": "Timelet Settings" + }, + "themeName": { + "type": "combobox", + "default": "Gotham", + "options": {}, + "description": "Theme" + }, + "use24H": { + "type": "checkbox", + "default": false, + "description": "Use 24H", + "tooltip": "Display time in 24H" + }, + "textColor": { + "type": "colorchooser", + "indent": true, + "default": "rgb(255,255,255)", + "description": "Text color", + "tooltip": "Click the button to select a new text color" + }, + "bgColor": { + "type": "colorchooser", + "indent": true, + "default": "rgb(0,0,0)", + "description": "Background color", + "tooltip": "Click the button to select a new background color" + }, + "scale": { + "type": "scale", + "indent": true, + "default": 1, + "min": 0.1, + "max": 2.0, + "step": 0.05, + "description": "Scale", + "tooltip": "Change the size of the desklet" + }, + "transparency": { + "type": "scale", + "indent": true, + "default": 0.5, + "min": 0.0, + "max": 1.0, + "step": 0.05, + "description": "Background Transparency", + "tooltip": "Set the transparency of the desklet" + }, + "cornerRadius": { + "type": "scale", + "indent": true, + "default": 10.0, + "min": 0, + "max": 50.0, + "step": 1, + "description": "Background Corner radius", + "tooltip": "Radius for rounding the desklet's corners" + }, + "hideDecorations": { + "type": "checkbox", + "default": true, + "description": "Hide decorations" + } } \ No newline at end of file