diff --git a/.gitignore b/.gitignore index d039e80..ad9e557 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ **/locale/*/ -messagingmenu@lauinger-clan.de.zip* +messagingmenu@lauinger-clan.de.zip +messagingmenu@lauinger-clan.de.shell-extension.zip gschemas.compiled -messagingmenu\@lauinger-clan.de/.prettierrc - - +.prettierrc +*.mo +*.po~ +.editorconfig diff --git a/Makefile b/Makefile index 382c766..ec34fb3 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ #============================================================================= -UUID=messagingmenu@screenfreeze.net +UUID=messagingmenu@lauinger-clan.de # GitHub doesn't accept @ in filesnames: -GHID=messagingmenu.screenfreeze.net +GHID=messagingmenu.lauinger-clan.de NAME=messagingmenu FILES=metadata.json *.js stylesheet.css schemas icons locale/**/ LICENSE.txt INSTALLDIR=$(HOME)/.local/share/gnome-shell/extensions @@ -23,17 +23,14 @@ install: zip uninstall: rm -r $(INSTALLDIR)/$(UUID) -all: clean locales schemas +all: schemas pack clean: rm -f $(GHID).zip* $(UUID)/schemas/gschemas.compiled $(UUID)/LICENSE.txt rm -rf $(UUID)/locale/**/ -locales: $(MSGOBJS) - -$(UUID)/locale/%/LC_MESSAGES/$(NAME).mo: po/%.po - mkdir -p $(dir $@) - msgfmt -c -o $@ po/$*.po +locales: + sh update-translation-po-files.sh schemas: $(UUID)/schemas/ glib-compile-schemas $(UUID)/schemas @@ -43,3 +40,6 @@ $(UUID)/LICENSE.txt: LICENSE.txt zip: all $(UUID)/LICENSE.txt cd $(UUID); zip -rq ../$(GHID).zip $(FILES:%=./%) + +pack: $(UUID) + cd $(UUID);gnome-extensions pack --podir=../po/ --out-dir=../ --extra-source=prefs.ui --extra-source=\icons;cd ..;mv messagingmenu@lauinger-clan.de.shell-extension.zip messagingmenu\@lauinger-clan.de.zip diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..4c0e2f3 --- /dev/null +++ b/install.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +glib-compile-schemas messagingmenu\@lauinger-clan.de/schemas/ + +cd messagingmenu\@lauinger-clan.de +gnome-extensions pack --podir=../po/ --out-dir=../ --extra-source=prefs.ui --extra-source=\icons +cd .. +mv messagingmenu@lauinger-clan.de.shell-extension.zip messagingmenu@lauinger-clan.de.zip +gnome-extensions install messagingmenu\@lauinger-clan.de.zip --force +gnome-extensions enable messagingmenu\@lauinger-clan.de diff --git a/menu_screenshot.png b/menu_screenshot.png index fd1806c..bc97c99 100644 Binary files a/menu_screenshot.png and b/menu_screenshot.png differ diff --git a/messagingmenu@lauinger-clan.de/extension.js b/messagingmenu@lauinger-clan.de/extension.js index 8255285..6be7877 100644 --- a/messagingmenu@lauinger-clan.de/extension.js +++ b/messagingmenu@lauinger-clan.de/extension.js @@ -292,6 +292,15 @@ const MessageMenu = GObject.registerClass( let newLauncher = new MessageMenuItem(mb_app); this.menu.addMenuItem(newLauncher); } + + // Add an entry-point for settings + this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem()); + const settingsItem = this.menu.addAction(_("Settings"), () => + ExtensionUtils.openPrefs() + ); + // Ensure the settings are unavailable when the screen is locked + settingsItem.visible = Main.sessionMode.allowSettings; + this.menu._settingsActions[Me.uuid] = settingsItem; } _getAppsEMAIL(appsys) { diff --git a/messagingmenu@lauinger-clan.de/metadata.json b/messagingmenu@lauinger-clan.de/metadata.json index 3b98e88..eeff89b 100644 --- a/messagingmenu@lauinger-clan.de/metadata.json +++ b/messagingmenu@lauinger-clan.de/metadata.json @@ -11,6 +11,6 @@ "gettext-domain": "messagingmenu", "description": "A Messaging Menu for the Gnome Shell. All Email and Chat Applications in one Place.", "url": "https://github.com/ChrisLauinger77/messagingmenu", -"version": 27, +"version": 28, "settings-schema": "org.gnome.shell.extensions.messagingmenu" } diff --git a/messagingmenu@lauinger-clan.de/prefs.js b/messagingmenu@lauinger-clan.de/prefs.js index e32f0af..4d69ecc 100644 --- a/messagingmenu@lauinger-clan.de/prefs.js +++ b/messagingmenu@lauinger-clan.de/prefs.js @@ -1,11 +1,9 @@ const ExtensionUtils = imports.misc.extensionUtils; const GObject = imports.gi.GObject; -const Gtk = imports.gi.Gtk; - -const Gettext = imports.gettext.domain("gnome-shell-extensions"); -const _ = Gettext.gettext; - +const { Gtk } = imports.gi; const Me = ExtensionUtils.getCurrentExtension(); +const Gettext = imports.gettext.domain("messagingmenu"); +const _ = Gettext.gettext; let settings; @@ -112,6 +110,7 @@ function createNotificationSettingsWidget() { return vbox; } +// used until GNOME 42 (41 and before) function buildPrefsWidget() { let frame = new Gtk.Box({ orientation: Gtk.Orientation.VERTICAL, @@ -131,6 +130,38 @@ function buildPrefsWidget() { return frame; } +// used starting with GNOME 42 +function fillPreferencesWindow(window) { + let builder = Gtk.Builder.new(); + builder.add_from_file(Me.path + "/prefs.ui"); + let page = builder.get_object("messagingmenu_page"); + window.add(page); + + let email_setting_switch = builder.get_object("email_setting_switch"); + email_setting_switch.set_active(settings.get_boolean("notify-email")); + email_setting_switch.connect("notify::active", function (button1) { + settings.set_boolean("notify-email", button1.active); + }); + let chat_setting_switch = builder.get_object("chat_setting_switch"); + chat_setting_switch.set_active(settings.get_boolean("notify-chat")); + chat_setting_switch.connect("notify::active", function (button2) { + settings.set_boolean("notify-chat", button2.active); + }); + let mblogging_setting_switch = builder.get_object("mblogging_setting_switch"); + mblogging_setting_switch.set_active(settings.get_boolean("notify-mblogging")); + mblogging_setting_switch.connect("notify::active", function (button3) { + settings.set_boolean("notify-mblogging", button3.active); + }); + let color_setting_string = builder.get_object("color_setting_string"); + color_setting_string.set_text(settings.get_string("color")); + color_setting_string.connect("notify::text", function (entry) { + // only save correct color hexcode + if (entry.text.length == 7 && entry.text.charAt(0) == "#") { + settings.set_string("color", entry.text); + } + }); +} + function init() { ExtensionUtils.initTranslations("messagingmenu"); settings = ExtensionUtils.getSettings( diff --git a/messagingmenu@lauinger-clan.de/prefs.ui b/messagingmenu@lauinger-clan.de/prefs.ui new file mode 100644 index 0000000..58d10f3 --- /dev/null +++ b/messagingmenu@lauinger-clan.de/prefs.ui @@ -0,0 +1,57 @@ + + + + messagingmenu_page + Settings + folder-symbolic + + + Settings + + + Email Notification: + email_setting_switch + + + center + + + + + + + Chat Notification: + chat_setting_switch + + + center + + + + + + + Micro Blogging Notification: + mblogging_setting_switch + + + center + + + + + + + Notification Color (Hex): + color_setting_string + + + center + + + + + + + + \ No newline at end of file diff --git a/messagingmenu@lauinger-clan.de/schemas/org.gnome.shell.extensions.messagingmenu.gschema.xml b/messagingmenu@lauinger-clan.de/schemas/org.gnome.shell.extensions.messagingmenu.gschema.xml index d88132b..29538de 100644 --- a/messagingmenu@lauinger-clan.de/schemas/org.gnome.shell.extensions.messagingmenu.gschema.xml +++ b/messagingmenu@lauinger-clan.de/schemas/org.gnome.shell.extensions.messagingmenu.gschema.xml @@ -1,40 +1,30 @@ - - - + + - true + true Alert on new Email - - Icon blinks on new Email - + Icon blinks on new Email - true + true Alert on new Chat - - Icon blinks on new Chat - + Icon blinks on new Chat - false + false Alert on new News - - Icon blinks on new Blogposts - + Icon blinks on new Blogposts - false + false Alert on new Messages from other Apps - - Icon blinks on new Messages - + Icon blinks on new Messages '#ff0000' Notification Color - - The color used to paint the Icon - + The color used to paint the Icon diff --git a/po/af.po b/po/af.po index 829aefc..8f72686 100644 --- a/po/af.po +++ b/po/af.po @@ -1,42 +1,48 @@ -# Afrikaans translations for PACKAGE package. -# Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. -# Andreas Wilhelm , 2012. +# FIRST AUTHOR , YEAR. # msgid "" msgstr "" -"Project-Id-Version: Messaging Menu Version 4\n" -"Report-Msgid-Bugs-To: https://github.com/screenfreeze/messagingmenu/issues\n" -"POT-Creation-Date: 2013-02-11 23:13+0000\n" -"PO-Revision-Date: 2013-05-18 15:20+0200\n" -"Last-Translator: Siôn Le Roux \n" -"Language-Team: Afrikaans\n" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-11-11 14:44+0100\n" +"PO-Revision-Date: 2022-11-11 14:46+0100\n" +"Last-Translator: Christian Lauinger \n" +"Language-Team: \n" "Language: af\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ASCII\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.2\n" -#: prefs.js:17 +#: messagingmenu@lauinger-clan.de/extension.js:147 +msgid "Compose New Message" +msgstr "Skryf Nuwe Boodskap" + +#: messagingmenu@lauinger-clan.de/extension.js:148 +msgid "Contacts" +msgstr "Kontakte" + +#: messagingmenu@lauinger-clan.de/extension.js:298 +msgid "Settings" +msgstr "Instellings" + +#: messagingmenu@lauinger-clan.de/prefs.js:18 msgid "Notification Color (Hex):" msgstr "Kennisgewing Kleur (Hex):" -#: prefs.js:40 +#: messagingmenu@lauinger-clan.de/prefs.js:51 msgid "Email Notification:" msgstr "E-pos Kennisgewing:" -#: prefs.js:55 +#: messagingmenu@lauinger-clan.de/prefs.js:73 msgid "Chat Notification:" msgstr "Chat Kennisgewing:" -#: prefs.js:70 +#: messagingmenu@lauinger-clan.de/prefs.js:95 msgid "Micro Blogging Notification:" msgstr "Mikro Blog Kennisgewing:" -#: extension.js:63 -msgid "Compose New Message" -msgstr "Skryf Nuwe Boodskap" - -#: extension.js:64 -msgid "Contacts" -msgstr "Kontakte" diff --git a/po/cz.po b/po/cz.po index 50116aa..7494e7b 100644 --- a/po/cz.po +++ b/po/cz.po @@ -6,37 +6,43 @@ msgid "" msgstr "" "Project-Id-Version: Messaging Menu Version 4\n" -"Report-Msgid-Bugs-To: https://github.com/screenfreeze/messagingmenu/issues\n" -"POT-Creation-Date: 2013-02-02 17:36+0100\n" -"PO-Revision-Date: 2013-02-02 17:38+0100\n" -"Last-Translator: Karel Mácha \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-11-11 14:49+0100\n" +"PO-Revision-Date: 2022-11-11 15:26+0100\n" +"Last-Translator: Christian Lauinger \n" "Language-Team: Czech\n" "Language: cz\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==1) ? 0 : (n>=2 && n<=4) ? 1 : 2" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" +"X-Generator: Poedit 3.2\n" -#: prefs.js:17 +#: messagingmenu@lauinger-clan.de/extension.js:147 +msgid "Compose New Message" +msgstr "Vytvořit novou zprávu" + +#: messagingmenu@lauinger-clan.de/extension.js:148 +msgid "Contacts" +msgstr "Kontakty" + +#: messagingmenu@lauinger-clan.de/extension.js:298 +msgid "Settings" +msgstr "Nastavení" + +#: messagingmenu@lauinger-clan.de/prefs.js:18 msgid "Notification Color (Hex):" msgstr "Barva upozornění (Hex)" -#: prefs.js:40 +#: messagingmenu@lauinger-clan.de/prefs.js:51 msgid "Email Notification:" -msgstr "Upozornění na email" +msgstr "Upozornění na email:" -#: prefs.js:55 +#: messagingmenu@lauinger-clan.de/prefs.js:73 msgid "Chat Notification:" -msgstr "Upozornění na zprávu v chatu" +msgstr "Upozornění na zprávu v chatu:" -#: prefs.js:70 +#: messagingmenu@lauinger-clan.de/prefs.js:95 msgid "Micro Blogging Notification:" -msgstr "Upozornění na příspěvek na micro-blogu" +msgstr "Upozornění na příspěvek na micro-blogu:" -#: extension.js:63 -msgid "Compose New Message" -msgstr "Vytvořit novou zprávu" - -#: extension.js:64 -msgid "Contacts" -msgstr "Kontakty" \ No newline at end of file diff --git a/po/de.po b/po/de.po index 85da059..a0bc4e3 100644 --- a/po/de.po +++ b/po/de.po @@ -1,44 +1,48 @@ -# German translations for PACKAGE package. -# Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. -# Andreas Wilhelm , 2012. +# FIRST AUTHOR , YEAR. # msgid "" msgstr "" -"Project-Id-Version: Messaging Menu Version 4\n" -"Report-Msgid-Bugs-To: https://github.com/screenfreeze/messagingmenu/issues\n" -"POT-Creation-Date: 2013-05-17 16:10+0200\n" -"PO-Revision-Date: 2013-07-18 13:35+0100\n" -"Last-Translator: Jonatan Zeidler \n" -"Language-Team: German \n" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-11-11 14:44+0100\n" +"PO-Revision-Date: 2022-11-11 14:45+0100\n" +"Last-Translator: Christian Lauinger \n" +"Language-Team: \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: Poedit 1.5.4\n" -"X-Poedit-SourceCharset: UTF-8\n" +"X-Generator: Poedit 3.2\n" -#: prefs.js:17 +#: messagingmenu@lauinger-clan.de/extension.js:147 +msgid "Compose New Message" +msgstr "Neue Nachricht erstellen" + +#: messagingmenu@lauinger-clan.de/extension.js:148 +msgid "Contacts" +msgstr "Kontakte" + +#: messagingmenu@lauinger-clan.de/extension.js:298 +msgid "Settings" +msgstr "Einstellungen" + +#: messagingmenu@lauinger-clan.de/prefs.js:18 msgid "Notification Color (Hex):" msgstr "Benachrichtigungsfarbe (Hex):" -#: prefs.js:40 +#: messagingmenu@lauinger-clan.de/prefs.js:51 msgid "Email Notification:" msgstr "Epost-Benachrichtigung:" -#: prefs.js:55 +#: messagingmenu@lauinger-clan.de/prefs.js:73 msgid "Chat Notification:" msgstr "Chat-Benachrichtigung:" -#: prefs.js:70 +#: messagingmenu@lauinger-clan.de/prefs.js:95 msgid "Micro Blogging Notification:" msgstr "Mikroblog-Benachrichtigung:" -#: extension.js:63 -msgid "Compose New Message" -msgstr "Neue Nachricht erstellen" - -#: extension.js:64 -msgid "Contacts" -msgstr "Kontakte" diff --git a/po/es.po b/po/es.po index 12ec4d3..fca0c3d 100644 --- a/po/es.po +++ b/po/es.po @@ -6,37 +6,43 @@ msgid "" msgstr "" "Project-Id-Version: Messaging Menu Version 4\n" -"Report-Msgid-Bugs-To: https://github.com/screenfreeze/messagingmenu/issues\n" -"POT-Creation-Date: 2012-11-03 17:36+0100\n" -"PO-Revision-Date: 2012-11-03 17:41+0100\n" -"Last-Translator: Andreas Wilhelm \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-11-11 14:49+0100\n" +"PO-Revision-Date: 2022-11-11 15:26+0100\n" +"Last-Translator: Christian Lauinger \n" "Language-Team: Spanish\n" "Language: es\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.2\n" -#: prefs.js:17 +#: messagingmenu@lauinger-clan.de/extension.js:147 +msgid "Compose New Message" +msgstr "Crear un Nuevo Mensaje" + +#: messagingmenu@lauinger-clan.de/extension.js:148 +msgid "Contacts" +msgstr "Contactos" + +#: messagingmenu@lauinger-clan.de/extension.js:298 +msgid "Settings" +msgstr "Ajustes" + +#: messagingmenu@lauinger-clan.de/prefs.js:18 msgid "Notification Color (Hex):" msgstr "Color de la Notificación (Hex):" -#: prefs.js:40 +#: messagingmenu@lauinger-clan.de/prefs.js:51 msgid "Email Notification:" msgstr "Correo de Notificación:" -#: prefs.js:55 +#: messagingmenu@lauinger-clan.de/prefs.js:73 msgid "Chat Notification:" msgstr "Notificación Chat:" -#: prefs.js:70 +#: messagingmenu@lauinger-clan.de/prefs.js:95 msgid "Micro Blogging Notification:" msgstr "Notificación Microblog:" -#: extension.js:63 -msgid "Compose New Message" -msgstr "Crear un Nuevo Mensaje" - -#: extension.js:64 -msgid "Contacts" -msgstr "Contactos" diff --git a/po/fr.po b/po/fr.po index 26d58df..4796c4f 100644 --- a/po/fr.po +++ b/po/fr.po @@ -6,37 +6,43 @@ msgid "" msgstr "" "Project-Id-Version: Messaging Menu Version 4\n" -"Report-Msgid-Bugs-To: https://github.com/screenfreeze/messagingmenu/issues\n" -"POT-Creation-Date: 2012-11-03 17:36+0100\n" -"PO-Revision-Date: 2012-11-03 17:40+0100\n" -"Last-Translator: Andreas Wilhelm \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-11-11 14:49+0100\n" +"PO-Revision-Date: 2022-11-11 15:30+0100\n" +"Last-Translator: Christian Lauinger \n" "Language-Team: French\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 3.2\n" -#: prefs.js:17 +#: messagingmenu@lauinger-clan.de/extension.js:147 +msgid "Compose New Message" +msgstr "Composer un Nouveau Message" + +#: messagingmenu@lauinger-clan.de/extension.js:148 +msgid "Contacts" +msgstr "Contacts" + +#: messagingmenu@lauinger-clan.de/extension.js:298 +msgid "Settings" +msgstr "Reglages" + +#: messagingmenu@lauinger-clan.de/prefs.js:18 msgid "Notification Color (Hex):" msgstr "Couleur de la Notification (Hex):" -#: prefs.js:40 +#: messagingmenu@lauinger-clan.de/prefs.js:51 msgid "Email Notification:" msgstr "Email de Notification:" -#: prefs.js:55 +#: messagingmenu@lauinger-clan.de/prefs.js:73 msgid "Chat Notification:" -msgstr "Notification de Chat" +msgstr "Notification de Chat:" -#: prefs.js:70 +#: messagingmenu@lauinger-clan.de/prefs.js:95 msgid "Micro Blogging Notification:" -msgstr "Notification Microblog" - -#: extension.js:63 -msgid "Compose New Message" -msgstr "Composer un Nouveau Message" +msgstr "Notification Microblog:" -#: extension.js:64 -msgid "Contacts" -msgstr "Contacts" diff --git a/po/hu.po b/po/hu.po index 3492641..04538d6 100644 --- a/po/hu.po +++ b/po/hu.po @@ -6,37 +6,43 @@ msgid "" msgstr "" "Project-Id-Version: Messaging Menu Version 4\n" -"Report-Msgid-Bugs-To: https://github.com/screenfreeze/messagingmenu/issues\n" -"POT-Creation-Date: 2013-02-11 23:18+0000\n" -"PO-Revision-Date: 2013-05-18 15:20+0200\n" -"Last-Translator: Siôn Le Roux \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-11-11 14:49+0100\n" +"PO-Revision-Date: 2022-11-11 15:27+0100\n" +"Last-Translator: Christian Lauinger \n" "Language-Team: Hungarian\n" "Language: hu\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.2\n" -#: prefs.js:17 +#: messagingmenu@lauinger-clan.de/extension.js:147 +msgid "Compose New Message" +msgstr "Új üzenet írása" + +#: messagingmenu@lauinger-clan.de/extension.js:148 +msgid "Contacts" +msgstr "Kapcsolatok" + +#: messagingmenu@lauinger-clan.de/extension.js:298 +msgid "Settings" +msgstr "Beállítások" + +#: messagingmenu@lauinger-clan.de/prefs.js:18 msgid "Notification Color (Hex):" msgstr "Értesítési szín (Hex):" -#: prefs.js:40 +#: messagingmenu@lauinger-clan.de/prefs.js:51 msgid "Email Notification:" msgstr "Email értesítés:" -#: prefs.js:55 +#: messagingmenu@lauinger-clan.de/prefs.js:73 msgid "Chat Notification:" msgstr "Chat értesítés:" -#: prefs.js:70 +#: messagingmenu@lauinger-clan.de/prefs.js:95 msgid "Micro Blogging Notification:" msgstr "Mikro-blogging értesítés:" -#: extension.js:63 -msgid "Compose New Message" -msgstr "Új üzenet írása" - -#: extension.js:64 -msgid "Contacts" -msgstr "Kapcsolatok" diff --git a/po/it.po b/po/it.po index 5b6fe95..bc5a1e7 100644 --- a/po/it.po +++ b/po/it.po @@ -6,37 +6,43 @@ msgid "" msgstr "" "Project-Id-Version: Messaging Menu Version 4\n" -"Report-Msgid-Bugs-To: https://github.com/screenfreeze/messagingmenu/issues\n" -"POT-Creation-Date: 2012-11-03 17:36+0100\n" -"PO-Revision-Date: 2012-11-03 17:41+0100\n" -"Last-Translator: Andreas Wilhelm \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-11-11 14:49+0100\n" +"PO-Revision-Date: 2022-11-11 15:28+0100\n" +"Last-Translator: Christian Lauinger \n" "Language-Team: Italian\n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.2\n" -#: prefs.js:17 +#: messagingmenu@lauinger-clan.de/extension.js:147 +msgid "Compose New Message" +msgstr "Componi un Nuovo Messaggio" + +#: messagingmenu@lauinger-clan.de/extension.js:148 +msgid "Contacts" +msgstr "Contatti" + +#: messagingmenu@lauinger-clan.de/extension.js:298 +msgid "Settings" +msgstr "Impostazioni" + +#: messagingmenu@lauinger-clan.de/prefs.js:18 msgid "Notification Color (Hex):" msgstr "Colore della Notifica (Hex):" -#: prefs.js:40 +#: messagingmenu@lauinger-clan.de/prefs.js:51 msgid "Email Notification:" msgstr "Email di Notifica:" -#: prefs.js:55 +#: messagingmenu@lauinger-clan.de/prefs.js:73 msgid "Chat Notification:" msgstr "Notifica Chat:" -#: prefs.js:70 +#: messagingmenu@lauinger-clan.de/prefs.js:95 msgid "Micro Blogging Notification:" msgstr "Notifica Microblog:" -#: extension.js:63 -msgid "Compose New Message" -msgstr "Componi un Nuovo Messaggio" - -#: extension.js:64 -msgid "Contacts" -msgstr "Contatti" diff --git a/po/messagingmenu.pot b/po/messagingmenu.pot index 08daf20..ea7d0fd 100644 --- a/po/messagingmenu.pot +++ b/po/messagingmenu.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Messaging Menu Version 4\n" -"Report-Msgid-Bugs-To: https://github.com/screenfreeze/messagingmenu/issues\n" -"POT-Creation-Date: 2013-05-17 16:10+0200\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-11-11 14:49+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,26 +17,30 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: prefs.js:17 -msgid "Notification Color (Hex):" +#: messagingmenu@lauinger-clan.de/extension.js:147 +msgid "Compose New Message" msgstr "" -#: prefs.js:40 -msgid "Email Notification:" +#: messagingmenu@lauinger-clan.de/extension.js:148 +msgid "Contacts" msgstr "" -#: prefs.js:55 -msgid "Chat Notification:" +#: messagingmenu@lauinger-clan.de/extension.js:298 +msgid "Settings" msgstr "" -#: prefs.js:70 -msgid "Micro Blogging Notification:" +#: messagingmenu@lauinger-clan.de/prefs.js:18 +msgid "Notification Color (Hex):" msgstr "" -#: extension.js:63 -msgid "Compose New Message" +#: messagingmenu@lauinger-clan.de/prefs.js:51 +msgid "Email Notification:" msgstr "" -#: extension.js:64 -msgid "Contacts" +#: messagingmenu@lauinger-clan.de/prefs.js:73 +msgid "Chat Notification:" +msgstr "" + +#: messagingmenu@lauinger-clan.de/prefs.js:95 +msgid "Micro Blogging Notification:" msgstr "" diff --git a/po/nl.po b/po/nl.po index 557a17b..c02dc0e 100644 --- a/po/nl.po +++ b/po/nl.po @@ -6,38 +6,43 @@ msgid "" msgstr "" "Project-Id-Version: Messaging Menu Version 4\n" -"Report-Msgid-Bugs-To: https://github.com/screenfreeze/messagingmenu/issues\n" -"POT-Creation-Date: 2013-05-17 16:10+0200\n" -"PO-Revision-Date: 2020-09-06 18:09+0200\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-11-11 14:49+0100\n" +"PO-Revision-Date: 2022-11-11 15:28+0100\n" +"Last-Translator: Christian Lauinger \n" "Language-Team: \n" +"Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.4.1\n" -"Last-Translator: Heimen Stoffels \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"Language: nl\n" +"X-Generator: Poedit 3.2\n" + +#: messagingmenu@lauinger-clan.de/extension.js:147 +msgid "Compose New Message" +msgstr "Bericht opstellen" + +#: messagingmenu@lauinger-clan.de/extension.js:148 +msgid "Contacts" +msgstr "Contactpersonen" + +#: messagingmenu@lauinger-clan.de/extension.js:298 +msgid "Settings" +msgstr "Instellingen" -#: prefs.js:17 +#: messagingmenu@lauinger-clan.de/prefs.js:18 msgid "Notification Color (Hex):" msgstr "Meldingskleur (in hex):" -#: prefs.js:40 +#: messagingmenu@lauinger-clan.de/prefs.js:51 msgid "Email Notification:" msgstr "E-mailmelding:" -#: prefs.js:55 +#: messagingmenu@lauinger-clan.de/prefs.js:73 msgid "Chat Notification:" msgstr "Chatmelding:" -#: prefs.js:70 +#: messagingmenu@lauinger-clan.de/prefs.js:95 msgid "Micro Blogging Notification:" msgstr "Socialemediamelding:" -#: extension.js:63 -msgid "Compose New Message" -msgstr "Bericht opstellen" - -#: extension.js:64 -msgid "Contacts" -msgstr "Contactpersonen" diff --git a/po/pl.po b/po/pl.po index 93d8a60..09c5b6e 100644 --- a/po/pl.po +++ b/po/pl.po @@ -6,39 +6,44 @@ msgid "" msgstr "" "Project-Id-Version: Messaging Menu Version 4\n" -"Report-Msgid-Bugs-To: https://github.com/screenfreeze/messagingmenu/issues\n" -"POT-Creation-Date: 2015-01-26 14:37+0200\n" -"PO-Revision-Date: 2015-01-26 14:40+0100\n" -"Last-Translator: Bartosz Szuster \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-11-11 14:49+0100\n" +"PO-Revision-Date: 2022-11-11 15:28+0100\n" +"Last-Translator: Christian Lauinger \n" "Language-Team: Polish\n" "Language: pl\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==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" -"X-Generator: Poedit 1.5.4\n" +"X-Generator: Poedit 3.2\n" "X-Poedit-SourceCharset: UTF-8\n" -#: prefs.js:17 +#: messagingmenu@lauinger-clan.de/extension.js:147 +msgid "Compose New Message" +msgstr "Napisz nową wiadomość" + +#: messagingmenu@lauinger-clan.de/extension.js:148 +msgid "Contacts" +msgstr "Kontakty" + +#: messagingmenu@lauinger-clan.de/extension.js:298 +msgid "Settings" +msgstr "Ustawienia" + +#: messagingmenu@lauinger-clan.de/prefs.js:18 msgid "Notification Color (Hex):" msgstr "Kolor notyfikacji (Hex):" -#: prefs.js:40 +#: messagingmenu@lauinger-clan.de/prefs.js:51 msgid "Email Notification:" msgstr "Powiadomienia poczty e-mail:" -#: prefs.js:55 +#: messagingmenu@lauinger-clan.de/prefs.js:73 msgid "Chat Notification:" msgstr "Powiadomienia czatu:" -#: prefs.js:70 +#: messagingmenu@lauinger-clan.de/prefs.js:95 msgid "Micro Blogging Notification:" msgstr "Powiadomienia z mikroblogu:" -#: extension.js:63 -msgid "Compose New Message" -msgstr "Napisz nową wiadomość" - -#: extension.js:64 -msgid "Contacts" -msgstr "Kontakty" diff --git a/po/pt_BR.po b/po/pt_BR.po index 8915cd6..b99d1bc 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -6,21 +6,43 @@ msgid "" msgstr "" "Project-Id-Version: Messaging Menu Version 4\n" -"Report-Msgid-Bugs-To: https://github.com/screenfreeze/messagingmenu/issues\n" -"POT-Creation-Date: 2012-11-03 17:36+0100\n" -"PO-Revision-Date: 2013-05-02 19:15+0100\n" -"Last-Translator: Andreas Wilhelm \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-11-11 14:49+0100\n" +"PO-Revision-Date: 2022-11-11 15:31+0100\n" +"Last-Translator: Christian Lauinger \n" "Language-Team: Brazilian Portuguese\n" -"Language: pt-br\n" +"Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.2\n" -#: extension.js:26 +#: messagingmenu@lauinger-clan.de/extension.js:147 msgid "Compose New Message" msgstr "Escrever Nova Mensagem" -#: extension.js:27 +#: messagingmenu@lauinger-clan.de/extension.js:148 msgid "Contacts" msgstr "Contatos" + +#: messagingmenu@lauinger-clan.de/extension.js:298 +msgid "Settings" +msgstr "Definicoes" + +#: messagingmenu@lauinger-clan.de/prefs.js:18 +msgid "Notification Color (Hex):" +msgstr "" + +#: messagingmenu@lauinger-clan.de/prefs.js:51 +msgid "Email Notification:" +msgstr "" + +#: messagingmenu@lauinger-clan.de/prefs.js:73 +msgid "Chat Notification:" +msgstr "" + +#: messagingmenu@lauinger-clan.de/prefs.js:95 +msgid "Micro Blogging Notification:" +msgstr "" + diff --git a/po/ru.po b/po/ru.po index a950a00..f7c1f44 100644 --- a/po/ru.po +++ b/po/ru.po @@ -7,37 +7,43 @@ msgid "" msgstr "" "Project-Id-Version: Messaging Menu Version 4\n" -"Report-Msgid-Bugs-To: https://github.com/screenfreeze/messagingmenu/issues\n" -"POT-Creation-Date: 2012-11-03 17:36+0100\n" -"PO-Revision-Date: 2015-03-17 23:33+0100\n" -"Last-Translator: Stefano Porcelli \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-11-11 14:49+0100\n" +"PO-Revision-Date: 2022-11-11 15:29+0100\n" +"Last-Translator: Christian Lauinger \n" "Language-Team: Russian\n" "Language: ru\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.2\n" -#: prefs.js:17 +#: messagingmenu@lauinger-clan.de/extension.js:147 +msgid "Compose New Message" +msgstr "Создать Новое Сообщение" + +#: messagingmenu@lauinger-clan.de/extension.js:148 +msgid "Contacts" +msgstr "Контакты" + +#: messagingmenu@lauinger-clan.de/extension.js:298 +msgid "Settings" +msgstr "Настройки" + +#: messagingmenu@lauinger-clan.de/prefs.js:18 msgid "Notification Color (Hex):" msgstr "Цвет Уведомления (Гекс):" -#: prefs.js:40 +#: messagingmenu@lauinger-clan.de/prefs.js:51 msgid "Email Notification:" -msgstr "Уведомление по Электронной Почте" +msgstr "Уведомление по Электронной Почте:" -#: prefs.js:55 +#: messagingmenu@lauinger-clan.de/prefs.js:73 msgid "Chat Notification:" -msgstr "Уведомление о Чате" +msgstr "Уведомление о Чате:" -#: prefs.js:70 +#: messagingmenu@lauinger-clan.de/prefs.js:95 msgid "Micro Blogging Notification:" -msgstr "Уведомление из Микроблоггинга" - -#: extension.js:63 -msgid "Compose New Message" -msgstr "Создать Новое Сообщение" +msgstr "Уведомление из Микроблоггинга:" -#: extension.js:64 -msgid "Contacts" -msgstr "Контакты" diff --git a/po/tr.po b/po/tr.po index 979ace4..3b70330 100644 --- a/po/tr.po +++ b/po/tr.po @@ -6,38 +6,43 @@ msgid "" msgstr "" "Project-Id-Version: Messaging Menu Version 4\n" -"Report-Msgid-Bugs-To: https://github.com/screenfreeze/messagingmenu/issues\n" -"POT-Creation-Date: 2013-05-17 16:10+0200\n" -"PO-Revision-Date: 2013-06-12 21:39+0300\n" -"Last-Translator: Osman Karagöz \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-11-11 14:49+0100\n" +"PO-Revision-Date: 2022-11-11 15:29+0100\n" +"Last-Translator: Christian Lauinger \n" "Language-Team: Turkish <>\n" "Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Gtranslator 2.91.6\n" +"X-Generator: Poedit 3.2\n" -#: prefs.js:17 +#: messagingmenu@lauinger-clan.de/extension.js:147 +msgid "Compose New Message" +msgstr "Yeni İleti Oluştur" + +#: messagingmenu@lauinger-clan.de/extension.js:148 +msgid "Contacts" +msgstr "Kişiler" + +#: messagingmenu@lauinger-clan.de/extension.js:298 +msgid "Settings" +msgstr "Ayarlar" + +#: messagingmenu@lauinger-clan.de/prefs.js:18 msgid "Notification Color (Hex):" msgstr "Bildirim Rengi (Hex):" -#: prefs.js:40 +#: messagingmenu@lauinger-clan.de/prefs.js:51 msgid "Email Notification:" msgstr "Eposta Bildirimi:" -#: prefs.js:55 +#: messagingmenu@lauinger-clan.de/prefs.js:73 msgid "Chat Notification:" msgstr "Sohbet Bildirimi:" -#: prefs.js:70 +#: messagingmenu@lauinger-clan.de/prefs.js:95 msgid "Micro Blogging Notification:" msgstr "Mikroblog Bildirimi:" -#: extension.js:63 -msgid "Compose New Message" -msgstr "Yeni İleti Oluştur" - -#: extension.js:64 -msgid "Contacts" -msgstr "Kişiler" diff --git a/update-translation-po-files.sh b/update-translation-po-files.sh new file mode 100755 index 0000000..b7f9cc9 --- /dev/null +++ b/update-translation-po-files.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +reffile=messagingmenu.pot + +xgettext --from-code=UTF-8 --output=po/"$reffile" messagingmenu\@lauinger-clan.de/*.js + +cd po + +for pofile in *.po + do + echo "Updateing: $pofile" + msgmerge -U "$pofile" "$reffile" + done +echo "Done." +