Cherry-picking upstream version 0.10.96~11-g0a0a1d5.

Added README.md to docs
Alf Gaida 8 years ago
parent f40a39f2d0
commit f965c08407

1
.gitignore vendored

@ -1 +0,0 @@
build

@ -4,7 +4,7 @@ Upstream Authors:
Copyright:
Copyright (c) 2010-2012 Razor team
Copyright (c) 2012-2014 LXQt team
Copyright (c) 2012-2016 LXQt team
License: GPL-2 and LGPL-2.1+
License: LGPL-2.1+
The full text of the licenses can be found in the 'COPYING' file.

@ -21,6 +21,16 @@ lxqt_translate_ts(NOTIFICATIONS_CONF_QM
${NOTIFICATIONS_CONF_SRC}
${NOTIFICATIONS_CONF_UI}
INSTALL_DIR "${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}"
PULL_TRANSLATIONS
${PULL_TRANSLATIONS}
CLEAN_TRANSLATIONS
${CLEAN_TRANSLATIONS}
TRANSLATIONS_REPO
${TRANSLATIONS_REPO}
TRANSLATIONS_REFSPEC
${TRANSLATIONS_REFSPEC}
REPO_SUBDIR
"lxqt-notificationd/${PROJECT_NAME}"
)
lxqt_app_translation_loader(QM_LOADER ${PROJECT_NAME})

@ -116,5 +116,5 @@ void BasicSettings::updateNotification()
mSettings->setValue(QStringLiteral("placement"), align);
LXQt::Notification::notify(tr("Notification demo ") + align,
tr("This is a test notification.\n All notifications will now appear here on LXQt."),
QStringLiteral("lxqt-logo.png"));
QStringLiteral("lxqt"));
}

@ -1,102 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1">
<context>
<name>AdvancedSettings</name>
<message>
<location filename="../advancedsettings.ui" line="17"/>
<source>Sizes</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="25"/>
<source>Width:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="32"/>
<location filename="../advancedsettings.ui" line="56"/>
<source> px</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="49"/>
<source>Spacing:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="68"/>
<source>Duration</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="80"/>
<source>Some notifications set their own on-screen duration.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="92"/>
<source>Default duration:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="99"/>
<source> sec</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>BasicSettings</name>
<message>
<location filename="../basicsettings.ui" line="23"/>
<source>Basic Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../basicsettings.ui" line="30"/>
<source>Position on screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="57"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; No notifications daemon is running.
A fallback will be used.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="60"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; A third-party notifications daemon (%1) is running.
These settings won&apos;t have any effect on it!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="117"/>
<source>Notification demo </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="118"/>
<source>This is a test notification.
All notifications will now appear here on LXQt.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Desktop Notifications</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="43"/>
<source>Basic Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="47"/>
<source>Advanced Settings</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

@ -1,105 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="de">
<context>
<name>AdvancedSettings</name>
<message>
<location filename="../advancedsettings.ui" line="17"/>
<source>Sizes</source>
<translation>Größen</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="25"/>
<source>Width:</source>
<translation>Breite:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="32"/>
<location filename="../advancedsettings.ui" line="56"/>
<source> px</source>
<translation> px</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="49"/>
<source>Spacing:</source>
<translation>Abstand:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="68"/>
<source>Duration</source>
<translation>Dauer</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="80"/>
<source>Some notifications set their own on-screen duration.</source>
<translation>Einige Benachrichtigungen setzen ihre eigene Anzeigedauer.</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="92"/>
<source>Default duration:</source>
<translation>Standarddauer:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="99"/>
<source> sec</source>
<translation> s</translation>
</message>
</context>
<context>
<name>BasicSettings</name>
<message>
<location filename="../basicsettings.ui" line="23"/>
<source>Basic Settings</source>
<translation>Grundeinstellungen</translation>
</message>
<message>
<location filename="../basicsettings.ui" line="30"/>
<source>Position on screen</source>
<translation>Position auf dem Bildschirm</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="57"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; No notifications daemon is running.
A fallback will be used.</source>
<translation>&lt;b&gt;Warnung:&lt;/b&gt; Es läuft kein Benachrichtigungsdaemon.
Ein Ersatz wird verwendet.</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="60"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; A third-party notifications daemon (%1) is running.
These settings won&apos;t have any effect on it!</source>
<translation>&lt;b&gt;Warnung:&lt;/b&gt; Ein anderer Benachrichtigungsdaemon (%1) läuft.
Diese Einstellungen wirken sich auf ihn nicht aus!</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="117"/>
<source>Notification demo </source>
<translation>Testbenachrichtigung </translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="118"/>
<source>This is a test notification.
All notifications will now appear here on LXQt.</source>
<translation>Dies ist eine Testbenachrichtigung.
Alle Benachrichtigungen erscheinen jetzt hier auf LXQt.</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Desktop Notifications</source>
<translation>Arbeitsflächenbenachrichtigungen</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="43"/>
<source>Basic Settings</source>
<translation>Grundeinstellungen</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="47"/>
<source>Advanced Settings</source>
<translation>Erweiterte Einstellungen</translation>
</message>
</context>
</TS>

