diff options
author | Andy Wermke <andy@dev.next-step-software.com> | 2013-04-04 16:10:23 +0200 |
---|---|---|
committer | Andy Wermke <andy@dev.next-step-software.com> | 2013-04-04 16:10:23 +0200 |
commit | 92cd7f34b07e86062f2c024039e3309768b48ce6 (patch) | |
tree | 63b9f39280ebcab80742d9f2b4db6a139c1791e1 /plugins/newmail_notifier | |
parent | 029d18f13bcf01aa2f1f08dbdfc6400c081bf7cb (diff) | |
parent | 443b92a7ee19e321b350750240e0fc54ec5be357 (diff) |
Merge branch 'master' of https://github.com/roundcube/roundcubemail
Diffstat (limited to 'plugins/newmail_notifier')
57 files changed, 695 insertions, 463 deletions
diff --git a/plugins/newmail_notifier/localization/ar_SA.inc b/plugins/newmail_notifier/localization/ar_SA.inc index 2273c1d99..9ed56632b 100644 --- a/plugins/newmail_notifier/localization/ar_SA.inc +++ b/plugins/newmail_notifier/localization/ar_SA.inc @@ -2,18 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/ar_SA/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Fifawe <hany.samir@gmail.com> | - +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'إظهار رسالة تنبيه فى المتصفح عند وصول رسالة جديدة'; $labels['desktop'] = 'إظهار رسالة تنبيه على سطح المكتب عند وصول رسالة جديدة'; $labels['sound'] = 'التنبيه الصوتى عند وصول رسالة جديدة'; @@ -24,3 +26,4 @@ $labels['testbody'] = 'هذه رسالة تجربية'; $labels['desktopdisabled'] = 'رسائل التنبيه على سطح المكتب غير مفعلة فى متصفح الانترنت الخاص بك'; $labels['desktopunsupported'] = 'المتصفح الخاص بك لا يدعم رسائل سطح المكتب'; +?> diff --git a/plugins/newmail_notifier/localization/az_AZ.inc b/plugins/newmail_notifier/localization/az_AZ.inc index ad776be03..b1b9114ae 100644 --- a/plugins/newmail_notifier/localization/az_AZ.inc +++ b/plugins/newmail_notifier/localization/az_AZ.inc @@ -2,18 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/az_AZ/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Orkhan Guliyev <proger@box.az> | - +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Yeni məktubun gəlməsi haqda brauzerdə xəbər ver'; $labels['desktop'] = 'Yeni məktubun gəlməsi haqda iş masasında xəbər ver'; $labels['sound'] = 'Yeni məktubun gəlməsi haqda səs siqnalı ver'; @@ -24,3 +26,4 @@ $labels['testbody'] = 'Bu sınaq bildirişidir'; $labels['desktopdisabled'] = 'Sizin brauzerdə iş masasında bildiriş söndürülüb'; $labels['desktopunsupported'] = 'Sizin brauzer iş masasında bildiriş funksiyasını dəstəkləmir'; +?> diff --git a/plugins/newmail_notifier/localization/be_BE.inc b/plugins/newmail_notifier/localization/be_BE.inc index ef5e4b699..4d17d5785 100644 --- a/plugins/newmail_notifier/localization/be_BE.inc +++ b/plugins/newmail_notifier/localization/be_BE.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/be_BE/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Alex Nehaichik <nab@mail.by> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Адлюстроўваць інфармаванні азіральніка ў час атрымання новых павдеамленняў'; $labels['desktop'] = 'Адлюстроўваць інфармаванні працоўнага стала ў час атрымання новых павдеамленняў'; $labels['sound'] = 'Агучваць атрыманне новых паведамленняў'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Гэта тэставае інфармаванне.'; $labels['desktopdisabled'] = 'Інфармаванне працоўнага стала адлкючана ў вашым азіральніку'; $labels['desktopunsupported'] = 'Ваш азіральнік не падтрымлівае інфармаванне працоўнага стала.'; +?> diff --git a/plugins/newmail_notifier/localization/br.inc b/plugins/newmail_notifier/localization/br.inc new file mode 100644 index 000000000..540876eb3 --- /dev/null +++ b/plugins/newmail_notifier/localization/br.inc @@ -0,0 +1,29 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/newmail_notifier/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ +*/ + +$labels['basic'] = 'Display browser notifications on new message'; +$labels['desktop'] = 'Display desktop notifications on new message'; +$labels['sound'] = 'Seniñ ar son pa kemennadenn nevez'; +$labels['test'] = 'Test'; +$labels['title'] = 'Kemennadenn nevez !'; +$labels['body'] = 'You\'ve received a new message.'; +$labels['testbody'] = 'This is a test notification.'; +$labels['desktopdisabled'] = 'Desktop notifications are disabled in your browser.'; +$labels['desktopunsupported'] = 'Your browser does not support desktop notifications.'; + +?> diff --git a/plugins/newmail_notifier/localization/bs_BA.inc b/plugins/newmail_notifier/localization/bs_BA.inc index b9fe2ef0b..267b542fc 100644 --- a/plugins/newmail_notifier/localization/bs_BA.inc +++ b/plugins/newmail_notifier/localization/bs_BA.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/bs_BA/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Kenan Dervišević <kenan3008@gmail.com> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Prikaži obavijesti za nove poruke u pregledniku'; $labels['desktop'] = 'Prikaži obavijesti za nove poruke na desktopu'; $labels['sound'] = 'Zvučni signal za novu poruku'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Ovo je testna obavijest.'; $labels['desktopdisabled'] = 'Desktop obavijesti su onemogućene u vašem pregledniku.'; $labels['desktopunsupported'] = 'Vaš preglednik ne podržava desktop obavijesti.'; +?> diff --git a/plugins/newmail_notifier/localization/ca_ES.inc b/plugins/newmail_notifier/localization/ca_ES.inc index da9078daa..8e0a8b443 100644 --- a/plugins/newmail_notifier/localization/ca_ES.inc +++ b/plugins/newmail_notifier/localization/ca_ES.inc @@ -2,18 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/ca_ES/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Jordi Sanfeliu <jordi@fibranet.cat> | - +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Mostra notificacions del navegador quan hi hagi un missatge nou'; $labels['desktop'] = 'Mostra notificacions de l\'escriptori quan hi hagi un missatge nou'; $labels['sound'] = 'Reprodueix el so quan hi hagi un missatge nou'; @@ -24,3 +26,4 @@ $labels['testbody'] = 'Això és una notificació de prova.'; $labels['desktopdisabled'] = 'Les notificacions d\'escriptori estan deshabilitades al vostre navegador.'; $labels['desktopunsupported'] = 'El vostre navegador no permet les notificacions d\'escriptori.'; +?> diff --git a/plugins/newmail_notifier/localization/cs_CZ.inc b/plugins/newmail_notifier/localization/cs_CZ.inc index df5396f5a..55899aeb0 100644 --- a/plugins/newmail_notifier/localization/cs_CZ.inc +++ b/plugins/newmail_notifier/localization/cs_CZ.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/cs_CZ/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Tomáš Kyzlink <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Zobrazit upozornění v prohlížeči při příchozí zprávě'; $labels['desktop'] = 'Zobrazit upozornění na ploše při příchozí zprávě'; $labels['sound'] = 'Přehrát zvuk při příchozí zprávě'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Toto je zkouška upozornění.'; $labels['desktopdisabled'] = 'Upozornění na ploše jsou ve vašem prohlížeči vypnuté.'; $labels['desktopunsupported'] = 'Váš prohlížeč nepodporuje upozornění na ploše.'; +?> diff --git a/plugins/newmail_notifier/localization/cy_GB.inc b/plugins/newmail_notifier/localization/cy_GB.inc index 35c552c3a..38af4da49 100644 --- a/plugins/newmail_notifier/localization/cy_GB.inc +++ b/plugins/newmail_notifier/localization/cy_GB.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/cy_GB/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Dafydd Tomos <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Dangos hysbysiadau porwr ar neges newydd'; $labels['desktop'] = 'Dangos hysbysiadau penbwrdd ar neges newydd'; $labels['sound'] = 'Chwarae sŵn ar neges newydd'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Hysbysiad prawf yw hwn.'; $labels['desktopdisabled'] = 'Mae hysbysiadau penbwrdd wedi ei analluogi yn eich porwr'; $labels['desktopunsupported'] = 'Nid yw eich porwr yn cefnogi hysbysiadau penbwrdd.'; +?> diff --git a/plugins/newmail_notifier/localization/da_DK.inc b/plugins/newmail_notifier/localization/da_DK.inc index b3ace8d17..f06b80f6b 100644 --- a/plugins/newmail_notifier/localization/da_DK.inc +++ b/plugins/newmail_notifier/localization/da_DK.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/da_DK/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Johannes Hessellund <osos@openeyes.dk> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Vis browserbesked ved ny besked'; $labels['desktop'] = 'Vis skrivebordsbesked ved ny besked'; $labels['sound'] = 'Afspil en lyd ved ny besked'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Dette er en test meddelelse.'; $labels['desktopdisabled'] = 'Skrivebordsbeskeder er deaktiveret i din browser.'; $labels['desktopunsupported'] = 'Din browser understøtter ikke skrivebordsbeskeder.'; +?> diff --git a/plugins/newmail_notifier/localization/de_CH.inc b/plugins/newmail_notifier/localization/de_CH.inc index 4ce6134d1..03a3957c9 100644 --- a/plugins/newmail_notifier/localization/de_CH.inc +++ b/plugins/newmail_notifier/localization/de_CH.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/de_CH/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Thomas <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Anzeige im Browser bei neuer Nachricht'; $labels['desktop'] = 'Desktop-Benachrichtigung bei neuer Nachricht'; $labels['sound'] = 'Akustische Meldung bei neuer Nachricht'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Dies ist eine Testbenachrichtigung'; $labels['desktopdisabled'] = 'Desktop-Benachrichtigungen sind deaktiviert.'; $labels['desktopunsupported'] = 'Ihr Browser unterstützt keine Desktop-Benachrichtigungen.'; +?> diff --git a/plugins/newmail_notifier/localization/de_DE.inc b/plugins/newmail_notifier/localization/de_DE.inc index f49eb4929..3974fe897 100644 --- a/plugins/newmail_notifier/localization/de_DE.inc +++ b/plugins/newmail_notifier/localization/de_DE.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/de_DE/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Thomas <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Benachrichtigung im Browser bei neuer Nachricht'; $labels['desktop'] = 'Desktop-Benachrichtigung bei neuer Nachricht'; $labels['sound'] = 'Akustische Meldung bei neuer Nachricht'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Dies ist eine Testbenachrichtigung'; $labels['desktopdisabled'] = 'Desktop-Benachrichtigungen sind deaktiviert.'; $labels['desktopunsupported'] = 'Ihr Browser unterstützt keine Desktop-Benachrichtigungen.'; +?> diff --git a/plugins/newmail_notifier/localization/en_GB.inc b/plugins/newmail_notifier/localization/en_GB.inc index 10cfdec7b..3ea6c8c74 100644 --- a/plugins/newmail_notifier/localization/en_GB.inc +++ b/plugins/newmail_notifier/localization/en_GB.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/en_GB/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Tony Whitmore <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Display browser notifications on new message'; $labels['desktop'] = 'Display desktop notifications on new message'; $labels['sound'] = 'Play sound on new message'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'This is a test notification.'; $labels['desktopdisabled'] = 'Desktop notifications are disabled in your browser.'; $labels['desktopunsupported'] = 'Your browser does not support desktop notifications.'; +?> diff --git a/plugins/newmail_notifier/localization/en_US.inc b/plugins/newmail_notifier/localization/en_US.inc index 3017c43dc..7c1c5cf3f 100644 --- a/plugins/newmail_notifier/localization/en_US.inc +++ b/plugins/newmail_notifier/localization/en_US.inc @@ -1,5 +1,21 @@ <?php +/* + +-----------------------------------------------------------------------+ + | plugins/newmail_notifier/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ +*/ + $labels['basic'] = 'Display browser notifications on new message'; $labels['desktop'] = 'Display desktop notifications on new message'; $labels['sound'] = 'Play the sound on new message'; diff --git a/plugins/newmail_notifier/localization/eo.inc b/plugins/newmail_notifier/localization/eo.inc index b8058e48a..da3f18e6b 100644 --- a/plugins/newmail_notifier/localization/eo.inc +++ b/plugins/newmail_notifier/localization/eo.inc @@ -2,18 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/eo/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Michael Moroni <michael.moroni@mailoo.org> | - +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Montri atentigojn de retumilo pri nova mesaĝo'; $labels['desktop'] = 'Montri atentigojn de komputilo pri nova mesaĝo'; $labels['sound'] = 'Ludi sonon por nova mesaĝo'; @@ -24,3 +26,4 @@ $labels['testbody'] = 'Tio estas testo pri atentigo.'; $labels['desktopdisabled'] = 'Atentigoj de komputilo estas malŝaltitaj en via retumilo.'; $labels['desktopunsupported'] = 'Via retumilo ne subtenas atentigojn de komputilo.'; +?> diff --git a/plugins/newmail_notifier/localization/es_ES.inc b/plugins/newmail_notifier/localization/es_ES.inc index ff15e0247..410d9356e 100644 --- a/plugins/newmail_notifier/localization/es_ES.inc +++ b/plugins/newmail_notifier/localization/es_ES.inc @@ -2,26 +2,28 @@ /* +-----------------------------------------------------------------------+ - | localization/es_ES/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Emi Bcn <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Mostrar notificaciones del navegador cuando llegue un nuevo mensaje'; $labels['desktop'] = 'Mostrar notificaciones del escritorio cuando llegue un nuevo mensaje'; $labels['sound'] = 'Reproducir sonido cuando llegue un nuevo mensaje'; $labels['test'] = 'Prueba'; -$labels['title'] = 'Mensaje nuevo!'; +$labels['title'] = '¡Mensaje nuevo!'; $labels['body'] = 'Has recibido un mensaje nuevo.'; $labels['testbody'] = 'Esta es una notificación de pruebas.'; $labels['desktopdisabled'] = 'Las notificaciones de escritorio están deshabilitadas en tu navegador.'; $labels['desktopunsupported'] = 'Tu navegador no soporta notificaciones de escritorio.'; +?> diff --git a/plugins/newmail_notifier/localization/et_EE.inc b/plugins/newmail_notifier/localization/et_EE.inc index 9cc5b16d4..30971d79a 100644 --- a/plugins/newmail_notifier/localization/et_EE.inc +++ b/plugins/newmail_notifier/localization/et_EE.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/et_EE/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: yllar <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Uue kirja saabumisel näita lehitsejas teavitust'; $labels['desktop'] = 'Uue kirja saabumisel näita töölaua teavitust'; $labels['sound'] = 'Uue kirja saabumisel mängi heli'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'See on teavituse proov.'; $labels['desktopdisabled'] = 'Töölaua märguanded on su veebilehitsejas keelatud.'; $labels['desktopunsupported'] = 'Sinu veebilehitseja ei toeta töölaua märguandeid.'; +?> diff --git a/plugins/newmail_notifier/localization/fa_IR.inc b/plugins/newmail_notifier/localization/fa_IR.inc index d24fc5a20..71155fe4b 100644 --- a/plugins/newmail_notifier/localization/fa_IR.inc +++ b/plugins/newmail_notifier/localization/fa_IR.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/fa_IR/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Hamid <abbaszadeh.h@gmail.com> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'نمایش تذکرهای مرورگر برای پیغام جدید'; $labels['desktop'] = 'نمایش تذکرهای رومیزی برای پیغام جدید'; $labels['sound'] = 'پخش صدا برای پیغام جدید'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'این یک تذکر آزمایشی است.'; $labels['desktopdisabled'] = 'تذکرهای رومیزی در مرورگر شما غیرفعال شدهاند.'; $labels['desktopunsupported'] = 'مرورگر شما تذکرهای رومیزی را پشتیبانی نمیکند.'; +?> diff --git a/plugins/newmail_notifier/localization/fi_FI.inc b/plugins/newmail_notifier/localization/fi_FI.inc index e4f12d01d..206ae8a1e 100644 --- a/plugins/newmail_notifier/localization/fi_FI.inc +++ b/plugins/newmail_notifier/localization/fi_FI.inc @@ -2,26 +2,28 @@ /* +-----------------------------------------------------------------------+ - | localization/fi_FI/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Jiri Grönroos <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Näytä selainilmoitus uuden viestin saapuessa'; $labels['desktop'] = 'Näytä työpöytäilmoitus uuden viestin saapuessa'; -$labels['sound'] = 'Soita ääni uuden viestin saapuessa'; +$labels['sound'] = 'Toista ääni uuden viestin saapuessa'; $labels['test'] = 'Testaa'; $labels['title'] = 'Uutta sähköpostia!'; -$labels['body'] = 'Sait uuden sähköpostiviestin.'; +$labels['body'] = 'Sait uuden viestin.'; $labels['testbody'] = 'Tämä on testi-ilmoitus.'; -$labels['desktopdisabled'] = 'Työpöytäilmoitukset on poistettu käytöstä selaimesi asetuksista.'; +$labels['desktopdisabled'] = 'Työpöytäilmoitukset on estetty selaimessa.'; $labels['desktopunsupported'] = 'Selaimesi ei tue työpöytäilmoituksia.'; +?> diff --git a/plugins/newmail_notifier/localization/fr_FR.inc b/plugins/newmail_notifier/localization/fr_FR.inc index d1c71d352..3568b13cc 100644 --- a/plugins/newmail_notifier/localization/fr_FR.inc +++ b/plugins/newmail_notifier/localization/fr_FR.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/fr_FR/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Edouard Moreau <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Afficher une notification dans le navigateur à réception d\'un nouveau message'; $labels['desktop'] = 'Afficher une notification sur le bureau à réception d\'un nouveau message'; $labels['sound'] = 'Jouer un son à réception d\'un nouveau message'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Test de notification'; $labels['desktopdisabled'] = 'Les notifications sur le bureau sont désactivées dans votre navigateur'; $labels['desktopunsupported'] = 'Votre navigateur ne supporte pas les notifications sur le bureau'; +?> diff --git a/plugins/newmail_notifier/localization/gl_ES.inc b/plugins/newmail_notifier/localization/gl_ES.inc index 06ff08f36..6c1129b31 100644 --- a/plugins/newmail_notifier/localization/gl_ES.inc +++ b/plugins/newmail_notifier/localization/gl_ES.inc @@ -2,20 +2,28 @@ /* +-----------------------------------------------------------------------+ - | localization/gl_ES/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: ghas <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); +$labels['basic'] = 'Display browser notifications on new message'; +$labels['desktop'] = 'Display desktop notifications on new message'; +$labels['sound'] = 'Play the sound on new message'; $labels['test'] = 'Proba'; $labels['title'] = 'Novo Correo!'; +$labels['body'] = 'You\'ve received a new message.'; +$labels['testbody'] = 'This is a test notification.'; +$labels['desktopdisabled'] = 'Desktop notifications are disabled in your browser.'; $labels['desktopunsupported'] = 'O teu navegador non soporta notificacións de escritorio.'; +?> diff --git a/plugins/newmail_notifier/localization/he_IL.inc b/plugins/newmail_notifier/localization/he_IL.inc index 207b70c61..4241fcfcc 100644 --- a/plugins/newmail_notifier/localization/he_IL.inc +++ b/plugins/newmail_notifier/localization/he_IL.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/he_IL/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Moshe Leibovitch <moish@mln.co.il> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'איתות מהדפדפן על הגעת הודעות חדשות'; $labels['desktop'] = 'איתות משולחן העבודה על הגעת הודעות חדשות'; $labels['sound'] = 'השמעת איתות קולי בעת הגעה של הודעה חדשה'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'זה איתות לנסיון'; $labels['desktopdisabled'] = 'איתותים משולחן העבודה אינם פעילים בדפדפן שלך'; $labels['desktopunsupported'] = 'הדפדפן שלך אינו תומך באיתותים משולחן העבודה'; +?> diff --git a/plugins/newmail_notifier/localization/hr_HR.inc b/plugins/newmail_notifier/localization/hr_HR.inc index ef07a3092..6800c6b04 100644 --- a/plugins/newmail_notifier/localization/hr_HR.inc +++ b/plugins/newmail_notifier/localization/hr_HR.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/hr_HR/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Svebor Prstačić <svebor.prstacic@gmail.com> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Prikaži dojave preglednika kada dođe nova poruka'; $labels['desktop'] = 'Prikaži dojave na desktopu kada dođe nova poruka'; $labels['sound'] = 'Pusti zvuk kada dođe nova poruka'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Ovo je probna dojava.'; $labels['desktopdisabled'] = 'Dojave na desktopu su onemogućene u vašem pregledniku.'; $labels['desktopunsupported'] = 'Vaš preglednik ne podržava dojave na desktopu.'; +?> diff --git a/plugins/newmail_notifier/localization/hu_HU.inc b/plugins/newmail_notifier/localization/hu_HU.inc index 9dd8609e7..46fa78fc9 100644 --- a/plugins/newmail_notifier/localization/hu_HU.inc +++ b/plugins/newmail_notifier/localization/hu_HU.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/hu_HU/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: bela <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Értesítés megjelenítése böngészőben amikor új üzenet érkezik'; $labels['desktop'] = 'Asztali értesítés megjelenítése új üzenet érkezésekor'; $labels['sound'] = 'Hang lejátszása új üzenet érkezésekor'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Ez egy teszt értesítés.'; $labels['desktopdisabled'] = 'Az asztali értesítés ki van kapcsolva a böngésződben.'; $labels['desktopunsupported'] = 'A böngésződ nem támogatja az asztali értesítéseket.'; +?> diff --git a/plugins/newmail_notifier/localization/hy_AM.inc b/plugins/newmail_notifier/localization/hy_AM.inc index 0cbf4122f..a932d0e0e 100644 --- a/plugins/newmail_notifier/localization/hy_AM.inc +++ b/plugins/newmail_notifier/localization/hy_AM.inc @@ -2,18 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/hy_AM/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Vahan Yerkanian <vahan@yerkanian.com> | - +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Ցուցադրել զննարկչի ծանուցում նոր հաղորդագրություն ստանալիս'; $labels['desktop'] = 'Ցուցադրել սեղանադրի ծանուցում նոր հաղորդագրություն ստանալիս'; $labels['sound'] = 'Ձայն հանել նոր հաղորդագրություն ստանալիս'; @@ -24,3 +26,4 @@ $labels['testbody'] = 'Սա փորձնական ծանուցում է'; $labels['desktopdisabled'] = 'Սեղանադրի ծանուցումները Ձեր զննարկչում անջատված են'; $labels['desktopunsupported'] = 'Ձեր զննարկիչը չունի սեղանադրի ծանուցումների հնարավորություն։'; +?> diff --git a/plugins/newmail_notifier/localization/ia.inc b/plugins/newmail_notifier/localization/ia.inc index df92b95c3..32187347f 100644 --- a/plugins/newmail_notifier/localization/ia.inc +++ b/plugins/newmail_notifier/localization/ia.inc @@ -2,20 +2,28 @@ /* +-----------------------------------------------------------------------+ - | localization/ia/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Emilio Sepulveda <emilio@chilemoz.org> | - +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Monstrar notificationes de navigator in cata nove message'; +$labels['desktop'] = 'Display desktop notifications on new message'; +$labels['sound'] = 'Play the sound on new message'; $labels['test'] = 'Prova'; $labels['title'] = 'Nove message!'; +$labels['body'] = 'You\'ve received a new message.'; $labels['testbody'] = 'Iste es un notification de prova.'; +$labels['desktopdisabled'] = 'Desktop notifications are disabled in your browser.'; +$labels['desktopunsupported'] = 'Your browser does not support desktop notifications.'; +?> diff --git a/plugins/newmail_notifier/localization/ia_IA.inc b/plugins/newmail_notifier/localization/ia_IA.inc deleted file mode 100644 index b4cd8c814..000000000 --- a/plugins/newmail_notifier/localization/ia_IA.inc +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | localization/ia_IA/labels.inc | - | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | - | | - +-----------------------------------------------------------------------+ - | Author: Emilio Sepulveda <emilio@chilemoz.org> | - +-----------------------------------------------------------------------+ - @version $Id$ -*/ - -$labels = array(); -$labels['basic'] = 'Monstrar notificationes de navigator in cata nove message'; -$labels['test'] = 'Prova'; -$labels['title'] = 'Nove message!'; -$labels['testbody'] = 'Iste es un notification de prova.'; - diff --git a/plugins/newmail_notifier/localization/id_ID.inc b/plugins/newmail_notifier/localization/id_ID.inc index cea5a6c92..87886a9d5 100644 --- a/plugins/newmail_notifier/localization/id_ID.inc +++ b/plugins/newmail_notifier/localization/id_ID.inc @@ -2,26 +2,28 @@ /* +-----------------------------------------------------------------------+ - | localization/id_ID/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Putu Arya Sabda Wijaya <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); -$labels['basic'] = 'Perlihatkan pemberitahuan pada peramban saat ada pesan baru'; -$labels['desktop'] = 'Perlihatkan pemberitahuan pada desktop saat ada pesan baru'; +$labels['basic'] = 'Tampilkan pemberitahuan pada peramban saat ada pesan baru'; +$labels['desktop'] = 'Tampilkan pemberitahuan pada desktop saat ada pesan baru'; $labels['sound'] = 'Mainkan suara saat ada pesan baru'; $labels['test'] = 'Uji'; $labels['title'] = 'Email Baru!'; $labels['body'] = 'Anda telah menerima sebuah pesan baru.'; -$labels['testbody'] = 'Uji pemberitahuan.'; +$labels['testbody'] = 'Ini adalah percobaan pemberitahuan.'; $labels['desktopdisabled'] = 'Pemberitahuan di desktop dimatikan pada peramban Anda.'; $labels['desktopunsupported'] = 'Peramban Anda tidak mendukung pemberitahuan pada desktop'; +?> diff --git a/plugins/newmail_notifier/localization/it_IT.inc b/plugins/newmail_notifier/localization/it_IT.inc index 14f8c59df..8b894ee2f 100644 --- a/plugins/newmail_notifier/localization/it_IT.inc +++ b/plugins/newmail_notifier/localization/it_IT.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/it_IT/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: emilio brambilla <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'visualizza notifica nel browser per nuovi messaggi'; $labels['desktop'] = 'visualizza notifiche sul desktop per nuovi messaggi'; $labels['sound'] = 'riproduci il suono per nuovi messaggi'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'notifica di prova'; $labels['desktopdisabled'] = 'le notifiche sul desktop sono disabilitate nel tuo browser'; $labels['desktopunsupported'] = 'il tuo browser non supporta le notifiche sul desktop'; +?> diff --git a/plugins/newmail_notifier/localization/ja_JP.inc b/plugins/newmail_notifier/localization/ja_JP.inc index 4937dc13a..aa5fd7774 100644 --- a/plugins/newmail_notifier/localization/ja_JP.inc +++ b/plugins/newmail_notifier/localization/ja_JP.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/ja_JP/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Takahiro Kambe <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = '新しいメッセージの通知をブラウザーに表示'; $labels['desktop'] = '新しいメッセージの通知をデスクトップに表示'; $labels['sound'] = '新しいメッセージが届くと音を再生'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'これはテストの通知です。'; $labels['desktopdisabled'] = 'ブラウザーでデスクトップ通知が無効になっています。'; $labels['desktopunsupported'] = 'ブラウザーがデスクトップ通知をサポートしていません。'; +?> diff --git a/plugins/newmail_notifier/localization/km_KH.inc b/plugins/newmail_notifier/localization/km_KH.inc index 89d513293..e200ce820 100644 --- a/plugins/newmail_notifier/localization/km_KH.inc +++ b/plugins/newmail_notifier/localization/km_KH.inc @@ -2,21 +2,28 @@ /* +-----------------------------------------------------------------------+ - | localization/km_KH/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: samdyk | - +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); +$labels['basic'] = 'Display browser notifications on new message'; +$labels['desktop'] = 'Display desktop notifications on new message'; $labels['sound'] = 'បន្លឹសម្កេងពេលមានសារថ្មី'; $labels['test'] = 'សាកល្បង'; $labels['title'] = 'មានសារថ្មី'; $labels['body'] = 'អ្នកបានទទួលសារថ្មី'; $labels['testbody'] = 'នេះជាការសាក្បងដំណឹង'; +$labels['desktopdisabled'] = 'Desktop notifications are disabled in your browser.'; +$labels['desktopunsupported'] = 'Your browser does not support desktop notifications.'; +?> diff --git a/plugins/newmail_notifier/localization/ko_KR.inc b/plugins/newmail_notifier/localization/ko_KR.inc index c9641fbf1..2176e4508 100644 --- a/plugins/newmail_notifier/localization/ko_KR.inc +++ b/plugins/newmail_notifier/localization/ko_KR.inc @@ -2,18 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/ko_KR/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Kim, Woohyun <woohyun.kim@gmail.com> | - +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = '새로운 메시지가 도착 시에 브라우저의 알림에 표시'; $labels['desktop'] = '새로운 메시지가 도착 시에 데스크탑의 알림에 표시'; $labels['sound'] = '새로운 메시지가 도착 시에 소리 재생'; @@ -24,3 +26,4 @@ $labels['testbody'] = '이 것은 시험용 알림입니다.'; $labels['desktopdisabled'] = '당신의 브라우져에서는 데스크탑의 알림이 불가능하도록 되어있습니다.'; $labels['desktopunsupported'] = '당신의 브라우져에서는 데스크탑의 알림을 지원하지 않습니다.'; +?> diff --git a/plugins/newmail_notifier/localization/lt_LT.inc b/plugins/newmail_notifier/localization/lt_LT.inc index 99a44443e..956dca0d1 100644 --- a/plugins/newmail_notifier/localization/lt_LT.inc +++ b/plugins/newmail_notifier/localization/lt_LT.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/lt_LT/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Rimas Kudelis <rq@akl.lt> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Pranešti apie naujus laiškus naršyklėje'; $labels['desktop'] = 'Pranešti apie naujus laiškus sistemos pranešimu'; $labels['sound'] = 'Pranešti apie naujus laiškus garsu'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Tai – bandomasis pranešimas.'; $labels['desktopdisabled'] = 'Jūsų naršyklėje sistemos pranešimai išjungti.'; $labels['desktopunsupported'] = 'Jūsų naršyklėje sistemos pranešimai nepalaikomi.'; +?> diff --git a/plugins/newmail_notifier/localization/lv_LV.inc b/plugins/newmail_notifier/localization/lv_LV.inc index 0459d723b..9df738b25 100644 --- a/plugins/newmail_notifier/localization/lv_LV.inc +++ b/plugins/newmail_notifier/localization/lv_LV.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/lv_LV/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Thomas <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Attēlot paziņojumu pie jaunas vēstules saņemšanas'; $labels['desktop'] = 'Attēlot darbvirsmas paziņojumu pie jaunas vēstules saņemšanas'; $labels['sound'] = 'Atskaņot skaņas signālu pie jaunas vēstules saņemšanas'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Šis ir testa paziņojums.'; $labels['desktopdisabled'] = 'Darbvirsmas paziņojumi ir atslēgti Jūsu pārlūkprogrammā.'; $labels['desktopunsupported'] = 'Jūsu pārlūkprogramma neatbalsta darbvirsmas paziņojumus.'; +?> diff --git a/plugins/newmail_notifier/localization/ml_IN.inc b/plugins/newmail_notifier/localization/ml_IN.inc index 25dbb3ebc..7ef16775a 100644 --- a/plugins/newmail_notifier/localization/ml_IN.inc +++ b/plugins/newmail_notifier/localization/ml_IN.inc @@ -2,18 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/ml_IN/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Anish A <aneesh.nl@gmail.com> | - +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'ബ്രൌസര് അറിയിപ്പുകള് പുതിയ സന്ദേശത്തില് കാണിക്കുക'; $labels['desktop'] = 'ഡെസ്ക്ക്ടോപ്പ് അറിയിപ്പുകള് പുതിയ സന്ദേശത്തില് കാണിക്കുക'; $labels['sound'] = 'പുതിയ സന്ദേശത്തില് സബ്ദം കേള്പ്പിക്കുക'; @@ -24,3 +26,4 @@ $labels['testbody'] = 'ഇത് ഒരു പരീക്ഷണ അറിയി $labels['desktopdisabled'] = 'താങ്കളുടെ ബ്രൌസറില് ഡെസ്ക്ക്ടോപ്പ് നോട്ടിഫിക്കേഷന് പ്രവര്ത്തനരഹിതമാണ്.'; $labels['desktopunsupported'] = 'താങ്കളുടെ ബ്രൌസ്സര് ഡെസ്ക്ടോപ്പ് അറിയിപ്പുകള് പിന്തുണയ്ക്കുന്നില്ല.'; +?> diff --git a/plugins/newmail_notifier/localization/mr_IN.inc b/plugins/newmail_notifier/localization/mr_IN.inc index ccba50d1d..8d3cf592d 100644 --- a/plugins/newmail_notifier/localization/mr_IN.inc +++ b/plugins/newmail_notifier/localization/mr_IN.inc @@ -2,22 +2,28 @@ /* +-----------------------------------------------------------------------+ - | localization/mr_IN/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Devendra Buddhikot <devendradb@rediffmail.com> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); +$labels['basic'] = 'Display browser notifications on new message'; +$labels['desktop'] = 'Display desktop notifications on new message'; $labels['sound'] = 'नवीन संदेश आल्यास नाद करा'; $labels['test'] = 'चाचणी'; $labels['title'] = 'नवीन ईमेल'; $labels['body'] = 'तुमच्यासाठी नवीन संदेश आला आहे'; $labels['testbody'] = 'हा एक चाचणी निर्देश आहे'; +$labels['desktopdisabled'] = 'Desktop notifications are disabled in your browser.'; +$labels['desktopunsupported'] = 'Your browser does not support desktop notifications.'; +?> diff --git a/plugins/newmail_notifier/localization/nb_NB.inc b/plugins/newmail_notifier/localization/nb_NB.inc deleted file mode 100644 index a1d0a037d..000000000 --- a/plugins/newmail_notifier/localization/nb_NB.inc +++ /dev/null @@ -1,27 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | localization/nb_NB/labels.inc | - | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | - | | - +-----------------------------------------------------------------------+ - | Author: Einar Svensen <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ -*/ - -$labels = array(); -$labels['basic'] = 'Vis nettleser hendlese ved ny melding'; -$labels['desktop'] = 'Vis skirivebord hendlese ved ny melding'; -$labels['sound'] = 'Spill av lyd ved ny melding'; -$labels['test'] = 'Test'; -$labels['title'] = 'Ny e-post!'; -$labels['body'] = 'Du har mottatt en ny melding'; -$labels['testbody'] = 'Dette er en test hendlese'; -$labels['desktopdisabled'] = 'Skrivebord hendelse er deaktivert i din nettleser.'; -$labels['desktopunsupported'] = 'Din nettleser støtter ikke skrivebord\'s hendelser.'; - diff --git a/plugins/newmail_notifier/localization/nb_NO.inc b/plugins/newmail_notifier/localization/nb_NO.inc new file mode 100644 index 000000000..83adf6e86 --- /dev/null +++ b/plugins/newmail_notifier/localization/nb_NO.inc @@ -0,0 +1,29 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/newmail_notifier/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ +*/ + +$labels['basic'] = 'Vis varsel i nettleseren ved ny melding'; +$labels['desktop'] = 'Vis varsel på skrivebordet ved ny melding'; +$labels['sound'] = 'Spill av lyd ved ny melding'; +$labels['test'] = 'Test'; +$labels['title'] = 'Ny e-post!'; +$labels['body'] = 'Du har mottatt en ny melding'; +$labels['testbody'] = 'Dette er et testvarsel.'; +$labels['desktopdisabled'] = 'Skrivebordsvarsel er slått av i din nettleser.'; +$labels['desktopunsupported'] = 'Din nettleser støtter ikke visning av varsel på skrivebordet.'; + +?> diff --git a/plugins/newmail_notifier/localization/nl_NL.inc b/plugins/newmail_notifier/localization/nl_NL.inc index 3d52ca772..e18a6ff2d 100644 --- a/plugins/newmail_notifier/localization/nl_NL.inc +++ b/plugins/newmail_notifier/localization/nl_NL.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/nl_NL/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Geert Wirken <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Toon browsermelding bij nieuw bericht'; $labels['desktop'] = 'Toon desktopmelding bij nieuw bericht'; $labels['sound'] = 'Speel geluid bij nieuw bericht'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Dit is een testmelding.'; $labels['desktopdisabled'] = 'Desktopmeldingen zijn uitgeschakeld in uw browser.'; $labels['desktopunsupported'] = 'Uw browser ondersteunt geen desktopmeldingen.'; +?> diff --git a/plugins/newmail_notifier/localization/nn_NO.inc b/plugins/newmail_notifier/localization/nn_NO.inc new file mode 100644 index 000000000..24ba91d18 --- /dev/null +++ b/plugins/newmail_notifier/localization/nn_NO.inc @@ -0,0 +1,29 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/newmail_notifier/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ +*/ + +$labels['basic'] = 'Vis varsel i nettlesaren ved ny melding'; +$labels['desktop'] = 'Vis varsel på skrivebordet ved ny melding'; +$labels['sound'] = 'Spill av lyd ved ny melding'; +$labels['test'] = 'Test'; +$labels['title'] = 'Ny e-post!'; +$labels['body'] = 'Du har mottatt ei ny melding.'; +$labels['testbody'] = 'Dette er eit testvarsel.'; +$labels['desktopdisabled'] = 'Skrivebordsvarsel er slått av i din nettlesar.'; +$labels['desktopunsupported'] = 'Din nettlesar støttar ikkje vising av varsel på skrivebordet.'; + +?> diff --git a/plugins/newmail_notifier/localization/pl_PL.inc b/plugins/newmail_notifier/localization/pl_PL.inc index 711dcc550..b94204c45 100644 --- a/plugins/newmail_notifier/localization/pl_PL.inc +++ b/plugins/newmail_notifier/localization/pl_PL.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/pl_PL/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Thomas <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Wyświetlaj powiadomienia o nadejściu nowej wiadomości w przeglądarce'; $labels['desktop'] = 'Wyświetlaj powiadomienia o nadejściu nowej wiadomości na pulpicie'; $labels['sound'] = 'Odtwarzaj dźwięk o nadejściu nowej wiadomości'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'To jest testowe powiadomienie.'; $labels['desktopdisabled'] = 'Powiadomienia na pulpicie zostały zablokowane w twojej przeglądarce.'; $labels['desktopunsupported'] = 'Twoja przeglądarka nie obsługuje powiadomień na pulpicie.'; +?> diff --git a/plugins/newmail_notifier/localization/pt_BR.inc b/plugins/newmail_notifier/localization/pt_BR.inc index 600a3ff1a..5b772f464 100644 --- a/plugins/newmail_notifier/localization/pt_BR.inc +++ b/plugins/newmail_notifier/localization/pt_BR.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/pt_BR/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Thomas <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Exibir notificação quando uma nova mensagem chegar'; $labels['desktop'] = 'Exibir notificação no desktop quando uma nova mensagem chegar'; $labels['sound'] = 'Alerta sonoro quando uma nova mensagem chegar'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Essa é uma notificação de teste.'; $labels['desktopdisabled'] = 'As notificações no desktop estão desabilitadas no seu navegador.'; $labels['desktopunsupported'] = 'Seu navegador não suporta notificações no desktop'; +?> diff --git a/plugins/newmail_notifier/localization/pt_PT.inc b/plugins/newmail_notifier/localization/pt_PT.inc index 4a19d5041..28a414be4 100644 --- a/plugins/newmail_notifier/localization/pt_PT.inc +++ b/plugins/newmail_notifier/localization/pt_PT.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/pt_PT/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: David <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Mostrar notificação quando uma nova mensagem chegar'; $labels['desktop'] = 'Mostrar alerta no ambiente de trabalho de nova mensagem'; $labels['sound'] = 'Alerta sonoro para nova mensagem'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Isto é uma notificação de teste.'; $labels['desktopdisabled'] = 'As notificações no ambiente de trabalho estão desactivadas no seu navegador.'; $labels['desktopunsupported'] = 'O seu navegador não suporta notificações no ambiente de trabalho'; +?> diff --git a/plugins/newmail_notifier/localization/ro_RO.inc b/plugins/newmail_notifier/localization/ro_RO.inc index 181fb996f..c78c7e081 100644 --- a/plugins/newmail_notifier/localization/ro_RO.inc +++ b/plugins/newmail_notifier/localization/ro_RO.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/ro_RO/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: tudor <tudor@starnet-alba.ro> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Afişează notificări în browser la mesaj nou.'; $labels['desktop'] = 'Afişează notificări desktop la mesaj nou.'; $labels['sound'] = 'Redă un sunet la mesaj nou.'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Aceasta este o notificare de test.'; $labels['desktopdisabled'] = 'Notificările desktop sunt dezactivate în browser.'; $labels['desktopunsupported'] = 'Browser-ul nu suportă notificări desktop.'; +?> diff --git a/plugins/newmail_notifier/localization/ru_RU.inc b/plugins/newmail_notifier/localization/ru_RU.inc index b95a60bf7..a3da38b09 100644 --- a/plugins/newmail_notifier/localization/ru_RU.inc +++ b/plugins/newmail_notifier/localization/ru_RU.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/ru_RU/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Thomas <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Показывать в браузере уведомление о приходе нового сообщения'; $labels['desktop'] = 'Показывать на рабочем столе уведомление о приходе нового сообщения'; $labels['sound'] = 'Подавать звуковой сигнал о приходе нового сообщения'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Это тестовое уведомление.'; $labels['desktopdisabled'] = 'В Вашем браузере отключены уведомления на рабочем столе.'; $labels['desktopunsupported'] = 'Ваш браузер не поддерживает уведомления на рабочем столе.'; +?> diff --git a/plugins/newmail_notifier/localization/si_LK.inc b/plugins/newmail_notifier/localization/si_LK.inc index 13884c796..2de2d810f 100644 --- a/plugins/newmail_notifier/localization/si_LK.inc +++ b/plugins/newmail_notifier/localization/si_LK.inc @@ -2,18 +2,28 @@ /* +-----------------------------------------------------------------------+ - | localization/si_LK/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Mohamed Rizmi <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); +$labels['basic'] = 'Display browser notifications on new message'; +$labels['desktop'] = 'Display desktop notifications on new message'; +$labels['sound'] = 'Play the sound on new message'; $labels['test'] = 'පිරික්සන්න'; +$labels['title'] = 'New Email!'; +$labels['body'] = 'You\'ve received a new message.'; +$labels['testbody'] = 'This is a test notification.'; +$labels['desktopdisabled'] = 'Desktop notifications are disabled in your browser.'; +$labels['desktopunsupported'] = 'Your browser does not support desktop notifications.'; +?> diff --git a/plugins/newmail_notifier/localization/sk_SK.inc b/plugins/newmail_notifier/localization/sk_SK.inc index 5d26d1281..cda6cf197 100644 --- a/plugins/newmail_notifier/localization/sk_SK.inc +++ b/plugins/newmail_notifier/localization/sk_SK.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/sk_SK/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: panda <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Zobraziť upozornenie v prehliadači pri novej správe'; $labels['desktop'] = 'Zobraziť upozornenie na ploche pri novej správe'; $labels['sound'] = 'Prehrať zvuk pri novej správe'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Toto je skúšobné upozornenie.'; $labels['desktopdisabled'] = 'Upozornenia na ploche sú vo vašom prehliadači vypnuté.'; $labels['desktopunsupported'] = 'Váč prehliadač nepodporuje upozornenia na ploche.'; +?> diff --git a/plugins/newmail_notifier/localization/sl_SI.inc b/plugins/newmail_notifier/localization/sl_SI.inc index a5d2e0bf4..49ae62048 100644 --- a/plugins/newmail_notifier/localization/sl_SI.inc +++ b/plugins/newmail_notifier/localization/sl_SI.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/sl_SI/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Barbara Krasovec <barbarak@arnes.si> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Prikaži obvestilo za nova sporočila'; $labels['desktop'] = 'Prikaži obvestila na namizju za vsa nova sporočila'; $labels['sound'] = 'Ob novem sporočilu predvajaj zvok'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'To je testno obvestilo.'; $labels['desktopdisabled'] = 'Obvestila na namizju so v vašem brskalniku onemogočena.'; $labels['desktopunsupported'] = 'Vaš brskalnik ne podpira izpis obvestil na namizju.'; +?> diff --git a/plugins/newmail_notifier/localization/sr_CS.inc b/plugins/newmail_notifier/localization/sr_CS.inc index 818f9b60c..55e342a27 100644 --- a/plugins/newmail_notifier/localization/sr_CS.inc +++ b/plugins/newmail_notifier/localization/sr_CS.inc @@ -2,20 +2,28 @@ /* +-----------------------------------------------------------------------+ - | localization/sr_CS/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Saša Zejnilović <zejnils@gmail.com> | - +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); +$labels['basic'] = 'Прикажи обавештења о новим порукама у прегледачу'; +$labels['desktop'] = 'Прикажи обавештења о новим порукама у систему'; +$labels['sound'] = 'Пусти звук по пријему поруке'; $labels['test'] = 'Испробај'; -$labels['title'] = 'Нови маил!'; +$labels['title'] = 'Нова порука!'; $labels['body'] = 'Примили сте нову поруку.'; -$labels['testbody'] = 'Ово је тест обавештење.'; +$labels['testbody'] = 'Ово је пробно обавештење.'; +$labels['desktopdisabled'] = 'Обавештења у систему су искључена у вашем прегледачу'; +$labels['desktopunsupported'] = 'Ваш прегледач не подржава обавештења у систему.'; +?> diff --git a/plugins/newmail_notifier/localization/sv_SE.inc b/plugins/newmail_notifier/localization/sv_SE.inc index b1c92ed79..76ce72313 100644 --- a/plugins/newmail_notifier/localization/sv_SE.inc +++ b/plugins/newmail_notifier/localization/sv_SE.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/sv_SE/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Jonas Nasholm <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Avisera nytt meddelande i webbläsaren'; $labels['desktop'] = 'Avisera nytt meddelande på skrivbordet'; $labels['sound'] = 'Avisera nytt meddelande med ljudsignal'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Denna avisering är ett prov.'; $labels['desktopdisabled'] = 'Avisering på skrivbordet är avstängt i webbläsaren.'; $labels['desktopunsupported'] = 'Avisering på skrivbordet stöds inte av webbläsaren.'; +?> diff --git a/plugins/newmail_notifier/localization/tr_TR.inc b/plugins/newmail_notifier/localization/tr_TR.inc index 89e6e36e2..77217b9b1 100644 --- a/plugins/newmail_notifier/localization/tr_TR.inc +++ b/plugins/newmail_notifier/localization/tr_TR.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/tr_TR/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: ismail yenigul <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Yeni mesajlarda web tarayıcı bildirimlerini göster'; $labels['desktop'] = 'Yeni mesajlarda masa üstü bildirimlerini göster'; $labels['sound'] = 'Yeni mesajlarda muzik çal'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Bu bir test bildirimidir.'; $labels['desktopdisabled'] = 'Web tarayıcınızda masa üstü bildirimi iptal edildi'; $labels['desktopunsupported'] = 'Web tarayıcınız masa üstü bildidrimleri desteklemiyor'; +?> diff --git a/plugins/newmail_notifier/localization/uk_UA.inc b/plugins/newmail_notifier/localization/uk_UA.inc index 1c65bb7e6..68722c006 100644 --- a/plugins/newmail_notifier/localization/uk_UA.inc +++ b/plugins/newmail_notifier/localization/uk_UA.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/uk_UA/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Anton Gladky <Unknown> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Показувати у браузері сповіщення про нові повідомлення'; $labels['desktop'] = 'Показувати на робочому столі сповіщення про нові повідомлення'; $labels['sound'] = 'Програвати звук при появленні нового повідомлення'; @@ -25,3 +26,4 @@ $labels['testbody'] = 'Це тестове сповіщення'; $labels['desktopdisabled'] = 'Повідомлення на робочому столі відключені у вашому браузері.'; $labels['desktopunsupported'] = 'Ваш браузер не підтримує повідомлення на робочому столі.'; +?> diff --git a/plugins/newmail_notifier/localization/vi_VN.inc b/plugins/newmail_notifier/localization/vi_VN.inc index b05726e3d..9aa93a27a 100644 --- a/plugins/newmail_notifier/localization/vi_VN.inc +++ b/plugins/newmail_notifier/localization/vi_VN.inc @@ -2,18 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/vi_VN/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Kenny Tran <kennethanh@gmail.com> | - +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = 'Hiển thị thông báo trên trình duyệt là có thư mới'; $labels['desktop'] = 'Hiển thị thông báo trên màn hình là có thư mới'; $labels['sound'] = 'Mở tính năng âm thanh trên thư mới'; @@ -24,3 +26,4 @@ $labels['testbody'] = 'Đây là thông báo kiểm tra'; $labels['desktopdisabled'] = 'Thông báo máy tính bị tắt trên trình duyệt của bạn'; $labels['desktopunsupported'] = 'Trình duyệt của bạn không hỗ trợ thông báo trên máy tính'; +?> diff --git a/plugins/newmail_notifier/localization/zh_CN.inc b/plugins/newmail_notifier/localization/zh_CN.inc index b131a6c56..5bb9e846b 100644 --- a/plugins/newmail_notifier/localization/zh_CN.inc +++ b/plugins/newmail_notifier/localization/zh_CN.inc @@ -2,18 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/zh_CN/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Christopher Meng <cickumqt@gmail.com> | - +-----------------------------------------------------------------------+ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = '在浏览器中显示新邮件提醒'; $labels['desktop'] = '在桌面显示新邮件提醒'; $labels['sound'] = '有新的邮件时播放声音'; @@ -24,3 +26,4 @@ $labels['testbody'] = '这是一个提醒测试。'; $labels['desktopdisabled'] = '您的浏览器已禁止桌面提醒功能。'; $labels['desktopunsupported'] = '您的浏览器不支持桌面提醒功能。'; +?> diff --git a/plugins/newmail_notifier/localization/zh_TW.inc b/plugins/newmail_notifier/localization/zh_TW.inc index dcb026893..902eccd14 100644 --- a/plugins/newmail_notifier/localization/zh_TW.inc +++ b/plugins/newmail_notifier/localization/zh_TW.inc @@ -2,19 +2,20 @@ /* +-----------------------------------------------------------------------+ - | localization/zh_TW/labels.inc | + | plugins/newmail_notifier/localization/<lang>.inc | | | - | Language file of the Roundcube Webmail client | - | Copyright (C) 2012, The Roundcube Dev Team | - | Licensed under the GNU General Public License | + | Localization file of the Roundcube Webmail New Mail Notifier plugin | + | Copyright (C) 2012-2013, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | | | +-----------------------------------------------------------------------+ - | Author: Denny Lin <dennylin93@hs.ntnu.edu.tw> | - +-----------------------------------------------------------------------+ - @version $Id$ + + For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-newmail_notifier/ */ -$labels = array(); $labels['basic'] = '當有新郵件顯示瀏覽器通知'; $labels['desktop'] = '當有新郵件顯示桌面通知'; $labels['sound'] = '當有新郵件播放音效'; @@ -25,3 +26,4 @@ $labels['testbody'] = '這是測試通知'; $labels['desktopdisabled'] = '您的瀏覽器已停用桌面通知'; $labels['desktopunsupported'] = '您的瀏覽器不支援桌面通知功能'; +?> diff --git a/plugins/newmail_notifier/newmail_notifier.php b/plugins/newmail_notifier/newmail_notifier.php index 942421166..61f7bdbaa 100644 --- a/plugins/newmail_notifier/newmail_notifier.php +++ b/plugins/newmail_notifier/newmail_notifier.php @@ -35,6 +35,9 @@ class newmail_notifier extends rcube_plugin private $rc; private $notified; + private $opt = array(); + private $exceptions = array(); + /** * Plugin initialization @@ -49,13 +52,34 @@ class newmail_notifier extends rcube_plugin $this->add_hook('preferences_save', array($this, 'prefs_save')); } else { // if ($this->rc->task == 'mail') { - $this->add_hook('new_messages', array($this, 'notify')); // add script when not in ajax and not in frame - if (is_a($this->rc->output, 'rcube_output_html') && empty($_REQUEST['_framed'])) { + if ($this->rc->output->type == 'html' && empty($_REQUEST['_framed'])) { $this->add_texts('localization/'); $this->rc->output->add_label('newmail_notifier.title', 'newmail_notifier.body'); $this->include_script('newmail_notifier.js'); } + + if ($this->rc->action == 'refresh') { + // Load configuration + $this->load_config(); + + $this->opt['basic'] = $this->rc->config->get('newmail_notifier_basic'); + $this->opt['sound'] = $this->rc->config->get('newmail_notifier_sound'); + $this->opt['desktop'] = $this->rc->config->get('newmail_notifier_desktop'); + + if (!empty($this->opt)) { + // Get folders to skip checking for + $exceptions = array('drafts_mbox', 'sent_mbox', 'trash_mbox'); + foreach ($exceptions as $folder) { + $folder = $this->rc->config->get($folder); + if (strlen($folder) && $folder != 'INBOX') { + $this->exceptions[] = $folder; + } + } + + $this->add_hook('new_messages', array($this, 'notify')); + } + } } } @@ -93,7 +117,7 @@ class newmail_notifier extends rcube_plugin $this->gettext('test')); $args['blocks']['new_message']['options'][$key] = array( - 'title' => html::label($field_id, Q($this->gettext($type))), + 'title' => html::label($field_id, rcube::Q($this->gettext($type))), 'content' => $content ); } @@ -120,7 +144,7 @@ class newmail_notifier extends rcube_plugin foreach (array('basic', 'desktop', 'sound') as $type) { $key = 'newmail_notifier_' . $type; if (!in_array($key, $dont_override)) { - $args['prefs'][$key] = get_input_value('_'.$key, RCUBE_INPUT_POST) ? true : false; + $args['prefs'][$key] = rcube_utils::get_input_value('_'.$key, rcube_utils::INPUT_POST) ? true : false; } } @@ -132,45 +156,36 @@ class newmail_notifier extends rcube_plugin */ function notify($args) { - // Already notified or non-automatic check - if ($this->notified || !empty($_GET['_refresh'])) { + // Already notified or unexpected input + if ($this->notified || empty($args['diff']['new'])) { return $args; } - // Get folders to skip checking for - if (empty($this->exceptions)) { - $this->delimiter = $this->rc->storage->get_hierarchy_delimiter(); - - $exceptions = array('drafts_mbox', 'sent_mbox', 'trash_mbox'); - foreach ($exceptions as $folder) { - $folder = $this->rc->config->get($folder); - if (strlen($folder) && $folder != 'INBOX') { - $this->exceptions[] = $folder; - } - } - } - - $mbox = $args['mailbox']; + $mbox = $args['mailbox']; + $storage = $this->rc->get_storage(); + $delimiter = $storage->get_hierarchy_delimiter(); // Skip exception (sent/drafts) folders (and their subfolders) foreach ($this->exceptions as $folder) { - if (strpos($mbox.$this->delimiter, $folder.$this->delimiter) === 0) { + if (strpos($mbox.$delimiter, $folder.$delimiter) === 0) { return $args; } } - $this->notified = true; - - // Load configuration - $this->load_config(); + // Check if any of new messages is UNSEEN + $deleted = $this->rc->config->get('skip_deleted') ? 'UNDELETED ' : ''; + $search = $deleted . 'UNSEEN UID ' . $args['diff']['new']; + $unseen = $storage->search_once($mbox, $search); - $basic = $this->rc->config->get('newmail_notifier_basic'); - $sound = $this->rc->config->get('newmail_notifier_sound'); - $desktop = $this->rc->config->get('newmail_notifier_desktop'); + if ($unseen->count()) { + $this->notified = true; - if ($basic || $sound || $desktop) { $this->rc->output->command('plugin.newmail_notifier', - array('basic' => $basic, 'sound' => $sound, 'desktop' => $desktop)); + array( + 'basic' => $this->opt['basic'], + 'sound' => $this->opt['sound'], + 'desktop' => $this->opt['desktop'], + )); } return $args; diff --git a/plugins/newmail_notifier/package.xml b/plugins/newmail_notifier/package.xml index d3de25fb3..ea0fcd9c1 100644 --- a/plugins/newmail_notifier/package.xml +++ b/plugins/newmail_notifier/package.xml @@ -19,10 +19,10 @@ <email>alec@alec.pl</email> <active>yes</active> </lead> - <date>2012-02-07</date> + <date>2013-03-16</date> <version> - <release>0.4</release> - <api>0.3</api> + <release>0.5</release> + <api>0.5</api> </version> <stability> <release>stable</release> diff --git a/plugins/newmail_notifier/tests/NewmailNotifier.php b/plugins/newmail_notifier/tests/NewmailNotifier.php new file mode 100644 index 000000000..571912a61 --- /dev/null +++ b/plugins/newmail_notifier/tests/NewmailNotifier.php @@ -0,0 +1,23 @@ +<?php + +class NewmailNotifier_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once dirname(__FILE__) . '/../newmail_notifier.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new newmail_notifier($rcube->api); + + $this->assertInstanceOf('newmail_notifier', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + |