-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
53fc559
commit f9dad61
Showing
23 changed files
with
454 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
**/locale/*/ | ||
[email protected]* | ||
[email protected] | ||
[email protected] | ||
gschemas.compiled | ||
messagingmenu\@lauinger-clan.de/.prettierrc | ||
|
||
|
||
.prettierrc | ||
*.mo | ||
*.po~ | ||
.editorconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 [email protected] messagingmenu\@lauinger-clan.de.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 [email protected] [email protected] | ||
gnome-extensions install messagingmenu\@lauinger-clan.de.zip --force | ||
gnome-extensions enable messagingmenu\@lauinger-clan.de |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<interface domain="messagingmenu"> | ||
<object class="AdwPreferencesPage" id="messagingmenu_page"> | ||
<property name="name">messagingmenu_page</property> | ||
<property name="title" translatable="yes">Settings</property> | ||
<property name="icon-name">folder-symbolic</property> | ||
<child> | ||
<object class="AdwPreferencesGroup" id="messagingmenu_group"> | ||
<property name="title" translatable="yes">Settings</property> | ||
<child> | ||
<object class="AdwActionRow" id="messagingmenu_row1"> | ||
<property name="title" translatable="yes">Email Notification:</property> | ||
<property name="activatable-widget">email_setting_switch</property> | ||
<child> | ||
<object class="GtkSwitch" id="email_setting_switch"> | ||
<property name="valign">center</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="AdwActionRow" id="messagingmenu_row2"> | ||
<property name="title" translatable="yes">Chat Notification:</property> | ||
<property name="activatable-widget">chat_setting_switch</property> | ||
<child> | ||
<object class="GtkSwitch" id="chat_setting_switch"> | ||
<property name="valign">center</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="AdwActionRow" id="messagingmenu_row3"> | ||
<property name="title" translatable="yes">Micro Blogging Notification:</property> | ||
<property name="activatable-widget">mblogging_setting_switch</property> | ||
<child> | ||
<object class="GtkSwitch" id="mblogging_setting_switch"> | ||
<property name="valign">center</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="AdwActionRow" id="messagingmenu_row4"> | ||
<property name="title" translatable="yes">Notification Color (Hex):</property> | ||
<property name="activatable-widget">color_setting_string</property> | ||
<child> | ||
<object class="GtkEntry" id="color_setting_string"> | ||
<property name="valign">center</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
</object> | ||
</interface> |
34 changes: 12 additions & 22 deletions
34
[email protected]/schemas/org.gnome.shell.extensions.messagingmenu.gschema.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<schemalist gettext-domain="gnome-shell-extensions"> | ||
<schema path="/org/gnome/shell/extensions/messagingmenu/" id="org.gnome.shell.extensions.messagingmenu"> | ||
<schemalist> | ||
<schema id="org.gnome.shell.extensions.messagingmenu" | ||
path="/org/gnome/shell/extensions/messagingmenu/"> | ||
<key name="notify-email" type="b"> | ||
<default>true</default> | ||
<default>true</default> | ||
<summary>Alert on new Email</summary> | ||
<description> | ||
Icon blinks on new Email | ||
</description> | ||
<description>Icon blinks on new Email</description> | ||
</key> | ||
<key name="notify-chat" type="b"> | ||
<default>true</default> | ||
<default>true</default> | ||
<summary>Alert on new Chat</summary> | ||
<description> | ||
Icon blinks on new Chat | ||
</description> | ||
<description>Icon blinks on new Chat</description> | ||
</key> | ||
<key name="notify-mblogging" type="b"> | ||
<default>false</default> | ||
<default>false</default> | ||
<summary>Alert on new News</summary> | ||
<description> | ||
Icon blinks on new Blogposts | ||
</description> | ||
<description>Icon blinks on new Blogposts</description> | ||
</key> | ||
<key name="notify-other" type="b"> | ||
<default>false</default> | ||
<default>false</default> | ||
<summary>Alert on new Messages from other Apps</summary> | ||
<description> | ||
Icon blinks on new Messages | ||
</description> | ||
<description>Icon blinks on new Messages</description> | ||
</key> | ||
<key name="color" type="s"> | ||
<default>'#ff0000'</default> | ||
<summary>Notification Color</summary> | ||
<description> | ||
The color used to paint the Icon | ||
</description> | ||
<description>The color used to paint the Icon</description> | ||
</key> | ||
</schema> | ||
</schemalist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]>, 2012. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, 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 <[email protected]>\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 <[email protected]>\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 | ||
#: [email protected]/extension.js:147 | ||
msgid "Compose New Message" | ||
msgstr "Skryf Nuwe Boodskap" | ||
|
||
#: [email protected]/extension.js:148 | ||
msgid "Contacts" | ||
msgstr "Kontakte" | ||
|
||
#: [email protected]/extension.js:298 | ||
msgid "Settings" | ||
msgstr "Instellings" | ||
|
||
#: [email protected]/prefs.js:18 | ||
msgid "Notification Color (Hex):" | ||
msgstr "Kennisgewing Kleur (Hex):" | ||
|
||
#: prefs.js:40 | ||
#: [email protected]/prefs.js:51 | ||
msgid "Email Notification:" | ||
msgstr "E-pos Kennisgewing:" | ||
|
||
#: prefs.js:55 | ||
#: [email protected]/prefs.js:73 | ||
msgid "Chat Notification:" | ||
msgstr "Chat Kennisgewing:" | ||
|
||
#: prefs.js:70 | ||
#: [email protected]/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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <[email protected]>\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 <[email protected]>\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 | ||
#: [email protected]/extension.js:147 | ||
msgid "Compose New Message" | ||
msgstr "Vytvořit novou zprávu" | ||
|
||
#: [email protected]/extension.js:148 | ||
msgid "Contacts" | ||
msgstr "Kontakty" | ||
|
||
#: [email protected]/extension.js:298 | ||
msgid "Settings" | ||
msgstr "Nastavení" | ||
|
||
#: [email protected]/prefs.js:18 | ||
msgid "Notification Color (Hex):" | ||
msgstr "Barva upozornění (Hex)" | ||
|
||
#: prefs.js:40 | ||
#: [email protected]/prefs.js:51 | ||
msgid "Email Notification:" | ||
msgstr "Upozornění na email" | ||
msgstr "Upozornění na email:" | ||
|
||
#: prefs.js:55 | ||
#: [email protected]/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 | ||
#: [email protected]/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" |
Oops, something went wrong.