@ -1,105 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="el">
<context>
<name>AdvancedSettings</name>
<message>
<location filename="../advancedsettings.ui" line="17"/>
<source>Sizes</source>
<translation>Μεγέθη</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="25"/>
<source>Width:</source>
<translation>Πλάτος:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="32"/>
<location filename="../advancedsettings.ui" line="56"/>
<source> px</source>
<translation> εικ</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="49"/>
<source>Spacing:</source>
<translation>Απόσταση:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="68"/>
<source>Duration</source>
<translation>Διάρκεια</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="80"/>
<source>Some notifications set their own on-screen duration.</source>
<translation>Μερικές ειδοποιήσεις καθορίζουν τη δική τους διάρκεια εμφάνισης.</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="92"/>
<source>Default duration:</source>
<translation>Διάρκεια εξ ορισμού:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="99"/>
<source> sec</source>
<translation> δευτ</translation>
</message>
</context>
<context>
<name>BasicSettings</name>
<message>
<location filename="../basicsettings.ui" line="23"/>
<source>Basic Settings</source>
<translation>Βασικές ρυθμίσεις</translation>
</message>
<message>
<location filename="../basicsettings.ui" line="30"/>
<source>Position on screen</source>
<translation>Θέση στην οθόνη</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="57"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; No notifications daemon is running.
A fallback will be used.</source>
<translation>&lt;b&gt;Προειδοποίηση:&lt;/b&gt; Δεν εκτελείται κάποιος δαίμονας ειδοποιήσεων
Θα χρησιμοποιηθεί η ανακατεύθυνση.</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="60"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; A third-party notifications daemon (%1) is running.
These settings won&apos;t have any effect on it!</source>
<translation>&lt;b&gt;Προειδοποίηση:&lt;/b&gt; Εκτελείται ένας δαίμονας ειδοποιήσεων τρίτων (%1).
Αυτές οι ρυθμίσεις δεν θα έχουν κάποια επίδραση σε αυτόν!</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="117"/>
<source>Notification demo </source>
<translation>Επίδειξη ειδοποιήσεων </translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="118"/>
<source>This is a test notification.
All notifications will now appear here on LXQt.</source>
<translation>Αυτή είναι μια δοκιμαστική ειδοποίηση.
Όλες οι ειδοποιήσεις στο LXQt θα εμφανίζονται εδώ.</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Desktop Notifications</source>
<translation>Ειδοποιήσεις επιφάνειας εργασίας</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="43"/>
<source>Basic Settings</source>
<translation>Βασικές ρυθμίσεις</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="47"/>
<source>Advanced Settings</source>
<translation>Προηγμένες ρυθμίσεις</translation>
</message>
</context>
</TS>

