summaryrefslogtreecommitdiff
path: root/plugins/newmail_notifier
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/newmail_notifier')
-rw-r--r--plugins/newmail_notifier/localization/hy_AM.inc26
-rw-r--r--plugins/newmail_notifier/localization/ko_KR.inc26
-rw-r--r--plugins/newmail_notifier/localization/sr_CS.inc21
-rw-r--r--plugins/newmail_notifier/newmail_notifier.php2
4 files changed, 74 insertions, 1 deletions
diff --git a/plugins/newmail_notifier/localization/hy_AM.inc b/plugins/newmail_notifier/localization/hy_AM.inc
new file mode 100644
index 000000000..0cbf4122f
--- /dev/null
+++ b/plugins/newmail_notifier/localization/hy_AM.inc
@@ -0,0 +1,26 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | localization/hy_AM/labels.inc |
+ | |
+ | Language file of the Roundcube Webmail client |
+ | Copyright (C) 2012, The Roundcube Dev Team |
+ | Licensed under the GNU General Public License |
+ | |
+ +-----------------------------------------------------------------------+
+ | Author: Vahan Yerkanian <vahan@yerkanian.com> |
+ +-----------------------------------------------------------------------+
+*/
+
+$labels = array();
+$labels['basic'] = 'Ցուցադրել զննարկչի ծանուցում նոր հաղորդագրություն ստանալիս';
+$labels['desktop'] = 'Ցուցադրել սեղանադրի ծանուցում նոր հաղորդագրություն ստանալիս';
+$labels['sound'] = 'Ձայն հանել նոր հաղորդագրություն ստանալիս';
+$labels['test'] = 'փորձարկում';
+$labels['title'] = 'Նոր էլփոստ';
+$labels['body'] = 'Դուք ստացաք նոր հաղորդագրություն';
+$labels['testbody'] = 'Սա փորձնական ծանուցում է';
+$labels['desktopdisabled'] = 'Սեղանադրի ծանուցումները Ձեր զննարկչում անջատված են';
+$labels['desktopunsupported'] = 'Ձեր զննարկիչը չունի սեղանադրի ծանուցումների հնարավորություն։';
+
diff --git a/plugins/newmail_notifier/localization/ko_KR.inc b/plugins/newmail_notifier/localization/ko_KR.inc
new file mode 100644
index 000000000..c9641fbf1
--- /dev/null
+++ b/plugins/newmail_notifier/localization/ko_KR.inc
@@ -0,0 +1,26 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | localization/ko_KR/labels.inc |
+ | |
+ | Language file of the Roundcube Webmail client |
+ | Copyright (C) 2012, The Roundcube Dev Team |
+ | Licensed under the GNU General Public License |
+ | |
+ +-----------------------------------------------------------------------+
+ | Author: Kim, Woohyun <woohyun.kim@gmail.com> |
+ +-----------------------------------------------------------------------+
+*/
+
+$labels = array();
+$labels['basic'] = '새로운 메시지가 도착 시에 브라우저의 알림에 표시';
+$labels['desktop'] = '새로운 메시지가 도착 시에 데스크탑의 알림에 표시';
+$labels['sound'] = '새로운 메시지가 도착 시에 소리 재생';
+$labels['test'] = '테스트';
+$labels['title'] = '새로운 메일 도착!';
+$labels['body'] = '새로운 메시지를 수신하였습니다.';
+$labels['testbody'] = '이 것은 시험용 알림입니다.';
+$labels['desktopdisabled'] = '당신의 브라우져에서는 데스크탑의 알림이 불가능하도록 되어있습니다.';
+$labels['desktopunsupported'] = '당신의 브라우져에서는 데스크탑의 알림을 지원하지 않습니다.';
+
diff --git a/plugins/newmail_notifier/localization/sr_CS.inc b/plugins/newmail_notifier/localization/sr_CS.inc
new file mode 100644
index 000000000..818f9b60c
--- /dev/null
+++ b/plugins/newmail_notifier/localization/sr_CS.inc
@@ -0,0 +1,21 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | localization/sr_CS/labels.inc |
+ | |
+ | Language file of the Roundcube Webmail client |
+ | Copyright (C) 2012, The Roundcube Dev Team |
+ | Licensed under the GNU General Public License |
+ | |
+ +-----------------------------------------------------------------------+
+ | Author: Saša Zejnilović <zejnils@gmail.com> |
+ +-----------------------------------------------------------------------+
+*/
+
+$labels = array();
+$labels['test'] = 'Испробај';
+$labels['title'] = 'Нови маил!';
+$labels['body'] = 'Примили сте нову поруку.';
+$labels['testbody'] = 'Ово је тест обавештење.';
+
diff --git a/plugins/newmail_notifier/newmail_notifier.php b/plugins/newmail_notifier/newmail_notifier.php
index 20ffac8ce..942421166 100644
--- a/plugins/newmail_notifier/newmail_notifier.php
+++ b/plugins/newmail_notifier/newmail_notifier.php
@@ -51,7 +51,7 @@ class newmail_notifier extends rcube_plugin
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_template') && empty($_REQUEST['_framed'])) {
+ if (is_a($this->rc->output, 'rcube_output_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');