From 7309b1d27fd7ea43dbd99a105bdb5777fd88a67b Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 11 Sep 2022 14:46:57 +0200 Subject: data/org.ayatana.indicator.notifications.gschema.xml.in.in: Drop .gschema.xml.in.in file. Unused these days. --- ...atana.indicator.notifications.gschema.xml.in.in | 40 ---------------------- 1 file changed, 40 deletions(-) delete mode 100644 data/org.ayatana.indicator.notifications.gschema.xml.in.in diff --git a/data/org.ayatana.indicator.notifications.gschema.xml.in.in b/data/org.ayatana.indicator.notifications.gschema.xml.in.in deleted file mode 100644 index 280cc2b..0000000 --- a/data/org.ayatana.indicator.notifications.gschema.xml.in.in +++ /dev/null @@ -1,40 +0,0 @@ - - - - [] - <_summary>Discard notifications by application name - <_description>If an application name is in the filter list, all notifications matching the application name will be discarded. - - - [] - Recent application names to suggest for the filter list - Keeps track of recent application names so we can suggest them in the settings. - - - false - <_summary>Clear notifications on middle click - <_description>Normally when middle clicking the notification icon, the unread status will be toggled if the queue is not empty. With this option enabled, the notification queue will be cleared instead. - - - false - Enable do-not-disturb mode - On supported desktops enables do-not-disturb mode on the notification daemon. - - - false - <_summary>Hide the indicator - <_description>If true, the indicator is hidden. - - - - 5 - <_summary>Maximum number of visible items - <_description>The indicator will only display at most the number of notifications indicated by this value. - - - false - Swap the Clear and Settings items in the menu - This will move the Clear option to the bottom of the menu, below the Settings item. - - - -- cgit v1.2.3 From 6309311bbd3cbfb9f4061356b36333ad5d9ff807 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 11 Sep 2022 14:47:19 +0200 Subject: data/: Fix translation of .gschema.xml file. --- data/CMakeLists.txt | 7 ------ ...org.ayatana.indicator.notifications.gschema.xml | 25 ++++++++++++++++++++++ ....ayatana.indicator.notifications.gschema.xml.in | 25 ---------------------- po/POTFILES.in | 2 +- 4 files changed, 26 insertions(+), 33 deletions(-) create mode 100644 data/org.ayatana.indicator.notifications.gschema.xml delete mode 100644 data/org.ayatana.indicator.notifications.gschema.xml.in diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index aa5dddd..c81ac7b 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -3,13 +3,6 @@ ## set (SCHEMA_NAME "org.ayatana.indicator.notifications.gschema.xml") -set (SCHEMA_FILE "${CMAKE_CURRENT_BINARY_DIR}/${SCHEMA_NAME}") -set (SCHEMA_FILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/${SCHEMA_NAME}.in") - -# generate the .xml file using intltool -find_package(Intltool REQUIRED) -set (ENV{LC_ALL} "C") -intltool_merge_translations("${SCHEMA_FILE_IN}" "${SCHEMA_FILE}" ALL UTF8 STYLE "xml" NO_TRANSLATIONS) # let GSettings do the rest find_package(GSettings REQUIRED) diff --git a/data/org.ayatana.indicator.notifications.gschema.xml b/data/org.ayatana.indicator.notifications.gschema.xml new file mode 100644 index 0000000..c0e4901 --- /dev/null +++ b/data/org.ayatana.indicator.notifications.gschema.xml @@ -0,0 +1,25 @@ + + + + [] + Discard notifications by application name + If an application name is in the filter list, all notifications matching the application name will be discarded. + + + [] + Recent application names to suggest for the filter list + Keeps track of recent application names so we can suggest them in the settings. + + + false + Enable do-not-disturb mode + On supported desktops enables do-not-disturb mode on the notification daemon. + + + + 5 + Maximum number of visible items + The indicator will only display at most the number of notifications indicated by this value. + + + diff --git a/data/org.ayatana.indicator.notifications.gschema.xml.in b/data/org.ayatana.indicator.notifications.gschema.xml.in deleted file mode 100644 index b85f14b..0000000 --- a/data/org.ayatana.indicator.notifications.gschema.xml.in +++ /dev/null @@ -1,25 +0,0 @@ - - - - [] - <_summary>Discard notifications by application name - <_description>If an application name is in the filter list, all notifications matching the application name will be discarded. - - - [] - Recent application names to suggest for the filter list - Keeps track of recent application names so we can suggest them in the settings. - - - false - Enable do-not-disturb mode - On supported desktops enables do-not-disturb mode on the notification daemon. - - - - 5 - <_summary>Maximum number of visible items - <_description>The indicator will only display at most the number of notifications indicated by this value. - - - diff --git a/po/POTFILES.in b/po/POTFILES.in index c8c6c6e..c8300cf 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,4 +1,4 @@ -data/org.ayatana.indicator.notifications.gschema.xml.in.in +data/org.ayatana.indicator.notifications.gschema.xml src/dbus-spy.c src/dbus-spy.h src/main.c -- cgit v1.2.3 From 5b72dcfdba1a665c7982eccb24619e7c26c06fde Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 11 Sep 2022 14:48:52 +0200 Subject: update-po{,t}.sh: Omit ../ at beginning of file names in .po(t) file(s). --- update-po.sh | 3 ++- update-pot.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/update-po.sh b/update-po.sh index 59ad5c4..2f4377e 100755 --- a/update-po.sh +++ b/update-po.sh @@ -29,10 +29,11 @@ cat LINGUAS | while read lingua; do fi sed -e 's/\.xml\.in\.in\.h:/.xml.in.in:/g' \ - -e 's/\.xml\.in\.h:/.xml.in:/g' \ + -e 's/\.xml\.in\.h:/.xml.in:/g' \ -e 's/\.ini\.in\.h:/.ini.in:/g' \ -e 's/\.xml\.h:/.xml:/g' \ -e 's/\.ini\.h:/.ini:/g' \ + -e 's@#: \.\./@#: @g' \ -i ${lingua}.po done diff --git a/update-pot.sh b/update-pot.sh index db9c893..ae7bb10 100755 --- a/update-pot.sh +++ b/update-pot.sh @@ -23,4 +23,5 @@ sed -e 's/\.xml\.in\.in.\h:/.xml.in.in:/g' \ -e 's/\.ini\.in\.h:/.ini.in:/g' \ -e 's/\.xml\.h:/.xml:/g' \ -e 's/\.ini\.h:/.ini:/g' \ + -e 's@#: \.\./@#: @g' \ -i po/${GETTEXT_DOMAIN}.pot -- cgit v1.2.3 From 29c4f404bb8e9d5028c1af6d14f7575bf3330dba Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 11 Sep 2022 14:50:56 +0200 Subject: po/ayatana-indicator-notifications.pot: Update translation template file. --- po/ayatana-indicator-notifications.pot | 40 +++++++++++++++++----------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/po/ayatana-indicator-notifications.pot b/po/ayatana-indicator-notifications.pot index 64c171a..b23158a 100644 --- a/po/ayatana-indicator-notifications.pot +++ b/po/ayatana-indicator-notifications.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-09-05 13:31+0200\n" +"POT-Creation-Date: 2022-09-11 14:50+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,61 +17,61 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: ../data/org.ayatana.indicator.notifications.gschema.xml.in.in:1 +#: data/org.ayatana.indicator.notifications.gschema.xml:1 msgid "Discard notifications by application name" msgstr "" -#: ../data/org.ayatana.indicator.notifications.gschema.xml.in.in:2 +#: data/org.ayatana.indicator.notifications.gschema.xml:2 msgid "" "If an application name is in the filter list, all notifications matching the " "application name will be discarded." msgstr "" -#: ../data/org.ayatana.indicator.notifications.gschema.xml.in.in:3 -msgid "Clear notifications on middle click" +#: data/org.ayatana.indicator.notifications.gschema.xml:3 +msgid "Recent application names to suggest for the filter list" msgstr "" -#: ../data/org.ayatana.indicator.notifications.gschema.xml.in.in:4 +#: data/org.ayatana.indicator.notifications.gschema.xml:4 msgid "" -"Normally when middle clicking the notification icon, the unread status will " -"be toggled if the queue is not empty. With this option enabled, the " -"notification queue will be cleared instead." +"Keeps track of recent application names so we can suggest them in the " +"settings." msgstr "" -#: ../data/org.ayatana.indicator.notifications.gschema.xml.in.in:5 -msgid "Hide the indicator" +#: data/org.ayatana.indicator.notifications.gschema.xml:5 +msgid "Enable do-not-disturb mode" msgstr "" -#: ../data/org.ayatana.indicator.notifications.gschema.xml.in.in:6 -msgid "If true, the indicator is hidden." +#: data/org.ayatana.indicator.notifications.gschema.xml:6 +msgid "" +"On supported desktops enables do-not-disturb mode on the notification daemon." msgstr "" -#: ../data/org.ayatana.indicator.notifications.gschema.xml.in.in:7 +#: data/org.ayatana.indicator.notifications.gschema.xml:7 msgid "Maximum number of visible items" msgstr "" -#: ../data/org.ayatana.indicator.notifications.gschema.xml.in.in:8 +#: data/org.ayatana.indicator.notifications.gschema.xml:8 msgid "" "The indicator will only display at most the number of notifications " "indicated by this value." msgstr "" -#: ../src/service.c:221 +#: src/service.c:221 msgid "from" msgstr "" -#: ../src/service.c:270 ../src/service.c:300 +#: src/service.c:270 ../src/service.c:300 msgid "Notifications" msgstr "" -#: ../src/service.c:271 +#: src/service.c:271 msgid "List of past system notifications, do-not-disturb switch" msgstr "" -#: ../src/service.c:328 +#: src/service.c:328 msgid "Clear" msgstr "" -#: ../src/service.c:339 +#: src/service.c:339 msgid "Do not disturb" msgstr "" -- cgit v1.2.3 From d39c410168f015d7d6951aa093124d480ec72b75 Mon Sep 17 00:00:00 2001 From: Yaron Shahrabani Date: Mon, 5 Sep 2022 13:23:35 +0000 Subject: Translated using Weblate (Hebrew) Currently translated at 100.0% (13 of 13 strings) Translation: Ayatana Indicators/Notifications Applet Translate-URL: https://hosted.weblate.org/projects/ayatana-indicators/notifications-applet/he/ --- po/he.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/po/he.po b/po/he.po index fc9a45f..8ed68c8 100644 --- a/po/he.po +++ b/po/he.po @@ -8,17 +8,17 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-09-05 13:31+0200\n" -"PO-Revision-Date: 2021-07-16 17:33+0000\n" +"PO-Revision-Date: 2022-09-05 19:31+0000\n" "Last-Translator: Yaron Shahrabani \n" -"Language-Team: Hebrew \n" +"Language-Team: Hebrew \n" "Language: he\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n == 1) ? 0 : ((n == 2) ? 1 : ((n > 10 && " "n % 10 == 0) ? 2 : 3));\n" -"X-Generator: Weblate 4.7.2-dev\n" +"X-Generator: Weblate 4.14.1-dev\n" #: ../data/org.ayatana.indicator.notifications.gschema.xml.in.in:1 msgid "Discard notifications by application name" @@ -73,7 +73,7 @@ msgstr "התראות" #: ../src/service.c:271 msgid "List of past system notifications, do-not-disturb switch" -msgstr "" +msgstr "רשימה של התראות מערכת קודמות, מתג „לא להפריע”" #: ../src/service.c:328 msgid "Clear" -- cgit v1.2.3 From ed8854df8beb51334b66026651a7c5a6e81a6e5b Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 5 Sep 2022 19:40:53 +0000 Subject: Translated using Weblate (German) Currently translated at 100.0% (13 of 13 strings) Translation: Ayatana Indicators/Notifications Applet Translate-URL: https://hosted.weblate.org/projects/ayatana-indicators/notifications-applet/de/ --- po/de.po | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/po/de.po b/po/de.po index 9f9b0c3..1bb07d7 100644 --- a/po/de.po +++ b/po/de.po @@ -8,16 +8,16 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-09-05 13:31+0200\n" -"PO-Revision-Date: 2020-11-13 18:28+0000\n" +"PO-Revision-Date: 2022-09-05 19:42+0000\n" "Last-Translator: Mike Gabriel \n" -"Language-Team: German \n" +"Language-Team: German \n" "Language: de\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: Weblate 4.4-dev\n" +"X-Generator: Weblate 4.14.1-dev\n" #: ../data/org.ayatana.indicator.notifications.gschema.xml.in.in:1 msgid "Discard notifications by application name" @@ -77,6 +77,8 @@ msgstr "Benachrichtigungen" #: ../src/service.c:271 msgid "List of past system notifications, do-not-disturb switch" msgstr "" +"Liste der letzten Systembenachrichtigungen, Umschalter für Bitte-nicht-" +"Stören Modus" #: ../src/service.c:328 msgid "Clear" -- cgit v1.2.3 From be711b01656d488dfae4bdea59b0f1f92a434bb8 Mon Sep 17 00:00:00 2001 From: Wellington Terumi Uemura Date: Tue, 6 Sep 2022 02:49:12 +0000 Subject: Translated using Weblate (Portuguese (Brazil)) Currently translated at 100.0% (13 of 13 strings) Translation: Ayatana Indicators/Notifications Applet Translate-URL: https://hosted.weblate.org/projects/ayatana-indicators/notifications-applet/pt_BR/ --- po/pt_BR.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/pt_BR.po b/po/pt_BR.po index 9de1c84..771f775 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-09-05 13:31+0200\n" -"PO-Revision-Date: 2020-12-31 03:29+0000\n" +"PO-Revision-Date: 2022-09-07 03:22+0000\n" "Last-Translator: Wellington Terumi Uemura \n" "Language-Team: Portuguese (Brazil) \n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.4.1-dev\n" +"X-Generator: Weblate 4.14.1-dev\n" #: ../data/org.ayatana.indicator.notifications.gschema.xml.in.in:1 msgid "Discard notifications by application name" @@ -75,7 +75,7 @@ msgstr "Notificações" #: ../src/service.c:271 msgid "List of past system notifications, do-not-disturb switch" -msgstr "" +msgstr "Lista das notificações anteriores do sistema, interruptor não perturbe" #: ../src/service.c:328 msgid "Clear" -- cgit v1.2.3 From 1db43732f2843e2a4f3baccc864ba017457a0043 Mon Sep 17 00:00:00 2001 From: Moo Date: Wed, 7 Sep 2022 11:05:27 +0000 Subject: Translated using Weblate (Lithuanian) Currently translated at 100.0% (13 of 13 strings) Translation: Ayatana Indicators/Notifications Applet Translate-URL: https://hosted.weblate.org/projects/ayatana-indicators/notifications-applet/lt/ --- po/lt.po | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/po/lt.po b/po/lt.po index 209f7ec..ee57ac1 100644 --- a/po/lt.po +++ b/po/lt.po @@ -8,17 +8,18 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-09-05 13:31+0200\n" -"PO-Revision-Date: 2020-11-19 20:29+0000\n" +"PO-Revision-Date: 2022-09-08 18:19+0000\n" "Last-Translator: Moo \n" -"Language-Team: Lithuanian \n" +"Language-Team: Lithuanian \n" "Language: lt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n" -"%100<10 || n%100>=20) ? 1 : 2);\n" -"X-Generator: Weblate 4.4-dev\n" +"Plural-Forms: nplurals=3; plural=(n % 10 == 1 && (n % 100 < 11 || n % 100 > " +"19)) ? 0 : ((n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 11 || n % 100 > 19)) ? " +"1 : 2);\n" +"X-Generator: Weblate 4.14.1-dev\n" #: ../data/org.ayatana.indicator.notifications.gschema.xml.in.in:1 msgid "Discard notifications by application name" @@ -76,7 +77,7 @@ msgstr "Pranešimai" #: ../src/service.c:271 msgid "List of past system notifications, do-not-disturb switch" -msgstr "" +msgstr "Praeitų sistemos pranešimų sąrašas, netrukdymo perjungiklis" #: ../src/service.c:328 msgid "Clear" -- cgit v1.2.3 From 5a5913a05d7f5bb4c700f81c4354176d2c8bc536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quentin=20PAG=C3=88S?= Date: Wed, 7 Sep 2022 17:51:14 +0000 Subject: Translated using Weblate (Occitan) Currently translated at 100.0% (13 of 13 strings) Translation: Ayatana Indicators/Notifications Applet Translate-URL: https://hosted.weblate.org/projects/ayatana-indicators/notifications-applet/oc/ --- po/oc.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/po/oc.po b/po/oc.po index d007888..a858020 100644 --- a/po/oc.po +++ b/po/oc.po @@ -8,16 +8,16 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-09-05 13:31+0200\n" -"PO-Revision-Date: 2020-11-19 20:29+0000\n" +"PO-Revision-Date: 2022-09-08 18:19+0000\n" "Last-Translator: Quentin PAGÈS \n" -"Language-Team: Occitan \n" +"Language-Team: Occitan \n" "Language: oc\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: Weblate 4.4-dev\n" +"X-Generator: Weblate 4.14.1-dev\n" #: ../data/org.ayatana.indicator.notifications.gschema.xml.in.in:1 msgid "Discard notifications by application name" @@ -74,7 +74,7 @@ msgstr "Notificacions" #: ../src/service.c:271 msgid "List of past system notifications, do-not-disturb switch" -msgstr "" +msgstr "Lista de notificacions sistèma passadas, alternador de me-desrengar-pas" #: ../src/service.c:328 msgid "Clear" -- cgit v1.2.3