@ -1,150 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="hr_HR">
<context>
<name>AdvancedSettings</name>
<message>
<source>Menu Configuration</source>
<translation type="obsolete">Konfiguracija izbornika</translation>
</message>
<message>
<source>Notification Duration</source>
<translation type="obsolete">Trajanje obavijesti</translation>
</message>
<message>
<source>For some the notification&apos;s expiration time is dependent on the notification server&apos;s settings.</source>
<translation type="obsolete">Za neke obavijesti&apos;s vrijeme istjecanja ovisi o postavkama poslužitelja&apos;s obavijesti</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="25"/>
<source>Width:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="49"/>
<source>Spacing:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="68"/>
<source>Duration</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="80"/>
<source>Some notifications set their own on-screen duration.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="92"/>
<source>Default duration:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="99"/>
<source> sec</source>
<translation type="unfinished">sek</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="17"/>
<source>Sizes</source>
<translation type="unfinished">Veličine</translation>
</message>
<message>
<source>Notification Spacing:</source>
<translation type="obsolete">Razmak obavijesti</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="32"/>
<location filename="../advancedsettings.ui" line="56"/>
<source> px</source>
<translation type="unfinished"> px</translation>
</message>
<message>
<source>Notification Width:</source>
<translation type="obsolete">Širina obavijesti</translation>
</message>
</context>
<context>
<name>BasicSettings</name>
<message>
<location filename="../basicsettings.ui" line="23"/>
<source>Basic Settings</source>
<translation type="unfinished">Osnovne postavke</translation>
</message>
<message>
<location filename="../basicsettings.ui" line="30"/>
<source>Position on screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Display Notifications</source>
<translation type="obsolete">Prikaži obavijesti</translation>
</message>
<message>
<source>Top/Left</source>
<translation type="obsolete">Gore/lijevo</translation>
</message>
<message>
<source>Top/Right</source>
<translation type="obsolete">Gore/desno</translation>
</message>
<message>
<source>Bottom/Left</source>
<translation type="obsolete">Dolje/lijevo</translation>
</message>
<message>
<source>Bottom/Right</source>
<translation type="obsolete">Dolje/desno</translation>
</message>
<message>
<source>Test Notification</source>
<translation type="obsolete">Isprobaj obavijesti</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="57"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; No notifications daemon is running.
A fallback will be used.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="60"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; A third-party notifications daemon (%1) is running.
These settings won&apos;t have any effect on it!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="117"/>
<source>Notification demo </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="118"/>
<source>This is a test notification.
All notifications will now appear here on LXQt.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Notification Summary</source>
<translation type="obsolete">Sažetak obavijesti</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Desktop Notifications</source>
<translation type="unfinished">Obavijesti radne površine</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="43"/>
<source>Basic Settings</source>
<translation type="unfinished">Osnovne postavke</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="47"/>
<source>Advanced Settings</source>
<translation type="unfinished">Napredne postavke</translation>
</message>
</context>
</TS>

@ -1,130 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="hu_HU">
<context>
<name>AdvancedSettings</name>
<message>
<location filename="../advancedsettings.ui" line="17"/>
<source>Sizes</source>
<translation>Méret</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="25"/>
<source>Width:</source>
<translation>Szélesség:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="32"/>
<location filename="../advancedsettings.ui" line="56"/>
<source> px</source>
<translation> pixel</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="49"/>
<source>Spacing:</source>
<translation>Térköz:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="68"/>
<source>Duration</source>
<translation>Tartam</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="80"/>
<source>Some notifications set their own on-screen duration.</source>
<translation>Egyes értesítések megjelenési ideje</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="92"/>
<source>Default duration:</source>
<translation>Alapértelmezett tartam:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="99"/>
<source> sec</source>
<translation> mp</translation>
</message>
</context>
<context>
<name>BasicSettings</name>
<message>
<location filename="../basicsettings.ui" line="23"/>
<source>Basic Settings</source>
<translation>Alapbeállítások</translation>
</message>
<message>
<location filename="../basicsettings.ui" line="30"/>
<source>Position on screen</source>
<translation>Hely</translation>
</message>
<message>
<source>Top/Left</source>
<translation type="vanished">Balra fenn</translation>
</message>
<message>
<source>Top/Right</source>
<translation type="vanished">Jobbra fenn</translation>
</message>
<message>
<source>Bottom/Left</source>
<translation type="vanished">Balra lenn</translation>
</message>
<message>
<source>Bottom/Right</source>
<translation type="vanished">Jobbra lenn</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="57"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; No notifications daemon is running.
A fallback will be used.</source>
<translation>&lt;b&gt;Figyelem:&lt;/b&gt; Értesítő démon nem fut.
A vésztartalék használatos.</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="60"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; A third-party notifications daemon (%1) is running.
These settings won&apos;t have any effect on it!</source>
<translation>&lt;b&gt;Figyelem:&lt;/b&gt; A (%1) démont már valaki futtatja.
Ezek a beállítások arra már hatástalanok!</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="117"/>
<source>Notification demo </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="118"/>
<source>This is a test notification.
All notifications will now appear here on LXQt.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Notification demo</source>
<translation type="vanished">Értesítési bemutató</translation>
</message>
<message>
<source>This is a test notification.
All notifications will now appear here on LXQt.</source>
<translation type="vanished">Az értesítés tesztje
Minden értesítést megjelenít az LXQt.</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Desktop Notifications</source>
<translation>Asztali értesítések</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="43"/>
<source>Basic Settings</source>
<translation>Alapbeállítások</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="47"/>
<source>Advanced Settings</source>
<translation>Haladó beállítások</translation>
</message>
</context>
</TS>

