2 commits - plugins/calendar

Thomas Brüderli bruederli at kolabsys.com
Mon Sep 24 14:13:49 CEST 2012


 plugins/calendar/calendar.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 15fed8896e2ca186217f4f8bd7d222d68783ebcd
Merge: a737fa3 73d1dba
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date:   Mon Sep 24 14:13:35 2012 +0200

    Merge branch 'master' of ssh://git.kolabsys.com/git/roundcube



commit a737fa34b59ff589a0ff02db256e2051eeddcf31
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date:   Mon Sep 24 14:13:19 2012 +0200

    Load missing texts from libcalendaring (#1027)

diff --git a/plugins/calendar/calendar.php b/plugins/calendar/calendar.php
index 86a2d12..51b40fb 100644
--- a/plugins/calendar/calendar.php
+++ b/plugins/calendar/calendar.php
@@ -379,7 +379,7 @@ class calendar extends rcube_plugin
       $select_type = new html_select(array('name' => '_alarm_type', 'id' => $field_id));
       $select_type->add($this->gettext('none'), '');
       foreach ($this->driver->alarm_types as $type)
-        $select_type->add($this->gettext(strtolower("alarm{$type}option")), $type);
+        $select_type->add(rcube_label(strtolower("alarm{$type}option"), 'libcalendaring'), $type);
       
       $input_value = new html_inputfield(array('name' => '_alarm_value', 'id' => $field_id . 'value', 'size' => 3));
       $select_offset = new html_select(array('name' => '_alarm_offset', 'id' => $field_id . 'offset'));





More information about the commits mailing list