From 6a60f296c051ded23665071a508bc26aecb28592 Mon Sep 17 00:00:00 2001 From: Alf Gaida Date: Wed, 2 Sep 2015 21:40:04 +0200 Subject: [PATCH] Adding upstream version 0.9.0+20150830. --- config/advancedsettings.cpp | 2 +- config/advancedsettings.h | 4 +- config/basicsettings.cpp | 6 +- config/basicsettings.h | 4 +- config/main.cpp | 2 +- config/mainwindow.cpp | 2 +- config/mainwindow.h | 2 +- .../lxqt-config-notificationd_cs.desktop | 6 +- .../lxqt-config-notificationd_cs_CZ.desktop | 6 +- .../lxqt-config-notificationd_da.desktop | 2 +- .../lxqt-config-notificationd_da_DK.desktop | 6 +- .../lxqt-config-notificationd_de.desktop | 2 +- .../lxqt-config-notificationd_el.desktop | 4 + .../lxqt-config-notificationd_el.ts | 105 ++++++++++++++++++ .../lxqt-config-notificationd_el_GR.desktop | 4 - .../lxqt-config-notificationd_eo.desktop | 6 +- .../lxqt-config-notificationd_es.desktop | 4 +- .../lxqt-config-notificationd_es_VE.desktop | 6 +- .../lxqt-config-notificationd_eu.desktop | 6 +- .../lxqt-config-notificationd_fi.desktop | 6 +- .../lxqt-config-notificationd_hu.desktop | 2 +- .../lxqt-config-notificationd_id_ID.desktop | 2 +- .../lxqt-config-notificationd_it.desktop | 2 +- .../lxqt-config-notificationd_ja.desktop | 6 +- .../lxqt-config-notificationd_lt.desktop | 2 +- .../lxqt-config-notificationd_nl.desktop | 2 +- .../lxqt-config-notificationd_pl.desktop | 2 +- .../lxqt-config-notificationd_pl_PL.desktop | 6 +- .../lxqt-config-notificationd_pt_BR.desktop | 2 +- .../lxqt-config-notificationd_ro_RO.desktop | 2 +- .../lxqt-config-notificationd_ru.desktop | 2 +- .../lxqt-config-notificationd_ru_RU.desktop | 2 +- .../lxqt-config-notificationd_sl.desktop | 2 +- .../lxqt-config-notificationd_th_TH.desktop | 6 +- .../lxqt-config-notificationd_tr.desktop | 2 +- .../lxqt-config-notificationd_uk.desktop | 6 +- .../lxqt-config-notificationd_zh_CN.desktop | 4 +- .../lxqt-config-notificationd_zh_TW.desktop | 6 +- src/main.cpp | 2 +- src/notifyd.cpp | 2 +- src/notifyd.h | 2 +- src/translations/lxqt-notificationd_el.ts | 15 +++ test/mainwindow.cpp | 10 +- test/mainwindow.h | 4 +- 44 files changed, 199 insertions(+), 79 deletions(-) create mode 100644 config/translations/lxqt-config-notificationd_el.desktop create mode 100644 config/translations/lxqt-config-notificationd_el.ts delete mode 100644 config/translations/lxqt-config-notificationd_el_GR.desktop create mode 100644 src/translations/lxqt-notificationd_el.ts diff --git a/config/advancedsettings.cpp b/config/advancedsettings.cpp index beb0a74..c5816f3 100644 --- a/config/advancedsettings.cpp +++ b/config/advancedsettings.cpp @@ -31,7 +31,7 @@ #include "mainwindow.h" -AdvancedSettings::AdvancedSettings(LxQt::Settings* settings, QWidget *parent): +AdvancedSettings::AdvancedSettings(LXQt::Settings* settings, QWidget *parent): QWidget(parent), mSettings(settings) { diff --git a/config/advancedsettings.h b/config/advancedsettings.h index 5798b84..05d6d71 100644 --- a/config/advancedsettings.h +++ b/config/advancedsettings.h @@ -37,14 +37,14 @@ class AdvancedSettings : public QWidget, public Ui::AdvancedSettings Q_OBJECT public: - explicit AdvancedSettings(LxQt::Settings* settings, QWidget* parent = 0); + explicit AdvancedSettings(LXQt::Settings* settings, QWidget* parent = 0); ~AdvancedSettings(); public slots: void restoreSettings(); private: - LxQt::Settings* mSettings; + LXQt::Settings* mSettings; private slots: void save(); diff --git a/config/basicsettings.cpp b/config/basicsettings.cpp index 9524f9f..162fd36 100644 --- a/config/basicsettings.cpp +++ b/config/basicsettings.cpp @@ -31,7 +31,7 @@ #include "mainwindow.h" -BasicSettings::BasicSettings(LxQt::Settings* settings, QWidget *parent) : +BasicSettings::BasicSettings(LXQt::Settings* settings, QWidget *parent) : QWidget(parent), mSettings(settings) { @@ -49,7 +49,7 @@ BasicSettings::BasicSettings(LxQt::Settings* settings, QWidget *parent) : connect(bottomCenterRB, SIGNAL(clicked()), this, SLOT(updateNotification())); connect(bottomRightRB, SIGNAL(clicked()), this, SLOT(updateNotification())); - LxQt::Notification serverTest; + LXQt::Notification serverTest; QString serverName = serverTest.serverInfo().name; if (serverName != "lxqt-notificationd") { @@ -114,7 +114,7 @@ void BasicSettings::updateNotification() align = QStringLiteral("bottom-right"); mSettings->setValue(QStringLiteral("placement"), align); - LxQt::Notification::notify(tr("Notification demo ") + 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")); } diff --git a/config/basicsettings.h b/config/basicsettings.h index 8344e87..cd0ba77 100644 --- a/config/basicsettings.h +++ b/config/basicsettings.h @@ -37,7 +37,7 @@ class BasicSettings : public QWidget, public Ui::BasicSettings { Q_OBJECT public: - explicit BasicSettings(LxQt::Settings* settings, QWidget* parent = 0); + explicit BasicSettings(LXQt::Settings* settings, QWidget* parent = 0); ~BasicSettings(); public slots: @@ -47,7 +47,7 @@ private slots: void updateNotification(); private: - LxQt::Settings* mSettings; + LXQt::Settings* mSettings; }; #endif // BASICSETTINGS_H diff --git a/config/main.cpp b/config/main.cpp index ce26b78..06c7550 100644 --- a/config/main.cpp +++ b/config/main.cpp @@ -35,7 +35,7 @@ int main(int argc, char** argv) { - LxQt::SingleApplication a(argc, argv); + LXQt::SingleApplication a(argc, argv); MainWindow w; w.setWindowIcon(QIcon::fromTheme("preferences-desktop-theme")); diff --git a/config/mainwindow.cpp b/config/mainwindow.cpp index 53cc49a..316aa23 100644 --- a/config/mainwindow.cpp +++ b/config/mainwindow.cpp @@ -37,7 +37,7 @@ MainWindow::MainWindow(QWidget *parent) : - LxQt::ConfigDialog(tr("Desktop Notifications"), new LxQt::Settings("notifications"), parent) + LXQt::ConfigDialog(tr("Desktop Notifications"), new LXQt::Settings("notifications"), parent) { BasicSettings* basic = new BasicSettings(mSettings, this); addPage(basic, tr("Basic Settings"), "preferences-desktop-notification"); diff --git a/config/mainwindow.h b/config/mainwindow.h index e38c643..d189729 100644 --- a/config/mainwindow.h +++ b/config/mainwindow.h @@ -31,7 +31,7 @@ #include -class MainWindow : public LxQt::ConfigDialog +class MainWindow : public LXQt::ConfigDialog { Q_OBJECT diff --git a/config/translations/lxqt-config-notificationd_cs.desktop b/config/translations/lxqt-config-notificationd_cs.desktop index d775148..15dd687 100644 --- a/config/translations/lxqt-config-notificationd_cs.desktop +++ b/config/translations/lxqt-config-notificationd_cs.desktop @@ -1,4 +1,4 @@ # Translations -GenericName[cs]=Nastavení oznamování v LxQtu -Name[cs]=Nastavení oznamování v LxQtu -Comment[cs]=Nastavit oznamování na ploše LxQt +GenericName[cs]=Nastavení oznamování v LXQtu +Name[cs]=Nastavení oznamování v LXQtu +Comment[cs]=Nastavit oznamování na ploše LXQt diff --git a/config/translations/lxqt-config-notificationd_cs_CZ.desktop b/config/translations/lxqt-config-notificationd_cs_CZ.desktop index 3cbddc0..c3a4c9d 100644 --- a/config/translations/lxqt-config-notificationd_cs_CZ.desktop +++ b/config/translations/lxqt-config-notificationd_cs_CZ.desktop @@ -1,4 +1,4 @@ # Translations -GenericName[cs_CZ]=Nastavení oznamování v LxQtu -Name[cs_CZ]=Nastavení oznamování v LxQtu -Comment[cs_CZ]=Nastavit oznamování na ploše LxQt +GenericName[cs_CZ]=Nastavení oznamování v LXQtu +Name[cs_CZ]=Nastavení oznamování v LXQtu +Comment[cs_CZ]=Nastavit oznamování na ploše LXQt diff --git a/config/translations/lxqt-config-notificationd_da.desktop b/config/translations/lxqt-config-notificationd_da.desktop index 43c2a0d..cb4e15e 100644 --- a/config/translations/lxqt-config-notificationd_da.desktop +++ b/config/translations/lxqt-config-notificationd_da.desktop @@ -1,4 +1,4 @@ # Translations GenericName[da]=Notesblok Name[da]=Strømstyring -Comment[da]=Indstil freedesktop meddelelser på LxQt skrivebord +Comment[da]=Indstil freedesktop meddelelser på LXQt skrivebord diff --git a/config/translations/lxqt-config-notificationd_da_DK.desktop b/config/translations/lxqt-config-notificationd_da_DK.desktop index 6aad209..d2aa61c 100644 --- a/config/translations/lxqt-config-notificationd_da_DK.desktop +++ b/config/translations/lxqt-config-notificationd_da_DK.desktop @@ -1,4 +1,4 @@ # Translations -GenericName[da_DK]=LxQt freedesktop Meddelelsesindstillinger -Name[da_DK]=LxQt freedesktop Meddelelsesindstillinger -Comment[da_DK]=Indstil freedesktop meddelelser på LxQt skrivebord +GenericName[da_DK]=LXQt freedesktop Meddelelsesindstillinger +Name[da_DK]=LXQt freedesktop Meddelelsesindstillinger +Comment[da_DK]=Indstil freedesktop meddelelser på LXQt skrivebord diff --git a/config/translations/lxqt-config-notificationd_de.desktop b/config/translations/lxqt-config-notificationd_de.desktop index 0d5df10..b96da31 100644 --- a/config/translations/lxqt-config-notificationd_de.desktop +++ b/config/translations/lxqt-config-notificationd_de.desktop @@ -1,4 +1,4 @@ # Translations Name[de]=Mitteilungen der Arbeitsfläche -GenericName[de]=LxQt Mitteilungseinstellungen +GenericName[de]=LXQt Mitteilungseinstellungen Comment[de]=Konfiguration von Benachrichtigungen \ No newline at end of file diff --git a/config/translations/lxqt-config-notificationd_el.desktop b/config/translations/lxqt-config-notificationd_el.desktop new file mode 100644 index 0000000..e43bf0e --- /dev/null +++ b/config/translations/lxqt-config-notificationd_el.desktop @@ -0,0 +1,4 @@ +# Translations +Name[el]=Ειδοποιήσεις επιφάνειας εργασίας +GenericName[el]=Ρυθμίσεις ειδοποιήσεων LXQt +Comment[el]=Διαμόρφωση των ειδοποιήσεων της επιφάνειας εργασίας LXQt diff --git a/config/translations/lxqt-config-notificationd_el.ts b/config/translations/lxqt-config-notificationd_el.ts new file mode 100644 index 0000000..ca82527 --- /dev/null +++ b/config/translations/lxqt-config-notificationd_el.ts @@ -0,0 +1,105 @@ + + + + + AdvancedSettings + + + Sizes + Μεγέθη + + + + Width: + Πλάτος: + + + + + px + εικ + + + + Spacing: + Απόσταση: + + + + Duration + Διάρκεια + + + + Some notifications set their own on-screen duration. + Μερικές ειδοποιήσεις καθορίζουν τη δική τους διάρκεια εμφάνισης. + + + + Default duration: + Διάρκεια εξ ορισμού: + + + + sec + δευτ + + + + BasicSettings + + + Basic Settings + Βασικές ρυθμίσεις + + + + Position on screen + Θέση στην οθόνη + + + + <b>Warning:</b> No notifications daemon is running. +A fallback will be used. + <b>Προειδοποίηση:</b> Δεν εκτελείται κάποιος δαίμονας ειδοποιήσεων +Θα χρησιμοποιηθεί η ανακατεύθυνση. + + + + <b>Warning:</b> A third-party notifications daemon (%1) is running. +These settings won't have any effect on it! + <b>Προειδοποίηση:</b> Εκτελείται ένας δαίμονας ειδοποιήσεων τρίτων (%1). +Αυτές οι ρυθμίσεις δεν θα έχουν κάποια επίδραση σε αυτόν! + + + + Notification demo + Επίδειξη ειδοποιήσεων + + + + This is a test notification. + All notifications will now appear here on LXQt. + Αυτή είναι μια δοκιμαστική ειδοποίηση. + Όλες οι ειδοποιήσεις στο LXQt θα εμφανίζονται εδώ. + + + + MainWindow + + + Desktop Notifications + Ειδοποιήσεις επιφάνειας εργασίας + + + + Basic Settings + Βασικές ρυθμίσεις + + + + Advanced Settings + Προηγμένες ρυθμίσεις + + + diff --git a/config/translations/lxqt-config-notificationd_el_GR.desktop b/config/translations/lxqt-config-notificationd_el_GR.desktop deleted file mode 100644 index bf19e0d..0000000 --- a/config/translations/lxqt-config-notificationd_el_GR.desktop +++ /dev/null @@ -1,4 +0,0 @@ -# Translations -GenericName[el_GR]=Διαμόρφωση ειδοποιήσεων LxQt -Name[el_GR]=Διαμόρφωση ειδοποιήσεων LxQt -Comment[el_GR]=Διαμόρφωση ειδοποιήσεων στην επιφάνεια εργασίας LxQt diff --git a/config/translations/lxqt-config-notificationd_eo.desktop b/config/translations/lxqt-config-notificationd_eo.desktop index 3bb2b2b..0d806cf 100644 --- a/config/translations/lxqt-config-notificationd_eo.desktop +++ b/config/translations/lxqt-config-notificationd_eo.desktop @@ -1,4 +1,4 @@ # Translations -GenericName[eo]=Agordoj de muso por LxQto -Name[eo]=Agordoj de muso por LxQto -Comment[eo]=Agordi atentigojn de freedesktop en LxQt-labortablo +GenericName[eo]=Agordoj de muso por LXQto +Name[eo]=Agordoj de muso por LXQto +Comment[eo]=Agordi atentigojn de freedesktop en LXQt-labortablo diff --git a/config/translations/lxqt-config-notificationd_es.desktop b/config/translations/lxqt-config-notificationd_es.desktop index 4332546..a1f148c 100644 --- a/config/translations/lxqt-config-notificationd_es.desktop +++ b/config/translations/lxqt-config-notificationd_es.desktop @@ -1,4 +1,4 @@ # Translations GenericName[es]=Administrador de tareas -Name[es]=Configuración de sesiones LxQt -Comment[es]=Configure las notificacionde de freedesktop en el escritorio LxQt +Name[es]=Configuración de sesiones LXQt +Comment[es]=Configure las notificacionde de freedesktop en el escritorio LXQt diff --git a/config/translations/lxqt-config-notificationd_es_VE.desktop b/config/translations/lxqt-config-notificationd_es_VE.desktop index f8dc49b..e3a7711 100644 --- a/config/translations/lxqt-config-notificationd_es_VE.desktop +++ b/config/translations/lxqt-config-notificationd_es_VE.desktop @@ -1,4 +1,4 @@ # Translations -GenericName[es_VE]=Configuracion de notificaciones de Escritorio LxQt -Name[es_VE]=Configuracion de notificaciones de Escritorio LxQt -Comment[es_VE]=Configura las notificacones en el Escritoro LxQt +GenericName[es_VE]=Configuracion de notificaciones de Escritorio LXQt +Name[es_VE]=Configuracion de notificaciones de Escritorio LXQt +Comment[es_VE]=Configura las notificacones en el Escritoro LXQt diff --git a/config/translations/lxqt-config-notificationd_eu.desktop b/config/translations/lxqt-config-notificationd_eu.desktop index 2c31310..128a94c 100644 --- a/config/translations/lxqt-config-notificationd_eu.desktop +++ b/config/translations/lxqt-config-notificationd_eu.desktop @@ -1,4 +1,4 @@ # Translations -GenericName[eu]=LxQt Freedesktop jakinarazpenen konfigurazioa -Name[eu]=LxQt Freedesktop jakinarazpenen konfigurazioa -Comment[eu]=Konfiguratu LxQt mahaigaineko Freedesktop jakinarazpenak +GenericName[eu]=LXQt Freedesktop jakinarazpenen konfigurazioa +Name[eu]=LXQt Freedesktop jakinarazpenen konfigurazioa +Comment[eu]=Konfiguratu LXQt mahaigaineko Freedesktop jakinarazpenak diff --git a/config/translations/lxqt-config-notificationd_fi.desktop b/config/translations/lxqt-config-notificationd_fi.desktop index 7c8ce3f..c2df16c 100644 --- a/config/translations/lxqt-config-notificationd_fi.desktop +++ b/config/translations/lxqt-config-notificationd_fi.desktop @@ -1,4 +1,4 @@ # Translations -GenericName[fi]=LxQt-työpöydän ilmoitusasetukset -Name[fi]=LxQt-työpöydän ilmoitusasetukset -Comment[fi]=Muokkaa LxQt-työpöydän ilmoituksia +GenericName[fi]=LXQt-työpöydän ilmoitusasetukset +Name[fi]=LXQt-työpöydän ilmoitusasetukset +Comment[fi]=Muokkaa LXQt-työpöydän ilmoituksia diff --git a/config/translations/lxqt-config-notificationd_hu.desktop b/config/translations/lxqt-config-notificationd_hu.desktop index 49b8771..c29f436 100644 --- a/config/translations/lxqt-config-notificationd_hu.desktop +++ b/config/translations/lxqt-config-notificationd_hu.desktop @@ -1,4 +1,4 @@ # Translations GenericName[hu]=Az asztali értesítések beállítása -Name[hu]=LxQt értesítések beállítása +Name[hu]=LXQt értesítések beállítása Comment[hu]=A felbukkanó értesítések beállítása diff --git a/config/translations/lxqt-config-notificationd_id_ID.desktop b/config/translations/lxqt-config-notificationd_id_ID.desktop index 1b792c3..8e95feb 100644 --- a/config/translations/lxqt-config-notificationd_id_ID.desktop +++ b/config/translations/lxqt-config-notificationd_id_ID.desktop @@ -1,3 +1,3 @@ # Translations GenericName[id_ID]=Hell World -Name[id_ID]=Konfigurator Desktop LxQt +Name[id_ID]=Konfigurator Desktop LXQt diff --git a/config/translations/lxqt-config-notificationd_it.desktop b/config/translations/lxqt-config-notificationd_it.desktop index 37234f7..c37a37e 100644 --- a/config/translations/lxqt-config-notificationd_it.desktop +++ b/config/translations/lxqt-config-notificationd_it.desktop @@ -1,4 +1,4 @@ # Translations GenericName[it]=Notifiche Name[it]=Configura notifiche -Comment[it]=Configura le notifiche Freedesktop del Desktop LxQt +Comment[it]=Configura le notifiche Freedesktop del Desktop LXQt diff --git a/config/translations/lxqt-config-notificationd_ja.desktop b/config/translations/lxqt-config-notificationd_ja.desktop index d4a3ca0..49a5d43 100644 --- a/config/translations/lxqt-config-notificationd_ja.desktop +++ b/config/translations/lxqt-config-notificationd_ja.desktop @@ -1,4 +1,4 @@ # Translations -GenericName[ja]=LxQtフリーデスクトップ通知の設定 -Name[ja]=LxQtフリーデスクトップ通知の設定 -Comment[ja]=LxQtデスクトップでフリーデスクトップ通知を設定 +GenericName[ja]=LXQtフリーデスクトップ通知の設定 +Name[ja]=LXQtフリーデスクトップ通知の設定 +Comment[ja]=LXQtデスクトップでフリーデスクトップ通知を設定 diff --git a/config/translations/lxqt-config-notificationd_lt.desktop b/config/translations/lxqt-config-notificationd_lt.desktop index e0937c4..d2d072e 100644 --- a/config/translations/lxqt-config-notificationd_lt.desktop +++ b/config/translations/lxqt-config-notificationd_lt.desktop @@ -1,4 +1,4 @@ # Translations GenericName[lt]=Qlipper Name[lt]=Energijos naudojimo nustatymai -Comment[lt]=Konfigūruoti freedesktop pranešimus LxQt darbalaukyje +Comment[lt]=Konfigūruoti freedesktop pranešimus LXQt darbalaukyje diff --git a/config/translations/lxqt-config-notificationd_nl.desktop b/config/translations/lxqt-config-notificationd_nl.desktop index 17c7b55..d8669ce 100644 --- a/config/translations/lxqt-config-notificationd_nl.desktop +++ b/config/translations/lxqt-config-notificationd_nl.desktop @@ -1,4 +1,4 @@ # Translations GenericName[nl]=Notepad Name[nl]=Energiebeheer -Comment[nl]=Configureren freedesktop meldingen in LxQt desktop +Comment[nl]=Configureren freedesktop meldingen in LXQt desktop diff --git a/config/translations/lxqt-config-notificationd_pl.desktop b/config/translations/lxqt-config-notificationd_pl.desktop index 3e48f01..b25a590 100644 --- a/config/translations/lxqt-config-notificationd_pl.desktop +++ b/config/translations/lxqt-config-notificationd_pl.desktop @@ -1,3 +1,3 @@ # Translations GenericName[pl]=Menu -Name[pl]=Panel sterowania LxQt +Name[pl]=Panel sterowania LXQt diff --git a/config/translations/lxqt-config-notificationd_pl_PL.desktop b/config/translations/lxqt-config-notificationd_pl_PL.desktop index d264218..d6a8abe 100644 --- a/config/translations/lxqt-config-notificationd_pl_PL.desktop +++ b/config/translations/lxqt-config-notificationd_pl_PL.desktop @@ -1,4 +1,4 @@ # Translations -GenericName[pl_PL]=Konfiguracja wyglądu LxQt -Name[pl_PL]=Konfiguracja wyglądu LxQt -Comment[pl_PL]=Konfiguruj powiadomienia freedesktop w LxQt +GenericName[pl_PL]=Konfiguracja wyglądu LXQt +Name[pl_PL]=Konfiguracja wyglądu LXQt +Comment[pl_PL]=Konfiguruj powiadomienia freedesktop w LXQt diff --git a/config/translations/lxqt-config-notificationd_pt_BR.desktop b/config/translations/lxqt-config-notificationd_pt_BR.desktop index d1c2da6..0dc5256 100644 --- a/config/translations/lxqt-config-notificationd_pt_BR.desktop +++ b/config/translations/lxqt-config-notificationd_pt_BR.desktop @@ -1,4 +1,4 @@ # Translations GenericName[pt_BR]=Suspender Automaticamente Name[pt_BR]=Gerenciamento de energia -Comment[pt_BR]=Configurar as notificações do freedesktop na área de trabalho do LxQt +Comment[pt_BR]=Configurar as notificações do freedesktop na área de trabalho do LXQt diff --git a/config/translations/lxqt-config-notificationd_ro_RO.desktop b/config/translations/lxqt-config-notificationd_ro_RO.desktop index 83640ad..56eb190 100644 --- a/config/translations/lxqt-config-notificationd_ro_RO.desktop +++ b/config/translations/lxqt-config-notificationd_ro_RO.desktop @@ -1,4 +1,4 @@ # Translations GenericName[ro_RO]=Părăsește Name[ro_RO]=Părăsește sistemul -Comment[ro_RO]=Configurează notificările freedesktop în desktop-ul LxQt +Comment[ro_RO]=Configurează notificările freedesktop în desktop-ul LXQt diff --git a/config/translations/lxqt-config-notificationd_ru.desktop b/config/translations/lxqt-config-notificationd_ru.desktop index ddec0f4..33ca789 100644 --- a/config/translations/lxqt-config-notificationd_ru.desktop +++ b/config/translations/lxqt-config-notificationd_ru.desktop @@ -1,4 +1,4 @@ # Translations -GenericName[ru]=Настройки уведомлений LxQt +GenericName[ru]=Настройки уведомлений LXQt Name[ru]=Уведомления рабочего стола Comment[ru]=Настроить уведомления рабочего стола \ No newline at end of file diff --git a/config/translations/lxqt-config-notificationd_ru_RU.desktop b/config/translations/lxqt-config-notificationd_ru_RU.desktop index 28c075a..bf21405 100644 --- a/config/translations/lxqt-config-notificationd_ru_RU.desktop +++ b/config/translations/lxqt-config-notificationd_ru_RU.desktop @@ -1,4 +1,4 @@ # Translations -GenericName[ru_RU]=Настройки уведомлений LxQt +GenericName[ru_RU]=Настройки уведомлений LXQt Name[ru_RU]=Уведомления рабочего стола Comment[ru_RU]=Настроить уведомления рабочего стола diff --git a/config/translations/lxqt-config-notificationd_sl.desktop b/config/translations/lxqt-config-notificationd_sl.desktop index e5c9c69..170a0cd 100644 --- a/config/translations/lxqt-config-notificationd_sl.desktop +++ b/config/translations/lxqt-config-notificationd_sl.desktop @@ -1,4 +1,4 @@ # Translations GenericName[sl]=Nastavitve obvestil Name[sl]=Nastavitve obvestil na namizju -Comment[sl]=Nastavite obvestila na namizju LxQt +Comment[sl]=Nastavite obvestila na namizju LXQt diff --git a/config/translations/lxqt-config-notificationd_th_TH.desktop b/config/translations/lxqt-config-notificationd_th_TH.desktop index a512fb8..ff870c6 100644 --- a/config/translations/lxqt-config-notificationd_th_TH.desktop +++ b/config/translations/lxqt-config-notificationd_th_TH.desktop @@ -1,4 +1,4 @@ # Translations -GenericName[th_TH]=การตั้งค่าการเตือนต่างๆ ของ LxQt Freedesktop -Name[th_TH]=การตั้งค่าการเตือนต่างๆ ของ LxQt Freedesktop -Comment[th_TH]=ตั้งค่าการเตือนต่างๆ ของ freedesktop ในเดสก์ท็อป LxQt +GenericName[th_TH]=การตั้งค่าการเตือนต่างๆ ของ LXQt Freedesktop +Name[th_TH]=การตั้งค่าการเตือนต่างๆ ของ LXQt Freedesktop +Comment[th_TH]=ตั้งค่าการเตือนต่างๆ ของ freedesktop ในเดสก์ท็อป LXQt diff --git a/config/translations/lxqt-config-notificationd_tr.desktop b/config/translations/lxqt-config-notificationd_tr.desktop index d26c216..aab1b35 100644 --- a/config/translations/lxqt-config-notificationd_tr.desktop +++ b/config/translations/lxqt-config-notificationd_tr.desktop @@ -1,4 +1,4 @@ # Translations GenericName[tr]=Not Defteri Name[tr]=Güç yönetimi -Comment[tr]=LxQt masaüstünde freedesktop bildirimlerini ayarla +Comment[tr]=LXQt masaüstünde freedesktop bildirimlerini ayarla diff --git a/config/translations/lxqt-config-notificationd_uk.desktop b/config/translations/lxqt-config-notificationd_uk.desktop index e641d85..b433fa2 100644 --- a/config/translations/lxqt-config-notificationd_uk.desktop +++ b/config/translations/lxqt-config-notificationd_uk.desktop @@ -1,4 +1,4 @@ # Translations -GenericName[uk]=Налаштування Freedesktop сповіщень LxQt -Name[uk]=Налаштування Freedesktop сповіщень LxQt -Comment[uk]=Налаштувати Freedesktop сповіщення в стільниці LxQt +GenericName[uk]=Налаштування Freedesktop сповіщень LXQt +Name[uk]=Налаштування Freedesktop сповіщень LXQt +Comment[uk]=Налаштувати Freedesktop сповіщення в стільниці LXQt diff --git a/config/translations/lxqt-config-notificationd_zh_CN.desktop b/config/translations/lxqt-config-notificationd_zh_CN.desktop index 92eb7ba..07c92c6 100644 --- a/config/translations/lxqt-config-notificationd_zh_CN.desktop +++ b/config/translations/lxqt-config-notificationd_zh_CN.desktop @@ -1,4 +1,4 @@ # Translations GenericName[zh_CN]=qxkb -Name[zh_CN]=LxQt 通知配置 -Comment[zh_CN]=配置 LxQt 桌面的通知 +Name[zh_CN]=LXQt 通知配置 +Comment[zh_CN]=配置 LXQt 桌面的通知 diff --git a/config/translations/lxqt-config-notificationd_zh_TW.desktop b/config/translations/lxqt-config-notificationd_zh_TW.desktop index 03d460b..ccdcea0 100644 --- a/config/translations/lxqt-config-notificationd_zh_TW.desktop +++ b/config/translations/lxqt-config-notificationd_zh_TW.desktop @@ -1,4 +1,4 @@ # Translations -GenericName[zh_TW]=LxQt通知設定 -Name[zh_TW]=LxQt通知設定 -Comment[zh_TW]=LxQt桌面上的FreeDesktop通知設定 +GenericName[zh_TW]=LXQt通知設定 +Name[zh_TW]=LXQt通知設定 +Comment[zh_TW]=LXQt桌面上的FreeDesktop通知設定 diff --git a/src/main.cpp b/src/main.cpp index fd2248b..642e101 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -65,7 +65,7 @@ */ int main(int argc, char** argv) { - LxQt::Application a(argc, argv); + LXQt::Application a(argc, argv); a.setQuitOnLastWindowClosed(false); diff --git a/src/notifyd.cpp b/src/notifyd.cpp index ef0312c..66a67e8 100644 --- a/src/notifyd.cpp +++ b/src/notifyd.cpp @@ -40,7 +40,7 @@ Notifyd::Notifyd(QObject* parent) mId(0) { m_area = new NotificationArea(); - m_settings = new LxQt::Settings("notifications"); + m_settings = new LXQt::Settings("notifications"); reloadSettings(); connect(this, SIGNAL(notificationAdded(uint,QString,QString,QString,QString,int,QStringList,QVariantMap)), diff --git a/src/notifyd.h b/src/notifyd.h index 353eeb4..6ffeac5 100644 --- a/src/notifyd.h +++ b/src/notifyd.h @@ -129,7 +129,7 @@ private: NotificationArea *m_area; int m_serverTimeout; - LxQt::Settings *m_settings; + LXQt::Settings *m_settings; private slots: void reloadSettings(); diff --git a/src/translations/lxqt-notificationd_el.ts b/src/translations/lxqt-notificationd_el.ts new file mode 100644 index 0000000..2769dd0 --- /dev/null +++ b/src/translations/lxqt-notificationd_el.ts @@ -0,0 +1,15 @@ + + + + + NotificationActionsComboWidget + + Actions: + Ενέργειες: + + + OK + Εντάξει + + + diff --git a/test/mainwindow.cpp b/test/mainwindow.cpp index ac89baf..e29df18 100644 --- a/test/mainwindow.cpp +++ b/test/mainwindow.cpp @@ -33,14 +33,14 @@ MainWindow::MainWindow(QWidget *parent) : { ui->setupUi(this); connect(ui->pushButton, SIGNAL(clicked()), SLOT(createNotification())); - LxQtNotification::notify("1"); - LxQtNotification::notify("2"); - LxQtNotification::notify("3"); + LXQtNotification::notify("1"); + LXQtNotification::notify("2"); + LXQtNotification::notify("3"); } void MainWindow::createNotification() { - LxQtNotification* n = new LxQtNotification("Notification!"); + LXQtNotification* n = new LXQtNotification("Notification!"); nlist.append(n); connect(n, SIGNAL(actionActivated(int)), this, SLOT(clickEvent(int))); n->setActions(QStringList() << "Hi" << "Bye" << "foo" << "bar" << "lorem" << "ipsum", 1); @@ -50,7 +50,7 @@ void MainWindow::createNotification() void MainWindow::clickEvent(int button) { - LxQtNotification* n = qobject_cast(sender()); + LXQtNotification* n = qobject_cast(sender()); if (n) { if (button == 0) diff --git a/test/mainwindow.h b/test/mainwindow.h index 6be53c7..de0bacd 100644 --- a/test/mainwindow.h +++ b/test/mainwindow.h @@ -27,7 +27,7 @@ #include -class LxQtNotification; +class LXQtNotification; namespace Ui { class MainWindow; @@ -47,7 +47,7 @@ public slots: private: Ui::MainWindow* ui; - QList nlist; + QList nlist; }; #endif // MAINWINDOW_H