@ -1,166 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="it">
<context>
<name>AdvancedSettings</name>
<message>
<source>Menu Configuration</source>
<translation type="vanished">Configurazione del menu</translation>
</message>
<message>
<source>Notification Duration</source>
<translation type="vanished">Durata delle notifiche</translation>
</message>
<message>
<source>For some the notification&apos;s expiration time is dependent on the notification server&apos;s settings.</source>
<translation type="vanished">Per alcune notifiche il tempo dipende dalle impostazioni del server delle notifiche.</translation>
</message>
<message>
<source>&quot;Server Decides&quot; Time:</source>
<translation type="vanished">Tempo di decisioni del server:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="25"/>
<source>Width:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="49"/>
<source>Spacing:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="68"/>
<source>Duration</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="80"/>
<source>Some notifications set their own on-screen duration.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="92"/>
<source>Default duration:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="99"/>
<source> sec</source>
<translation> sec</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="17"/>
<source>Sizes</source>
<translation>Dimensione</translation>
</message>
<message>
<source>Notification Spacing:</source>
<translatorcomment>a cosa si riferisce??</translatorcomment>
<translation type="obsolete">Spazing:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="32"/>
<location filename="../advancedsettings.ui" line="56"/>
<source> px</source>
<translation></translation>
</message>
<message>
<source>Notification Width:</source>
<translation type="vanished">Larghezza:</translation>
</message>
</context>
<context>
<name>BasicSettings</name>
<message>
<location filename="../basicsettings.ui" line="23"/>
<source>Basic Settings</source>
<translation>Impostazioni base</translation>
</message>
<message>
<location filename="../basicsettings.ui" line="30"/>
<source>Position on screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Display Notifications</source>
<translation type="vanished">Mostra notifiche</translation>
</message>
<message>
<source>Top/Left</source>
<translation type="vanished">Alto a sinistra</translation>
</message>
<message>
<source>Top/Right</source>
<translation type="vanished">Alto a destra</translation>
</message>
<message>
<source>Bottom/Left</source>
<translation type="vanished">Fondo a sinistra</translation>
</message>
<message>
<source>Bottom/Right</source>
<translation type="vanished">Fondo a destra</translation>
</message>
<message>
<source>Test Notification</source>
<translation type="vanished">Notifica di prova</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="57"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; No notifications daemon is running.
A fallback will be used.</source>
<translation>&lt;b&gt;Attenzione:&lt;/b&gt; Nessun demone di notifiche è in esecuzione.
Sarà usato un sistema di riserva.</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="60"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; A third-party notifications daemon (%1) is running.
These settings won&apos;t have any effect on it!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="117"/>
<source>Notification demo </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="118"/>
<source>This is a test notification.
All notifications will now appear here on LXQt.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;b&gt;Warning:&lt;/b&gt; A third-party notifications daemon (%1) is running.
These settings won&apos;t have an effect on it!</source>
<translation type="vanished">&lt;b&gt;Attenzione:&lt;/b&gt; Un altro demone di notifiche (%1) è in esecuzione.
Queste impostazioni non avranno effetto su quello!</translation>
</message>
<message>
<source>Notification Summary</source>
<translation type="vanished">Sommario della notifica</translation>
</message>
<message>
<source>Notification Body</source>
<translation type="vanished">Corpo della notifica</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Desktop Notifications</source>
<translation type="unfinished">Notificazioni Desktop</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="43"/>
<source>Basic Settings</source>
<translation>Impostazioni base</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="47"/>
<source>Advanced Settings</source>
<translation>Impostazioni avanzate</translation>
</message>
</context>
</TS>

@ -1,165 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pt">
<context>
<name>AdvancedSettings</name>
<message>
<source>Menu Configuration</source>
<translation type="vanished">Configuração do menu</translation>
</message>
<message>
<source>Notification Duration</source>
<translation type="vanished">Duração da notificação</translation>
</message>
<message>
<source>For some the notification&apos;s expiration time is dependent on the notification server&apos;s settings.</source>
<translation type="vanished">Para algumas notificações, o tempo limite depende das definições das notificações do servidor.</translation>
</message>
<message>
<source>&quot;Server Decides&quot; Time:</source>
<translation type="vanished">Tempo para &quot;Decisão do servidor&quot;:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="25"/>
<source>Width:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="49"/>
<source>Spacing:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="68"/>
<source>Duration</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="80"/>
<source>Some notifications set their own on-screen duration.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="92"/>
<source>Default duration:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="99"/>
<source> sec</source>
<translation> seg</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="17"/>
<source>Sizes</source>
<translation>Tamanhos</translation>
</message>
<message>
<source>Notification Spacing:</source>
<translation type="vanished">Espaçamento da notificação:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="32"/>
<location filename="../advancedsettings.ui" line="56"/>
<source> px</source>
<translation> px</translation>
</message>
<message>
<source>Notification Width:</source>
<translation type="vanished">Largura da notificaçao:</translation>
</message>
</context>
<context>
<name>BasicSettings</name>
<message>
<location filename="../basicsettings.ui" line="23"/>
<source>Basic Settings</source>
<translation>Definições básicas</translation>
</message>
<message>
<location filename="../basicsettings.ui" line="30"/>
<source>Position on screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Display Notifications</source>
<translation type="vanished">Mostrar notificações</translation>
</message>
<message>
<source>Top/Left</source>
<translation type="vanished">Cima/Esquerda</translation>
</message>
<message>
<source>Top/Right</source>
<translation type="vanished">Cima/Direita</translation>
</message>
<message>
<source>Bottom/Left</source>
<translation type="vanished">Baixo/Esquerda</translation>
</message>
<message>
<source>Bottom/Right</source>
<translation type="vanished">Baixo/Direita</translation>
</message>
<message>
<source>Test Notification</source>
<translation type="vanished">Testar notificação</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="57"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; No notifications daemon is running.
A fallback will be used.</source>
<translation>&lt;b&gt;Aviso:&lt;/b&gt; o serviço de notificaçoes não está em execução.
Será utilizada uma solução alternativa.</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="60"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; A third-party notifications daemon (%1) is running.
These settings won&apos;t have any effect on it!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="117"/>
<source>Notification demo </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="118"/>
<source>This is a test notification.
All notifications will now appear here on LXQt.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;b&gt;Warning:&lt;/b&gt; A third-party notifications daemon (%1) is running.
These settings won&apos;t have an effect on it!</source>
<translation type="vanished">&lt;b&gt;Aviso:&lt;/b&gt; já está a ser executado um serviço de notificações (%1).
Estas definições não produzirão qualquer efeito!</translation>
</message>
<message>
<source>Notification Summary</source>
<translation type="vanished">Resumo da notificação</translation>
</message>
<message>
<source>Notification Body</source>
<translation type="vanished">Corpo da notificação</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Desktop Notifications</source>
<translation>Notificações do ambiente de trabalho</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="43"/>
<source>Basic Settings</source>
<translation>Definições básicas</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="47"/>
<source>Advanced Settings</source>
<translation>Definições avançadas</translation>
</message>
</context>
</TS>

@ -1,130 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ru">
<context>
<name>AdvancedSettings</name>
<message>
<location filename="../advancedsettings.ui" line="17"/>
<source>Sizes</source>
<translation>Размеры</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="25"/>
<source>Width:</source>
<translation>Ширина:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="32"/>
<location filename="../advancedsettings.ui" line="56"/>
<source> px</source>
<translation> пикс</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="49"/>
<source>Spacing:</source>
<translation>Расстояние:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="68"/>
<source>Duration</source>
<translation>Длительность</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="80"/>
<source>Some notifications set their own on-screen duration.</source>
<translation>Некоторые уведомления сами устанавливают свою длительность на экране.</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="92"/>
<source>Default duration:</source>
<translation>Длительность по умолчанию:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="99"/>
<source> sec</source>
<translation> сек</translation>
</message>
</context>
<context>
<name>BasicSettings</name>
<message>
<location filename="../basicsettings.ui" line="23"/>
<source>Basic Settings</source>
<translation>Основные настройки</translation>
</message>
<message>
<location filename="../basicsettings.ui" line="30"/>
<source>Position on screen</source>
<translation>Расположение на экране</translation>
</message>
<message>
<source>Top/Left</source>
<translation type="vanished">Вверху слева</translation>
</message>
<message>
<source>Top/Right</source>
<translation type="vanished">Вверху справа</translation>
</message>
<message>
<source>Bottom/Left</source>
<translation type="vanished">Внизу слева</translation>
</message>
<message>
<source>Bottom/Right</source>
<translation type="vanished">Внизу справа</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="57"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; No notifications daemon is running.
A fallback will be used.</source>
<translation>&lt;b&gt;Внимание:&lt;/b&gt; Демон уведомлений не запущен.
Будет использован резервный вариант.</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="60"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; A third-party notifications daemon (%1) is running.
These settings won&apos;t have any effect on it!</source>
<translation>&lt;b&gt;Внимание:&lt;/b&gt; Демон уведомлений третьей сторон (%1) запущен.
Эти настройки не будут иметь никакого эффекта для него!</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="117"/>
<source>Notification demo </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="118"/>
<source>This is a test notification.
All notifications will now appear here on LXQt.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Notification demo</source>
<translation type="vanished">Демонстрация уведомления</translation>
</message>
<message>
<source>This is a test notification.
All notifications will now appear here on LXQt.</source>
<translation type="vanished">Это тестовое уведомление.
Все уведомления на LXQt будут появляться здесь.</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Desktop Notifications</source>
<translation>Системные уведомления</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="43"/>
<source>Basic Settings</source>
<translation>Основные настройки</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="47"/>
<source>Advanced Settings</source>
<translation>Расширенные настройки</translation>
</message>
</context>
</TS>

@ -1,4 +0,0 @@
# Translations
GenericName[ru_RU]=Настройки уведомлений LXQt
Name[ru_RU]=Уведомления рабочего стола
Comment[ru_RU]=Настроить уведомления рабочего стола

@ -1,130 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ru_RU">
<context>
<name>AdvancedSettings</name>
<message>
<location filename="../advancedsettings.ui" line="17"/>
<source>Sizes</source>
<translation>Размеры</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="25"/>
<source>Width:</source>
<translation>Ширина:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="32"/>
<location filename="../advancedsettings.ui" line="56"/>
<source> px</source>
<translation> пикс</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="49"/>
<source>Spacing:</source>
<translation>Расстояние:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="68"/>
<source>Duration</source>
<translation>Длительность</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="80"/>
<source>Some notifications set their own on-screen duration.</source>
<translation>Некоторые уведомления сами устанавливают свою длительность на экране.</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="92"/>
<source>Default duration:</source>
<translation>Длительность по умолчанию:</translation>
</message>
<message>
<location filename="../advancedsettings.ui" line="99"/>
<source> sec</source>
<translation> сек</translation>
</message>
</context>
<context>
<name>BasicSettings</name>
<message>
<location filename="../basicsettings.ui" line="23"/>
<source>Basic Settings</source>
<translation>Основные настройки</translation>
</message>
<message>
<location filename="../basicsettings.ui" line="30"/>
<source>Position on screen</source>
<translation>Расположение на экране</translation>
</message>
<message>
<source>Top/Left</source>
<translation type="vanished">Вверху слева</translation>
</message>
<message>
<source>Top/Right</source>
<translation type="vanished">Вверху справа</translation>
</message>
<message>
<source>Bottom/Left</source>
<translation type="vanished">Внизу слева</translation>
</message>
<message>
<source>Bottom/Right</source>
<translation type="vanished">Внизу справа</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="57"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; No notifications daemon is running.
A fallback will be used.</source>
<translation>&lt;b&gt;Внимание:&lt;/b&gt; Демон уведомлений не запущен.
Будет использован резервный вариант.</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="60"/>
<source>&lt;b&gt;Warning:&lt;/b&gt; A third-party notifications daemon (%1) is running.
These settings won&apos;t have any effect on it!</source>
<translation>&lt;b&gt;Внимание:&lt;/b&gt; Демон уведомлений третьей сторон (%1) запущен.
Эти настройки не будут иметь никакого эффекта для него!</translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="117"/>
<source>Notification demo </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../basicsettings.cpp" line="118"/>
<source>This is a test notification.
All notifications will now appear here on LXQt.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Notification demo</source>
<translation type="vanished">Демонстрация уведомления</translation>
</message>
<message>
<source>This is a test notification.
All notifications will now appear here on LXQt.</source>
<translation type="vanished">Это тестовое уведомление.
Все уведомления на LXQt будут появляться здесь.</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="40"/>
<source>Desktop Notifications</source>
<translation>Системные уведомления</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="43"/>
<source>Basic Settings</source>
<translation>Основные настройки</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="47"/>
<source>Advanced Settings</source>
<translation>Расширенные настройки</translation>
</message>
</context>
</TS>

6
debian/changelog vendored

@ -1,5 +1,6 @@
lxqt-notificationd (0.10.0-3) experimental; urgency=medium
lxqt-notificationd (0.10.96~11-g0a0a1d5-1) experimental; urgency=medium
* Cherry-picking upstream version 0.10.96~11-g0a0a1d5.
* Preparing the upcoming release, switch to experimental
* Added build dependency libqt5xdgiconloader-dev, set
minimum versions
@ -11,8 +12,9 @@ lxqt-notificationd (0.10.0-3) experimental; urgency=medium
* Added translation control to rules
* Set CMAKE_BUILD_TYPE=RelWithDebInfo
* Exported LC_ALL=C.UTF-8, make builds reproducible
* Added README.md to docs
-- Alf Gaida <agaida@siduction.org> Sun, 17 Jul 2016 19:07:09 +0200
-- Alf Gaida <agaida@siduction.org> Sun, 17 Jul 2016 19:41:54 +0200
lxqt-notificationd (0.10.0-2) unstable; urgency=medium

1
debian/docs vendored

@ -1 +1,2 @@
AUTHORS
README.md

@ -23,6 +23,16 @@ lxqt_translate_ts(NOTIFICATIONS_QM_FILES
${NOTIFICATIONS_SRC}
${NOTIFICATIONS_UI}
INSTALL_DIR "${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}"
PULL_TRANSLATIONS
${PULL_TRANSLATIONS}
CLEAN_TRANSLATIONS
${CLEAN_TRANSLATIONS}
TRANSLATIONS_REPO
${TRANSLATIONS_REPO}
TRANSLATIONS_REFSPEC
${TRANSLATIONS_REFSPEC}
REPO_SUBDIR
"lxqt-notificationd/${PROJECT_NAME}"
)
lxqt_app_translation_loader(QM_LOADER ${PROJECT_NAME})

@ -88,22 +88,18 @@ void Notification::setValues(const QString &application,
if (!hints["image_data"].isNull())
{
m_pixmap = getPixmapFromHint(hints["image_data"]);
// qDebug() << application << "from image_data" << m_pixmap.isNull();
}
else if (!hints["image_path"].isNull())
{
m_pixmap = getPixmapFromString(hints["image_path"].toString());
// qDebug() << application << "from image_path" << m_pixmap.isNull();
}
else if (!icon.isEmpty())
{
m_pixmap = getPixmapFromString(icon);
// qDebug() << application << "from icon" << icon << m_pixmap.isNull();
}
else if (!hints["icon_data"].isNull())
{
m_pixmap = getPixmapFromHint(hints["icon_data"]);
// qDebug() << application << "from icon_data" << m_pixmap.isNull();
}
// issue #325: Do not display icon if it's not found...
if (m_pixmap.isNull())
@ -161,10 +157,9 @@ void Notification::setValues(const QString &application,
}
// Categories *********************
// TODO/FIXME: Categories - how to handle it?
if (!hints["category"].isNull())
{
qDebug() << "Notification" << application << "category" << hints["category"];
// TODO/FIXME: Categories - how to handle it?
}
// Urgency Levels *********************
@ -172,10 +167,9 @@ void Notification::setValues(const QString &application,
// 0 Low
// 1 Normal
// 2 Critical
// TODO/FIXME: Urgencies - how to handle it?
if (!hints["urgency"].isNull())
{
qDebug() << "Notification" << application << "urgency" << hints["urgency"];
// TODO/FIXME: Urgencies - how to handle it?
}
// Actions

@ -10,6 +10,9 @@
<height>77</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="horizontalSpacing">
<number>9</number>
@ -136,6 +139,9 @@
<property name="text">
<string notr="true">x</string>
</property>
<property name="icon">
<iconset theme="window-close"/>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="en_US">
<context>
<name>NotificationActionsComboWidget</name>
<message>
<location filename="../notificationwidgets.cpp" line="101"/>
<source>Actions:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../notificationwidgets.cpp" line="120"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="de">
<context>
<name>NotificationActionsComboWidget</name>
<message>
<location filename="../notificationwidgets.cpp" line="101"/>
<source>Actions:</source>
<translation>Aktionen:</translation>
</message>
<message>
<location filename="../notificationwidgets.cpp" line="120"/>
<source>OK</source>
<translation>OK</translation>
</message>
</context>
</TS>

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="el">
<context>
<name>NotificationActionsComboWidget</name>
<message>
<location filename="../notificationwidgets.cpp" line="101"/>
<source>Actions:</source>
<translation>Ενέργειες:</translation>
</message>
<message>
<location filename="../notificationwidgets.cpp" line="120"/>
<source>OK</source>
<translation>Εντάξει</translation>
</message>
</context>
</TS>

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="hu">
<context>
<name>NotificationActionsComboWidget</name>
<message>
<location filename="../notificationwidgets.cpp" line="101"/>
<source>Actions:</source>
<translation>Akciók:</translation>
</message>
<message>
<location filename="../notificationwidgets.cpp" line="120"/>
<source>OK</source>
<translation></translation>
</message>
</context>
</TS>

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pt">
<context>
<name>NotificationActionsComboWidget</name>
<message>
<location filename="../notificationwidgets.cpp" line="101"/>
<source>Actions:</source>
<translation>Ações:</translation>
</message>
<message>
<location filename="../notificationwidgets.cpp" line="120"/>
<source>OK</source>
<translation>OK</translation>
</message>
</context>
</TS>

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ru">
<context>
<name>NotificationActionsComboWidget</name>
<message>
<location filename="../notificationwidgets.cpp" line="101"/>
<source>Actions:</source>
<translation>Действия:</translation>
</message>
<message>
<location filename="../notificationwidgets.cpp" line="120"/>
<source>OK</source>
<translation>OK</translation>
</message>
</context>
</TS>

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ru_RU">
<context>
<name>NotificationActionsComboWidget</name>
<message>
<location filename="../notificationwidgets.cpp" line="101"/>
<source>Actions:</source>
<translation>Действия:</translation>
</message>
<message>
<location filename="../notificationwidgets.cpp" line="120"/>
<source>OK</source>
<translation>OK</translation>
</message>
</context>
</TS>
Loading…
Cancel
Save